1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271
| void __fastcall proc(__int64 OPCODES_REGS, int a2, unsigned int a3) { __int64 v4; __int64 v6; __int64 v7; char v8; char v9; __int64 v10; unsigned int v11; __int64 v12; unsigned __int8 v13; char v14; unsigned __int8 v15; __int64 v16; __int64 v17; bool v18; unsigned __int8 v19; unsigned __int8 v20; __int64 v21; __int64 v22; __int64 v23; unsigned int v24; int v25; char v26; unsigned __int8 v27; __int64 v28; __int64 v29; int v30; __int64 v31; unsigned int v32; __int64 v33; __int64 v34; __int64 v35; __int64 v36; __int64 v37; __int64 v38; __int64 v39; unsigned __int8 v40; __int64 v41; __int64 v42; __int64 v43; __int64 v44; int v45; __int64 v46; __int64 v47; __int64 v48; int v49; __int64 v50; __int64 v51; __int64 v52;
v45 = a2; v4 = (unsigned __int8)a3; if ( (unsigned __int8)a3 > 3u ) sub_403550((unsigned __int8)a3, 4LL, &off_442EF0); v6 = a3; v7 = a3 >> 8; v8 = a3 + (*((_BYTE *)&v45 + v4) >> 6); v9 = *((_BYTE *)&v45 + v4) & 0x3F; *(_BYTE *)(OPCODES_REGS + 1051) = v9; *(_BYTE *)(OPCODES_REGS + 2LL * (v8 & 3) + 1041) = v9; v10 = BYTE1(a3); if ( BYTE1(a3) >= 4u ) sub_403550(BYTE1(a3), 4LL, &off_442F08); v11 = HIWORD(a3); v12 = HIBYTE(a3); v13 = *((_BYTE *)&v45 + v10); v46 = v7; *(_BYTE *)(OPCODES_REGS + 2LL * (((_BYTE)v7 + (v13 >> 6)) & 3) + 1041) = v13 & 0x3F; *(_BYTE *)(OPCODES_REGS + (((unsigned __int8)(65 * v11) >> 5) | 1LL) + 1040) = (65 * v11) & 0x3F; v14 = (65 * v12) & 0x3F; *(_BYTE *)(OPCODES_REGS + 1051) = v14; *(_BYTE *)(OPCODES_REGS + (((unsigned __int8)(65 * v12) >> 5) | 1LL) + 1040) = v14; v15 = 8 * v11 + 2 * v12; v16 = v12 & 3; v17 = (v15 >> 3) & 3; v18 = (v15 & 0x20) != 0; v50 = v15 >> 6; v52 = (unsigned __int8)v11; v51 = v4; switch ( v15 >> 6 ) { case 0: *(_BYTE *)(OPCODES_REGS + 2 * v16 + 1040) = *(_BYTE *)(OPCODES_REGS + 2 * v16 + 1041); *(_BYTE *)(OPCODES_REGS + 2LL * (unsigned __int8)v17 + 1040) = *(_BYTE *)(OPCODES_REGS + 2LL * (unsigned __int8)v17 + 1041); *(_BYTE *)(OPCODES_REGS + 2 * v16 + 1041) = 0; *(_BYTE *)(OPCODES_REGS + 2LL * (unsigned __int8)v17 + 1041) = 0; break; case 1: *(_BYTE *)(OPCODES_REGS + (unsigned __int8)(v17 | (4 * v18)) + 1040) = *(_BYTE *)(OPCODES_REGS + v16 + 1040); break; case 2: if ( (v15 & 0x20) != 0 ) *(_BYTE *)(OPCODES_REGS + v17 + 1048) = *(_BYTE *)(OPCODES_REGS + 2 * v16 + 1040); else *(_BYTE *)(OPCODES_REGS + 2 * v16 + 1041) = *(_BYTE *)(OPCODES_REGS + v17 + 1048); break; case 3: *(_BYTE *)(OPCODES_REGS + 1051) = v15 & 0x3E; break; } v48 = v6; ((void (__fastcall *)(__int64, __int64, _QWORD))sub_40AA60)(OPCODES_REGS, v6, v11); ((void (__fastcall *)(__int64, __int64, _QWORD))sub_40AA60)(OPCODES_REGS, v46, (unsigned int)v12); if ( (unsigned __int8)v11 >= 4u ) sub_403550((unsigned __int8)v11, 4LL, &off_442F20); v47 = ((unsigned __int8)(8 * v11 + 2 * v12) >> 3) & 3; v19 = *((_BYTE *)&v45 + (unsigned __int8)v11); v49 = 2 * v11; *(_BYTE *)(OPCODES_REGS + ((2 * (_BYTE)v11) & 6) + 1041) = v19 & 0x3F; v20 = *((_BYTE *)&v45 + v12); *(_BYTE *)(OPCODES_REGS + 1051) = v20 & 0x3F; v21 = 2 * v16; v22 = 2 * v16 + 1; *(_BYTE *)(OPCODES_REGS + 2 * v16 + 1041) = v20 & 0x3F; ((void (__fastcall *)(__int64, _QWORD))sub_40A800)(OPCODES_REGS, (v19 >> 6) | 0x20u); ((void (__fastcall *)(__int64, _QWORD))sub_40A800)(OPCODES_REGS, (v20 >> 6) | 0x24u); switch ( v50 ) { case 0LL: *(_BYTE *)(OPCODES_REGS + v21 + 1040) = *(_BYTE *)(OPCODES_REGS + v22 + 1040); v23 = (unsigned __int8)v47; *(_BYTE *)(OPCODES_REGS + 2LL * (unsigned __int8)v47 + 1040) = *(_BYTE *)(OPCODES_REGS + 2LL * (unsigned __int8)v47 + 1041); *(_BYTE *)(OPCODES_REGS + v22 + 1040) = 0; *(_BYTE *)(OPCODES_REGS + 2 * v23 + 1041) = 0; goto LABEL_16; case 1LL: *(_BYTE *)(OPCODES_REGS + (unsigned __int8)(v47 + 4 * v18) + 1040) = *(_BYTE *)(OPCODES_REGS + v16 + 1040); LABEL_16: v24 = v46; v25 = v48; break; case 2LL: v24 = v46; v25 = v48; if ( (v15 & 0x20) != 0 ) *(_BYTE *)(OPCODES_REGS + v47 + 1048) = *(_BYTE *)(OPCODES_REGS + v21 + 1040); else *(_BYTE *)(OPCODES_REGS + v22 + 1040) = *(_BYTE *)(OPCODES_REGS + v47 + 1048); break; } v26 = 2 * v24; v27 = 2 * v24 + 8 * v25; v28 = v24 & 3; v29 = (v27 >> 3) & 3; switch ( v27 >> 6 ) { case 0: *(_BYTE *)(OPCODES_REGS + 2LL * (unsigned __int8)v28 + 1040) = *(_BYTE *)(OPCODES_REGS + 2LL * (unsigned __int8)v28 + 1041); *(_BYTE *)(OPCODES_REGS + 2LL * (unsigned __int8)v29 + 1040) = *(_BYTE *)(OPCODES_REGS + 2LL * (unsigned __int8)v29 + 1041); *(_BYTE *)(OPCODES_REGS + 2LL * (unsigned __int8)v28 + 1041) = 0; *(_BYTE *)(OPCODES_REGS + 2LL * (unsigned __int8)v29 + 1041) = 0; break; case 1: *(_BYTE *)(OPCODES_REGS + (unsigned __int8)(v29 | (4 * ((v27 & 0x20) != 0))) + 1040) = *(_BYTE *)(OPCODES_REGS + v28 + 1040); break; case 2: if ( (v27 & 0x20) != 0 ) *(_BYTE *)(OPCODES_REGS + v29 + 1048) = *(_BYTE *)(OPCODES_REGS + 2LL * (unsigned __int8)v28 + 1040); else *(_BYTE *)(OPCODES_REGS + 2LL * (unsigned __int8)v28 + 1041) = *(_BYTE *)(OPCODES_REGS + v29 + 1048); break; case 3: *(_BYTE *)(OPCODES_REGS + 1051) = v27 & 0x3E; break; } v30 = v25; ((void (__fastcall *)(__int64, _QWORD))sub_40A800)(OPCODES_REGS, (unsigned int)(v25 - 116)); ((void (__fastcall *)(__int64, _QWORD))sub_40A800)(OPCODES_REGS, (unsigned int)(v30 - 72)); ((void (__fastcall *)(__int64, _QWORD))sub_40A800)(OPCODES_REGS, (unsigned int)(v30 - 84)); LOBYTE(v31) = 0x80; ((void (__fastcall *)(__int64, __int64))sub_40A800)(OPCODES_REGS, v31); ((void (__fastcall *)(__int64, _QWORD))sub_40A800)(OPCODES_REGS, (unsigned int)(v30 - 76)); ((void (__fastcall *)(__int64, _QWORD))sub_40A800)(OPCODES_REGS, (unsigned int)(v30 - 104)); v32 = 2 * v30; LOBYTE(v32) = 2 * v30 - 88; v33 = v51 & 3; v34 = ((unsigned __int8)v32 >> 3) & 3; v35 = v32; switch ( (unsigned __int8)v32 >> 6 ) { case 0: *(_BYTE *)(OPCODES_REGS + 2LL * (unsigned __int8)v33 + 1040) = *(_BYTE *)(OPCODES_REGS + 2LL * (unsigned __int8)v33 + 1041); v35 = *(unsigned __int8 *)(OPCODES_REGS + 2LL * (unsigned __int8)v34 + 1041); *(_BYTE *)(OPCODES_REGS + 2LL * (unsigned __int8)v34 + 1040) = v35; *(_BYTE *)(OPCODES_REGS + 2LL * (unsigned __int8)v33 + 1041) = 0; *(_BYTE *)(OPCODES_REGS + 2LL * (unsigned __int8)v34 + 1041) = 0; break; case 1: *(_BYTE *)(OPCODES_REGS + (unsigned __int8)(v34 | (4 * ((v32 & 0x20) != 0))) + 1040) = *(_BYTE *)(OPCODES_REGS + v33 + 1040); break; case 2: if ( (v32 & 0x20) != 0 ) *(_BYTE *)(OPCODES_REGS + v34 + 1048) = *(_BYTE *)(OPCODES_REGS + 2LL * (unsigned __int8)v33 + 1040); else *(_BYTE *)(OPCODES_REGS + 2LL * (unsigned __int8)v33 + 1041) = *(_BYTE *)(OPCODES_REGS + v34 + 1048); break; case 3: *(_BYTE *)(OPCODES_REGS + 1051) = v32 & 0x3E; break; } LOBYTE(v35) = -124; ((void (__fastcall *)(__int64, __int64))sub_40A800)(OPCODES_REGS, v35); v36 = v52 & 3; v37 = ((unsigned __int8)(v49 - 88) >> 3) & 3; switch ( (unsigned __int8)(v49 - 88) >> 6 ) { case 0: *(_BYTE *)(OPCODES_REGS + 2LL * (unsigned __int8)v36 + 1040) = *(_BYTE *)(OPCODES_REGS + 2LL * (unsigned __int8)v36 + 1041); *(_BYTE *)(OPCODES_REGS + 2LL * (unsigned __int8)v37 + 1040) = *(_BYTE *)(OPCODES_REGS + 2LL * (unsigned __int8)v37 + 1041); *(_BYTE *)(OPCODES_REGS + 2LL * (unsigned __int8)v36 + 1041) = 0; *(_BYTE *)(OPCODES_REGS + 2LL * (unsigned __int8)v37 + 1041) = 0; break; case 1: *(_BYTE *)(OPCODES_REGS + (unsigned __int8)(v37 | (4 * ((((_BYTE)v49 - 88) & 0x20) != 0))) + 1040) = *(_BYTE *)(OPCODES_REGS + v36 + 1040); break; case 2: if ( (((_BYTE)v49 - 88) & 0x20) != 0 ) *(_BYTE *)(OPCODES_REGS + v37 + 1048) = *(_BYTE *)(OPCODES_REGS + 2LL * (unsigned __int8)v36 + 1040); else *(_BYTE *)(OPCODES_REGS + 2LL * (unsigned __int8)v36 + 1041) = *(_BYTE *)(OPCODES_REGS + v37 + 1048); break; case 3: *(_BYTE *)(OPCODES_REGS + 1051) = (v49 - 88) & 0x3E; break; } ((void (__fastcall *)(__int64, _QWORD))sub_40A800)(OPCODES_REGS, 0LL); LOBYTE(v38) = -100; ((void (__fastcall *)(__int64, __int64))sub_40A800)(OPCODES_REGS, v38); ((void (__fastcall *)(__int64, _QWORD))sub_40A800)(OPCODES_REGS, v24 - 116); ((void (__fastcall *)(__int64, _QWORD))sub_40A800)(OPCODES_REGS, v24 - 72); ((void (__fastcall *)(__int64, _QWORD))sub_40A800)(OPCODES_REGS, v24 - 84); LOBYTE(v39) = 0x80; ((void (__fastcall *)(__int64, __int64))sub_40A800)(OPCODES_REGS, v39); ((void (__fastcall *)(__int64, _QWORD))sub_40A800)(OPCODES_REGS, v24 - 76); LOBYTE(v24) = v24 - 104; ((void (__fastcall *)(__int64, _QWORD))sub_40A800)(OPCODES_REGS, v24); v40 = v26 - 88; v41 = (v40 >> 3) & 3; v42 = v40 >> 6; switch ( v40 >> 6 ) { case 0: *(_BYTE *)(OPCODES_REGS + 2LL * (unsigned __int8)v28 + 1040) = *(_BYTE *)(OPCODES_REGS + 2LL * (unsigned __int8)v28 + 1041); v42 = *(unsigned __int8 *)(OPCODES_REGS + 2LL * (unsigned __int8)v41 + 1041); *(_BYTE *)(OPCODES_REGS + 2LL * (unsigned __int8)v41 + 1040) = v42; *(_BYTE *)(OPCODES_REGS + 2LL * (unsigned __int8)v28 + 1041) = 0; *(_BYTE *)(OPCODES_REGS + 2LL * (unsigned __int8)v41 + 1041) = 0; break; case 1: *(_BYTE *)(OPCODES_REGS + (unsigned __int8)(v41 | (4 * ((v40 & 0x20) != 0))) + 1040) = *(_BYTE *)(OPCODES_REGS + v28 + 1040); break; case 2: if ( (v40 & 0x20) != 0 ) *(_BYTE *)(OPCODES_REGS + v41 + 1048) = *(_BYTE *)(OPCODES_REGS + 2LL * (unsigned __int8)v28 + 1040); else *(_BYTE *)(OPCODES_REGS + 2LL * (unsigned __int8)v28 + 1041) = *(_BYTE *)(OPCODES_REGS + v41 + 1048); break; case 3: *(_BYTE *)(OPCODES_REGS + 1051) = v40 & 0x3E; break; } LOBYTE(v42) = -124; ((void (__fastcall *)(__int64, __int64))sub_40A800)(OPCODES_REGS, v42); *(_BYTE *)(OPCODES_REGS + 1049) = *(_BYTE *)(OPCODES_REGS + v21 + 1040); LOBYTE(v43) = 4; ((void (__fastcall *)(__int64, __int64))sub_40A800)(OPCODES_REGS, v43); LOBYTE(v44) = -100; ((void (__fastcall *)(__int64, __int64))sub_40A800)(OPCODES_REGS, v44); }
|