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

Disassembly:
mov ecx, dword [0x7c3e14]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x54891e
sub esp, 0x64
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
lea eax, [esp + 0x54]
mov dword [esp], eax
mov dword [esp + 4], 0x20
call fcn.004ce600
mov dword [esp + 0x39], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x68]
xor edx, edx
jmp 0x548774
mov dword [esp + 0x34], eax
mov dword [esp + 0x30], ebp
mov dword [esp + 0x50], esi
add ebx, esi
mov dword [esp], ebx
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
call fcn.00468d00
mov eax, dword [esp + 0x30]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x2c]
lea edx, [eax + 1]
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x68]
cmp eax, edx
jle 0x5488c3
mov dword [esp + 0x2c], edx
mov ebx, dword [ecx + edx*4]
test edx, edx
jle 0x54880e
mov ebp, dword [esp + 0x54]
nop
nop
test ebp, ebp
je 0x5487a2
lea esi, [esp + 0x54]
cmp ebp, esi
je 0x5487aa
jmp 0x548905
lea ebp, [esp + 0x54]
mov dword [esp + 0x54], ebp
mov ebp, dword [esp + 0x60]
mov esi, dword [esp + 0x5c]
inc esi
mov edi, dword [esp + 0x58]
cmp ebp, esi
jae 0x548805
mov dword [esp + 0x24], ebx
mov dword [esp], edi
mov dword [esp + 4], esi
mov dword [esp + 8], ebp
mov dword [esp + 0xc], 1
lea eax, [0x5ddd80]
mov dword [esp + 0x10], eax
call fcn.0044db70
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
mov dword [esp + 0x60], eax
mov dword [esp + 0x58], edi
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x24]
mov dword [esp + 0x5c], esi
mov byte [esi + edi - 1], 0x2e
lea eax, [esp + 0x39]
mov dword [esp], eax
mov dword [esp + 4], 0
mov dword [esp + 8], 0x13
mov ecx, ebx
sar ebx, 0x1f
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x14], 0xa
call fcn.0047d680
mov eax, dword [esp + 0x54]
nop
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
test eax, eax
je 0x54885d
lea ebx, [esp + 0x54]
cmp eax, ebx
je 0x548865
jmp 0x5488ed
lea eax, [esp + 0x54]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x60]
mov ebx, dword [esp + 0x5c]
lea ebp, [ebx + ecx]
mov esi, dword [esp + 0x58]
cmp eax, ebp
jae 0x54872f
mov dword [esp + 0x34], ebx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x4c], edx
mov dword [esp], esi
mov dword [esp + 4], ebp
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
lea eax, [0x5ddd80]
mov dword [esp + 0x10], eax
call fcn.0044db70
mov esi, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x4c]
mov ebx, dword [esp + 0x34]
jmp 0x54872f
mov eax, dword [esp + 0x58]
mov ecx, eax
neg eax
mov edx, dword [esp + 0x5c]
cmp edx, eax
ja 0x5488df
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], edx
add esp, 0x64
ret
test ecx, ecx
je 0x5488e8
call fcn.0045f3c0
call fcn.0045f400
lea eax, [0x5dda40]
mov dword [esp], eax
lea eax, [0x659120]
mov dword [esp + 4], eax
call fcn.004382f0
lea eax, [0x5dda40]
mov dword [esp], eax
lea eax, [0x659120]
mov dword [esp + 4], eax
call fcn.004382f0
nop
call fcn.00467000
jmp fcn.005486b0