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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5da1c7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x314
push ebx
push esi
push edi
mov edi, dword [ebp + 0x10]
xor esi, esi
xor eax, eax
mov edx, dword [edi + 8]
test edx, edx
jle 0x54bd02
mov ecx, dword [edi + 4]
mov ebx, dword [ecx]
add ecx, 4
add esi, dword [ebx + 0x18]
inc eax
cmp eax, edx
jl 0x54bcf5
lea ecx, [esp + 0x200]
call fcn.005a50e0
xor ebx, ebx
push esi
lea ecx, [esp + 0x204]
mov dword [esp + 0x32c], ebx
call fcn.00594540
mov eax, dword [edi + 8]
xor esi, esi
cmp eax, ebx
jle 0x54bd48
mov eax, dword [edi + 4]
mov ecx, dword [eax + esi*4]
push ecx
lea ecx, [esp + 0x204]
call fcn.005a5320
mov eax, dword [edi + 8]
inc esi
cmp esi, eax
jl 0x54bd2d
mov esi, dword [ebp + 8]
push ebx
push esi
lea ecx, [esp + 0x208]
call fcn.005a5270
lea ecx, [esp + 0x200]
call fcn.005945b0
mov eax, dword [edi + 8]
test eax, eax
jle 0x54bd84
mov edx, dword [edi + 4]
mov ecx, dword [edx + ebx*4]
test ecx, ecx
je 0x54bd7c
mov eax, dword [ecx]
push 1
call dword [eax]
mov eax, dword [edi + 8]
inc ebx
cmp ebx, eax
jl 0x54bd6c
lea ecx, [esp + 0x198]
call fcn.0056c010
mov ecx, 0x10
xor eax, eax
lea edi, [esp + 0x18]
mov byte [esp + 0x328], 1
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x2c0]
mov dword [esp + 0x18], 1
test ecx, ecx
mov dword [esp + 0x10], eax
jle 0x54c22e
mov ecx, dword [esp + 0x2bc]
lea edx, [esp + 0x198]
push edx
mov edi, dword [ecx + eax*4]
push edi
push 0
mov dword [esp + 0x20], edi
call fcn.0054d030
add esp, 0xc
test al, al
je 0x54c159
lea ecx, [esp + 0x198]
call fcn.0056c0e0
mov ecx, eax
mov dword [esp + 0x58], ecx
mov ebx, ecx
mov eax, dword [ebx + 0x58]
test eax, eax
je 0x54c149
fld qword [ebx]
fcom qword [esi + 0x10]
mov eax, dword [ebx + 8]
mov edx, dword [ebx + 0xc]
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], edx
fnstsw ax
test ah, 0x41
je 0x54c147
fcomp qword [esi]
fnstsw ax
test ah, 1
jne 0x54c149
fld qword [esp + 0x64]
fcomp qword [esi + 0x18]
fnstsw ax
test ah, 0x41
je 0x54c149
fld qword [esp + 0x64]
fcomp qword [esi + 8]
fnstsw ax
test ah, 1
jne 0x54c149
mov dword [esp + 0xc0], 0x5e7a90
mov dword [esp + 0x188], 0x47ae147b
mov dword [esp + 0x18c], 0x3f847ae1
mov dword [esp + 0x190], 0xd2f1a9fc
mov dword [esp + 0x194], 0x3f50624d
mov dword [esp + 0x158], 0
mov dword [esp + 0x168], 0xd2f1a9fc
mov dword [esp + 0x16c], 0xbf50624d
mov dword [esp + 0x170], 0x9374bc6a
mov dword [esp + 0x174], 0x3ff00418
mov dword [esp + 0x178], 0xd2f1a9fc
mov dword [esp + 0x17c], 0x3f50624d
mov dword [esp + 0x180], 0xd916872b
mov dword [esp + 0x184], 0x3feff7ce
lea ecx, [esp + 0x70]
mov byte [esp + 0x328], 2
call fcn.004ccd50
lea ecx, [esp + 0x98]
mov byte [esp + 0x328], 3
call fcn.004ccd50
fld qword [ebx + 0x10]
fcomp qword [0x5f0980]
mov byte [esp + 0x328], 4
fnstsw ax
test ah, 0x41
jne 0x54c026
mov eax, dword [ebx + 0x60]
fld qword [eax + 0x10]
fcomp qword [0x5f0980]
fnstsw ax
test ah, 0x41
jne 0x54c026
lea eax, [esp + 0x70]
mov ecx, ebx
push eax
push 0x3f689374
push 0xbc6a7efa
call fcn.004b90d0
mov ecx, dword [ebx + 0x60]
lea edx, [esp + 0x98]
push edx
push 0x3f689374
push 0xbc6a7efa
call fcn.004b90d0
fld qword [esp + 0x90]
fmul qword [esp + 0xb0]
fld qword [esp + 0x88]
fmul qword [esp + 0xb8]
mov dword [esp + 0x158], 0
fsubp st(1)
fstp qword [esp + 0x160]
fld qword [esp + 0x160]
fcomp qword [0x5e2798]
fnstsw ax
test ah, 0x40
jne 0x54c09f
fld qword [esp + 0x70]
fsub qword [esp + 0x98]
fld qword [esp + 0xa0]
fsub qword [esp + 0x78]
mov dword [esp + 0x158], 1
fld st(0)
fmul qword [esp + 0xb0]
fld st(2)
fmul qword [esp + 0xb8]
faddp st(1)
fdiv qword [esp + 0x160]
fstp qword [esp + 0xc8]
fmul qword [esp + 0x88]
fxch st(1)
fmul qword [esp + 0x90]
faddp st(1)
fdiv qword [esp + 0x160]
fstp qword [esp + 0x110]
jmp 0x54c031
mov eax, dword [esp + 0x158]
test eax, eax
je 0x54c09f
fld qword [esp + 0x88]
fmul qword [esp + 0xc8]
fadd qword [esp + 0x70]
fstp qword [esp + 0x30]
fld qword [esp + 0x90]
fmul qword [esp + 0xc8]
mov edx, dword [esp + 0x34]
fadd qword [esp + 0x78]
fstp qword [esp + 0x38]
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
push eax
mov eax, dword [esp + 0x34]
push ecx
push edx
push eax
lea ecx, [esp + 0x1a8]
call fcn.0056caf0
cmp eax, 0xfffffffe
jne 0x54c0ba
mov ecx, dword [ebx]
mov edx, dword [ebx + 4]
mov eax, dword [ebx + 8]
mov dword [esp + 0x30], ecx
mov ecx, dword [ebx + 0xc]
mov dword [esp + 0x34], edx
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], ecx
jmp 0x54c0ba
mov edx, dword [ebx]
mov eax, dword [ebx + 4]
mov ecx, dword [ebx + 8]
mov dword [esp + 0x30], edx
mov edx, dword [ebx + 0xc]
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], edx
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x34]
push eax
mov eax, dword [esp + 0x34]
push ecx
push edx
push eax
call dword [sym.imp.msvcrt.dll__hypot]
mov esi, dword [ebp + 0x14]
add esp, 0x10
fstp qword [esp + 0x50]
mov edi, dword [esi + 8]
push 0xffffffffffffffff
lea ecx, [edi + 1]
push ecx
mov ecx, esi
call fcn.0047f4c0
mov eax, dword [esi + 4]
mov ecx, 0x10
shl edi, 6
add edi, eax
lea esi, [esp + 0x18]
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x98]
mov byte [esp + 0x328], 3
call fcn.0042bd50
lea ecx, [esp + 0x70]
mov byte [esp + 0x328], 2
call fcn.0042bd50
lea ecx, [esp + 0xc0]
mov byte [esp + 0x328], 1
call fcn.004b90a0
mov edi, dword [esp + 0x14]
mov esi, dword [ebp + 8]
mov ecx, dword [esp + 0x58]
jmp 0x54c149
fstp st(0)
mov ebx, dword [ebx + 0x5c]
cmp ebx, ecx
jne 0x54bdfd
jmp 0x54c20a
mov ecx, dword [edi + 0x14]
fld qword [ecx]
fcom qword [esi + 0x10]
mov eax, dword [ecx + 0xc]
mov edx, dword [ecx + 8]
mov dword [esp + 0x60], eax
mov dword [esp + 0x5c], edx
fnstsw ax
test ah, 0x41
je 0x54c208
fcomp qword [esi]
fnstsw ax
test ah, 1
jne 0x54c20a
fld qword [esp + 0x5c]
fcomp qword [esi + 0x18]
fnstsw ax
test ah, 0x41
je 0x54c20a
fld qword [esp + 0x5c]
fcomp qword [esi + 8]
fnstsw ax
test ah, 1
jne 0x54c20a
mov eax, dword [ecx + 4]
mov edx, dword [ecx]
mov dword [esp + 0x34], eax
mov eax, dword [ecx + 0xc]
mov dword [esp + 0x30], edx
mov edx, dword [ecx + 8]
mov ecx, eax
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x34]
push ecx
mov ecx, dword [esp + 0x34]
push edx
push eax
push ecx
mov dword [esp + 0x48], edx
call dword [sym.imp.msvcrt.dll__hypot]
mov esi, dword [ebp + 0x14]
add esp, 0x10
fstp qword [esp + 0x50]
mov edi, dword [esi + 8]
push 0xffffffffffffffff
mov ecx, esi
lea edx, [edi + 1]
push edx
call fcn.0047f4c0
mov eax, dword [esi + 4]
mov ecx, 0x10
shl edi, 6
add edi, eax
lea esi, [esp + 0x18]
rep movsd dword es:[edi], dword [esi]
mov edi, dword [esp + 0x14]
mov esi, dword [ebp + 8]
jmp 0x54c20a
fstp st(0)
test edi, edi
je 0x54c216
mov eax, dword [edi]
push 1
mov ecx, edi
call dword [eax]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x2c0]
inc eax
cmp eax, ecx
mov dword [esp + 0x10], eax
jl 0x54bdc0
mov eax, dword [esp + 0x2e8]
mov dword [esp + 0x10], 0
test eax, eax
jle 0x54c302
mov ecx, dword [esp + 0x2e4]
xor ebx, ebx
fld qword [ebx + ecx]
fcomp qword [esi + 0x10]
fnstsw ax
test ah, 0x41
je 0x54c2e7
fld qword [ebx + ecx]
fcomp qword [esi]
fnstsw ax
test ah, 1
jne 0x54c2e7
fld qword [ebx + ecx + 8]
fcomp qword [esi + 0x18]
fnstsw ax
test ah, 0x41
je 0x54c2e7
fld qword [ebx + ecx + 8]
fcomp qword [esi + 8]
fnstsw ax
test ah, 1
jne 0x54c2e7
fld qword [ebx + ecx]
fstp qword [esp + 0x30]
fld qword [ebx + ecx + 8]
mov eax, dword [esp + 0x34]
fstp qword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x38]
push ecx
mov ecx, dword [esp + 0x34]
push edx
push eax
push ecx
call dword [sym.imp.msvcrt.dll__hypot]
mov esi, dword [ebp + 0x14]
add esp, 0x10
fstp qword [esp + 0x50]
mov edi, dword [esi + 8]
push 0xffffffffffffffff
mov ecx, esi
lea edx, [edi + 1]
push edx
call fcn.0047f4c0
mov eax, dword [esi + 4]
mov ecx, 0x10
shl edi, 6
add edi, eax
lea esi, [esp + 0x18]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x2e4]
mov esi, dword [ebp + 8]
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x2e8]
inc eax
add ebx, 0x10
cmp eax, edx
mov dword [esp + 0x10], eax
jl 0x54c24e
mov esi, dword [ebp + 0x14]
push 0x516550
push 0x40
mov eax, dword [esi + 8]
mov ecx, dword [esi + 4]
push eax
push ecx
call dword [sym.imp.msvcrt.dll_qsort]
mov esi, dword [esi + 8]
add esp, 0x10
lea ecx, [esp + 0x198]
mov byte [esp + 0x328], 0
call fcn.0056c080
lea ecx, [esp + 0x200]
mov dword [esp + 0x328], 0xffffffff
call fcn.005a5180
mov ecx, dword [esp + 0x320]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret