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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xc8
or eax, 0xffffffff
mov dword [esi + 0xca0], eax
mov dword [esi + 0xc9c], eax
test byte [esi + 0x9d7], 1
push ebx
push edi
je 0x56df19
cmp word [esi + 0xb10], 0
jne 0x56df19
mov eax, dword [esi + 0xc8c]
test eax, eax
jl 0x56df19
movss xmm0, dword [esi + 0x40]
lea ecx, [esi + 0xbe0]
mov edx, dword [ecx]
mov dword [esp + 0x30], edx
mov edx, dword [ecx + 4]
mov dword [esp + 0x34], edx
mov edx, dword [ecx + 8]
mov ecx, dword [ecx + 0xc]
mov dword [esp + 0x38], edx
mov dword [esp + 0x3c], ecx
movss dword [esp + 0x40], xmm0
movss xmm0, dword [esi + 0x44]
mov edx, dword [esp + 0x40]
mov dword [esp + 0x70], edx
movss dword [esp + 0x44], xmm0
movss xmm0, dword [esi + 0x48]
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x74], ecx
mov ecx, dword [esp + 0x4c]
movss dword [esp + 0x48], xmm0
mov edx, dword [esp + 0x48]
mov dword [esp + 0x78], edx
mov dword [esp + 0x7c], ecx
lea edx, [esi + 0xbd0]
mov ecx, dword [edx]
mov dword [esp + 0x60], ecx
mov ecx, dword [edx + 4]
mov dword [esp + 0x64], ecx
mov ecx, dword [edx + 8]
mov edx, dword [edx + 0xc]
mov dword [esp + 0x68], ecx
movzx ecx, word [esi + 0xb0c]
mov dword [esp + 0x6c], edx
lea edx, [eax + 1]
cmp edx, ecx
jge 0x56dab8
lea eax, [eax + eax*2 + 0x4f5]
mov ax, word [esi + eax*2]
cmp ax, 0xffff
je 0x56dab8
push eax
mov ecx, 0x91a318
call fcn.0050e240
mov ecx, dword [eax + 4]
jmp 0x56dabe
lea ecx, [esi + 0xb30]
movss xmm0, dword [esp + 0x70]
subss xmm0, dword [esp + 0x60]
movss xmm1, dword [esp + 0x78]
subss xmm1, dword [esp + 0x68]
movss dword [esp + 0xa0], xmm0
fld dword [esp + 0xa0]
fmul dword [esp + 0xa0]
movss dword [esp + 0x58], xmm0
movss xmm0, dword [esp + 0x74]
subss xmm0, dword [esp + 0x64]
movss dword [esp + 0x28], xmm0
fld dword [esp + 0x28]
movss dword [esp + 0x2c], xmm1
fmul dword [esp + 0x28]
mov edx, dword [ecx]
mov eax, dword [ecx + 4]
mov dword [esp + 0x10], edx
faddp st(1)
mov edx, dword [ecx + 8]
fld dword [esp + 0x2c]
mov dword [esp + 0x14], eax
fmul dword [esp + 0x2c]
mov eax, dword [ecx + 0xc]
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], eax
faddp st(1)
movss dword [esp + 0x5c], xmm0
movss dword [esp + 0x54], xmm1
fsqrt
fmul dword [0x708dec]
call fcn.00686364
cmp eax, 6
mov dword [esi + 0xc9c], eax
jle 0x56db68
mov dword [esi + 0xc9c], 6
mov eax, dword [esi + 0xc9c]
xor ecx, ecx
test eax, eax
jle 0x56df19
movss xmm0, dword [esp + 0x58]
movss xmm3, dword [esp + 0x60]
movss xmm2, dword [esp + 0x64]
movss xmm1, dword [esp + 0x10]
movss xmm4, dword [esp + 0x14]
movss xmm6, dword [esp + 0x18]
subss xmm3, dword [esp + 0x30]
subss xmm2, dword [esp + 0x34]
subss xmm1, dword [esp + 0x70]
subss xmm4, dword [esp + 0x74]
subss xmm6, dword [esp + 0x78]
mov edi, dword [esp + 0x9c]
movss dword [esp + 0x40], xmm0
movss xmm0, dword [esp + 0x5c]
movss dword [esp + 0x44], xmm0
movss xmm0, dword [esp + 0x54]
movss dword [esp + 0x48], xmm0
movss xmm0, dword [esp + 0x68]
subss xmm0, dword [esp + 0x38]
movss dword [esp + 0x54], xmm3
movss dword [esp + 0x5c], xmm2
movss dword [esp + 0x58], xmm0
movss dword [esp + 0x2c], xmm1
movss dword [esp + 0x28], xmm4
movss dword [esp + 0x84], xmm6
lea edx, [esi + 0xb50]
jmp 0x56dc41
movss xmm3, dword [esp + 0x54]
movss xmm2, dword [esp + 0x5c]
movss xmm0, dword [esp + 0x58]
movss xmm1, dword [esp + 0x2c]
movss xmm4, dword [esp + 0x28]
movss xmm6, dword [esp + 0x84]
movaps xmm5, xmm2
mulss xmm5, xmm2
movss dword [esp + 0x34], xmm2
movss dword [esp + 0x38], xmm0
mulss xmm0, xmm0
movaps xmm2, xmm3
mulss xmm2, xmm3
addss xmm0, xmm5
addss xmm0, xmm2
xorps xmm2, xmm2
ucomiss xmm0, xmm2
lahf
test ah, 0x44
movss dword [esp + 0x30], xmm3
movss dword [esp + 0x8c], xmm0
jnp 0x56dcd9
fld dword [esp + 0x48]
fld dword [esp + 0x44]
fld st(0)
fmul st(1)
fld st(2)
fmul st(3)
faddp st(1)
fld dword [esp + 0x40]
fmul dword [esp + 0x40]
faddp st(1)
fsqrt
fstp st(2)
fstp st(0)
fld dword [esp + 0x8c]
fsqrt
fxch st(1)
fxch st(1)
fdivr dword [0x7389bc]
fmulp st(1)
fld dword [esp + 0x30]
fmul st(1)
fstp dword [esp + 0x30]
fld dword [esp + 0x34]
fmul st(1)
fstp dword [esp + 0x34]
fld dword [esp + 0x38]
fmul st(1)
fstp dword [esp + 0x38]
fstp st(0)
movaps xmm3, xmm1
movaps xmm0, xmm4
movss dword [esp + 0x14], xmm0
mulss xmm3, xmm1
movss dword [esp + 0x10], xmm1
mulss xmm0, xmm0
movaps xmm1, xmm6
addss xmm0, xmm3
mulss xmm1, xmm6
addss xmm0, xmm1
ucomiss xmm0, xmm2
lahf
test ah, 0x44
movss dword [esp + 0x18], xmm6
movss dword [esp + 0x88], xmm0
jnp 0x56dd77
fld dword [esp + 0x48]
fld dword [esp + 0x44]
fld st(0)
fmul st(1)
fld st(2)
fmul st(3)
faddp st(1)
fld dword [esp + 0x40]
fmul dword [esp + 0x40]
faddp st(1)
fsqrt
fstp st(2)
fstp st(0)
fld dword [esp + 0x88]
fsqrt
fxch st(1)
fxch st(1)
fdivr dword [0x7389bc]
fmulp st(1)
fld dword [esp + 0x10]
fmul st(1)
fstp dword [esp + 0x10]
fld dword [esp + 0x14]
fmul st(1)
fstp dword [esp + 0x14]
fld dword [esp + 0x18]
fmul st(1)
fstp dword [esp + 0x18]
movss xmm6, dword [esp + 0x18]
fstp st(0)
cvtsi2ss xmm1, dword [esi + 0xc9c]
movss xmm7, dword [0x7389bc]
addss xmm1, xmm7
cvtsi2ss xmm0, ecx
addss xmm0, xmm7
divss xmm0, xmm1
movaps xmm2, xmm0
mulss xmm2, xmm0
movaps xmm1, xmm2
mulss xmm1, xmm0
movaps xmm5, xmm1
mulss xmm5, dword [0x7389e8]
movaps xmm4, xmm5
movaps xmm3, xmm2
mulss xmm3, dword [0x738a5c]
subss xmm4, xmm3
addss xmm4, xmm7
subss xmm3, xmm5
movaps xmm5, xmm1
subss xmm1, xmm2
movaps xmm7, xmm2
mulss xmm7, dword [0x7389e8]
subss xmm5, xmm7
addss xmm5, xmm0
movss xmm0, dword [esp + 0x14]
mulss xmm0, xmm1
movss xmm7, dword [esp + 0x64]
movss dword [esp + 0xa4], xmm0
movss xmm0, dword [esp + 0x34]
mulss xmm0, xmm5
movss dword [esp + 0xb4], xmm0
movss xmm0, dword [esp + 0x38]
mulss xmm0, xmm5
movss dword [esp + 0xb8], xmm0
movss xmm0, dword [esp + 0x68]
mulss xmm0, xmm3
mulss xmm6, xmm1
movss dword [esp + 0xc8], xmm0
movss dword [esp + 0xa8], xmm6
movaps xmm2, xmm1
mulss xmm2, dword [esp + 0x10]
movss xmm1, dword [esp + 0x74]
movaps xmm6, xmm5
mulss xmm6, dword [esp + 0x30]
movaps xmm5, xmm3
mulss xmm5, dword [esp + 0x60]
movaps xmm0, xmm4
mulss xmm0, dword [esp + 0x70]
addss xmm0, xmm5
addss xmm0, xmm6
addss xmm0, xmm2
movss dword [esp + 0x90], xmm0
mov ebx, dword [esp + 0x90]
movss xmm0, dword [esp + 0x78]
mulss xmm1, xmm4
mulss xmm7, xmm3
addss xmm1, xmm7
addss xmm1, dword [esp + 0xb4]
addss xmm1, dword [esp + 0xa4]
mulss xmm0, xmm4
addss xmm0, dword [esp + 0xc8]
addss xmm0, dword [esp + 0xb8]
addss xmm0, dword [esp + 0xa8]
mov eax, edx
mov dword [eax], ebx
movss dword [esp + 0x94], xmm1
mov ebx, dword [esp + 0x94]
mov dword [eax + 4], ebx
movss dword [esp + 0x98], xmm0
mov ebx, dword [esp + 0x98]
mov dword [eax + 8], ebx
mov dword [eax + 0xc], edi
mov eax, dword [esi + 0xc9c]
inc ecx
add edx, 0x10
cmp ecx, eax
jl 0x56dc1a
test eax, eax
jle 0x56df19
mov dword [esi + 0xca0], 0
pop edi
pop ebx
mov esp, ebp
pop ebp
ret