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

Disassembly:
push esi
sub esp, 0xa4
mov eax, dword [esp + 0xb4]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0xb0]
mov dword [esp + 0x24], eax
mov ecx, dword [esp + 0xac]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], eax
mov ecx, eax
shr ecx, 1
add eax, ecx
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], eax
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], eax
lea eax, [esp + 0x2c]
mov dword [esp + 0x58], eax
lea eax, [esp + 0x2c]
mov dword [esp + 0x5c], eax
lea eax, [esp + 0x2c]
mov dword [esp + 0x60], eax
lea eax, [esp + 0x2c]
add eax, 4
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x2c]
cmp eax, dword [esp + 0x30]
jb 0x4620bf
add esp, 0xa4
pop esi
ret
mov eax, dword [esp + 0x30]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.0040d950
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x38], eax
mov dword [esp + 0x34], 1
mov eax, dword [esp + 0x38]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x68], eax
cmp eax, ecx
jae 0x462135
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x24]
mov esi, dword [esp + 0x28]
xor eax, eax
lea eax, [0x5fdde4]
mov dword [esp], esi
mov dword [esp + 4], edx
mov dword [esp + 8], 0
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], eax
call fcn.00422110
mov dword [esp + 0x3c], 0
jmp 0x462143
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x1c]
sub eax, ecx
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x1c]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.0052bbb0
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
mov esi, eax
mov dword [esp + 0x6c], esi
xor eax, eax
lea eax, [0x5fddf4]
mov dword [esp], 0
mov dword [esp + 4], esi
mov dword [esp + 8], edx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], eax
call fcn.00496360
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], edx
mov esi, dword [esp + 0x3c]
mov dword [esp + 0x70], esi
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], edx
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], edx
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x70]
shl ecx, 1
add ecx, 1
mov dword [esp + 0x74], ecx
cmp dword [esp + 0x74], eax
jae 0x4621e2
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x74]
add eax, 1
cmp eax, ecx
jb 0x4621e9
jmp 0x4621e7
jmp 0x4622ba
jmp 0x462233
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x74]
mov dword [esp + 0x8c], ecx
imul esi, ecx, 0x18
mov ecx, eax
add ecx, esi
mov esi, dword [esp + 0x74]
add esi, 1
mov dword [esp + 0x90], esi
imul esi, esi, 0x18
add eax, esi
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.0040db80
and al, 1
movzx eax, al
add eax, dword [esp + 0x74]
mov dword [esp + 0x74], eax
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x70]
mov dword [esp + 0x94], ecx
imul esi, ecx, 0x18
mov ecx, eax
add ecx, esi
mov esi, dword [esp + 0x74]
mov dword [esp + 0x98], esi
imul esi, esi, 0x18
add eax, esi
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.0040db80
test al, 1
jne 0x462273
jmp 0x4622ba
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x70]
mov dword [esp + 0x9c], ecx
imul edx, ecx, 0x18
mov ecx, eax
add ecx, edx
mov edx, dword [esp + 0x74]
mov dword [esp + 0xa0], edx
imul edx, edx, 0x18
add eax, edx
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], 1
call fcn.00470b40
mov eax, dword [esp + 0x74]
mov dword [esp + 0x70], eax
jmp 0x4621ba
jmp 0x46208a