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

Disassembly:
push 0xffffffffffffffff
push 0x487f38
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x68
push ebx
push ebp
mov ebp, ecx
push esi
push edi
lea ecx, [esp + 0x28]
mov dword [esp + 0x14], ebp
call fcn.0045ab50
xor ebx, ebx
mov dword [esp + 0x80], ebx
mov dword [esp + 0x28], 0x48e26c
mov eax, dword [ebp + 4]
or edi, 0xffffffff
mov dword [esp + 0x80], 1
mov dword [esp + 0x10], edi
mov edx, dword [eax + 8]
cmp edx, 1
mov dword [esp + 0x18], edx
jne 0x4624b4
mov cl, byte [esp + 0x94]
test cl, cl
jne 0x462440
mov eax, dword [eax + 4]
mov esi, dword [esp + 0x88]
lea ecx, [esp + 0x1c]
mov eax, dword [eax]
push ecx
mov dword [esp + 0x20], eax
mov eax, dword [esi + 8]
push eax
mov ecx, esi
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
call fcn.00462710
mov edx, dword [esp + 0x8c]
mov ecx, dword [ebp + 4]
mov eax, dword [edx + 4]
mov edx, dword [ecx + 4]
imul eax, dword [esp + 0x98]
mov ecx, dword [edx]
dec eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], eax
mov eax, dword [esi + 8]
lea ecx, [esp + 0x1c]
push ecx
push eax
mov ecx, esi
mov dword [esp + 0x2c], ebx
call fcn.00462710
jmp 0x4626bc
mov cl, byte [esp + 0x90]
test cl, cl
jne 0x4626bc
mov edx, dword [eax + 4]
mov esi, dword [esp + 0x88]
lea ecx, [esp + 0x1c]
mov eax, dword [edx + 4]
push ecx
mov dword [esp + 0x24], eax
mov eax, dword [esi + 8]
push eax
mov ecx, esi
mov dword [esp + 0x24], ebx
mov dword [esp + 0x2c], ebx
call fcn.00462710
mov edx, dword [ebp + 4]
mov eax, dword [edx + 4]
mov edx, dword [esp + 0x8c]
mov ecx, dword [eax + 4]
mov eax, dword [edx]
imul eax, dword [esp + 0x98]
dec eax
mov dword [esp + 0x20], ecx
mov dword [esp + 0x1c], eax
mov eax, dword [esi + 8]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x24], ebx
push ecx
push eax
mov ecx, esi
call fcn.00462710
jmp 0x4626bc
xor esi, esi
cmp edx, ebx
mov dword [esp + 0x90], esi
jl 0x4626bc
mov ebx, dword [esp + 0x88]
xor ecx, ecx
mov dword [esp + 0x8c], ecx
jmp 0x4624da
or edi, 0xffffffff
cmp esi, edx
jge 0x4624fb
mov eax, dword [ebp + 4]
mov eax, dword [eax + 4]
add eax, ecx
mov eax, dword [eax + 8]
cmp eax, edi
jne 0x4624f2
mov eax, dword [0x4a9ce0]
mov dword [esp + 0x94], eax
jmp 0x462502
mov dword [esp + 0x94], edi
mov eax, dword [esp + 0x10]
mov edi, dword [esp + 0x94]
cmp edi, eax
je 0x462652
cmp esi, edx
jge 0x462544
mov edx, dword [ebp + 4]
mov edi, dword [esp + 0x30]
push 0xffffffffffffffff
mov esi, dword [edx + 4]
lea eax, [edi + 1]
add esi, ecx
push eax
lea ecx, [esp + 0x30]
call fcn.00414a60
mov edx, dword [esp + 0x2c]
lea ecx, [edi + edi*2]
push esi
lea ecx, [edx + ecx*4]
call fcn.00464e40
mov eax, dword [esp + 0x10]
sub eax, 0
je 0x4625e6
dec eax
jne 0x462628
lea eax, [esp + 0x28]
lea ecx, [esp + 0x3c]
push eax
call fcn.00461610
lea ecx, [esp + 0x3c]
mov byte [esp + 0x80], 2
call fcn.00461780
test al, al
je 0x462591
mov ecx, dword [esp + 0x98]
lea edx, [esp + 0x28]
push ecx
push edx
lea ecx, [esp + 0x44]
call fcn.00461b10
mov esi, dword [ebx + 8]
mov eax, dword [esp + 0x30]
push 0xffffffffffffffff
lea ecx, [esi + eax]
push ecx
mov ecx, ebx
call fcn.00414a60
mov eax, dword [ebx + 4]
mov edi, dword [esp + 0x2c]
lea edx, [esi + esi*2]
lea esi, [eax + edx*4]
mov eax, dword [esp + 0x30]
test eax, eax
je 0x4625d3
lea ebp, [eax]
mov eax, edi
mov ecx, esi
push eax
add edi, 0xc
add esi, 0xc
call fcn.00464e40
dec ebp
jne 0x4625bc
mov ebp, dword [esp + 0x14]
lea ecx, [esp + 0x3c]
mov byte [esp + 0x80], 1
call fcn.00461750
jmp 0x462628
mov esi, dword [ebx + 8]
mov ecx, dword [esp + 0x30]
push 0xffffffffffffffff
lea edx, [esi + ecx]
mov ecx, ebx
push edx
call fcn.00414a60
mov ecx, dword [ebx + 4]
mov edi, dword [esp + 0x2c]
lea eax, [esi + esi*2]
lea esi, [ecx + eax*4]
mov eax, dword [esp + 0x30]
test eax, eax
je 0x462628
lea ebp, [eax]
mov eax, edi
mov ecx, esi
push eax
add edi, 0xc
add esi, 0xc
call fcn.00464e40
dec ebp
jne 0x462611
mov ebp, dword [esp + 0x14]
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x30]
call fcn.00414a60
mov edx, dword [esp + 0x94]
mov esi, dword [esp + 0x90]
mov ecx, dword [esp + 0x8c]
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x18]
cmp esi, edx
jge 0x46268b
mov eax, dword [ebp + 4]
mov edi, dword [esp + 0x30]
push 0xffffffffffffffff
mov esi, dword [eax + 4]
add esi, ecx
lea ecx, [edi + 1]
push ecx
lea ecx, [esp + 0x30]
call fcn.00414a60
mov eax, dword [esp + 0x2c]
mov ecx, dword [esi]
lea edx, [edi + edi*2]
lea eax, [eax + edx*4]
mov dword [eax], ecx
mov edx, dword [esi + 4]
mov dword [eax + 4], edx
mov ecx, dword [esi + 8]
mov dword [eax + 8], ecx
mov esi, dword [esp + 0x90]
mov ecx, dword [esp + 0x8c]
mov edx, dword [esp + 0x18]
inc esi
add ecx, 0xc
cmp esi, edx
mov dword [esp + 0x90], esi
mov dword [esp + 0x8c], ecx
jle 0x4624d7
xor ebx, ebx
or edi, 0xffffffff
mov dword [esp + 0x80], edi
mov dword [esp + 0x28], 0x48e280
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x80], 4
cmp eax, ebx
je 0x4626e7
push eax
call fcn.0047e7f0
add esp, 4
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x80], edi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x74
ret 0x14