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

Disassembly:
sub esp, 0xa4
push ebx
xor ebx, ebx
cmp dword [esp + 0xb4], ebx
jne 0x462d1b
mov eax, dword [edi + 4]
mov ecx, dword [edi]
mov edx, dword [esp + 0xb0]
push eax
mov eax, dword [esp + 0xb0]
push ecx
push esi
push edx
push eax
push edi
call fcn.004623b0
add esp, 0x18
pop ebx
add esp, 0xa4
ret
mov edx, dword [edi]
imul edx, dword [edi + 4]
mov ecx, dword [0x49fe24]
imul edx, esi
push ebp
push edx
mov dword [esp + 0x30], ecx
mov dword [0x49fe24], ebx
call fcn.0046be00
add esp, 4
xor ecx, ecx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
jmp 0x462d52
xor ebx, ebx
mov eax, 4
mov edx, 2
mov dword [esp + 0x64], edx
mov dword [esp + 0x4c], edx
mov dword [esp + 0x84], edx
mov dword [esp + 0x88], edx
mov dword [esp + 0xa4], edx
mov dword [esp + 0xa8], edx
mov edx, dword [edi]
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x44], eax
mov ebp, 1
mov dword [esp + 0x58], ebx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x68], ebx
mov dword [esp + 0x70], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x50], ebx
mov ebx, 8
mov dword [esp + 0x6c], ebp
mov eax, dword [esp + ecx + 0x58]
sub edx, eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x90], ebx
mov dword [esp + 0x94], ebx
mov dword [esp + 0x98], ebx
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], ebx
mov dword [esp + 0x8c], ebp
mov ebx, dword [esp + ecx + 0x74]
lea eax, [edx + ebx - 1]
xor edx, edx
div ebx
mov dword [esp + 0x54], ebp
mov ebp, dword [esp + ecx + 0x90]
mov dword [esp + 0x38], ebx
mov edx, ebp
mov dword [esp + 0x30], ebp
mov ebx, eax
mov eax, dword [esp + ecx + 0x3c]
sub edx, eax
mov eax, dword [edi + 4]
lea eax, [edx + eax - 1]
xor edx, edx
div ebp
test ebx, ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], eax
je 0x462f27
test eax, eax
je 0x462f27
mov ecx, dword [esp + 0xb4]
mov edx, dword [esp + 0xb0]
push eax
push ebx
push esi
push ecx
push edx
push edi
call fcn.004623b0
add esp, 0x18
test eax, eax
je 0x462f55
mov ecx, dword [esp + 0x24]
test ecx, ecx
jle 0x462efe
mov eax, dword [esp + 0xc]
mov edx, dword [esp + eax + 0x3c]
mov eax, ebx
imul eax, esi
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], edx
mov dword [esp + 0x34], eax
mov dword [esp + 0x1c], ecx
lea esp, [esp]
test ebx, ebx
jle 0x462eef
mov eax, dword [esp + 0x20]
mov ebx, dword [esp + 0x10]
xor ebp, ebp
mov dword [esp + 0x18], eax
mov edx, dword [edi]
imul edx, dword [esp + 0x14]
add edx, dword [esp + 0x28]
mov ecx, dword [edi + 0x20]
add edx, ebp
imul edx, esi
add edx, dword [esp + 8]
push esi
add ecx, ebx
push ecx
push edx
call fcn.0046cef0
add ebp, dword [esp + 0x44]
add esp, 0xc
add ebx, esi
sub dword [esp + 0x18], 1
jne 0x462eb2
mov ebx, dword [esp + 0x20]
mov eax, dword [esp + 0x34]
mov ebp, dword [esp + 0x30]
add dword [esp + 0x14], ebp
add dword [esp + 0x10], eax
sub dword [esp + 0x1c], 1
jne 0x462ea0
mov eax, dword [edi + 0x20]
push eax
call fcn.0046bd23
imul ebx, esi
mov ecx, dword [esp + 0x10]
add ebx, 1
imul ebx, dword [esp + 0x28]
add dword [esp + 0xb4], ebx
add esp, 4
sub dword [esp + 0xb4], ebx
add ecx, 4
cmp ecx, 0x1c
mov dword [esp + 0xc], ecx
jl 0x462d50
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 8]
pop ebp
mov dword [0x49fe24], eax
mov dword [edi + 0x20], edx
mov eax, 1
pop ebx
add esp, 0xa4
ret
mov ecx, dword [esp + 8]
push ecx
call fcn.0046bd23
add esp, 4
pop ebp
xor eax, eax
pop ebx
add esp, 0xa4
ret