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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x74
mov ecx, dword [0x11290c1c]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov eax, dword [ecx]
push edi
mov edx, dword [eax + 0x14]
movsx eax, word [esi + 0x4c]
push eax
call edx
movss xmm1, dword [esi + 0x78]
mulss xmm1, dword [esi + 0x38]
mov ebx, dword [ebp + 8]
movss xmm0, dword [eax + 0x58]
movzx edi, word [eax + 0x60]
addss xmm1, dword [esi + 0x74]
movss dword [esp + 0x10], xmm0
movss dword [esi + 0x74], xmm1
movss xmm0, dword [ebx + 0x110]
movss dword [esp + 0x14], xmm1
mulss xmm1, dword [0x10122cd8]
cvtps2pd xmm0, xmm0
cvtps2pd xmm1, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_pow_precise
cvtsd2ss xmm0, xmm0
mulss xmm0, dword [esi + 0x7c]
movss dword [esi + 0x7c], xmm0
movss xmm0, dword [esp + 0x14]
comiss xmm0, dword [0x10122d1c]
ja 0x1000ea74
movss xmm0, dword [0x10122ce0]
comiss xmm0, dword [esp + 0x10]
jbe 0x1000ea7e
mov dword [esi + 0x80], 0
cmp dword [esi + 0x80], 0
jle 0x1000ed2d
movq xmm0, qword [esi + 0x60]
lea eax, [esp + 0x28]
push eax
mov eax, dword [esi + 0x68]
sub esp, 0xc
mov ecx, esp
mov dword [esp + 0x34], 0x7f800000
sub esp, 0xc
mov dword [esp + 0x3c], 0x7f800000
mov dword [esp + 0x38], 0x7f800000
mov dword [esp + 0x4c], 0x7f800000
movq qword [ecx], xmm0
movq xmm0, qword [esi + 0x18]
mov dword [ecx + 8], eax
mov ecx, esp
mov eax, dword [esi + 0x20]
mov dword [esp + 0x48], 0x7f800000
mov dword [esp + 0x44], 0x7f800000
movq qword [ecx], xmm0
mov dword [ecx + 8], eax
lea eax, [esi + 0xc]
push eax
lea eax, [esp + 0x3c]
mov dword [esp + 0x5c], 0x7f800000
push eax
mov dword [esp + 0x5c], 0x7f800000
mov dword [esp + 0x58], 0x7f800000
mov dword [esp + 0x6c], 0x7f800000
mov dword [esp + 0x68], 0x7f800000
mov dword [esp + 0x64], 0x7f800000
call fcn.1000f550
add esp, 0x24
test al, al
je 0x1000ed2d
mov ecx, dword [0x11290c1c]
mov eax, dword [ecx]
mov edx, dword [eax + 0x14]
movsx eax, word [esp + 0x68]
push eax
call edx
test byte [esi + 0x3c], 8
movss xmm1, dword [0x10122ce4]
movss dword [esp + 0x14], xmm1
movzx edx, word [eax + 0x60]
mov ecx, edx
jne 0x1000eb8b
cmp edi, 0x59
je 0x1000eb8b
cmp edi, 0x47
je 0x1000eb8b
movss xmm0, dword [esp + 0x10]
addss xmm0, dword [eax + 0x4c]
mulss xmm0, dword [0x10122b74]
movss dword [esp + 0x10], xmm0
movss xmm0, dword [0x10122d04]
jmp 0x1000eba7
movss xmm0, dword [0x10122d04]
movss xmm1, dword [0x10122cdc]
movss dword [esp + 0x10], xmm0
movss dword [esp + 0x14], xmm1
cmp edi, ecx
jne 0x1000ebc8
cmp ecx, 0x57
je 0x1000ebc2
cmp ecx, 0x55
je 0x1000ebc2
cmp edx, 0x4c
jne 0x1000ebc8
movss xmm0, dword [0x10122d00]
movss dword [esp + 0x10], xmm0
movss xmm0, dword [0x10122b78]
sub esp, 8
divss xmm0, dword [esp + 0x18]
movss dword [esp + 4], xmm0
mov dword [esp], 0
call dword [sym.imp.api_ms_win_crt_math_l1_1_0.dll_fmaxf]
movss xmm0, dword [0x10122d04]
divss xmm0, dword [ebx + 0x100]
fstp dword [esp + 0x18]
mulss xmm0, dword [0x10122cf4]
movss dword [esp + 4], xmm0
mov dword [esp], 0
call dword [sym.imp.api_ms_win_crt_math_l1_1_0.dll_fmaxf]
movss xmm0, dword [esp + 0x18]
mulss xmm0, dword [0x10122d04]
movss xmm1, dword [esp + 0x3c]
movss xmm2, dword [esp + 0x40]
subss xmm2, dword [esi + 0x1c]
subss xmm1, dword [esi + 0x18]
movss dword [esp + 0x20], xmm0
movss xmm0, dword [esp + 0x1c]
mulss xmm0, dword [esi + 0x7c]
fmul dword [esp + 0x20]
mulss xmm2, xmm2
mulss xmm1, xmm1
fstp dword [esp + 0x20]
addss xmm0, dword [esp + 0x20]
addss xmm2, xmm1
xorps xmm1, xmm1
movss dword [esp + 0x1c], xmm0
movss xmm0, dword [esp + 0x44]
subss xmm0, dword [esi + 0x20]
mulss xmm0, xmm0
addss xmm2, xmm0
cvtps2pd xmm0, xmm2
ucomisd xmm1, xmm0
ja 0x1000ec95
sqrtsd xmm0, xmm0
jmp 0x1000ec9a
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sqrt_precise
cvtsd2ss xmm0, xmm0
mulss xmm0, xmm0
mulss xmm0, dword [esp + 0x18]
divss xmm0, dword [0x10122d0c]
addss xmm0, dword [esp + 0x1c]
movss dword [esp + 4], xmm0
mov dword [esp], 0
call dword [sym.imp.api_ms_win_crt_math_l1_1_0.dll_fmaxf]
movss xmm0, dword [esi + 0x7c]
add esp, 8
fstp dword [esp + 0x18]
movss xmm1, dword [esp + 0x18]
comiss xmm1, xmm0
ja 0x1000ed2d
xorps xmm2, xmm2
comiss xmm1, xmm2
jb 0x1000ecf1
subss xmm0, xmm1
movss dword [esi + 0x7c], xmm0
movss xmm1, dword [0x10122b78]
comiss xmm1, xmm0
ja 0x1000ed2d
movss xmm0, dword [esp + 0x34]
mov al, 1
dec dword [esi + 0x80]
movss dword [esi], xmm0
movss xmm0, dword [esp + 0x38]
movss dword [esi + 4], xmm0
movss xmm0, dword [esp + 0x3c]
movss dword [esi + 8], xmm0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret