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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x128
mov eax, dword [0x102924c0]
xor eax, esp
mov dword [esp + 0x124], eax
mov eax, dword [ebp + 0xc]
xorps xmm1, xmm1
mov dword [esp + 0x30], eax
mov eax, dword [ebp + 0x10]
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [esp + 0x2c], eax
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x1c], eax
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 4
movd xmm0, dword [eax + 0xec]
mov eax, dword [ebp + 0x28]
movss dword [esp + 0x20], xmm1
cvtdq2ps xmm0, xmm0
movss xmm1, dword [eax + 4]
subss xmm1, dword [ebp + 0x20]
movss xmm2, dword [eax]
subss xmm2, dword [ebp + 0x1c]
movss xmm3, dword [eax + 8]
subss xmm3, dword [ebp + 0x24]
movss dword [esp + 0x30], xmm0
movaps xmm0, xmm1
mulss xmm0, xmm1
movss dword [esp + 0x28], xmm1
movaps xmm1, xmm2
mulss xmm1, xmm2
movss dword [esp + 0x14], xmm2
movss dword [esp + 0x24], xmm3
addss xmm0, xmm1
movaps xmm1, xmm3
mulss xmm1, xmm3
addss xmm0, xmm1
call fcn.10006320
addss xmm0, dword [0x10277ba0]
movss xmm1, dword [esp + 0x14]
xor eax, eax
movss xmm2, dword [esp + 0x28]
xorps xmm7, xmm7
movss xmm3, dword [esp + 0x24]
xor esi, esi
mov dword [esp + 0xf4], eax
divss xmm1, xmm0
mov dword [esp + 0xf8], eax
mov eax, dword [0x103bc918]
mov dword [esp + 0xbc], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0xf0], 0
mov dword [esp + 0xc4], 0
mov dword [esp + 0xc8], 0
divss xmm2, xmm0
divss xmm3, xmm0
movss xmm5, dword [eax + 0x104]
xorps xmm0, xmm0
movups xmmword [esp + 0xd0], xmm0
movups xmmword [esp + 0xe0], xmm0
movups xmmword [esp + 0xfc], xmm0
movups xmmword [esp + 0x10c], xmm0
movq qword [esp + 0x11c], xmm0
movss xmm0, dword [esp + 0x30]
comiss xmm0, xmm7
movss dword [esp + 0x14], xmm1
movss dword [esp + 0x3c], xmm1
movss dword [esp + 0x28], xmm2
movss dword [esp + 0x40], xmm2
movss dword [esp + 0x24], xmm3
movss dword [esp + 0x44], xmm3
jbe 0x10138c53
nop word [eax + eax]
subss xmm5, dword [esp + 0x20]
movss xmm4, dword [ebp + 0x1c]
movaps xmm0, xmm1
movaps xmm6, xmm3
mov eax, dword [esp + 0x38]
movss xmm3, dword [ebp + 0x24]
mov dword [esp + 0xc0], eax
mulss xmm0, xmm5
mov dword [esp + 0xcc], esi
mulss xmm2, xmm5
mov dword [esp + 0x7c], 0
addss xmm0, xmm4
movss dword [esp + 0x34], xmm5
movss xmm5, dword [ebp + 0x20]
mulss xmm6, dword [esp + 0x34]
addss xmm2, xmm5
mov byte [esp + 0xa5], 1
movaps xmm1, xmm0
movss dword [esp + 0x48], xmm0
addss xmm6, xmm3
movss dword [esp + 0x4c], xmm2
subss xmm1, xmm4
subss xmm2, xmm5
movaps xmm0, xmm6
movss dword [esp + 0x50], xmm6
subss xmm0, xmm3
movss dword [esp + 0x70], xmm1
movss dword [esp + 0x74], xmm2
mulss xmm2, xmm2
mulss xmm1, xmm1
movss dword [esp + 0x78], xmm0
mulss xmm0, xmm0
addss xmm2, xmm1
addss xmm2, xmm0
ucomiss xmm2, xmm7
lahf
test ah, 0x44
jp 0x10138968
mov byte [esp + 0xa5], 0
mov ecx, dword [0x103bc74c]
lea edx, [esp + 0xd0]
push edx
mov dword [esp + 0xa4], 0
lea edx, [esp + 0xc0]
mov byte [esp + 0xa8], 1
movss dword [esp + 0x64], xmm4
movss dword [esp + 0x68], xmm5
movss dword [esp + 0x6c], xmm3
mov dword [esp + 0x70], 0
mov dword [esp + 0x8c], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x9c], 0
mov dword [esp + 0x98], 0
mov dword [esp + 0x94], 0
mov eax, dword [ecx]
push edx
push 0x4600400b
lea edx, [esp + 0x6c]
mov eax, dword [eax + 0x14]
push edx
call eax
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x10138a67
movss xmm1, dword [0x10277e94]
movss xmm0, dword [esp + 0x14]
mulss xmm0, xmm1
push eax
lea eax, [esp + 0xd4]
push eax
addss xmm0, dword [esp + 0x50]
lea eax, [esp + 0x5c]
push eax
lea eax, [ebp + 0x1c]
push eax
movss dword [esp + 0x64], xmm0
movss xmm0, dword [esp + 0x38]
mulss xmm0, xmm1
addss xmm0, dword [esp + 0x5c]
movss dword [esp + 0x68], xmm0
movss xmm0, dword [esp + 0x34]
mulss xmm0, xmm1
addss xmm0, dword [esp + 0x60]
movss dword [esp + 0x6c], xmm0
call fcn.10137f40
movss xmm0, dword [esp + 0xfc]
ucomiss xmm0, dword [0x10277cac]
lahf
test ah, 0x44
jnp 0x10138c53
mulss xmm0, dword [esp + 0x34]
mov eax, dword [esp + 0x1c]
addss xmm0, dword [esp + 0x20]
movaps xmm1, xmm0
movss xmm0, dword [eax + 0x108]
movss dword [esp + 0x20], xmm1
divss xmm1, dword [0x10277fe0]
cvtps2pd xmm0, xmm0
cvtps2pd xmm1, xmm1
call fcn.101d6860
cmp dword [esp + 0x2c], 0
cvtsd2ss xmm0, xmm0
mulss xmm0, dword [esp + 0x30]
movss dword [esp + 0x14], xmm0
je 0x10138b3d
mov ecx, dword [esp + 0x11c]
test ecx, ecx
je 0x10138b3b
mov eax, dword [ecx]
mov eax, dword [eax + 0x260]
call eax
mov edx, dword [esp + 0x11c]
mov byte [esp + 0x1b], al
cmp edx, dword [esp + 0x2c]
je 0x10138b11
test al, al
je 0x10138b2f
mov ecx, dword [0x103bc95c]
mov esi, dword [esp + 0x38]
add ecx, 0xffffffda
xor ecx, 0xffcb1a9
mov eax, dword [ecx + edx]
cmp eax, dword [ecx + esi]
je 0x10138b2f
mov ecx, dword [esp + 0x114]
cmp ecx, 1
jl 0x10138b26
cmp ecx, 7
jle 0x10138c13
cmp ecx, 0xa
je 0x10138c13
xor esi, esi
cmp byte [esp + 0x1b], 0
cmovne esi, edx
jmp 0x10138b3d
xor esi, esi
cmp byte [ebp + 0x18], 0
jne 0x10138c53
movss xmm0, dword [esp + 0x20]
comiss xmm0, dword [0x10278018]
jbe 0x10138b6e
mov eax, dword [esp + 0x1c]
xorps xmm1, xmm1
movss xmm0, dword [eax + 0xf8]
comiss xmm0, xmm1
ja 0x10138c53
mov ecx, dword [0x103bc770]
movsx edx, word [esp + 0x110]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x14]
call eax
movss xmm0, dword [0x10277bf4]
comiss xmm0, dword [eax + 0x58]
ja 0x10138c53
push ecx
lea eax, [esp + 0x18]
push eax
lea eax, [edi + 0x10]
push eax
lea eax, [esp + 0x48]
push eax
lea eax, [ebp + 0x1c]
push eax
lea eax, [esp + 0xe4]
push eax
push dword [esp + 0x34]
push ecx
call fcn.101382f0
test al, al
je 0x10138c53
cmp byte [ebp + 0x2c], 0
movss xmm0, dword [esp + 0x14]
movss dword [esp + 0x30], xmm0
je 0x10138bdc
cvttss2si eax, xmm0
mov dword [edi + 4], eax
xorps xmm7, xmm7
comiss xmm0, xmm7
jbe 0x10138c53
movss xmm3, dword [esp + 0x44]
movss xmm2, dword [esp + 0x40]
movss xmm1, dword [esp + 0x3c]
movss xmm5, dword [esp + 0x34]
movss dword [esp + 0x24], xmm3
movss dword [esp + 0x28], xmm2
movss dword [esp + 0x14], xmm1
jmp 0x101388b0
cmp byte [ebp + 0x18], 0
mov eax, dword [esp + 0x120]
mov dword [edi], edx
mov dword [edi + 8], eax
mov dword [edi + 0xc], ecx
je 0x10138c31
mov dword [edi + 0xc], 0
xor ecx, ecx
push ecx
push ecx
lea eax, [esp + 0x1c]
push eax
mov eax, dword [esp + 0x28]
push edx
movss xmm3, dword [eax + 0xf0]
call fcn.101385d0
cvttss2si ecx, dword [esp + 0x14]
mov dword [edi + 4], ecx
mov ecx, dword [esp + 0x12c]
mov eax, edi
pop edi
pop esi
xor ecx, esp
call fcn.101aaebb
mov esp, ebp
pop ebp
ret 0x28