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

Disassembly:
sub esp, 0xa4
push ebx
xor ebx, ebx
cmp dword [esp + 0xb8], ebx
jne 0x459d04
mov ecx, dword [esp + 0xac]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
mov eax, dword [eax]
push edx
mov edx, dword [esp + 0xb8]
push eax
mov eax, dword [esp + 0xb8]
push edi
push edx
push eax
push ecx
call fcn.00459380
add esp, 0x18
pop ebx
add esp, 0xa4
ret
mov ecx, dword [0x4ffcc4]
push ebp
push esi
mov esi, dword [esp + 0xb4]
mov eax, dword [esi]
mov edx, dword [eax + 4]
imul edx, dword [eax]
imul edx, edi
push edx
mov dword [esp + 0x34], ecx
mov dword [0x4ffcc4], ebx
call fcn.004a9ad4
add esp, 4
xor ecx, ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], ecx
jmp 0x459d44
mov ecx, dword [esp + 0xc]
mov eax, 4
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], eax
mov edx, 2
mov dword [esp + 0x48], eax
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], eax
mov dword [esp + 0x60], eax
mov ebp, 1
mov dword [esp + 0x88], edx
mov dword [esp + 0x8c], edx
mov dword [esp + 0x70], ebp
mov dword [esp + 0x58], ebp
mov ebp, 8
mov dword [esp + 0x68], edx
mov dword [esp + 0x50], edx
mov dword [esp + 0xa8], edx
mov dword [esp + 0xac], edx
mov dword [esp + 0x94], ebp
mov dword [esp + 0x98], ebp
mov dword [esp + 0x9c], ebp
mov dword [esp + 0x78], ebp
mov dword [esp + 0x7c], ebp
mov dword [esp + 0x90], 1
mov ebp, dword [esp + ecx + 0x78]
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x74], ebx
mov eax, dword [esp + ecx + 0x5c]
mov dword [esp + 0x3c], eax
mov edx, ebp
sub edx, eax
mov eax, dword [esi]
mov eax, dword [eax]
lea eax, [edx + eax - 1]
xor edx, edx
div ebp
mov edx, dword [esp + ecx + 0x94]
mov dword [esp + 0x38], ebp
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x54], ebx
mov ecx, dword [esp + ecx + 0x40]
mov dword [esp + 0x24], edx
mov ebp, eax
mov eax, dword [esi]
mov eax, dword [eax + 4]
sub eax, ecx
lea eax, [eax + edx - 1]
xor edx, edx
div dword [esp + 0x24]
cmp ebp, ebx
mov dword [esp + 0x28], eax
je 0x459f25
cmp eax, ebx
je 0x459f25
mov ecx, dword [esp + 0xbc]
mov edx, dword [esp + 0xb8]
push eax
push ebp
push edi
push ecx
push edx
push esi
call fcn.00459380
add esp, 0x18
test eax, eax
je 0x459f59
mov ecx, dword [esp + 0x28]
cmp ecx, ebx
jle 0x459f00
mov eax, dword [esp + 0xc]
mov edx, dword [esp + eax + 0x40]
mov eax, ebp
imul eax, edi
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], edx
mov dword [esp + 0x34], eax
mov dword [esp + 0x20], ecx
cmp ebp, ebx
jle 0x459eed
mov eax, dword [esi]
mov esi, dword [esi + 0xc]
add esi, dword [esp + 0x14]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x1c], ebp
jmp 0x459eb0
mov ecx, dword [esp + 0x2c]
mov edx, dword [ecx]
imul edx, dword [esp + 0x18]
add edx, dword [esp + 0x3c]
push edi
add edx, ebx
imul edx, edi
add edx, dword [esp + 0x14]
push esi
push edx
call fcn.004af6b0
add ebx, dword [esp + 0x44]
add esp, 0xc
add esi, edi
sub dword [esp + 0x1c], 1
jne 0x459eb0
mov esi, dword [esp + 0xb4]
mov eax, dword [esp + 0x34]
xor ebx, ebx
mov ecx, dword [esp + 0x24]
add dword [esp + 0x18], ecx
add dword [esp + 0x14], eax
sub dword [esp + 0x20], 1
jne 0x459e93
mov edx, dword [esi + 0xc]
push edx
call fcn.004aa2ff
imul ebp, edi
add ebp, 1
imul ebp, dword [esp + 0x2c]
add dword [esp + 0xbc], ebp
add esp, 4
sub dword [esp + 0xbc], ebp
mov eax, dword [esp + 0xc]
add eax, 4
cmp eax, 0x1c
mov dword [esp + 0xc], eax
jl 0x459d40
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x30]
mov dword [esi + 0xc], ecx
pop esi
pop ebp
mov dword [0x4ffcc4], edx
mov eax, 1
pop ebx
add esp, 0xa4
ret
mov eax, dword [esp + 0x10]
push eax
call fcn.004aa2ff
add esp, 4
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0xa4
ret