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

Disassembly:
mov dword [rsp + 0x20], r9d
mov dword [rsp + 0x18], r8d
movss dword [rsp + 0x10], xmm1
mov dword [rsp + 8], ecx
sub rsp, 0xf8
mov rax, qword [0x14066d440]
xor rax, rsp
mov qword [rsp + 0xe0], rax
xorps xmm0, xmm0
comiss xmm0, dword [rsp + 0x108]
jae 0x1400e05da
mov eax, dword [rsp + 0x118]
cmp dword [rsp + 0x110], eax
jne 0x1400e05e6
mov eax, dword [rsp + 0x110]
jmp 0x1400e0cb2
movss xmm0, dword [rsp + 0x108]
comiss xmm0, dword [0x1401a12e0]
jb 0x1400e0604
mov eax, dword [rsp + 0x118]
jmp 0x1400e0cb2
mov dword [rsp + 0x24], 0
movzx eax, byte [rsp + 0x120]
test eax, eax
je 0x1400e0b97
mov eax, dword [rsp + 0x110]
cvtsi2ss xmm0, rax
cvtss2sd xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll_fabs
cvtsd2ss xmm0, xmm0
movss dword [rsp + 0x5c], xmm0
movss xmm0, dword [rsp + 0x5c]
movss dword [rsp + 0x60], xmm0
movss xmm0, dword [rsp + 0x60]
movss xmm1, dword [rsp + 0x128]
comiss xmm1, xmm0
jbe 0x1400e06a4
mov eax, dword [rsp + 0x110]
cvtsi2ss xmm0, rax
xorps xmm1, xmm1
comiss xmm1, xmm0
jbe 0x1400e0687
movss xmm0, dword [rsp + 0x128]
xorps xmm0, xmmword [0x1401a4090]
movss dword [rsp + 0x40], xmm0
jmp 0x1400e0696
movss xmm0, dword [rsp + 0x128]
movss dword [rsp + 0x40], xmm0
movss xmm0, dword [rsp + 0x40]
movss dword [rsp + 0x44], xmm0
jmp 0x1400e06b6
mov eax, dword [rsp + 0x110]
cvtsi2ss xmm0, rax
movss dword [rsp + 0x44], xmm0
movss xmm0, dword [rsp + 0x44]
movss dword [rsp + 0xdc], xmm0
mov eax, dword [rsp + 0x118]
cvtsi2ss xmm0, rax
cvtss2sd xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll_fabs
cvtsd2ss xmm0, xmm0
movss dword [rsp + 0x64], xmm0
movss xmm0, dword [rsp + 0x64]
movss dword [rsp + 0x68], xmm0
movss xmm0, dword [rsp + 0x68]
movss xmm1, dword [rsp + 0x128]
comiss xmm1, xmm0
jbe 0x1400e074d
mov eax, dword [rsp + 0x118]
cvtsi2ss xmm0, rax
xorps xmm1, xmm1
comiss xmm1, xmm0
jbe 0x1400e0730
movss xmm0, dword [rsp + 0x128]
xorps xmm0, xmmword [0x1401a4090]
movss dword [rsp + 0x48], xmm0
jmp 0x1400e073f
movss xmm0, dword [rsp + 0x128]
movss dword [rsp + 0x48], xmm0
movss xmm0, dword [rsp + 0x48]
movss dword [rsp + 0x4c], xmm0
jmp 0x1400e075f
mov eax, dword [rsp + 0x118]
cvtsi2ss xmm0, rax
movss dword [rsp + 0x4c], xmm0
movss xmm0, dword [rsp + 0x4c]
movss dword [rsp + 0xd8], xmm0
mov eax, dword [rsp + 0x110]
cmp dword [rsp + 0x118], eax
jae 0x1400e0785
mov byte [rsp + 0x20], 1
jmp 0x1400e078a
mov byte [rsp + 0x20], 0
movzx eax, byte [rsp + 0x20]
mov byte [rsp + 0x21], al
movzx eax, byte [rsp + 0x21]
test eax, eax
je 0x1400e07cc
movss xmm0, dword [rsp + 0xdc]
movss dword [rsp + 0x6c], xmm0
movss xmm0, dword [rsp + 0xd8]
movss dword [rsp + 0xdc], xmm0
movss xmm0, dword [rsp + 0x6c]
movss dword [rsp + 0xd8], xmm0
mov eax, dword [rsp + 0x118]
cvtsi2ss xmm0, rax
ucomiss xmm0, dword [0x1401a1e60]
jp 0x1400e0810
jne 0x1400e0810
mov eax, dword [rsp + 0x110]
cvtsi2ss xmm0, rax
xorps xmm1, xmm1
comiss xmm1, xmm0
jbe 0x1400e0810
movss xmm0, dword [rsp + 0x128]
xorps xmm0, xmmword [0x1401a4090]
movss dword [rsp + 0xd8], xmm0
movzx eax, byte [rsp + 0x21]
test eax, eax
je 0x1400e0832
movss xmm0, dword [0x1401a12e0]
subss xmm0, dword [rsp + 0x108]
movss dword [rsp + 0x50], xmm0
jmp 0x1400e0841
movss xmm0, dword [rsp + 0x108]
movss dword [rsp + 0x50], xmm0
movss xmm0, dword [rsp + 0x50]
movss dword [rsp + 0x2c], xmm0
mov eax, dword [rsp + 0x110]
imul eax, dword [rsp + 0x118]
mov eax, eax
cvtsi2ss xmm0, rax
xorps xmm1, xmm1
comiss xmm1, xmm0
jbe 0x1400e0a83
mov eax, dword [rsp + 0x118]
cmp dword [rsp + 0x110], eax
jae 0x1400e088c
mov eax, dword [rsp + 0x110]
mov dword [rsp + 0x38], eax
jmp 0x1400e0897
mov eax, dword [rsp + 0x118]
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x38]
mov dword [rsp + 0x74], eax
mov eax, dword [rsp + 0x110]
cvtsi2ss xmm0, rax
mov eax, dword [rsp + 0x118]
cvtsi2ss xmm1, rax
subss xmm1, xmm0
movaps xmm0, xmm1
cvtss2sd xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll_fabs
cvtsd2ss xmm0, xmm0
movss dword [rsp + 0x70], xmm0
movss xmm0, dword [rsp + 0x70]
movss dword [rsp + 0x78], xmm0
mov eax, dword [rsp + 0x74]
mov eax, eax
cvtsi2ss xmm0, rax
xorps xmm0, xmmword [0x1401a4090]
movss xmm1, dword [rsp + 0x78]
divss xmm0, xmm1
movss dword [rsp + 0x30], xmm0
movss xmm0, dword [rsp + 0x30]
subss xmm0, dword [rsp + 0x130]
movss dword [rsp + 0x3c], xmm0
movss xmm0, dword [rsp + 0x30]
addss xmm0, dword [rsp + 0x130]
movss dword [rsp + 0x34], xmm0
movss xmm0, dword [rsp + 0x2c]
comiss xmm0, dword [rsp + 0x3c]
jb 0x1400e0950
movss xmm0, dword [rsp + 0x34]
comiss xmm0, dword [rsp + 0x2c]
jb 0x1400e0950
mov dword [rsp + 0x24], 0
jmp 0x1400e0a7e
movss xmm0, dword [rsp + 0x30]
comiss xmm0, dword [rsp + 0x2c]
jbe 0x1400e09f6
movss xmm0, dword [rsp + 0x2c]
divss xmm0, dword [rsp + 0x3c]
movss xmm1, dword [0x1401a12e0]
subss xmm1, xmm0
movaps xmm0, xmm1
movss dword [rsp + 0x80], xmm0
movss xmm0, dword [rsp + 0xdc]
xorps xmm0, xmmword [0x1401a4090]
divss xmm0, dword [rsp + 0x128]
movss dword [rsp + 0x88], xmm0
movss xmm1, dword [rsp + 0x80]
movss xmm0, dword [rsp + 0x88]
call qword [sym.imp.api_ms_win_crt_math_l1_1_0.dll_powf]
movss dword [rsp + 0x90], xmm0
movss xmm0, dword [rsp + 0x90]
movss xmm1, dword [rsp + 0x128]
mulss xmm1, xmm0
movaps xmm0, xmm1
xorps xmm0, xmmword [0x1401a4090]
cvttss2si rax, xmm0
mov dword [rsp + 0x24], eax
jmp 0x1400e0a7e
movss xmm0, dword [0x1401a12e0]
subss xmm0, dword [rsp + 0x34]
movss xmm1, dword [rsp + 0x2c]
subss xmm1, dword [rsp + 0x34]
divss xmm1, xmm0
movaps xmm0, xmm1
movss dword [rsp + 0x98], xmm0
movss xmm0, dword [rsp + 0xd8]
divss xmm0, dword [rsp + 0x128]
movss dword [rsp + 0xa0], xmm0
movss xmm1, dword [rsp + 0x98]
movss xmm0, dword [rsp + 0xa0]
call qword [sym.imp.api_ms_win_crt_math_l1_1_0.dll_powf]
movss dword [rsp + 0xa8], xmm0
movss xmm0, dword [rsp + 0xa8]
movss xmm1, dword [rsp + 0x128]
mulss xmm1, xmm0
movaps xmm0, xmm1
cvttss2si rax, xmm0
mov dword [rsp + 0x24], eax
jmp 0x1400e0b92
mov eax, dword [rsp + 0x110]
cvtsi2ss xmm0, rax
xorps xmm1, xmm1
comiss xmm1, xmm0
ja 0x1400e0aaf
mov eax, dword [rsp + 0x118]
cvtsi2ss xmm0, rax
xorps xmm1, xmm1
comiss xmm1, xmm0
jbe 0x1400e0b37
movss xmm0, dword [rsp + 0xd8]
xorps xmm0, xmmword [0x1401a4090]
movss xmm1, dword [rsp + 0xdc]
xorps xmm1, xmmword [0x1401a4090]
divss xmm1, xmm0
movaps xmm0, xmm1
movss dword [rsp + 0xb0], xmm0
movss xmm0, dword [0x1401a12e0]
subss xmm0, dword [rsp + 0x2c]
movaps xmm1, xmm0
movss xmm0, dword [rsp + 0xb0]
call qword [sym.imp.api_ms_win_crt_math_l1_1_0.dll_powf]
movss dword [rsp + 0xb8], xmm0
movss xmm0, dword [rsp + 0xd8]
xorps xmm0, xmmword [0x1401a4090]
movss xmm1, dword [rsp + 0xb8]
mulss xmm0, xmm1
xorps xmm0, xmmword [0x1401a4090]
cvttss2si rax, xmm0
mov dword [rsp + 0x24], eax
jmp 0x1400e0b92
movss xmm0, dword [rsp + 0xd8]
divss xmm0, dword [rsp + 0xdc]
movss dword [rsp + 0xc0], xmm0
movss xmm1, dword [rsp + 0x2c]
movss xmm0, dword [rsp + 0xc0]
call qword [sym.imp.api_ms_win_crt_math_l1_1_0.dll_powf]
movss dword [rsp + 0xc8], xmm0
movss xmm0, dword [rsp + 0xc8]
movss xmm1, dword [rsp + 0xdc]
mulss xmm1, xmm0
movaps xmm0, xmm1
cvttss2si rax, xmm0
mov dword [rsp + 0x24], eax
jmp 0x1400e0cae
cmp dword [rsp + 0x100], 8
je 0x1400e0bb2
cmp dword [rsp + 0x100], 9
je 0x1400e0bb2
mov byte [rsp + 0x22], 0
jmp 0x1400e0bb7
mov byte [rsp + 0x22], 1
movzx eax, byte [rsp + 0x22]
mov byte [rsp + 0x28], al
movzx eax, byte [rsp + 0x28]
test eax, eax
je 0x1400e0c11
mov eax, dword [rsp + 0x110]
cvtsi2ss xmm0, rax
mov eax, dword [rsp + 0x110]
mov ecx, dword [rsp + 0x118]
sub ecx, eax
mov eax, ecx
mov eax, eax
cvtsi2ss xmm1, rax
mulss xmm1, dword [rsp + 0x108]
addss xmm0, xmm1
cvttss2si rax, xmm0
mov dword [rsp + 0x54], eax
mov eax, dword [rsp + 0x54]
mov dword [rsp + 0x24], eax
jmp 0x1400e0cae
cvtss2sd xmm0, dword [rsp + 0x108]
movsd xmm1, qword [0x1401a3ec8]
comisd xmm1, xmm0
jbe 0x1400e0cae
mov eax, dword [rsp + 0x110]
mov ecx, dword [rsp + 0x118]
sub ecx, eax
mov eax, ecx
cvtsi2ss xmm0, eax
mulss xmm0, dword [rsp + 0x108]
movss dword [rsp + 0x58], xmm0
mov eax, dword [rsp + 0x118]
cmp dword [rsp + 0x110], eax
jbe 0x1400e0c74
movsd xmm0, qword [0x1401acc60]
movsd qword [rsp + 0xd0], xmm0
jmp 0x1400e0c85
movsd xmm0, qword [0x1401acc08]
movsd qword [rsp + 0xd0], xmm0
cvtsd2ss xmm0, qword [rsp + 0xd0]
movss xmm1, dword [rsp + 0x58]
addss xmm1, xmm0
movaps xmm0, xmm1
cvttss2si eax, xmm0
mov ecx, dword [rsp + 0x110]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0xe0]
xor rcx, rsp
call fcn.14019a660
add rsp, 0xf8
ret