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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x74
push ebx
mov ebx, ecx
mov ecx, dword [0x1015b850]
push esi
push edi
mov edi, edx
mov eax, dword [ecx]
mov esi, dword [eax + 0x14]
movsx eax, word [edi + 0x4c]
push eax
call esi
movss xmm1, dword [edi + 0x78]
mulss xmm1, dword [edi + 0x38]
movss xmm0, dword [eax + 0x58]
movzx esi, word [eax + 0x60]
addss xmm1, dword [edi + 0x74]
movss dword [ebp - 4], xmm0
movss dword [edi + 0x74], xmm1
movss xmm0, dword [ebx + 0x110]
movss dword [ebp - 8], xmm1
mulss xmm1, dword [0x100e0430]
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 [edi + 0x7c]
movss dword [edi + 0x7c], xmm0
movss xmm0, dword [ebp - 8]
comiss xmm0, dword [0x100e064c]
ja 0x1000da7b
movss xmm0, dword [0x100e0460]
comiss xmm0, dword [ebp - 4]
jbe 0x1000da85
mov dword [edi + 0x80], 0
cmp dword [edi + 0x80], 0
jle 0x1000dcf4
movq xmm0, qword [edi + 0x60]
lea eax, [ebp - 0x70]
push eax
mov eax, dword [edi + 0x68]
lea edx, [edi + 0xc]
sub esp, 0xc
mov dword [ebp - 0x10], 0x7f800000
mov ecx, esp
mov dword [ebp - 0x14], 0x7f800000
sub esp, 0xc
mov dword [ebp - 0x18], 0x7f800000
mov dword [ebp - 0x68], 0x7f800000
mov dword [ebp - 0x6c], 0x7f800000
movq qword [ecx], xmm0
movq xmm0, qword [edi + 0x18]
mov dword [ecx + 8], eax
mov ecx, esp
mov eax, dword [edi + 0x20]
mov dword [ebp - 0x70], 0x7f800000
mov dword [ebp - 0x5c], 0x7f800000
movq qword [ecx], xmm0
mov dword [ecx + 8], eax
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x60], 0x7f800000
mov dword [ebp - 0x64], 0x7f800000
mov dword [ebp - 0x50], 0x7f800000
mov dword [ebp - 0x54], 0x7f800000
mov dword [ebp - 0x58], 0x7f800000
call fcn.1000d650
add esp, 0x1c
test al, al
je 0x1000dcf4
mov ecx, dword [0x1015b850]
mov eax, dword [ecx]
mov edx, dword [eax + 0x14]
movsx eax, word [ebp - 0x30]
push eax
call edx
test byte [edi + 0x3c], 8
movss xmm1, dword [0x100e046c]
movss dword [ebp - 8], xmm1
movzx edx, word [eax + 0x60]
mov ecx, edx
jne 0x1000db7e
cmp esi, 0x59
je 0x1000db7e
cmp esi, 0x47
je 0x1000db7e
movss xmm0, dword [ebp - 4]
addss xmm0, dword [eax + 0x4c]
mulss xmm0, dword [0x100e04a8]
movss dword [ebp - 4], xmm0
movss xmm0, dword [0x100e0554]
jmp 0x1000db98
movss xmm0, dword [0x100e0554]
movss xmm1, dword [0x100e0458]
movss dword [ebp - 4], xmm0
movss dword [ebp - 8], xmm1
cmp esi, ecx
jne 0x1000dbb8
cmp ecx, 0x57
je 0x1000dbb3
cmp ecx, 0x55
je 0x1000dbb3
cmp edx, 0x4c
jne 0x1000dbb8
movss xmm0, dword [0x100e0524]
movss dword [ebp - 4], xmm0
movss xmm0, dword [0x100e04e4]
sub esp, 8
divss xmm0, dword [ebp - 4]
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 [0x100e0554]
divss xmm0, dword [ebx + 0x100]
fstp dword [ebp - 4]
mulss xmm0, dword [0x100e04f0]
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 [ebp - 4]
mulss xmm0, dword [0x100e0554]
movss xmm2, dword [ebp - 0x64]
subss xmm2, dword [edi + 0x18]
movss dword [ebp - 0xc], xmm0
movss xmm0, dword [ebp - 8]
mulss xmm0, dword [edi + 0x7c]
fmul dword [ebp - 0xc]
movss xmm1, dword [ebp - 0x5c]
subss xmm1, dword [edi + 0x20]
mulss xmm2, xmm2
fstp dword [ebp - 0xc]
addss xmm0, dword [ebp - 0xc]
mulss xmm1, xmm1
movss dword [ebp - 8], xmm0
movss xmm0, dword [ebp - 0x60]
subss xmm0, dword [edi + 0x1c]
mulss xmm0, xmm0
addss xmm0, xmm2
addss xmm0, xmm1
call fcn.10009630
mulss xmm0, xmm0
mulss xmm0, dword [ebp - 4]
divss xmm0, dword [0x100e05b8]
addss xmm0, dword [ebp - 8]
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 [edi + 0x7c]
add esp, 8
fstp dword [ebp - 0xc]
movss xmm1, dword [ebp - 0xc]
comiss xmm1, xmm0
ja 0x1000dcf4
xorps xmm2, xmm2
comiss xmm1, xmm2
jb 0x1000dcbb
subss xmm0, xmm1
movss dword [edi + 0x7c], xmm0
movss xmm1, dword [0x100e04e4]
comiss xmm1, xmm0
ja 0x1000dcf4
movss xmm0, dword [ebp - 0x64]
mov al, 1
dec dword [edi + 0x80]
movss dword [edi], xmm0
movss xmm0, dword [ebp - 0x60]
movss dword [edi + 4], xmm0
movss xmm0, dword [ebp - 0x5c]
movss dword [edi + 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