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

Disassembly:
sub esp, 0x40
xor ecx, ecx
push ebx
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
mov ecx, dword [edx]
mov ebx, dword [edx + 0xc]
push ebp
mov ebp, dword [edx + 8]
push esi
mov esi, dword [edx + 4]
mov dword [eax + 0x80], ecx
mov dword [eax + 0x84], esi
mov dword [eax + 0x88], ebp
mov edx, ebp
shrd ebp, ebx, 1
mov dword [esp + 0x3c], ecx
push edi
xor edi, edi
or edi, ebp
mov ebp, dword [esp + 0x40]
shrd ebp, esi, 1
and edx, 1
shl ecx, 0x1f
mov dword [eax + 0x8c], ebx
shr ebx, 1
or ecx, ebx
neg edx
and edx, 0xe1000000
shr esi, 1
xor edx, esi
xor ebx, ebx
xor ebx, ebp
mov dword [eax + 0x40], ebx
mov dword [eax + 0x44], edx
mov dword [esp + 0x44], edx
mov dword [eax + 0x48], edi
mov dword [eax + 0x4c], ecx
mov esi, edi
shrd edi, ecx, 1
shr ecx, 1
mov edx, ebx
shl edx, 0x1f
or edx, ecx
mov ecx, dword [esp + 0x44]
shrd ebx, ecx, 1
and esi, 1
xor ebp, ebp
or ebp, edi
neg esi
shr ecx, 1
xor edi, edi
xor edi, ebx
and esi, 0xe1000000
xor esi, ecx
mov dword [eax + 0x20], edi
mov dword [eax + 0x24], esi
mov dword [eax + 0x28], ebp
mov ecx, ebp
shrd ebp, edx, 1
mov ebx, ebp
mov dword [esp + 0x14], edi
shl dword [esp + 0x14], 0x1f
mov dword [esp + 0x10], 0
mov ebp, dword [esp + 0x10]
mov dword [eax + 0x2c], edx
shr edx, 1
or ebp, ebx
mov ebx, dword [esp + 0x14]
shrd edi, esi, 1
and ecx, 1
or ebx, edx
neg ecx
xor edx, edx
xor edx, edi
and ecx, 0xe1000000
shr esi, 1
mov dword [esp + 0x4c], ebx
xor ecx, esi
mov dword [eax + 0x10], edx
mov esi, dword [eax + 0x24]
mov dword [eax + 0x14], ecx
mov dword [eax + 0x18], ebp
mov dword [esp + 0x3c], esi
xor esi, ecx
mov ecx, dword [eax + 0x28]
mov dword [eax + 0x1c], ebx
mov ebx, dword [eax + 0x20]
mov dword [eax + 0x34], esi
mov esi, dword [eax + 0x14]
mov dword [esp + 0x44], esi
mov edi, ebx
xor edi, edx
mov edx, dword [eax + 0x2c]
mov dword [esp + 0x14], edx
xor edx, dword [esp + 0x4c]
mov dword [esp + 0x10], ecx
mov dword [eax + 0x3c], edx
mov edx, dword [eax + 0x44]
xor esi, edx
mov edx, dword [eax + 0x18]
mov dword [eax + 0x54], esi
mov esi, dword [eax + 0x1c]
mov dword [esp + 0x24], esi
xor esi, dword [eax + 0x4c]
xor ecx, ebp
mov ebp, dword [eax + 0x10]
mov dword [eax + 0x5c], esi
mov esi, dword [esp + 0x3c]
xor esi, dword [eax + 0x44]
mov dword [esp + 0x20], edx
xor edx, dword [eax + 0x48]
mov dword [eax + 0x64], esi
mov esi, dword [esp + 0x10]
xor esi, dword [eax + 0x48]
mov dword [eax + 0x30], edi
mov edi, ebp
mov dword [eax + 0x68], esi
mov esi, dword [eax + 0x30]
mov dword [eax + 0x38], ecx
mov ecx, dword [eax + 0x40]
xor edi, ecx
mov dword [eax + 0x58], edx
mov dword [esp + 0x28], esi
xor esi, ecx
mov edx, ebx
xor edx, ecx
mov ecx, dword [eax + 0x38]
mov dword [esp + 0x30], ecx
xor ecx, dword [eax + 0x48]
mov dword [eax + 0x50], edi
mov edi, dword [esp + 0x14]
mov dword [eax + 0x70], esi
mov esi, dword [eax + 0x3c]
mov dword [eax + 0x78], ecx
mov ecx, dword [eax + 0x80]
xor ebp, ecx
mov dword [esp + 0x18], ebp
mov ebp, dword [esp + 0x44]
mov dword [eax + 0x60], edx
mov edx, dword [eax + 0x4c]
xor edi, edx
mov dword [esp + 0x34], esi
xor esi, edx
mov edx, dword [eax + 0x84]
xor ebp, edx
mov dword [esp + 0x1c], ebp
mov ebp, dword [esp + 0x18]
mov dword [eax + 0x6c], edi
mov edi, dword [eax + 0x34]
mov dword [eax + 0x90], ebp
mov ebp, dword [esp + 0x1c]
mov dword [esp + 0x2c], edi
xor edi, dword [eax + 0x44]
mov dword [eax + 0x94], ebp
mov ebp, dword [esp + 0x20]
mov dword [eax + 0x7c], esi
mov esi, dword [eax + 0x88]
mov dword [eax + 0x74], edi
mov edi, dword [eax + 0x8c]
xor ebp, esi
mov dword [esp + 0x18], ebp
mov ebp, dword [esp + 0x24]
xor ebp, edi
mov dword [esp + 0x1c], ebp
mov ebp, dword [esp + 0x18]
mov dword [eax + 0x98], ebp
mov ebp, dword [esp + 0x1c]
mov dword [eax + 0x9c], ebp
mov ebp, dword [esp + 0x3c]
xor ebx, ecx
xor ebp, edx
mov dword [eax + 0xa0], ebx
mov ebx, dword [esp + 0x10]
mov dword [eax + 0xa4], ebp
mov ebp, dword [esp + 0x14]
xor ebx, esi
xor ebp, edi
mov dword [eax + 0xa8], ebx
mov ebx, dword [esp + 0x28]
mov dword [eax + 0xac], ebp
mov ebp, dword [esp + 0x2c]
xor ebx, ecx
xor ebp, edx
mov dword [eax + 0xb0], ebx
mov ebx, dword [esp + 0x30]
mov dword [eax + 0xb4], ebp
mov ebp, dword [esp + 0x34]
xor ebx, esi
xor ebp, edi
mov dword [eax + 0xb8], ebx
mov dword [eax + 0xbc], ebp
mov ebx, ecx
xor ebx, dword [eax + 0x40]
mov ebp, edx
xor ebp, dword [eax + 0x44]
mov dword [eax + 0xc0], ebx
mov ebx, dword [eax + 0x48]
mov dword [eax + 0xc4], ebp
mov ebp, dword [eax + 0x4c]
xor ebx, esi
xor ebp, edi
mov dword [eax + 0xc8], ebx
mov ebx, dword [eax + 0x50]
mov dword [eax + 0xcc], ebp
mov ebp, dword [eax + 0x54]
xor ebx, ecx
xor ebp, edx
mov dword [eax + 0xd0], ebx
mov dword [eax + 0xd4], ebp
mov ebx, esi
xor ebx, dword [eax + 0x58]
mov ebp, edi
xor ebp, dword [eax + 0x5c]
mov dword [eax + 0xd8], ebx
mov ebx, dword [eax + 0x60]
mov dword [eax + 0xdc], ebp
mov ebp, dword [eax + 0x64]
xor ebx, ecx
xor ecx, dword [eax + 0x70]
xor ebp, edx
xor edx, dword [eax + 0x74]
mov dword [eax + 0xe0], ebx
mov dword [eax + 0xe4], ebp
mov ebx, esi
xor ebx, dword [eax + 0x68]
xor esi, dword [eax + 0x78]
mov ebp, edi
xor ebp, dword [eax + 0x6c]
xor edi, dword [eax + 0x7c]
mov dword [eax + 0xf8], esi
mov dword [eax + 0xfc], edi
pop edi
pop esi
mov dword [eax + 0xec], ebp
pop ebp
mov dword [eax + 0xe8], ebx
mov dword [eax + 0xf0], ecx
mov dword [eax + 0xf4], edx
pop ebx
add esp, 0x40
ret
sub esp, 8
push ebx
push ebp
push esi
push 0x178
push 0
push edi
mov ebx, eax
call fcn.100b34b0
add esp, 0xc
lea esi, [edi + 0x50]
push ebx
push esi
push esi
mov dword [edi + 0x170], fcn.1005f8e0
mov dword [edi + 0x174], ebx
call fcn.1005f8e0
movzx ecx, byte [esi + 8]
movzx eax, byte [esi + 9]
movzx edx, byte [esi + 0xa]
movzx ebx, byte [esi + 0xd]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 0xb]
shl ecx, 8
or ecx, edx
movzx edx, byte [esi + 0xc]
movzx ebp, byte [esi + 5]
shl edx, 8
or edx, ebx
movzx ebx, byte [esi + 0xe]
shl edx, 8
or edx, ebx
movzx ebx, byte [esi + 0xf]
shl ecx, 8
or ecx, eax
shl edx, 8
or edx, ebx
xor ebx, ebx
or ecx, ebx
movzx ebx, byte [esi + 4]
mov dword [esp + 0x1c], ecx
movzx ecx, byte [esi]
xor eax, eax
or eax, edx
movzx edx, byte [esi + 1]
shl ecx, 8
or ecx, edx
movzx edx, byte [esi + 2]
shl ebx, 8
or ebx, ebp
movzx ebp, byte [esi + 6]
shl ecx, 8
or ecx, edx
movzx edx, byte [esi + 3]
shl ebx, 8
or ebx, ebp
movzx ebp, byte [esi + 7]
shl ecx, 8
or ecx, edx
shl ebx, 8
xor edx, edx
or ebx, ebp
or edx, ebx
mov dword [edi + 0x58], eax
mov eax, dword [esp + 0x1c]
xor ebp, ebp
add esp, 0xc
or ecx, ebp
mov dword [esi], edx
mov dword [edi + 0x5c], eax
mov dword [esi + 4], ecx
lea eax, [edi + 0x60]
mov edx, esi
pop esi
pop ebp
pop ebx
add esp, 8
jmp 0x1005cef0