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

Disassembly:
sub esp, 0x20
cmp byte [0x4c4458], 0
jne 0x409251
call fcn.00409f30
mov eax, dword [esp + 0x2c]
push ebx
mov ebx, dword [esp + 0x2c]
mov dword [eax + 0x104], 0x10
test bl, 7
jne 0x409273
cmp ebx, 0x10
jb 0x409273
cmp ebx, 0x20
jbe 0x40928b
test bl, 0x3f
jne 0x409f0e
lea ecx, [ebx - 0x80]
cmp ecx, 0x80
ja 0x409f0e
mov ecx, dword [esp + 0x28]
push ebp
mov dword [eax + 0x104], 0x11
push esi
mov esi, dword [ecx]
mov dword [eax], esi
push edi
mov edi, dword [ecx + 4]
mov dword [eax + 4], edi
mov ebp, dword [ecx + 8]
cmp ebx, 0x80
mov dword [eax + 8], ebp
mov edx, dword [ecx + 0xc]
sbb ecx, ecx
and ecx, 0xfffffffd
add ecx, 5
shr ebx, cl
mov dword [eax + 0xc], edx
sub ebx, 4
je 0x409bc5
sub ebx, 2
je 0x409826
sub ebx, 2
jne 0x409eff
mov ecx, dword [esp + 0x34]
mov ebx, dword [ecx + 0x10]
mov dword [eax + 0x10], ebx
mov dword [esp + 0x20], ebx
mov ebx, dword [ecx + 0x14]
mov dword [eax + 0x14], ebx
mov dword [esp + 0x24], ebx
mov ebx, dword [ecx + 0x18]
mov dword [eax + 0x18], ebx
mov ecx, dword [ecx + 0x1c]
mov dword [eax + 0x1c], ecx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ecx
mov ebx, ecx
shr ecx, 0x10
shr ebx, 0x18
mov ebx, dword [ebx*4 + 0x4c2c58]
movzx ecx, cl
xor ebx, dword [ecx*4 + 0x4c2858]
mov ecx, dword [esp + 0x2c]
shr ecx, 8
movzx ecx, cl
xor ebx, dword [ecx*4 + 0x4c2458]
movzx ecx, byte [esp + 0x2c]
xor ebx, dword [ecx*4 + 0x4c3058]
xor ebx, dword [0x4c2430]
xor esi, ebx
xor edi, esi
xor ebp, edi
xor edx, ebp
mov dword [eax + 0x20], esi
mov dword [eax + 0x24], edi
mov dword [eax + 0x28], ebp
mov dword [eax + 0x2c], edx
mov ebx, edx
shr ebx, 0x10
movzx ebx, bl
mov ecx, edx
shr ecx, 0x18
mov ecx, dword [ecx*4 + 0x4c3058]
xor ecx, dword [ebx*4 + 0x4c2c58]
mov ebx, edx
shr ebx, 8
movzx ebx, bl
xor ecx, dword [ebx*4 + 0x4c2858]
movzx ebx, dl
xor ecx, dword [ebx*4 + 0x4c2458]
mov ebx, ecx
mov ecx, dword [esp + 0x20]
xor ecx, ebx
mov ebx, dword [esp + 0x24]
xor ebx, ecx
mov dword [eax + 0x30], ecx
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x28]
xor ecx, ebx
mov dword [eax + 0x38], ecx
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x2c]
xor ecx, dword [esp + 0x28]
mov dword [esp + 0x24], ebx
mov dword [eax + 0x3c], ecx
mov dword [eax + 0x34], ebx
mov ebx, ecx
mov dword [esp + 0x2c], ecx
shr ecx, 0x10
shr ebx, 0x18
mov ebx, dword [ebx*4 + 0x4c2c58]
movzx ecx, cl
xor ebx, dword [ecx*4 + 0x4c2858]
mov ecx, dword [esp + 0x2c]
shr ecx, 8
movzx ecx, cl
xor ebx, dword [ecx*4 + 0x4c2458]
movzx ecx, byte [esp + 0x2c]
xor ebx, dword [ecx*4 + 0x4c3058]
xor ebx, dword [0x4c2434]
xor esi, ebx
mov dword [eax + 0x40], esi
xor edi, esi
mov dword [eax + 0x44], edi
xor ebp, edi
xor edx, ebp
mov dword [eax + 0x48], ebp
mov dword [eax + 0x4c], edx
mov ebx, edx
shr ebx, 0x10
movzx ebx, bl
mov ecx, edx
shr ecx, 0x18
mov ecx, dword [ecx*4 + 0x4c3058]
xor ecx, dword [ebx*4 + 0x4c2c58]
mov ebx, edx
shr ebx, 8
movzx ebx, bl
xor ecx, dword [ebx*4 + 0x4c2858]
movzx ebx, dl
xor ecx, dword [ebx*4 + 0x4c2458]
mov ebx, ecx
mov ecx, dword [esp + 0x20]
xor ecx, ebx
mov ebx, dword [esp + 0x24]
xor ebx, ecx
mov dword [eax + 0x50], ecx
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x28]
xor ecx, ebx
mov dword [eax + 0x58], ecx
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x2c]
xor ecx, dword [esp + 0x28]
mov dword [eax + 0x54], ebx
mov dword [eax + 0x5c], ecx
mov dword [esp + 0x24], ebx
mov ebx, ecx
mov dword [esp + 0x2c], ecx
shr ecx, 0x10
shr ebx, 0x18
mov ebx, dword [ebx*4 + 0x4c2c58]
movzx ecx, cl
xor ebx, dword [ecx*4 + 0x4c2858]
mov ecx, dword [esp + 0x2c]
shr ecx, 8
movzx ecx, cl
xor ebx, dword [ecx*4 + 0x4c2458]
movzx ecx, byte [esp + 0x2c]
xor ebx, dword [ecx*4 + 0x4c3058]
xor ebx, dword [0x4c2438]
xor esi, ebx
xor edi, esi
xor ebp, edi
xor edx, ebp
mov ebx, edx
shr ebx, 0x10
movzx ebx, bl
mov dword [eax + 0x60], esi
mov dword [eax + 0x64], edi
mov dword [eax + 0x68], ebp
mov dword [eax + 0x6c], edx
mov ecx, edx
shr ecx, 0x18
mov ecx, dword [ecx*4 + 0x4c3058]
xor ecx, dword [ebx*4 + 0x4c2c58]
mov ebx, edx
shr ebx, 8
movzx ebx, bl
xor ecx, dword [ebx*4 + 0x4c2858]
movzx ebx, dl
xor ecx, dword [ebx*4 + 0x4c2458]
mov ebx, ecx
mov ecx, dword [esp + 0x20]
xor ecx, ebx
mov ebx, dword [esp + 0x24]
xor ebx, ecx
mov dword [esp + 0x20], ecx
mov dword [eax + 0x70], ecx
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x24], ebx
mov dword [eax + 0x74], ebx
xor ecx, ebx
mov dword [eax + 0x78], ecx
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x2c]
xor ecx, dword [esp + 0x28]
mov dword [eax + 0x7c], ecx
mov dword [esp + 0x2c], ecx
mov ebx, ecx
shr ecx, 0x10
movzx ecx, cl
shr ebx, 0x18
mov ebx, dword [ebx*4 + 0x4c2c58]
xor ebx, dword [ecx*4 + 0x4c2858]
mov ecx, dword [esp + 0x2c]
shr ecx, 8
movzx ecx, cl
xor ebx, dword [ecx*4 + 0x4c2458]
movzx ecx, byte [esp + 0x2c]
xor ebx, dword [ecx*4 + 0x4c3058]
xor ebx, dword [0x4c243c]
xor esi, ebx
xor edi, esi
xor ebp, edi
xor edx, ebp
mov dword [eax + 0x80], esi
mov dword [eax + 0x84], edi
mov dword [eax + 0x88], ebp
mov dword [eax + 0x8c], edx
mov ebx, edx
shr ebx, 0x10
movzx ebx, bl
mov ecx, edx
shr ecx, 0x18
mov ecx, dword [ecx*4 + 0x4c3058]
xor ecx, dword [ebx*4 + 0x4c2c58]
mov ebx, edx
shr ebx, 8
movzx ebx, bl
xor ecx, dword [ebx*4 + 0x4c2858]
movzx ebx, dl
xor ecx, dword [ebx*4 + 0x4c2458]
mov ebx, ecx
mov ecx, dword [esp + 0x20]
xor ecx, ebx
mov ebx, dword [esp + 0x24]
xor ebx, ecx
mov dword [eax + 0x90], ecx
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x28]
xor ecx, ebx
mov dword [eax + 0x98], ecx
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x2c]
xor ecx, dword [esp + 0x28]
mov dword [esp + 0x24], ebx
mov dword [eax + 0x9c], ecx
mov dword [eax + 0x94], ebx
mov ebx, ecx
mov dword [esp + 0x2c], ecx
shr ecx, 0x10
shr ebx, 0x18
mov ebx, dword [ebx*4 + 0x4c2c58]
movzx ecx, cl
xor ebx, dword [ecx*4 + 0x4c2858]
mov ecx, dword [esp + 0x2c]
shr ecx, 8
movzx ecx, cl
xor ebx, dword [ecx*4 + 0x4c2458]
movzx ecx, byte [esp + 0x2c]
xor ebx, dword [ecx*4 + 0x4c3058]
xor ebx, dword [0x4c2440]
xor esi, ebx
xor edi, esi
xor ebp, edi
xor edx, ebp
mov dword [eax + 0xa0], esi
mov dword [eax + 0xa4], edi
mov dword [eax + 0xa8], ebp
mov dword [eax + 0xac], edx
mov ecx, edx
shr ecx, 0x18
mov ecx, dword [ecx*4 + 0x4c3058]
mov ebx, edx
shr ebx, 0x10
movzx ebx, bl
xor ecx, dword [ebx*4 + 0x4c2c58]
mov ebx, edx
shr ebx, 8
movzx ebx, bl
xor ecx, dword [ebx*4 + 0x4c2858]
movzx ebx, dl
xor ecx, dword [ebx*4 + 0x4c2458]
mov ebx, ecx
mov ecx, dword [esp + 0x20]
xor ecx, ebx
mov ebx, dword [esp + 0x24]
xor ebx, ecx
mov dword [eax + 0xb0], ecx
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x28]
xor ecx, ebx
mov dword [eax + 0xb8], ecx
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x2c]
xor ecx, dword [esp + 0x28]
mov dword [eax + 0xb4], ebx
mov dword [eax + 0xbc], ecx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x2c], ecx
mov ebx, ecx
shr ecx, 0x10
shr ebx, 0x18
mov ebx, dword [ebx*4 + 0x4c2c58]
movzx ecx, cl
xor ebx, dword [ecx*4 + 0x4c2858]
mov ecx, dword [esp + 0x2c]
shr ecx, 8
movzx ecx, cl
xor ebx, dword [ecx*4 + 0x4c2458]
movzx ecx, byte [esp + 0x2c]
xor ebx, dword [ecx*4 + 0x4c3058]
xor ebx, dword [0x4c2444]
xor esi, ebx
xor edi, esi
xor ebp, edi
xor edx, ebp
mov ebx, edx
shr ebx, 0x10
movzx ebx, bl
mov dword [eax + 0xc0], esi
mov dword [eax + 0xc4], edi
mov dword [eax + 0xc8], ebp
mov dword [eax + 0xcc], edx
mov ecx, edx
shr ecx, 0x18
mov ecx, dword [ecx*4 + 0x4c3058]
xor ecx, dword [ebx*4 + 0x4c2c58]
mov ebx, edx
shr ebx, 8
movzx ebx, bl
xor ecx, dword [ebx*4 + 0x4c2858]
movzx ebx, dl
xor ecx, dword [ebx*4 + 0x4c2458]
mov ebx, ecx
mov ecx, dword [esp + 0x20]
xor ecx, ebx
mov ebx, dword [esp + 0x24]
xor ebx, ecx
mov dword [eax + 0xd0], ecx
mov ecx, dword [esp + 0x28]
xor ecx, ebx
mov dword [esp + 0x28], ecx
mov dword [eax + 0xd8], ecx
mov ecx, dword [esp + 0x2c]
xor ecx, dword [esp + 0x28]
mov dword [eax + 0xd4], ebx
mov dword [esp + 0x2c], ecx
mov dword [eax + 0xdc], ecx
mov ebx, ecx
shr ecx, 0x10
shr ebx, 0x18
mov ebx, dword [ebx*4 + 0x4c2c58]
movzx ecx, cl
xor ebx, dword [ecx*4 + 0x4c2858]
mov ecx, dword [esp + 0x2c]
shr ecx, 8
movzx ecx, cl
xor ebx, dword [ecx*4 + 0x4c2458]
movzx ecx, byte [esp + 0x2c]
xor ebx, dword [ecx*4 + 0x4c3058]
xor ebx, dword [0x4c2448]
mov dword [eax + 0x100], 0xe
xor esi, ebx
xor edi, esi
xor ebp, edi
mov dword [eax + 0xe4], edi
pop edi
mov dword [eax + 0xe0], esi
pop esi
mov dword [eax + 0xe8], ebp
xor edx, ebp
pop ebp
mov dword [eax + 0xec], edx
mov eax, 1
pop ebx
add esp, 0x20
ret 0xc
mov ebx, dword [esp + 0x34]
mov ecx, dword [ebx + 0x10]
mov dword [eax + 0x10], ecx
mov dword [esp + 0x20], ecx
mov ecx, dword [ebx + 0x14]
mov dword [eax + 0x14], ecx
mov dword [esp + 0x24], ecx
mov ebx, ecx
shr ebx, 0x18
mov ebx, dword [ebx*4 + 0x4c2c58]
shr ecx, 0x10
movzx ecx, cl
xor ebx, dword [ecx*4 + 0x4c2858]
mov ecx, dword [esp + 0x24]
shr ecx, 8
movzx ecx, cl
xor ebx, dword [ecx*4 + 0x4c2458]
movzx ecx, byte [esp + 0x24]
xor ebx, dword [ecx*4 + 0x4c3058]
mov ecx, dword [esp + 0x24]
xor ebx, dword [0x4c2430]
xor esi, ebx
mov ebx, dword [esp + 0x20]
xor edi, esi
xor ebp, edi
xor edx, ebp
xor ebx, edx
xor ecx, ebx
mov dword [eax + 0x2c], ecx
mov dword [esp + 0x20], ebx
mov dword [eax + 0x28], ebx
mov dword [esp + 0x24], ecx
mov ebx, ecx
shr ecx, 0x10
shr ebx, 0x18
movzx ecx, cl
mov dword [eax + 0x18], esi
mov dword [eax + 0x1c], edi
mov dword [eax + 0x20], ebp
mov dword [eax + 0x24], edx
mov ebx, dword [ebx*4 + 0x4c2c58]
xor ebx, dword [ecx*4 + 0x4c2858]
mov ecx, dword [esp + 0x24]
shr ecx, 8
movzx ecx, cl
xor ebx, dword [ecx*4 + 0x4c2458]
movzx ecx, byte [esp + 0x24]
xor ebx, dword [ecx*4 + 0x4c3058]
mov ecx, dword [esp + 0x24]
xor ebx, dword [0x4c2434]
xor esi, ebx
mov ebx, dword [esp + 0x20]
xor edi, esi
xor ebp, edi
xor edx, ebp
xor ebx, edx
xor ecx, ebx
mov dword [eax + 0x44], ecx
mov dword [esp + 0x20], ebx
mov dword [eax + 0x40], ebx
mov ebx, ecx
mov dword [esp + 0x24], ecx
shr ecx, 0x10
shr ebx, 0x18
mov dword [eax + 0x30], esi
mov dword [eax + 0x34], edi
movzx ecx, cl
mov dword [eax + 0x38], ebp
mov dword [eax + 0x3c], edx
mov ebx, dword [ebx*4 + 0x4c2c58]
xor ebx, dword [ecx*4 + 0x4c2858]
mov ecx, dword [esp + 0x24]
shr ecx, 8
movzx ecx, cl
xor ebx, dword [ecx*4 + 0x4c2458]
movzx ecx, byte [esp + 0x24]
xor ebx, dword [ecx*4 + 0x4c3058]
xor ebx, dword [0x4c2438]
xor esi, ebx
mov dword [eax + 0x48], esi
xor edi, esi
mov ebx, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
xor ebp, edi
xor edx, ebp
xor ebx, edx
xor ecx, ebx
mov dword [eax + 0x5c], ecx
mov dword [esp + 0x20], ebx
mov dword [eax + 0x58], ebx
mov dword [esp + 0x24], ecx
mov ebx, ecx
shr ecx, 0x10
shr ebx, 0x18
movzx ecx, cl
mov dword [eax + 0x4c], edi
mov dword [eax + 0x50], ebp
mov dword [eax + 0x54], edx
mov ebx, dword [ebx*4 + 0x4c2c58]
xor ebx, dword [ecx*4 + 0x4c2858]
mov ecx, dword [esp + 0x24]
shr ecx, 8
movzx ecx, cl
xor ebx, dword [ecx*4 + 0x4c2458]
movzx ecx, byte [esp + 0x24]
xor ebx, dword [ecx*4 + 0x4c3058]
mov ecx, dword [esp + 0x24]
xor ebx, dword [0x4c243c]
xor esi, ebx
mov ebx, dword [esp + 0x20]
xor edi, esi
xor ebp, edi
xor edx, ebp
xor ebx, edx
xor ecx, ebx
mov dword [eax + 0x74], ecx
mov dword [esp + 0x20], ebx
mov dword [eax + 0x70], ebx
mov dword [esp + 0x24], ecx
mov ebx, ecx
shr ecx, 0x10
shr ebx, 0x18
movzx ecx, cl
mov dword [eax + 0x60], esi
mov dword [eax + 0x64], edi
mov dword [eax + 0x68], ebp
mov dword [eax + 0x6c], edx
mov ebx, dword [ebx*4 + 0x4c2c58]
xor ebx, dword [ecx*4 + 0x4c2858]
mov ecx, dword [esp + 0x24]
shr ecx, 8
movzx ecx, cl
xor ebx, dword [ecx*4 + 0x4c2458]
movzx ecx, byte [esp + 0x24]
xor ebx, dword [ecx*4 + 0x4c3058]
mov ecx, dword [esp + 0x24]
xor ebx, dword [0x4c2440]
xor esi, ebx
mov ebx, dword [esp + 0x20]
xor edi, esi
xor ebp, edi
xor edx, ebp
xor ebx, edx
xor ecx, ebx
mov dword [eax + 0x8c], ecx
mov dword [esp + 0x20], ebx
mov dword [eax + 0x88], ebx
mov ebx, ecx
mov dword [esp + 0x24], ecx
shr ecx, 0x10
movzx ecx, cl
shr ebx, 0x18
mov dword [eax + 0x78], esi
mov dword [eax + 0x7c], edi
mov dword [eax + 0x80], ebp
mov dword [eax + 0x84], edx
mov ebx, dword [ebx*4 + 0x4c2c58]
xor ebx, dword [ecx*4 + 0x4c2858]
mov ecx, dword [esp + 0x24]
shr ecx, 8
movzx ecx, cl
xor ebx, dword [ecx*4 + 0x4c2458]
movzx ecx, byte [esp + 0x24]
xor ebx, dword [ecx*4 + 0x4c3058]
mov ecx, dword [esp + 0x24]
xor ebx, dword [0x4c2444]
xor esi, ebx
mov ebx, dword [esp + 0x20]
xor edi, esi
xor ebp, edi
xor edx, ebp
xor ebx, edx
xor ecx, ebx
mov dword [eax + 0xa4], ecx
mov dword [eax + 0xa0], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ecx
mov ebx, ecx
shr ebx, 0x18
shr ecx, 0x10
mov dword [eax + 0x90], esi
mov dword [eax + 0x94], edi
mov dword [eax + 0x98], ebp
movzx ecx, cl
mov dword [eax + 0x9c], edx
mov ebx, dword [ebx*4 + 0x4c2c58]
xor ebx, dword [ecx*4 + 0x4c2858]
mov ecx, dword [esp + 0x24]
shr ecx, 8
movzx ecx, cl
xor ebx, dword [ecx*4 + 0x4c2458]
movzx ecx, byte [esp + 0x24]
xor ebx, dword [ecx*4 + 0x4c3058]
mov ecx, dword [esp + 0x24]
xor ebx, dword [0x4c2448]
xor esi, ebx
mov ebx, dword [esp + 0x20]
xor edi, esi
xor ebp, edi
xor edx, ebp
xor ebx, edx
xor ecx, ebx
mov dword [eax + 0xbc], ecx
mov dword [eax + 0xb8], ebx
mov ebx, ecx
mov dword [esp + 0x24], ecx
shr ecx, 0x10
mov dword [eax + 0xa8], esi
mov dword [eax + 0xac], edi
mov dword [eax + 0xb0], ebp
shr ebx, 0x18
mov dword [eax + 0xb4], edx
mov ebx, dword [ebx*4 + 0x4c2c58]
movzx ecx, cl
xor ebx, dword [ecx*4 + 0x4c2858]
mov ecx, dword [esp + 0x24]
shr ecx, 8
movzx ecx, cl
xor ebx, dword [ecx*4 + 0x4c2458]
movzx ecx, byte [esp + 0x24]
xor ebx, dword [ecx*4 + 0x4c3058]
xor ebx, dword [0x4c244c]
mov dword [eax + 0x100], 0xc
xor esi, ebx
xor edi, esi
xor ebp, edi
mov dword [eax + 0xc4], edi
pop edi
mov dword [eax + 0xc0], esi
pop esi
mov dword [eax + 0xc8], ebp
xor edx, ebp
pop ebp
mov dword [eax + 0xcc], edx
mov eax, 1
pop ebx
add esp, 0x20
ret 0xc
mov ebx, edx
shr ebx, 0x10
movzx ebx, bl
mov ecx, edx
shr ecx, 0x18
mov ecx, dword [ecx*4 + 0x4c2c58]
xor ecx, dword [ebx*4 + 0x4c2858]
mov ebx, edx
shr ebx, 8
movzx ebx, bl
xor ecx, dword [ebx*4 + 0x4c2458]
movzx ebx, dl
xor ecx, dword [ebx*4 + 0x4c3058]
xor ecx, dword [0x4c2430]
xor esi, ecx
mov dword [eax + 0x10], esi
xor edi, esi
mov dword [eax + 0x14], edi
xor ebp, edi
mov dword [eax + 0x18], ebp
xor edx, ebp
mov dword [eax + 0x1c], edx
mov ebx, edx
shr ebx, 0x10
movzx ebx, bl
mov ecx, edx
shr ecx, 0x18
mov ecx, dword [ecx*4 + 0x4c2c58]
xor ecx, dword [ebx*4 + 0x4c2858]
mov ebx, edx
shr ebx, 8
movzx ebx, bl
xor ecx, dword [ebx*4 + 0x4c2458]
movzx ebx, dl
xor ecx, dword [ebx*4 + 0x4c3058]
xor ecx, dword [0x4c2434]
xor esi, ecx
xor edi, esi
xor ebp, edi
xor edx, ebp
mov dword [eax + 0x20], esi
mov dword [eax + 0x24], edi
mov dword [eax + 0x28], ebp
mov dword [eax + 0x2c], edx
mov ebx, edx
shr ebx, 0x10
movzx ebx, bl
mov ecx, edx
shr ecx, 0x18
mov ecx, dword [ecx*4 + 0x4c2c58]
xor ecx, dword [ebx*4 + 0x4c2858]
mov ebx, edx
shr ebx, 8
movzx ebx, bl
xor ecx, dword [ebx*4 + 0x4c2458]
movzx ebx, dl
xor ecx, dword [ebx*4 + 0x4c3058]
xor ecx, dword [0x4c2438]
xor esi, ecx
xor edi, esi
xor ebp, edi
xor edx, ebp
mov dword [eax + 0x30], esi
mov ebx, edx
shr ebx, 0x10
movzx ebx, bl
mov dword [eax + 0x34], edi
mov dword [eax + 0x38], ebp
mov dword [eax + 0x3c], edx
mov ecx, edx
shr ecx, 0x18
mov ecx, dword [ecx*4 + 0x4c2c58]
xor ecx, dword [ebx*4 + 0x4c2858]
mov ebx, edx
shr ebx, 8
movzx ebx, bl
xor ecx, dword [ebx*4 + 0x4c2458]
movzx ebx, dl
xor ecx, dword [ebx*4 + 0x4c3058]
xor ecx, dword [0x4c243c]
xor esi, ecx
mov dword [eax + 0x40], esi
xor edi, esi
mov dword [eax + 0x44], edi
xor ebp, edi
mov dword [eax + 0x48], ebp
xor edx, ebp
mov dword [eax + 0x4c], edx
mov ebx, edx
shr ebx, 0x10
movzx ebx, bl
mov ecx, edx
shr ecx, 0x18
mov ecx, dword [ecx*4 + 0x4c2c58]
xor ecx, dword [ebx*4 + 0x4c2858]
mov ebx, edx
shr ebx, 8
movzx ebx, bl
xor ecx, dword [ebx*4 + 0x4c2458]
movzx ebx, dl
xor ecx, dword [ebx*4 + 0x4c3058]
xor ecx, dword [0x4c2440]
xor esi, ecx
xor edi, esi
xor ebp, edi
xor edx, ebp
mov dword [eax + 0x50], esi
mov dword [eax + 0x54], edi
mov dword [eax + 0x58], ebp
mov dword [eax + 0x5c], edx
mov ebx, edx
shr ebx, 0x10
movzx ebx, bl
mov ecx, edx
shr ecx, 0x18
mov ecx, dword [ecx*4 + 0x4c2c58]
xor ecx, dword [ebx*4 + 0x4c2858]
mov ebx, edx
shr ebx, 8
movzx ebx, bl
xor ecx, dword [ebx*4 + 0x4c2458]
movzx ebx, dl
xor ecx, dword [ebx*4 + 0x4c3058]
xor ecx, dword [0x4c2444]
xor esi, ecx
xor edi, esi
xor ebp, edi
xor edx, ebp
mov dword [eax + 0x60], esi
mov dword [eax + 0x64], edi
mov dword [eax + 0x68], ebp
mov dword [eax + 0x6c], edx
mov ebx, edx
shr ebx, 0x10
movzx ebx, bl
mov ecx, edx
shr ecx, 0x18
mov ecx, dword [ecx*4 + 0x4c2c58]
xor ecx, dword [ebx*4 + 0x4c2858]
mov ebx, edx
shr ebx, 8
movzx ebx, bl
xor ecx, dword [ebx*4 + 0x4c2458]
movzx ebx, dl
xor ecx, dword [ebx*4 + 0x4c3058]
xor ecx, dword [0x4c2448]
xor esi, ecx
xor edi, esi
xor ebp, edi
xor edx, ebp
mov ebx, edx
shr ebx, 0x10
mov ecx, edx
shr ecx, 0x18
movzx ebx, bl
mov dword [eax + 0x70], esi
mov dword [eax + 0x74], edi
mov dword [eax + 0x78], ebp
mov dword [eax + 0x7c], edx
mov ecx, dword [ecx*4 + 0x4c2c58]
xor ecx, dword [ebx*4 + 0x4c2858]
mov ebx, edx
shr ebx, 8
movzx ebx, bl
xor ecx, dword [ebx*4 + 0x4c2458]
movzx ebx, dl
xor ecx, dword [ebx*4 + 0x4c3058]
xor ecx, dword [0x4c244c]
xor esi, ecx
xor edi, esi
xor ebp, edi
xor edx, ebp
mov dword [eax + 0x80], esi
mov dword [eax + 0x84], edi
mov dword [eax + 0x88], ebp
mov dword [eax + 0x8c], edx
mov ebx, edx
shr ebx, 0x10
movzx ebx, bl
mov ecx, edx
shr ecx, 0x18
mov ecx, dword [ecx*4 + 0x4c2c58]
xor ecx, dword [ebx*4 + 0x4c2858]
mov ebx, edx
shr ebx, 8
movzx ebx, bl
xor ecx, dword [ebx*4 + 0x4c2458]
movzx ebx, dl
xor ecx, dword [ebx*4 + 0x4c3058]
xor ecx, dword [0x4c2450]
xor esi, ecx
xor edi, esi
xor ebp, edi
xor edx, ebp
mov ebx, edx
shr ebx, 0x10
mov dword [eax + 0x90], esi
mov dword [eax + 0x94], edi
mov dword [eax + 0x98], ebp
mov dword [eax + 0x9c], edx
movzx ebx, bl
mov ecx, edx
shr ecx, 0x18
mov ecx, dword [ecx*4 + 0x4c2c58]
xor ecx, dword [ebx*4 + 0x4c2858]
mov ebx, edx
shr ebx, 8
movzx ebx, bl
xor ecx, dword [ebx*4 + 0x4c2458]
movzx ebx, dl
xor ecx, dword [ebx*4 + 0x4c3058]
xor ecx, dword [0x4c2454]
mov dword [eax + 0x100], 0xa
xor esi, ecx
xor edi, esi
xor ebp, edi
xor edx, ebp
mov dword [eax + 0xa0], esi
mov dword [eax + 0xa4], edi
mov dword [eax + 0xa8], ebp
mov dword [eax + 0xac], edx
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x20
ret 0xc
mov dword [eax + 0x100], 0
xor eax, eax
pop ebx
add esp, 0x20
ret 0xc