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

Disassembly:
mov ecx, dword [0x7da588]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x54a33c
sub esp, 0x64
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
lea eax, [esp + 0x4c]
mov dword [esp], eax
mov dword [esp + 4], 0x20
call fcn.004d4480
mov dword [esp + 0x25], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x68]
xor edx, edx
jmp 0x54a194
mov dword [esp + 0x48], eax
mov dword [esp + 0x44], ebp
mov dword [esp + 0x60], esi
add ebx, esi
mov dword [esp], ebx
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.0046c780
mov eax, dword [esp + 0x44]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x40]
lea edx, [eax + 1]
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x68]
cmp eax, edx
jle 0x54a2e1
mov dword [esp + 0x40], edx
mov ebx, dword [ecx + edx*4]
test edx, edx
jle 0x54a22e
mov ebp, dword [esp + 0x4c]
nop
nop
test ebp, ebp
je 0x54a1c2
lea esi, [esp + 0x4c]
cmp ebp, esi
je 0x54a1ca
jmp 0x54a323
lea ebp, [esp + 0x4c]
mov dword [esp + 0x4c], ebp
mov ebp, dword [esp + 0x58]
mov esi, dword [esp + 0x54]
inc esi
mov edi, dword [esp + 0x50]
cmp ebp, esi
jae 0x54a225
mov dword [esp + 0x38], ebx
mov dword [esp], edi
mov dword [esp + 4], esi
mov dword [esp + 8], ebp
mov dword [esp + 0xc], 1
lea eax, [0x5dd460]
mov dword [esp + 0x10], eax
call fcn.00450060
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
mov dword [esp + 0x58], eax
mov dword [esp + 0x50], edi
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x40]
mov ebx, dword [esp + 0x38]
mov dword [esp + 0x54], esi
mov byte [esi + edi - 1], 0x2e
lea eax, [esp + 0x25]
mov dword [esp], eax
mov dword [esp + 4], 0
mov dword [esp + 8], 0x13
mov dword [esp + 0xc], ebx
sar ebx, 0x1f
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], 0xa
call fcn.004b3750
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
nop
test eax, eax
je 0x54a27b
lea ebx, [esp + 0x4c]
cmp eax, ebx
je 0x54a283
jmp 0x54a30b
lea eax, [esp + 0x4c]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x58]
mov ebx, dword [esp + 0x54]
lea ebp, [ebx + edx]
mov esi, dword [esp + 0x50]
cmp eax, ebp
jae 0x54a14f
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x3c], edx
mov dword [esp + 0x48], ebx
mov dword [esp], esi
mov dword [esp + 4], ebp
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
lea eax, [0x5dd460]
mov dword [esp + 0x10], eax
call fcn.00450060
mov esi, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x48]
jmp 0x54a14f
mov eax, dword [esp + 0x50]
mov ecx, eax
neg eax
mov edx, dword [esp + 0x54]
cmp edx, eax
ja 0x54a2fd
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], edx
add esp, 0x64
ret
test ecx, ecx
je 0x54a306
call fcn.00463300
call fcn.00463340
lea eax, [0x5dd3e0]
mov dword [esp], eax
lea eax, [0x6583c0]
mov dword [esp + 4], eax
call fcn.004391b0
lea eax, [0x5dd3e0]
mov dword [esp], eax
lea eax, [0x6583c0]
mov dword [esp + 4], eax
call fcn.004391b0
nop
call fcn.0046aa70
jmp fcn.0054a0d0