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

Disassembly:
mov ecx, dword [0x817cc4]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0xc]
cmp eax, dword [ecx + 8]
jbe 0x54cbe9
sub esp, 0x8c
mov eax, dword [esp + 0x90]
mov eax, dword [eax + 4]
cmp eax, 0x3e8
jge 0x54cab5
mov dword [esp + 0x1c], eax
nop
lea ecx, [0x5b1000]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], eax
call fcn.0044d2d0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x28], eax
lea ecx, [0x5b1000]
mov dword [esp], ecx
mov edx, dword [esp + 0x1c]
mov dword [esp + 4], edx
mov dword [esp + 8], edx
call fcn.0044d2d0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x24], eax
lea edi, [esp + 0x6c]
xor eax, eax
call fcn.00466f58
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x6c], ecx
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x70], ecx
mov dword [esp + 0x74], ecx
mov edx, dword [esp + 0x24]
mov dword [esp + 0x78], edx
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], ecx
mov ecx, dword [esp + 0x90]
mov ecx, dword [ecx + 4]
mov dword [esp + 0x1c], ecx
lea edx, [0x5b1000]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
call fcn.0044d2d0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x28], eax
lea ecx, [0x5b1000]
mov dword [esp], ecx
mov ecx, dword [esp + 0x1c]
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
call fcn.0044d2d0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x24], eax
lea edi, [esp + 0x4c]
xor eax, eax
call fcn.00466f58
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x4c], ecx
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], ecx
mov edx, dword [esp + 0x24]
mov dword [esp + 0x58], edx
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x60], ecx
mov dword [esp + 0x20], 0
mov ecx, dword [esp + 0x90]
mov ecx, dword [ecx + 4]
mov dword [esp + 0x14], ecx
lea edx, [0x5aada0]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
call fcn.0044d2d0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x28], eax
lea edi, [esp + 0x2c]
xor eax, eax
call fcn.00466f58
lea eax, [0x54cc00]
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x90]
mov dword [esp + 0x30], eax
lea eax, [esp + 0x4c]
mov dword [esp + 0x34], eax
lea eax, [esp + 0x20]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x3c], eax
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], ecx
lea edx, [esp + 0x6c]
mov dword [esp + 0x48], edx
lea ebx, [esp + 0x2c]
mov dword [esp + 0x20], ebx
nop
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
mov ebx, dword [esp + 0x90]
mov ebx, dword [ebx + 0xc]
nop
nop
cmp dword [edx + 4], ebx
jbe 0x54ca83
mov edx, dword [esp + 0x6c]
mov dword [edx + ebx*4], 0
mov edx, dword [esp + 0x7c]
mov ebp, dword [esp + 0x84]
cmp edx, ebp
jbe 0x54cbdf
mov edx, dword [esp + 0x78]
mov dword [edx + ebp*4], ebx
inc dword [esp + 0x84]
mov eax, dword [esp + 0x90]
mov eax, dword [eax + 4]
mov dword [esp + 0x18], eax
lea ecx, [0x5b0d40]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], eax
call fcn.0044d2d0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x24], eax
mov ecx, dword [esp + 0x18]
jmp 0x54cacf
mov dword [esp + 0x94], 0
add esp, 0x8c
ret
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x24]
mov ebx, dword [esp + 0x88]
cmp dword [esp + 0x84], ebx
jbe 0x54cb3e
nop
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov ebx, dword [esp + 0x7c]
mov ebp, dword [esp + 0x88]
nop
cmp ebp, ebx
jae 0x54cbd6
mov ebx, dword [esp + 0x78]
mov ebx, dword [ebx + ebp*4]
inc ebp
mov dword [esp + 0x88], ebp
mov edx, dword [esp + 0x20]
mov ebp, dword [edx]
mov dword [esp], ebx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ecx
call ebp
movzx eax, byte [esp + 0x10]
test al, al
jne 0x54cac7
mov dword [esp + 0x90], 0
mov edx, dword [esp + 0x90]
test edx, edx
je 0x54cb5c
mov edx, dword [edx + 4]
mov dword [esp + 0x1c], edx
mov ebx, dword [esp + 0x28]
mov ecx, dword [esp + 0x14]
xor eax, eax
jmp 0x54cb7e
mov eax, dword [esp + 0x90]
mov dword [esp + 0x94], eax
add esp, 0x8c
ret
mov dword [ebp + esi*4 + 0xc], ecx
inc eax
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
cmp eax, edx
jge 0x54cb5c
cmp eax, ecx
jae 0x54cbd1
mov ebp, dword [esp + 0x90]
mov esi, dword [ebp + 4]
lea edi, [eax + eax*2]
mov ecx, dword [ebx + edi*4]
mov edx, dword [ebx + edi*4 + 4]
mov edi, dword [ebx + edi*4 + 8]
cmp eax, esi
jae 0x54cbca
mov ebp, dword [ebp]
lea esi, [eax + eax*8]
mov dword [ebp + esi*4 + 0x10], edx
mov dword [ebp + esi*4 + 0x14], edi
mov edx, dword [0x817f20]
test edx, edx
je 0x54cb71
call fcn.00466d20
mov dword [edi], ecx
mov edx, dword [ebp + esi*4 + 0xc]
mov dword [edi + 4], edx
jmp 0x54cb71
mov ecx, esi
call fcn.00466d70
call fcn.00466d70
mov eax, ebp
mov ecx, ebx
call fcn.00466d80
mov eax, ebp
mov ecx, edx
call fcn.00466d80
nop
call fcn.00465910
jmp fcn.0054c880