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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0xc]
cmp eax, dword [ecx + 8]
jbe 0x54fa77
sub esp, 0x8c
lea eax, [0x5cf020]
mov dword [esp], eax
call fcn.00409a20
mov eax, dword [esp + 4]
mov dword [esp + 0x38], eax
call fcn.0040a4a0
mov eax, dword [0x784e70]
mov ecx, dword [esp]
test eax, eax
jne 0x54fa64
mov eax, dword [esp + 0x38]
mov dword [eax + 0x14], ecx
call fcn.0040a4a0
mov eax, dword [0x784e70]
mov ecx, dword [esp]
test eax, eax
jne 0x54fa4f
mov eax, dword [esp + 0x38]
mov dword [eax + 0x18], ecx
lea ecx, [0x771dc0]
xor edx, edx
jmp 0x54f885
mov ebx, dword [esp + 0x3c]
add ebx, 0x14
mov edx, ecx
mov ecx, ebx
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x34], edx
lea edi, [esp + 0x78]
mov esi, ecx
call fcn.0044bade
lea edi, [esp + 0x64]
lea esi, [esp + 0x78]
call fcn.0044bade
lea edi, [esp + 0x50]
lea esi, [esp + 0x64]
call fcn.0044bade
mov ecx, dword [eax + 0x10]
mov dword [esp + 0x30], ecx
mov ebx, dword [eax + 0xc]
mov dword [esp + 0x2c], ebx
mov ebp, dword [eax + 0x14]
mov edx, dword [eax + 4]
mov dword [esp + 0x28], edx
mov dword [esp + 4], ebp
lea ebp, [0x5b4fe0]
mov dword [esp], ebp
mov ebp, dword [esp + 0x54]
mov eax, dword [esp + 0x50]
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebp
call fcn.0040e310
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
mov ebx, ecx
add ecx, edx
mov ebp, ecx
add ecx, 1
mov dword [esp + 0x20], ecx
mov dword [eax], ecx
mov esi, edx
sar edx, 0x1f
add ebx, esi
mov ebx, dword [esp + 0x30]
adc ebx, edx
add ebp, 1
adc ebx, 0
mov dword [esp + 0x24], ebx
mov dword [eax + 4], ebx
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov eax, dword [esp + 0x54]
mov edx, dword [esp + 0x50]
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x5c]
mov edx, dword [esp + 0x58]
mov dword [esp + 0x48], edx
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x38]
mov edx, dword [eax + 0x18]
mov dword [esp + 4], edx
lea edx, [0x5b5160]
mov dword [esp], edx
lea ebp, [esp + 0x40]
mov dword [esp + 8], ebp
call fcn.0040ae10
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x20]
mov dword [eax], ecx
mov ecx, dword [esp + 0x24]
mov dword [eax + 4], ecx
mov eax, dword [esp + 0x38]
mov ecx, dword [eax + 4]
lea edx, [ecx + 1]
mov ebx, dword [eax + 8]
mov ebp, dword [eax]
cmp edx, ebx
jg 0x54fa02
lea edx, [ecx + 1]
mov dword [eax + 4], edx
mov edx, dword [0x784e70]
lea ecx, [ecx + ecx*4]
lea edi, [ebp + ecx*4]
test edx, edx
jne 0x54f9e2
lea esi, [esp + 0x50]
call fcn.0044bade
mov ecx, dword [esp + 0x34]
inc ecx
cmp ecx, 0x3d
jl 0x54f87a
mov dword [esp + 0x90], eax
add esp, 0x8c
ret
lea eax, [0x5d6de0]
mov dword [esp], eax
mov dword [esp + 4], edi
lea eax, [esp + 0x50]
mov dword [esp + 8], eax
call fcn.0040ecc0
mov eax, dword [esp + 0x38]
jmp 0x54f9c6
lea eax, [0x5d6de0]
mov dword [esp], eax
mov dword [esp + 4], ebp
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], edx
call fcn.00437cd0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov edi, dword [esp + 0x38]
mov dword [edi + 8], edx
mov edx, dword [0x784e70]
test edx, edx
jne 0x54fa48
mov dword [edi], eax
mov ebp, eax
mov eax, edi
jmp 0x54f9a6
call fcn.0044b500
jmp 0x54fa3f
mov edx, dword [esp + 0x38]
lea edi, [edx + 0x18]
mov eax, ecx
call fcn.0044b500
mov eax, edx
jmp 0x54f870
mov edx, dword [esp + 0x38]
lea edi, [edx + 0x14]
mov eax, ecx
call fcn.0044b500
jmp 0x54f853
call fcn.00449da0
jmp fcn.0054f800