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

Disassembly:
push 0xffffffffffffffff
push 0x678b88
mov eax, dword fs:[0]
push eax
sub esp, 0x60
push ebx
push ebp
push esi
push edi
mov eax, dword [0x7289f4]
xor eax, esp
push eax
lea eax, [esp + 0x74]
mov dword fs:[0], eax
mov edi, ecx
xor ebp, ebp
push ebp
lea eax, [esp + 0x58]
push eax
push ebp
push 0x30
call dword [0x68a820]
mov ecx, dword [edi + 0x20]
call fcn.005c50f0
mov esi, eax
mov edx, dword [esi]
mov eax, dword [edi + 0x20]
mov edx, dword [edx + 0xec]
push eax
mov ecx, esi
call edx
push eax
mov eax, dword [esp + 0x8c]
push eax
lea ecx, [esp + 0x6c]
call fcn.00535000
mov eax, dword [edi + 0x20]
mov edx, dword [esi]
mov edx, dword [edx + 0x84]
push ebp
push ebp
push eax
push ebp
lea ecx, [esp + 0x4c]
push ecx
mov ecx, esi
mov dword [esp + 0x90], ebp
call edx
mov esi, dword [esp + 0x94]
mov eax, dword [esi]
mov ecx, dword [edi + 0x20]
mov ebx, dword [esi + 4]
mov dword [esp + 0x1c], eax
xor eax, eax
mov dword [ecx + 0x16c], eax
mov ecx, dword [edi + 0x2c]
cmp ecx, eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x28], ecx
mov dword [esp + 0x20], 1
mov dword [esp + 0x18], eax
jle 0x54d21e
test eax, eax
jl 0x54d20f
cmp eax, dword [edi + 0x2c]
jge 0x54d20f
mov edx, dword [edi + 0x28]
mov esi, dword [edx + eax*4]
lea ecx, [edx + eax*4]
test esi, esi
je 0x54d28f
mov ecx, dword [esi + 0x100]
cmp ecx, dword [edi + 0x20]
jne 0x54d28f
mov ecx, dword [esi + 0xd0]
mov eax, dword [esi]
mov edx, dword [eax + 0x8c]
and ecx, 0xfffffff7
push ecx
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x78]
push 0
mov ecx, esi
call edx
test eax, eax
je 0x54d283
mov ecx, dword [esp + 0x88]
mov eax, dword [esi]
mov eax, dword [eax + 0x94]
push ecx
lea edx, [esp + 0x38]
push edx
mov ecx, esi
call eax
mov ecx, esi
mov dword [esi + 0x94], 0
call fcn.00541200
test al, al
jns 0x54d0e2
cmp dword [esp + 0x20], 0
je 0x54d101
mov eax, dword [esp + 0x8c]
test eax, eax
jle 0x54d15f
mov ecx, dword [esp + 0x94]
mov edx, dword [esp + 0x38]
sub eax, dword [ecx + 0xc]
add edx, ebx
cmp edx, eax
jle 0x54d15f
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x24]
push ebp
push eax
push ecx
mov ecx, edi
call fcn.0054cee0
mov edx, dword [esp + 0x94]
mov eax, dword [edx + 4]
sub ebx, eax
cmp ebx, dword [esp + 0x14]
jle 0x54d129
mov dword [esp + 0x14], ebx
mov ecx, dword [esp + 0x18]
mov ebx, eax
mov eax, dword [esi + 0x98]
neg eax
sbb eax, eax
and eax, dword [esp + 0x3c]
mov dword [esp + 0x24], ecx
add eax, ebp
add dword [esp + 0x1c], eax
mov eax, 1
mov dword [esi + 0x94], eax
mov edx, dword [edi + 0x20]
xor ebp, ebp
mov dword [edx + 0x16c], eax
jmp 0x54d173
cmp dword [esi + 0x98], 0
je 0x54d173
cmp dword [esp + 0x20], 0
jne 0x54d173
add ebx, dword [esp + 0x40]
mov ecx, dword [edi + 0x20]
mov eax, dword [ecx]
mov edx, dword [eax + 0x1b8]
mov dword [esp + 0x20], 0
call edx
test eax, eax
jne 0x54d1bd
fldz
fld qword [0x72b900]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 0x41
jne 0x54d1bb
fimul dword [esp + 0x5c]
fild dword [esp + 0x34]
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x54d1bb
call fcn.004e1b20
mov dword [esp + 0x34], eax
jmp 0x54d1bd
fstp st(0)
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x34]
add edx, ecx
add eax, ebx
mov dword [esp + 0x30], eax
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov dword [esp + 0x3c], edx
mov ecx, dword [esp + 0x3c]
mov edx, dword [esi]
mov edx, dword [edx + 0x74]
mov dword [eax + 4], ebx
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x40]
mov dword [eax + 0xc], ecx
mov ecx, esi
call edx
mov eax, dword [esp + 0x34]
add ebx, dword [esp + 0x38]
cmp ebp, eax
mov esi, dword [esp + 0x94]
jge 0x54d20b
mov ebp, eax
mov eax, dword [esp + 0x18]
inc eax
cmp eax, dword [esp + 0x28]
mov dword [esp + 0x18], eax
jl 0x54d053
mov eax, dword [esp + 0x90]
lea ecx, [eax - 1]
cmp ecx, 0x752e
ja 0x54d237
sub eax, dword [esi + 8]
sub eax, dword [esi]
mov ebp, eax
mov eax, dword [edi + 0x2c]
mov edx, dword [esp + 0x24]
push ebp
push eax
push edx
mov ecx, edi
call fcn.0054cee0
mov eax, dword [esp + 0x1c]
sub eax, dword [esi]
sub ebx, dword [esi + 4]
add eax, ebp
cmp ebx, dword [esp + 0x14]
mov dword [esp + 0x88], eax
jle 0x54d264
mov dword [esp + 0x14], ebx
xor ecx, ecx
cmp dword [esp + 0x28], ecx
jle 0x54d322
test ecx, ecx
jl 0x54d29b
cmp ecx, dword [edi + 0x2c]
jge 0x54d29b
mov eax, dword [edi + 0x28]
lea eax, [eax + ecx*4]
mov eax, dword [eax]
jmp 0x54d29d
mov esi, dword [esp + 0x94]
jmp 0x54d20b
mov esi, dword [esp + 0x94]
jmp 0x54d20f
xor eax, eax
mov edx, dword [eax + 0xc0]
mov ebx, dword [eax + 0xc8]
mov ebp, dword [esp + 0x14]
mov dword [esp + 0x44], edx
mov edx, dword [eax + 0xc4]
mov dword [esp + 0x48], edx
mov edx, dword [eax + 0xcc]
mov dword [esp + 0x50], edx
mov edx, dword [eax + 0xc4]
mov dword [esp + 0x48], edx
mov edx, ebx
mov dword [esp + 0x4c], edx
mov edx, dword [eax + 0xcc]
mov dword [esp + 0x50], edx
mov edx, dword [esi + 4]
add ebp, edx
mov dword [esp + 0x94], ebp
mov ebp, dword [eax + 0xc0]
mov dword [eax + 0xb0], ebp
mov dword [eax + 0xb4], edx
mov edx, dword [esp + 0x94]
inc ecx
cmp ecx, dword [esp + 0x28]
mov dword [eax + 0xb8], ebx
mov dword [eax + 0xbc], edx
jl 0x54d270
mov eax, dword [esp + 0x88]
cmp eax, 0x18
jge 0x54d32c
mov eax, 0x18
cmp dword [esp + 0x14], 0
jne 0x54d33b
mov dword [esp + 0x14], 0x16
mov ecx, dword [esi + 0xc]
add ecx, dword [esi + 4]
mov edx, dword [esi + 8]
add ecx, dword [esp + 0x14]
add edx, dword [esi]
mov esi, dword [esp + 0x84]
add edx, eax
mov dword [esi + 4], ecx
lea ecx, [esp + 0x64]
mov dword [esi], edx
mov dword [esp + 0x7c], 0xffffffff
call fcn.00535080
mov eax, esi
mov ecx, dword [esp + 0x74]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x6c
ret 0x14