Function at 0x495c30
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x1e0
mov ebx, edx
mov esi, ecx
mov edi, dword [ebp + 8]
mov eax, dword [0x502034]
xor eax, ebp
mov dword [esp + 0x1d8], eax
mov eax, dword [ecx + 0x194]
mov ecx, dword [ecx + 0x198]
sub ecx, eax
cmp ecx, edi
jbe 0x495c94
add eax, esi
add eax, 0xc8
push edi
push ebx
push eax
call fcn.004a2420
add esp, 0xc
add dword [esi + 0x194], edi
mov ecx, dword [esp + 0x1d8]
xor ecx, ebp
call fcn.0049fc40
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [esp + 0x58], esi
jmp 0x495ce0
mov ebx, dword [esp + 0xe0]
add ebx, dword [esp + 0xdc]
push 0xc8
lea eax, [esp + 0x114]
push eax
call fcn.00467170
add esp, 8
mov dword [esi + 0x194], 0
mov ecx, dword [esi + 0x198]
xor eax, eax
mov edi, dword [esp + 0xe4]
cmp edi, ecx
jb 0x495c66
add eax, esi
add eax, 0xc8
push ecx
mov dword [esp + 0xe4], ebx
push ebx
push eax
mov ebx, ecx
call fcn.004a2420
add esp, 0xc
mov dword [esp + 0xdc], ebx
sub edi, ebx
mov dword [esp + 0xe4], edi
mov eax, esi
xor ecx, ecx
xor edx, edx
jmp 0x495d2b
add ecx, 1
add eax, 8
cmp ecx, 5
je 0x495d70
xor edi, edi
nop
nop
nop
cmp edx, dword [esi + 0x198]
jae 0x495d20
mov esi, dword [esi + edx + 0xc8]
mov ebx, dword [esp + 0x58]
mov ebx, dword [ebx + edx + 0xcc]
xor dword [eax + edi*8], esi
xor dword [eax + edi*8 + 4], ebx
mov esi, dword [esp + 0x58]
add edx, 8
add edi, 5
cmp edi, 0x19
jne 0x495d30
jmp 0x495d20
mov ebx, dword [esi]
mov edx, dword [esi + 4]
xor eax, eax
jmp 0x495db1
mov esi, dword [esp + 0x58]
mov ebx, dword [esi]
mov edi, dword [esi + 4]
mov eax, dword [esp + 0x10c]
xor edi, dword [eax*8 + 0x4da58c]
xor ebx, dword [eax*8 + 0x4da588]
mov dword [esi], ebx
mov edx, edi
mov dword [esi + 4], edi
add eax, 1
cmp eax, 0x18
je 0x495ca0
mov dword [esp + 0x38], ebx
mov dword [esp + 0x10c], eax
mov eax, dword [esi + 0xc]
mov dword [esp + 0x20], eax
mov dword [esp + 0x64], edx
xor eax, edx
mov ecx, dword [esi + 0x14]
mov dword [esp + 0x84], ecx
mov edx, dword [esi + 0x1c]
mov dword [esp + 0x88], edx
xor ecx, edx
xor ecx, eax
mov dword [esp + 0xc], ecx
mov eax, dword [esi + 8]
mov dword [esp + 0xd4], eax
xor eax, ebx
mov ecx, dword [esi + 0x10]
mov dword [esp + 0xd8], ecx
mov edx, dword [esi + 0x18]
mov dword [esp + 0xd0], edx
xor ecx, edx
xor ecx, eax
mov dword [esp + 4], ecx
mov edi, dword [esi + 0x28]
mov dword [esp + 0xbc], edi
mov eax, dword [esi + 0x30]
mov dword [esp + 0xc4], eax
xor eax, edi
mov ebx, dword [esi + 0x38]
mov dword [esp + 0xc0], ebx
mov edi, dword [esi + 0x40]
mov dword [esp + 0xc8], edi
xor ebx, edi
xor ebx, eax
mov dword [esp + 0x10], ebx
mov edi, dword [esi + 0x2c]
mov dword [esp + 0x2c], edi
mov eax, dword [esi + 0x34]
mov dword [esp + 0xa8], eax
xor eax, edi
mov edx, dword [esi + 0x3c]
mov dword [esp + 0xb0], edx
mov edi, dword [esi + 0x44]
mov dword [esp + 0x24], edi
xor edx, edi
xor edx, eax
mov edi, dword [esi + 0x50]
mov dword [esp + 0xac], edi
mov eax, dword [esi + 0x58]
mov dword [esp + 8], eax
xor eax, edi
mov edi, dword [esi + 0x60]
mov dword [esp + 0xb8], edi
mov ebx, dword [esi + 0x68]
mov dword [esp + 0xb4], ebx
xor edi, ebx
xor edi, eax
mov dword [esp + 0x44], edi
mov edi, dword [esi + 0x54]
mov dword [esp + 0x30], edi
mov eax, dword [esi + 0x5c]
mov dword [esp + 0x90], eax
xor eax, edi
mov ebx, dword [esi + 0x64]
mov dword [esp + 0x98], ebx
mov edi, dword [esi + 0x6c]
mov dword [esp + 0xa4], edi
xor ebx, edi
xor ebx, eax
mov dword [esp + 0x34], ebx
mov edi, dword [esi + 0x78]
mov dword [esp + 0x94], edi
mov eax, dword [esi + 0x80]
mov dword [esp + 0x1c], eax
xor eax, edi
mov ebx, dword [esi + 0x88]
mov dword [esp + 0x9c], ebx
mov edi, dword [esi + 0x90]
mov dword [esp + 0xa0], edi
xor ebx, edi
xor ebx, eax
mov dword [esp + 0x14], ebx
mov ecx, dword [esi + 0x7c]
mov dword [esp + 0x28], ecx
mov eax, dword [esi + 0x84]
mov dword [esp + 0x70], eax
xor eax, ecx
mov ecx, dword [esi + 0x8c]
mov dword [esp + 0x78], ecx
mov edi, dword [esi + 0x94]
mov dword [esp + 0x80], edi
xor ecx, edi
xor ecx, eax
mov dword [esp + 0x5c], ecx
mov ecx, dword [esi + 0xa4]
mov dword [esp + 0x3c], ecx
mov eax, dword [esi + 0xac]
mov dword [esp + 0x60], eax
xor eax, ecx
mov ebx, dword [esi + 0xb4]
mov dword [esp + 0x7c], ebx
mov edi, dword [esi + 0xbc]
mov dword [esp + 0x8c], edi
xor ebx, edi
xor ebx, eax
mov ecx, dword [esi + 0xa0]
mov dword [esp + 0x68], ecx
mov eax, dword [esi + 0xa8]
mov dword [esp + 0x54], eax
xor eax, ecx
mov edi, dword [esi + 0xb0]
mov dword [esp + 0x6c], edi
mov ecx, dword [esi + 0xb8]
mov dword [esp + 0x74], ecx
xor edi, ecx
xor edi, eax
mov dword [esp + 0x18], edi
mov eax, dword [esi + 0x20]
mov dword [esp + 0x40], eax
xor dword [esp + 4], eax
mov eax, dword [esi + 0x4c]
mov dword [esp + 0x104], eax
xor edx, eax
mov dword [esp + 0xcc], edx
mov eax, dword [esi + 0x48]
mov dword [esp + 0xfc], eax
mov edi, dword [esp + 0x10]
xor edi, eax
mov dword [esp + 0x10], edi
mov eax, dword [esi + 0x9c]
mov dword [esp + 0x108], eax
mov ecx, dword [esp + 0x5c]
xor ecx, eax
shld edx, edi, 1
mov dword [esp + 0x50], edx
mov eax, dword [esi + 0x98]
mov dword [esp + 0x100], eax
mov edx, dword [esp + 0x14]
xor edx, eax
mov dword [esp + 0x14], edx
mov eax, ecx
mov edi, ecx
mov dword [esp + 0x5c], ecx
shld eax, edx, 1
mov dword [esp + 0x4c], eax
mov eax, dword [esi + 0x24]
mov dword [esp + 0xf8], eax
mov ecx, dword [esp + 0xc]
xor ecx, eax
mov dword [esp + 0xc], ecx
mov eax, dword [esp + 4]
shld eax, ecx, 1
mov edx, dword [esi + 0xc0]
mov dword [esp + 0xf4], edx
mov ecx, dword [esp + 0x18]
xor ecx, edx
mov dword [esp + 0x18], ecx
mov edx, dword [esp + 0x14]
xor eax, edx
mov dword [esp + 0x48], eax
shld edx, edi, 1
mov edi, dword [esp + 0x10]
xor edx, edi
mov dword [esp + 0x14], edx
mov edx, edi
mov eax, dword [esp + 0xcc]
shld edx, eax, 1
xor edx, ecx
xor dword [esp + 0x38], edx
xor dword [esp + 0xd4], edx
xor dword [esp + 0xd8], edx
xor dword [esp + 0xd0], edx
xor edx, dword [esp + 0x40]
mov dword [esp + 0x40], edx
mov eax, dword [esi + 0x74]
mov dword [esp + 0xec], eax
mov edx, dword [esp + 0x34]
xor edx, eax
mov dword [esp + 0x34], edx
mov eax, dword [esi + 0x70]
mov dword [esp + 0xe8], eax
mov ecx, dword [esp + 0x44]
xor ecx, eax
mov eax, dword [esi + 0xc4]
mov dword [esp + 0xf0], eax
xor ebx, eax
mov eax, dword [esp + 0x50]
xor eax, ebx
xor dword [esp + 0x64], eax
xor dword [esp + 0x20], eax
xor dword [esp + 0x84], eax
xor dword [esp + 0x88], eax
mov edi, edx
shld edi, ecx, 1
mov dword [esp + 0x10], edi
mov edi, dword [esp + 0x18]
shld edi, ebx, 1
xor eax, dword [esp + 0xf8]
mov dword [esp + 0x50], eax
xor edi, ecx
shld ecx, edx, 1
xor ecx, dword [esp + 4]
xor dword [esp + 0xbc], ecx
xor dword [esp + 0xc4], ecx
xor dword [esp + 0xc0], ecx
xor dword [esp + 0xc8], ecx
xor ecx, dword [esp + 0xfc]
mov dword [esp + 0x44], ecx
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
xor eax, edx
xor dword [esp + 0x2c], eax
xor dword [esp + 0xa8], eax
xor dword [esp + 0xb0], eax
xor dword [esp + 0x24], eax
xor eax, dword [esp + 0x104]
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0x4c]
xor ecx, dword [esp + 0xcc]
mov eax, dword [esp + 0x14]
xor dword [esp + 0xac], eax
xor dword [esp + 8], eax
xor dword [esp + 0xb8], eax
xor dword [esp + 0xb4], eax
xor eax, dword [esp + 0xe8]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x18]
shld ebx, eax, 1
xor dword [esp + 0x30], ecx
xor dword [esp + 0x90], ecx
xor dword [esp + 0x98], ecx
xor dword [esp + 0xa4], ecx
xor ecx, dword [esp + 0xec]
mov dword [esp + 0x4c], ecx
xor ebx, dword [esp + 0x34]
xor dword [esp + 0x94], edi
xor dword [esp + 0x1c], edi
xor dword [esp + 0x9c], edi
xor dword [esp + 0xa0], edi
xor edi, dword [esp + 0x100]
mov dword [esp + 0x34], edi
xor dword [esp + 0x28], ebx
xor dword [esp + 0x70], ebx
xor dword [esp + 0x78], ebx
xor dword [esp + 0x80], ebx
xor ebx, dword [esp + 0x108]
mov dword [esp + 0x18], ebx
mov eax, dword [esp + 4]
shld edx, eax, 1
xor edx, dword [esp + 0x5c]
mov edi, edx
mov eax, dword [esp + 0x48]
xor dword [esp + 0x68], eax
xor dword [esp + 0x54], eax
xor dword [esp + 0x6c], eax
xor dword [esp + 0x74], eax
xor eax, dword [esp + 0xf4]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x64]
mov dword [esi + 4], eax
mov eax, dword [esp + 0x38]
mov dword [esi], eax
mov eax, dword [esp + 0x20]
mov dword [esi + 0xc], eax
mov ecx, dword [esp + 0xd4]
mov dword [esi + 8], ecx
mov edx, eax
shld edx, ecx, 4
mov dword [esp + 4], edx
shrd eax, ecx, 0x1c
mov dword [esp + 0x20], eax
xor dword [esp + 0x3c], edi
mov ebx, dword [esp + 0x60]
xor ebx, edi
mov dword [esp + 0x60], ebx
xor dword [esp + 0x7c], edi
xor dword [esp + 0x8c], edi
xor edi, dword [esp + 0xf0]
mov dword [esp + 0xc], edi
mov eax, dword [esp + 0x84]
mov dword [esi + 0x14], eax
mov ecx, dword [esp + 0xd8]
mov dword [esi + 0x10], ecx
mov eax, dword [esp + 0x88]
mov dword [esi + 0x1c], eax
mov edx, dword [esp + 0xd0]
mov dword [esi + 0x18], edx
mov eax, dword [esp + 0x50]
mov dword [esi + 0x24], eax
mov eax, dword [esp + 0x40]
mov dword [esi + 0x20], eax
mov eax, dword [esp + 0x2c]
mov dword [esi + 0x2c], eax
mov eax, dword [esp + 0xbc]
mov dword [esi + 0x28], eax
mov eax, dword [esp + 0xa8]
mov dword [esi + 0x34], eax
mov eax, dword [esp + 0xc4]
mov dword [esi + 0x30], eax
mov eax, dword [esp + 0xb0]
mov dword [esi + 0x3c], eax
mov eax, dword [esp + 0xc0]
mov dword [esi + 0x38], eax
mov eax, dword [esp + 0x24]
mov dword [esi + 0x44], eax
mov eax, dword [esp + 0xc8]
mov dword [esi + 0x40], eax
mov eax, dword [esp + 0x10]
mov dword [esi + 0x4c], eax
mov eax, dword [esp + 0x44]
mov dword [esi + 0x48], eax
mov eax, dword [esp + 0x30]
mov dword [esi + 0x54], eax
mov eax, dword [esp + 0xac]
mov dword [esi + 0x50], eax
mov eax, dword [esp + 0x90]
mov dword [esi + 0x5c], eax
mov eax, dword [esp + 8]
mov dword [esi + 0x58], eax
mov eax, dword [esp + 0x98]
mov dword [esi + 0x64], eax
mov eax, dword [esp + 0xb8]
mov dword [esi + 0x60], eax
mov eax, dword [esp + 0xa4]
mov dword [esi + 0x6c], eax
mov eax, dword [esp + 0xb4]
mov dword [esi + 0x68], eax
mov eax, dword [esp + 0x4c]
mov dword [esi + 0x74], eax
mov eax, dword [esp + 0x14]
mov dword [esi + 0x70], eax
mov eax, dword [esp + 0x28]
mov dword [esi + 0x7c], eax
mov eax, dword [esp + 0x94]
mov dword [esi + 0x78], eax
mov eax, dword [esp + 0x70]
mov dword [esi + 0x84], eax
mov eax, dword [esp + 0x1c]
mov dword [esi + 0x80], eax
mov eax, dword [esp + 0x78]
mov dword [esi + 0x8c], eax
mov eax, dword [esp + 0x9c]
mov dword [esi + 0x88], eax
mov eax, dword [esp + 0x80]
mov dword [esi + 0x94], eax
mov eax, dword [esp + 0xa0]
mov dword [esi + 0x90], eax
mov eax, dword [esp + 0x18]
mov dword [esi + 0x9c], eax
mov eax, dword [esp + 0x34]
mov dword [esi + 0x98], eax
mov eax, dword [esp + 0x3c]
mov dword [esi + 0xa4], eax
mov eax, dword [esp + 0x68]
mov dword [esi + 0xa0], eax
mov dword [esi + 0xac], ebx
mov eax, dword [esp + 0x54]
mov dword [esi + 0xa8], eax
mov eax, dword [esp + 0x7c]
mov dword [esi + 0xb4], eax
mov eax, dword [esp + 0x6c]
mov dword [esi + 0xb0], eax
mov eax, dword [esp + 0x8c]
mov dword [esi + 0xbc], eax
mov eax, dword [esp + 0x74]
mov dword [esi + 0xb8], eax
mov dword [esi + 0xc4], edi
mov eax, dword [esp + 0x48]
mov dword [esi + 0xc0], eax
mov esi, dword [esp + 0x64]
mov dword [esp + 0x114], esi
mov eax, dword [esp + 0x38]
mov dword [esp + 0x110], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x154], eax
mov ebx, ecx
mov eax, dword [esp + 0x84]
shld ebx, eax, 3
mov edi, dword [esp + 4]
mov dword [esp + 0x150], edi
shld eax, ecx, 3
mov dword [esp + 0x16c], eax
mov eax, dword [esp + 0x88]
mov ecx, eax
shld ecx, edx, 9
shrd eax, edx, 0x17
mov dword [esp + 0x168], ebx
mov dword [esp + 0x1ac], eax
mov edx, dword [esp + 0x40]
mov eax, edx
mov ebx, dword [esp + 0x50]
shld eax, ebx, 0x12
mov dword [esp + 0x1a8], ecx
shld ebx, edx, 0x12
mov edi, dword [esp + 0x38]
mov dword [esp + 0x1c4], ebx
mov ecx, dword [esp + 0xbc]
mov edx, ecx
mov ebx, dword [esp + 0x2c]
shld edx, ebx, 1
shld ebx, ecx, 1
mov dword [esp + 0x2c], ebx
mov ebx, dword [esp + 0xa8]
mov dword [esp + 4], ebx
mov ecx, dword [esp + 0xc4]
shld dword [esp + 4], ecx, 0xc
shrd ebx, ecx, 0x14
mov dword [esp + 0x1c0], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x124], eax
mov dword [esp + 0x20], edx
mov dword [esp + 0x120], edx
mov dword [esp + 0x13c], ebx
mov edx, dword [esp + 0xc0]
mov ecx, edx
mov eax, dword [esp + 0xb0]
shld ecx, eax, 0xa
shld eax, edx, 0xa
mov edx, dword [esp + 4]
mov dword [esp + 0x138], edx
mov dword [esp + 0x17c], eax
mov eax, dword [esp + 0x24]
mov ebx, dword [esp + 0xc8]
shld eax, ebx, 0xd
mov dword [esp + 0x178], ecx
mov ecx, dword [esp + 0x24]
shrd ecx, ebx, 0x13
mov dword [esp + 0x194], ecx
mov ebx, dword [esp + 0x44]
mov ecx, ebx
mov edx, dword [esp + 0x10]
shld ecx, edx, 2
shld edx, ebx, 2
mov dword [esp + 0x190], eax
mov dword [esp + 0x1d4], edx
mov edx, dword [esp + 0x30]
mov eax, edx
mov ebx, dword [esp + 0xac]
shld eax, ebx, 0x1e
shrd edx, ebx, 2
mov dword [esp + 0x30], edx
mov edx, dword [esp + 8]
mov ebx, dword [esp + 0x90]
shld edx, ebx, 6
mov dword [esp + 0x1d0], ecx
mov ecx, dword [esp + 8]
shld ebx, ecx, 6
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x134], ecx
mov dword [esp + 0x24], eax
mov dword [esp + 0x130], eax
mov dword [esp + 0x14c], ebx
mov ebx, dword [esp + 0x98]
mov ecx, ebx
mov eax, dword [esp + 0xb8]
shld ecx, eax, 0xb
mov dword [esp + 0x148], edx
shrd ebx, eax, 0x15
mov dword [esp + 0x164], ebx
mov edx, dword [esp + 0xb4]
mov eax, edx
mov ebx, dword [esp + 0xa4]
shld eax, ebx, 0xf
shld ebx, edx, 0xf
mov dword [esp + 0x160], ecx
mov dword [esp + 0x1a4], ebx
mov edx, dword [esp + 0x4c]
mov ecx, edx
mov ebx, dword [esp + 0x14]
shld ecx, ebx, 0x1d
mov dword [esp + 8], ecx
mov dword [esp + 0x1a0], eax
shrd edx, ebx, 3
mov dword [esp + 0x1bc], edx
mov ebx, dword [esp + 0x94]
mov eax, ebx
mov edx, dword [esp + 0x28]
shld eax, edx, 0x1c
shld edx, ebx, 0x1c
mov dword [esp + 0x28], edx
mov ebx, dword [esp + 0x70]
mov edx, ebx
mov ecx, dword [esp + 0x1c]
shld edx, ecx, 0x17
mov ecx, dword [esp + 0x1c]
shrd ebx, ecx, 9
mov ecx, dword [esp + 8]
mov dword [esp + 0x1b8], ecx
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x11c], ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x118], eax
mov dword [esp + 0x15c], ebx
mov eax, dword [esp + 0x9c]
mov ecx, eax
mov ebx, dword [esp + 0x78]
shld ecx, ebx, 0x19
shld ebx, eax, 0x19
mov dword [esp + 0x158], edx
mov dword [esp + 0x174], ebx
mov edx, dword [esp + 0xa0]
mov eax, edx
mov ebx, dword [esp + 0x80]
shld eax, ebx, 0x15
mov dword [esp + 0x170], ecx
shld ebx, edx, 0x15
mov dword [esp + 0x18c], ebx
mov edx, dword [esp + 0x18]
mov ecx, edx
mov ebx, dword [esp + 0x34]
shld ecx, ebx, 0x18
shrd edx, ebx, 8
mov dword [esp + 0x188], eax
mov dword [esp + 0x1cc], edx
mov ebx, dword [esp + 0x68]
mov eax, ebx
mov edx, dword [esp + 0x3c]
shld eax, edx, 0x1b
shld edx, ebx, 0x1b
mov ebx, dword [esp + 0x54]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x60]
shld dword [esp + 4], ebx, 0x14
mov dword [esp + 0x1c8], ecx
mov ecx, dword [esp + 0x54]
shld ebx, ecx, 0x14
mov dword [esp + 0x3c], edx
mov dword [esp + 0x12c], edx
mov dword [esp + 8], eax
mov dword [esp + 0x128], eax
mov dword [esp + 0x144], ebx
mov edx, dword [esp + 0x7c]
mov ecx, edx
mov ebx, dword [esp + 0x6c]
shld ecx, ebx, 7
mov eax, dword [esp + 4]
mov dword [esp + 0x140], eax
shrd edx, ebx, 0x19
mov dword [esp + 0x184], edx
mov ebx, dword [esp + 0x74]
mov eax, ebx
mov edx, dword [esp + 0x8c]
shld eax, edx, 8
shld edx, ebx, 8
mov dword [esp + 0x180], ecx
mov dword [esp + 0x19c], edx
mov edx, dword [esp + 0x48]
mov ecx, edx
mov ebx, dword [esp + 0xc]
shld ecx, ebx, 0xe
mov dword [esp + 0x198], eax
shld ebx, edx, 0xe
mov dword [esp + 0x1b4], ebx
mov dword [esp + 0x1b0], ecx
mov dword [esp + 0xc], 1
mov eax, 2
xor ebx, ebx
nop
nop
mov dword [esp + 0x38], eax
mov ecx, 0xcccccccd
mul ecx
shr edx, 2
imul eax, edx, 0xffffff38
lea ecx, [esp + 0x160]
add eax, ecx
mov ecx, dword [esp + 0xc]
cmp ecx, 5
mov edx, 0
cmove ecx, edx
lea edx, [ecx + ecx*4]
mov ecx, dword [esp + edx*8 + 0x114]
not ecx
and ecx, dword [ebx + eax + 4]
xor ecx, esi
mov esi, dword [esp + edx*8 + 0x110]
not esi
and esi, dword [ebx + eax]
xor esi, edi
mov edi, dword [esp + 0x58]
mov dword [edi + ebx + 4], ecx
mov dword [edi + ebx], esi
mov ecx, dword [esp + edx*8 + 0x11c]
not ecx
and ecx, dword [ebx + eax + 0xc]
xor ecx, dword [esp + 0x28]
mov esi, dword [esp + edx*8 + 0x118]
not esi
and esi, dword [ebx + eax + 8]
xor esi, dword [esp + 0x1c]
mov dword [edi + ebx + 0xc], ecx
mov dword [edi + ebx + 8], esi
mov ecx, dword [esp + edx*8 + 0x124]
not ecx
and ecx, dword [ebx + eax + 0x14]
xor ecx, dword [esp + 0x2c]
mov esi, dword [esp + edx*8 + 0x120]
not esi
and esi, dword [ebx + eax + 0x10]
xor esi, dword [esp + 0x20]
mov dword [edi + ebx + 0x14], ecx
mov dword [edi + ebx + 0x10], esi
mov ecx, dword [esp + edx*8 + 0x12c]
not ecx
and ecx, dword [ebx + eax + 0x1c]
xor ecx, dword [esp + 0x3c]
mov esi, dword [esp + edx*8 + 0x128]
not esi
and esi, dword [ebx + eax + 0x18]
xor esi, dword [esp + 8]
mov dword [edi + ebx + 0x1c], ecx
mov dword [edi + ebx + 0x18], esi
mov ecx, dword [esp + edx*8 + 0x134]
not ecx
and ecx, dword [ebx + eax + 0x24]
xor ecx, dword [esp + 0x30]
mov edx, dword [esp + edx*8 + 0x130]
not edx
and edx, dword [ebx + eax + 0x20]
xor edx, dword [esp + 0x24]
mov dword [edi + ebx + 0x24], ecx
mov dword [edi + ebx + 0x20], edx
cmp dword [esp + 0xc], 5
je 0x495d80
mov edi, dword [esp + ebx + 0x138]
mov esi, dword [esp + ebx + 0x13c]
mov eax, dword [esp + ebx + 0x144]
mov dword [esp + 0x28], eax
mov eax, dword [esp + ebx + 0x140]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + ebx + 0x14c]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + ebx + 0x148]
mov dword [esp + 0x20], eax
mov eax, dword [esp + ebx + 0x154]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + ebx + 0x150]
mov dword [esp + 8], eax
mov eax, dword [esp + ebx + 0x15c]
mov dword [esp + 0x30], eax
mov eax, dword [esp + ebx + 0x158]
mov dword [esp + 0x24], eax
add ebx, 0x28
add dword [esp + 0xc], 1
mov eax, dword [esp + 0x38]
add eax, 1
jmp 0x4967c0