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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x484ad0
sub esp, 0x68
mov ecx, dword [esp + 0x70]
test ecx, ecx
je 0x484a50
cmp ecx, 1
je 0x484a35
lea edx, [ecx - 1]
mov ebx, dword [esp + 0x7c]
mov ebp, ebx
imul ebx, edx
mov esi, dword [esp + 0x6c]
xor eax, eax
jmp 0x4846c7
lea edi, [eax + 1]
mov dword [esp + 0x28], edi
lea edi, [esi + eax*8]
mov edi, dword [edi + 4]
add ebx, edi
mov edi, dword [esp + 0x28]
mov eax, edi
cmp ecx, eax
jle 0x4846d2
ja 0x4846b2
jmp 0x484aca
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
nop
lea eax, [esp + 0x58]
mov dword [esp + 0x58], eax
test ebx, ebx
jl 0x484ab2
mov dword [esp + 0x3c], edx
mov ecx, dword [esp + 0x60]
mov edi, dword [esp + 0x64]
mov dword [esp + 0x38], edi
sub edi, ecx
cmp edi, ebx
jl 0x4849b2
mov ecx, dword [esi + 4]
mov ebx, dword [esi]
nop
mov edi, dword [esp + 0x58]
test edi, edi
je 0x4849a9
cmp eax, edi
jne 0x484a9a
mov edi, dword [esp + 0x60]
lea ebp, [ecx + edi]
mov dword [esp + 0x38], ebp
mov eax, dword [esp + 0x64]
mov edx, dword [esp + 0x5c]
cmp eax, ebp
jb 0x484966
mov dword [esp + 0x34], eax
mov dword [esp + 0x54], edx
lea ebp, [edx + edi]
mov dword [esp], ebp
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
call fcn.00458950
mov eax, dword [esp + 0x38]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x74]
dec eax
neg eax
sar eax, 0x1f
and eax, 8
mov ecx, dword [esp + 0x6c]
add eax, ecx
mov dword [esp + 0x50], eax
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x7c]
mov ebx, dword [esp + 0x78]
xor ebp, ebp
jmp 0x484807
mov dword [esp + 0x40], ebp
mov dword [esp + 0x54], esi
add eax, esi
mov dword [esp], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call fcn.00458950
mov eax, dword [esp + 0x34]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x38]
lea ebp, [eax + 1]
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x7c]
mov edx, dword [esp + 0x78]
mov ebx, dword [esp + 0x50]
mov eax, ebx
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x7c]
mov ebx, dword [esp + 0x78]
cmp ecx, ebp
jle 0x48494c
lea esi, [eax + ebp*8]
mov edi, dword [esi + 4]
mov esi, dword [esi]
nop
nop
mov eax, dword [esp + 0x58]
test eax, eax
je 0x48493b
lea ecx, [esp + 0x58]
cmp ecx, eax
jne 0x484a82
mov dword [esp + 0x20], edi
mov dword [esp + 0x44], esi
mov dword [esp + 0x38], ebp
mov eax, dword [esp + 0x60]
lea ebp, [edx + eax]
mov dword [esp + 0x34], ebp
mov esi, dword [esp + 0x64]
mov edi, dword [esp + 0x5c]
cmp esi, ebp
jb 0x484900
mov dword [esp + 0x40], esi
mov dword [esp + 0x54], edi
add eax, edi
mov dword [esp], eax
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
call fcn.00458950
mov eax, dword [esp + 0x34]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x5c], eax
nop
nop
mov eax, dword [esp + 0x58]
test eax, eax
je 0x4848f6
lea ecx, [esp + 0x58]
cmp ecx, eax
jne 0x484a6a
mov eax, dword [esp + 0x60]
mov edx, dword [esp + 0x20]
lea ebx, [edx + eax]
mov dword [esp + 0x34], ebx
mov ebp, dword [esp + 0x64]
mov esi, dword [esp + 0x5c]
cmp ebp, ebx
jae 0x4847ac
mov dword [esp + 0x40], eax
lea ecx, [0x497860]
mov dword [esp], ecx
mov dword [esp + 4], esi
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], ebx
call fcn.00441ea0
mov esi, dword [esp + 0x14]
mov ebp, dword [esp + 0x1c]
mov eax, dword [esp + 0x40]
mov edx, dword [esp + 0x20]
jmp 0x4847ac
lea ecx, [esp + 0x58]
mov dword [esp + 0x58], ecx
jmp 0x4848a0
mov dword [esp + 0x40], eax
lea ecx, [0x497860]
mov dword [esp], ecx
mov dword [esp + 4], edi
mov dword [esp + 8], eax
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], ebp
call fcn.00441ea0
mov edi, dword [esp + 0x14]
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x40]
mov edx, dword [esp + 0x7c]
mov ebx, dword [esp + 0x78]
jmp 0x484858
lea eax, [esp + 0x58]
mov dword [esp + 0x58], eax
lea ecx, [esp + 0x58]
jmp 0x484831
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x60]
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], ecx
add esp, 0x68
ret
mov dword [esp + 0x34], edi
mov dword [esp + 0x24], ecx
mov dword [esp + 0x48], ebx
lea ecx, [0x497860]
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], edi
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ebp
call fcn.00441ea0
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x24]
mov ebx, dword [esp + 0x48]
mov edi, dword [esp + 0x34]
jmp 0x484752
mov dword [esp + 0x58], eax
jmp 0x484737
mov dword [esp + 0x2c], ecx
nop
lea eax, [0x497860]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x38]
lea edx, [ebx + edx*2]
mov dword [esp + 0x30], edx
mov dword [esp + 8], edx
call fcn.00441df0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x60]
mov ebx, dword [esp + 0x2c]
cmp edx, ebx
jge 0x484a31
mov dword [esp + 0x4c], eax
cmp eax, ecx
je 0x484a04
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.00458950
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x60], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x64], ecx
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x5c], ecx
lea eax, [esp + 0x58]
mov edx, dword [esp + 0x3c]
mov ebp, dword [esp + 0x7c]
mov esi, dword [esp + 0x6c]
jmp 0x48471d
mov edx, ebx
jmp 0x4849ec
mov eax, dword [esp + 0x6c]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], eax
add esp, 0x68
ret
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
add esp, 0x68
ret
lea eax, [0x4976a0]
mov dword [esp], eax
lea eax, [0x4c3c44]
mov dword [esp + 4], eax
call fcn.0042ecf0
lea eax, [0x4976a0]
mov dword [esp], eax
lea eax, [0x4c3c44]
mov dword [esp + 4], eax
call fcn.0042ecf0
lea eax, [0x4976a0]
mov dword [esp], eax
lea eax, [0x4c3c44]
mov dword [esp + 4], eax
call fcn.0042ecf0
lea eax, [0x4976a0]
mov dword [esp], eax
lea eax, [0x4c3cf8]
mov dword [esp + 4], eax
call fcn.0042ecf0
call fcn.004580d0
nop
call fcn.00456af0
jmp fcn.00484670