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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x48576f
sub esp, 0x6c
call fcn.0045c1a0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp]
mov ebx, dword [esp + 4]
test ecx, ecx
jle 0x48550d
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x54], edx
xor ebp, ebp
xor esi, esi
xor edi, edi
xor ebp, ebp
mov dword [esp + 0x5c], ebp
xor ebp, ebp
jmp 0x485543
xor eax, eax
xor ecx, ecx
xor edx, edx
mov dword [esp + 0x78], edx
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], eax
add esp, 0x6c
ret
add eax, 0xc
mov ebx, dword [esp + 0x20]
mov ebp, dword [esp + 0x54]
mov esi, dword [esp + 0x5c]
mov edi, dword [esp + 0x28]
mov ebp, edx
mov esi, dword [esp + 0x24]
mov edx, dword [esp + 0x54]
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], edi
mov esi, dword [eax + 4]
mov edi, dword [eax]
cmp ebp, ebx
jae 0x485765
mov dword [esp + 0x30], ebp
mov dword [esp + 0x68], eax
mov dword [esp + 0x34], esi
mov dword [esp + 0x60], edi
mov edx, dword [edx + ebp*4]
mov dword [esp + 0x58], edx
mov dword [esp + 0x4c], eax
xor eax, eax
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x4c]
jmp 0x4855ca
mov esi, dword [esp + 0x34]
jmp 0x485678
mov ecx, dword [esp + 0x74]
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x30]
lea edx, [ebp + 1]
cmp ecx, edx
jg 0x485526
jmp 0x485742
mov ecx, dword [esp + 0x34]
mov edi, dword [esp + 0x60]
mov ebx, dword [esp + 0x58]
mov ecx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x20]
mov ebp, dword [esp + 0x30]
mov dword [esp + 0x40], edx
mov esi, eax
mov eax, dword [esp + 0x68]
mov edx, dword [esp + 0x58]
mov ebx, dword [esp + 0x40]
cmp esi, ebx
jle 0x48557f
mov dword [esp + 0x3c], esi
sub esi, ebx
sar esi, 1
lea ebp, [esi + ebx]
mov ebx, dword [esp + 0x34]
cmp ebx, ebp
jbe 0x48575c
mov dword [esp + 0x48], esi
mov dword [esp + 0x44], ebp
mov eax, dword [edi + ebp*4]
nop
add eax, edx
mov dword [esp], eax
call fcn.004814f0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov eax, dword [esp + 0x70]
mov dword [esp + 8], eax
mov ecx, dword [esp + 0x74]
mov dword [esp + 0xc], ecx
call fcn.00402740
mov eax, dword [esp + 0x10]
test eax, eax
jl 0x485638
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x40]
jmp 0x4855a4
mov edx, dword [esp + 0x40]
mov ebx, dword [esp + 0x48]
lea edx, [ebx + edx + 1]
mov eax, dword [esp + 0x3c]
jmp 0x4855a4
mov ecx, dword [esp + 0x38]
inc ecx
mov esi, dword [esp + 0x34]
mov edx, dword [esp + 0x58]
mov edi, dword [esp + 0x60]
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebp
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x68]
mov ebp, dword [esp + 0x30]
mov ebx, ecx
mov ecx, dword [esp + 0x2c]
cmp ebx, esi
jge 0x485598
jae 0x485753
mov dword [esp + 0x38], ebx
mov eax, dword [edi + ebx*4]
nop
add eax, edx
mov dword [esp + 0x64], eax
mov dword [esp], eax
call fcn.004814f0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x74]
cmp dword [esp + 8], ecx
jne 0x48558c
mov dword [esp], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 4], eax
call fcn.00402840
movzx eax, byte [esp + 0xc]
test al, al
je 0x485588
mov edx, dword [esp + 0x24]
lea ebx, [edx + 1]
mov ebp, dword [esp + 0x28]
cmp ebp, ebx
jb 0x4856e0
mov eax, dword [esp + 0x5c]
jmp 0x485717
lea eax, [0x9da820]
mov dword [esp], eax
mov ecx, dword [esp + 0x5c]
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], ebx
call fcn.00448250
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
lea ebx, [ecx + 1]
mov ebp, edx
mov edx, dword [esp + 0x24]
mov esi, dword [0x12ad060]
lea edi, [eax + edx*4]
test esi, esi
jne 0x485730
mov esi, dword [esp + 0x64]
mov dword [eax + edx*4], esi
jmp 0x48564d
mov ecx, eax
mov eax, dword [esp + 0x64]
call fcn.0045f9a0
mov eax, ecx
jmp 0x48564d
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x5c]
jmp 0x485513
mov eax, ebx
mov ecx, esi
call fcn.0045fa20
mov eax, ebp
mov ecx, ebx
call fcn.0045fa20
mov eax, ebp
mov ecx, ebx
call fcn.0045fa20
nop
call fcn.0045e560
jmp fcn.004854c0