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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x94
mov eax, dword [0x8d6680]
push ebx
xor ebx, ebx
push esi
cmp eax, ebx
push edi
lea eax, [esp + 0x20]
jne 0x54ed3c
xorps xmm0, xmm0
movss xmm1, dword [0x7389bc]
lea ecx, [esp + 0x40]
movss dword [esp + 0x40], xmm0
movss dword [esp + 0x44], xmm1
movss dword [esp + 0x48], xmm0
call fcn.004bc420
mov eax, dword [ebp + 0x1c]
mov ecx, dword [ebp + 0x18]
mov edx, dword [ebp + 0x14]
push eax
mov eax, dword [ebp + 0x10]
push ecx
mov ecx, dword [ebp + 0xc]
push edx
push eax
push ecx
push ebx
push ebx
lea ebx, [esp + 0x3c]
call fcn.0054e630
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
push edi
mov edx, esi
call fcn.00458640
movss xmm0, dword [ebp + 0x14]
addss xmm0, dword [0x7389bc]
movss xmm4, dword [esp + 0x20]
movss xmm3, dword [esp + 0x30]
movss xmm5, dword [esp + 0x24]
movss xmm6, dword [esp + 0x28]
addss xmm3, xmm0
movaps xmm1, xmm0
movaps xmm2, xmm0
subss xmm4, xmm0
movss xmm0, dword [esp + 0x34]
addss xmm0, xmm2
movss dword [esp + 0x34], xmm0
movss xmm0, dword [esp + 0x38]
addss xmm0, xmm1
subss xmm5, xmm2
movss xmm2, dword [esi + 4]
subss xmm2, dword [edi + 4]
movss dword [esp + 0x30], xmm3
movss xmm3, dword [esi + 8]
subss xmm3, dword [edi + 8]
movss dword [esp + 0x38], xmm0
subss xmm6, xmm1
movss xmm1, dword [esi]
subss xmm1, dword [edi]
movaps xmm0, xmm3
mulss xmm0, xmm3
movaps xmm7, xmm2
mulss xmm7, xmm2
addss xmm0, xmm7
movaps xmm7, xmm1
mulss xmm7, xmm1
addss xmm0, xmm7
comiss xmm0, dword [0x738d48]
movss dword [esp + 0x20], xmm4
movss dword [esp + 0x24], xmm5
movss dword [esp + 0x28], xmm6
mov dword [esp + 0x10], ebx
movss dword [esp + 0x40], xmm1
movss dword [esp + 0x44], xmm2
movss dword [esp + 0x48], xmm3
movss dword [esp + 0x18], xmm0
jbe 0x54ee59
fld dword [esp + 0x18]
fsqrt
fdivr dword [0x7389bc]
fld dword [esp + 0x40]
fmul st(1)
fstp dword [esp + 0x40]
movss xmm1, dword [esp + 0x40]
fld dword [esp + 0x44]
fmul st(1)
fstp dword [esp + 0x44]
movss xmm2, dword [esp + 0x44]
fld dword [esp + 0x48]
fmul st(1)
fstp dword [esp + 0x48]
movss xmm3, dword [esp + 0x48]
fstp st(0)
movss xmm7, dword [0x738ac0]
comiss xmm1, xmm7
jbe 0x54ee6e
mov dword [esp + 0x10], 1
movss xmm0, dword [0x738c30]
comiss xmm0, xmm1
jbe 0x54ee80
or dword [esp + 0x10], 2
comiss xmm2, xmm7
jbe 0x54ee8a
or dword [esp + 0x10], 4
comiss xmm0, xmm2
jbe 0x54ee94
or dword [esp + 0x10], 8
comiss xmm3, xmm7
jbe 0x54ee9e
or dword [esp + 0x10], 0x10
comiss xmm0, xmm3
jbe 0x54eea8
or dword [esp + 0x10], 0x20
mov eax, dword [ebp + 8]
cmp dword [eax + 0x904], ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
jle 0x54f1d3
movss xmm2, dword [esp + 0x38]
movss xmm0, dword [esp + 0x30]
movss xmm1, dword [esp + 0x34]
lea edx, [eax + 0x104]
mov dword [esp + 0x1c], edx
jmp 0x54eee0
mov ecx, dword [esp + 0x1c]
mov edi, dword [ecx]
movss xmm3, dword [edi]
comiss xmm3, xmm0
ja 0x54f1b1
comiss xmm4, dword [edi + 0x10]
ja 0x54f1b1
movss xmm3, dword [edi + 8]
comiss xmm3, xmm2
ja 0x54f1b1
comiss xmm6, dword [edi + 0x18]
ja 0x54f1b1
movss xmm3, dword [edi + 4]
comiss xmm3, xmm1
ja 0x54f1b1
comiss xmm5, dword [edi + 0x14]
ja 0x54f1b1
or esi, 0xffffffff
movzx ecx, byte [edi + 0x36]
inc esi
cmp esi, ecx
jge 0x54ef86
mov edx, dword [edi + 0x50]
lea eax, [esi + esi*2]
shl eax, 4
add eax, edx
mov edx, dword [esp + 0x10]
test dword [eax + 0x20], edx
jne 0x54ef7c
movss xmm3, dword [eax]
comiss xmm3, xmm0
ja 0x54ef7c
comiss xmm4, dword [eax + 0x10]
ja 0x54ef7c
movss xmm3, dword [eax + 8]
comiss xmm3, xmm2
ja 0x54ef7c
comiss xmm6, dword [eax + 0x18]
ja 0x54ef7c
movss xmm3, dword [eax + 4]
comiss xmm3, xmm1
ja 0x54ef7c
comiss xmm5, dword [eax + 0x14]
jbe 0x54ef84
inc esi
add eax, 0x30
cmp esi, ecx
jl 0x54ef48
cmp esi, ecx
je 0x54f1ae
mov ecx, dword [edi + 0x4c]
lea eax, [esi + esi*4]
movzx edx, byte [eax + ecx + 4]
add eax, ecx
mov ecx, dword [edi + 0x48]
shl edx, 4
add edx, ecx
mov ecx, dword [edx]
mov dword [esp + 0x40], ecx
mov ecx, dword [edx + 4]
mov dword [esp + 0x44], ecx
mov ecx, dword [edx + 8]
mov edx, dword [edx + 0xc]
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], edx
mov edx, dword [edi + 0x50]
lea ecx, [esi + esi*2]
shl ecx, 4
movss xmm0, dword [ecx + edx + 0x24]
add ecx, edx
mov dl, byte [ecx + 0x20]
mov ecx, dword [edi + 0x44]
test dl, 0x40
movzx edx, byte [eax]
movss dword [esp + 0x50], xmm0
je 0x54f0e0
shl edx, 4
add edx, ecx
mov ebx, dword [edx]
mov dword [esp + 0x60], ebx
mov ebx, dword [edx + 4]
mov dword [esp + 0x64], ebx
mov ebx, dword [edx + 8]
mov edx, dword [edx + 0xc]
mov dword [esp + 0x6c], edx
movzx edx, byte [eax + 1]
shl edx, 4
add edx, ecx
mov dword [esp + 0x68], ebx
mov ebx, dword [edx]
mov dword [esp + 0x70], ebx
mov ebx, dword [edx + 4]
mov dword [esp + 0x74], ebx
mov ebx, dword [edx + 8]
mov edx, dword [edx + 0xc]
mov dword [esp + 0x7c], edx
movzx edx, byte [eax + 2]
movzx eax, byte [eax + 3]
shl edx, 4
add edx, ecx
mov dword [esp + 0x78], ebx
mov ebx, dword [edx]
mov dword [esp + 0x80], ebx
mov ebx, dword [edx + 4]
shl eax, 4
add eax, ecx
mov ecx, dword [eax]
mov dword [esp + 0x84], ebx
mov ebx, dword [edx + 8]
mov edx, dword [edx + 0xc]
mov dword [esp + 0x8c], edx
mov edx, dword [eax + 4]
mov dword [esp + 0x90], ecx
mov ecx, dword [eax + 8]
mov dword [esp + 0x94], edx
mov edx, dword [eax + 0xc]
mov eax, dword [ebp + 0x1c]
push eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x9c], ecx
mov ecx, dword [ebp + 0x18]
push ecx
mov ecx, dword [ebp + 0xc]
mov dword [esp + 0xa4], edx
mov edx, dword [ebp + 0x14]
push edx
push eax
push ecx
push 4
lea edx, [esp + 0x78]
mov dword [esp + 0xa0], ebx
push edx
lea ebx, [esp + 0x5c]
call fcn.0054e630
mov ecx, dword [esp + 0x14]
movss xmm5, dword [esp + 0x24]
movss xmm1, dword [esp + 0x34]
movss xmm0, dword [esp + 0x30]
movss xmm6, dword [esp + 0x28]
movss xmm4, dword [esp + 0x20]
movss xmm2, dword [esp + 0x38]
or ecx, eax
mov dword [esp + 0x14], ecx
jmp 0x54ef30
shl edx, 4
add edx, ecx
mov ebx, dword [edx]
mov dword [esp + 0x60], ebx
mov ebx, dword [edx + 4]
mov dword [esp + 0x64], ebx
mov ebx, dword [edx + 8]
mov edx, dword [edx + 0xc]
mov dword [esp + 0x6c], edx
movzx edx, byte [eax + 1]
movzx eax, byte [eax + 2]
shl edx, 4
add edx, ecx
mov dword [esp + 0x68], ebx
mov ebx, dword [edx]
mov dword [esp + 0x70], ebx
mov ebx, dword [edx + 4]
shl eax, 4
add eax, ecx
mov ecx, dword [eax]
mov dword [esp + 0x74], ebx
mov ebx, dword [edx + 8]
mov edx, dword [edx + 0xc]
mov dword [esp + 0x7c], edx
mov edx, dword [eax + 4]
mov dword [esp + 0x80], ecx
mov ecx, dword [eax + 8]
mov dword [esp + 0x84], edx
mov edx, dword [eax + 0xc]
mov eax, dword [ebp + 0x1c]
push eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x8c], ecx
mov ecx, dword [ebp + 0x18]
push ecx
mov ecx, dword [ebp + 0xc]
mov dword [esp + 0x94], edx
mov edx, dword [ebp + 0x14]
push edx
push eax
push ecx
push 3
lea edx, [esp + 0x78]
mov dword [esp + 0x90], ebx
push edx
lea ebx, [esp + 0x5c]
call fcn.0054e630
mov ecx, dword [esp + 0x14]
movss xmm5, dword [esp + 0x24]
movss xmm1, dword [esp + 0x34]
movss xmm0, dword [esp + 0x30]
movss xmm6, dword [esp + 0x28]
movss xmm4, dword [esp + 0x20]
movss xmm2, dword [esp + 0x38]
or ecx, eax
mov dword [esp + 0x14], ecx
jmp 0x54ef30
mov eax, dword [ebp + 8]
mov ecx, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
mov edx, dword [eax + 0x904]
inc ecx
add esi, 4
cmp ecx, edx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], esi
jl 0x54eee0
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18