Function at 0x1400a9970
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, 0xc8
mov rax, qword [0x140668b00]
xor rax, rsp
mov qword [rsp + 0xb0], rax
xorps xmm0, xmm0
comiss xmm0, dword [rsp + 0xd8]
jae 0x1400a99ba
mov eax, dword [rsp + 0xe8]
cmp dword [rsp + 0xe0], eax
jne 0x1400a99c6
mov eax, dword [rsp + 0xe0]
jmp 0x1400aa005
movss xmm0, dword [rsp + 0xd8]
comiss xmm0, dword [0x1401a5418]
jb 0x1400a99e4
mov eax, dword [rsp + 0xe8]
jmp 0x1400aa005
mov dword [rsp + 0x24], 0
movzx eax, byte [rsp + 0xf0]
test eax, eax
je 0x1400a9ee9
mov eax, dword [rsp + 0xe0]
cvtsi2ss xmm0, rax
cvtss2sd xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll_fabs
cvtsd2ss xmm0, xmm0
movss xmm1, dword [rsp + 0xf8]
comiss xmm1, xmm0
jbe 0x1400a9a6c
mov eax, dword [rsp + 0xe0]
cvtsi2ss xmm0, rax
xorps xmm1, xmm1
comiss xmm1, xmm0
jbe 0x1400a9a4f
movss xmm0, dword [rsp + 0xf8]
xorps xmm0, xmmword [0x1401aa040]
movss dword [rsp + 0x38], xmm0
jmp 0x1400a9a5e
movss xmm0, dword [rsp + 0xf8]
movss dword [rsp + 0x38], xmm0
movss xmm0, dword [rsp + 0x38]
movss dword [rsp + 0x3c], xmm0
jmp 0x1400a9a7e
mov eax, dword [rsp + 0xe0]
cvtsi2ss xmm0, rax
movss dword [rsp + 0x3c], xmm0
movss xmm0, dword [rsp + 0x3c]
movss dword [rsp + 0xac], xmm0
mov eax, dword [rsp + 0xe8]
cvtsi2ss xmm0, rax
cvtss2sd xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll_fabs
cvtsd2ss xmm0, xmm0
movss xmm1, dword [rsp + 0xf8]
comiss xmm1, xmm0
jbe 0x1400a9afd
mov eax, dword [rsp + 0xe8]
cvtsi2ss xmm0, rax
xorps xmm1, xmm1
comiss xmm1, xmm0
jbe 0x1400a9ae0
movss xmm0, dword [rsp + 0xf8]
xorps xmm0, xmmword [0x1401aa040]
movss dword [rsp + 0x40], xmm0
jmp 0x1400a9aef
movss xmm0, dword [rsp + 0xf8]
movss dword [rsp + 0x40], xmm0
movss xmm0, dword [rsp + 0x40]
movss dword [rsp + 0x44], xmm0
jmp 0x1400a9b0f
mov eax, dword [rsp + 0xe8]
cvtsi2ss xmm0, rax
movss dword [rsp + 0x44], xmm0
movss xmm0, dword [rsp + 0x44]
movss dword [rsp + 0xa8], xmm0
mov eax, dword [rsp + 0xe0]
cmp dword [rsp + 0xe8], eax
jae 0x1400a9b35
mov byte [rsp + 0x20], 1
jmp 0x1400a9b3a
mov byte [rsp + 0x20], 0
movzx eax, byte [rsp + 0x20]
mov byte [rsp + 0x21], al
movzx eax, byte [rsp + 0x21]
test eax, eax
je 0x1400a9b7c
movss xmm0, dword [rsp + 0xac]
movss dword [rsp + 0x54], xmm0
movss xmm0, dword [rsp + 0xa8]
movss dword [rsp + 0xac], xmm0
movss xmm0, dword [rsp + 0x54]
movss dword [rsp + 0xa8], xmm0
mov eax, dword [rsp + 0xe8]
cvtsi2ss xmm0, rax
ucomiss xmm0, dword [0x1401a9f5c]
jp 0x1400a9bc0
jne 0x1400a9bc0
mov eax, dword [rsp + 0xe0]
cvtsi2ss xmm0, rax
xorps xmm1, xmm1
comiss xmm1, xmm0
jbe 0x1400a9bc0
movss xmm0, dword [rsp + 0xf8]
xorps xmm0, xmmword [0x1401aa040]
movss dword [rsp + 0xa8], xmm0
movzx eax, byte [rsp + 0x21]
test eax, eax
je 0x1400a9be2
movss xmm0, dword [0x1401a5418]
subss xmm0, dword [rsp + 0xd8]
movss dword [rsp + 0x48], xmm0
jmp 0x1400a9bf1
movss xmm0, dword [rsp + 0xd8]
movss dword [rsp + 0x48], xmm0
movss xmm0, dword [rsp + 0x48]
movss dword [rsp + 0x2c], xmm0
mov eax, dword [rsp + 0xe0]
imul eax, dword [rsp + 0xe8]
mov eax, eax
cvtsi2ss xmm0, rax
xorps xmm1, xmm1
comiss xmm1, xmm0
jbe 0x1400a9de0
mov eax, dword [rsp + 0xe8]
cmp dword [rsp + 0xe0], eax
jae 0x1400a9c3c
mov eax, dword [rsp + 0xe0]
mov dword [rsp + 0x4c], eax
jmp 0x1400a9c47
mov eax, dword [rsp + 0xe8]
mov dword [rsp + 0x4c], eax
mov eax, dword [rsp + 0x4c]
cvtsi2ss xmm0, rax
xorps xmm0, xmmword [0x1401aa040]
movss dword [rsp + 0x58], xmm0
mov eax, dword [rsp + 0xe0]
cvtsi2ss xmm1, rax
mov eax, dword [rsp + 0xe8]
cvtsi2ss xmm2, rax
subss xmm2, xmm1
movaps xmm1, xmm2
cvtss2sd xmm1, xmm1
movaps xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll_fabs
cvtsd2ss xmm0, xmm0
movss xmm1, dword [rsp + 0x58]
divss xmm1, xmm0
movaps xmm0, xmm1
movss dword [rsp + 0x30], xmm0
movss xmm0, dword [rsp + 0x30]
subss xmm0, dword [rsp + 0x100]
movss dword [rsp + 0x50], xmm0
movss xmm0, dword [rsp + 0x30]
addss xmm0, dword [rsp + 0x100]
movss dword [rsp + 0x34], xmm0
movss xmm0, dword [rsp + 0x2c]
comiss xmm0, dword [rsp + 0x50]
jb 0x1400a9cf0
movss xmm0, dword [rsp + 0x34]
comiss xmm0, dword [rsp + 0x2c]
jb 0x1400a9cf0
mov dword [rsp + 0x24], 0
jmp 0x1400a9ddb
movss xmm0, dword [rsp + 0x30]
comiss xmm0, dword [rsp + 0x2c]
jbe 0x1400a9d71
movss xmm0, dword [rsp + 0x2c]
divss xmm0, dword [rsp + 0x50]
movss xmm1, dword [0x1401a5418]
subss xmm1, xmm0
movaps xmm0, xmm1
movss dword [rsp + 0x60], xmm0
movss xmm0, dword [rsp + 0xac]
xorps xmm0, xmmword [0x1401aa040]
divss xmm0, dword [rsp + 0xf8]
movss dword [rsp + 0x68], xmm0
movss xmm1, dword [rsp + 0x60]
movss xmm0, dword [rsp + 0x68]
call qword [sym.imp.api_ms_win_crt_math_l1_1_0.dll_powf]
movss xmm1, dword [rsp + 0xf8]
mulss xmm1, xmm0
movaps xmm0, xmm1
xorps xmm0, xmmword [0x1401aa040]
cvttss2si rax, xmm0
mov dword [rsp + 0x24], eax
jmp 0x1400a9ddb
movss xmm0, dword [0x1401a5418]
subss xmm0, dword [rsp + 0x34]
movss xmm1, dword [rsp + 0x2c]
subss xmm1, dword [rsp + 0x34]
divss xmm1, xmm0
movaps xmm0, xmm1
movss dword [rsp + 0x70], xmm0
movss xmm0, dword [rsp + 0xa8]
divss xmm0, dword [rsp + 0xf8]
movss dword [rsp + 0x78], xmm0
movss xmm1, dword [rsp + 0x70]
movss xmm0, dword [rsp + 0x78]
call qword [sym.imp.api_ms_win_crt_math_l1_1_0.dll_powf]
movss xmm1, dword [rsp + 0xf8]
mulss xmm1, xmm0
movaps xmm0, xmm1
cvttss2si rax, xmm0
mov dword [rsp + 0x24], eax
jmp 0x1400a9ee4
mov eax, dword [rsp + 0xe0]
cvtsi2ss xmm0, rax
xorps xmm1, xmm1
comiss xmm1, xmm0
ja 0x1400a9e0c
mov eax, dword [rsp + 0xe8]
cvtsi2ss xmm0, rax
xorps xmm1, xmm1
comiss xmm1, xmm0
jbe 0x1400a9e90
movss xmm0, dword [rsp + 0xa8]
xorps xmm0, xmmword [0x1401aa040]
movss xmm1, dword [rsp + 0xac]
xorps xmm1, xmmword [0x1401aa040]
divss xmm1, xmm0
movaps xmm0, xmm1
movss dword [rsp + 0x80], xmm0
movss xmm0, dword [0x1401a5418]
subss xmm0, dword [rsp + 0x2c]
movaps xmm1, xmm0
movss xmm0, dword [rsp + 0x80]
call qword [sym.imp.api_ms_win_crt_math_l1_1_0.dll_powf]
movss dword [rsp + 0x88], xmm0
movss xmm0, dword [rsp + 0xa8]
xorps xmm0, xmmword [0x1401aa040]
mulss xmm0, dword [rsp + 0x88]
xorps xmm0, xmmword [0x1401aa040]
cvttss2si rax, xmm0
mov dword [rsp + 0x24], eax
jmp 0x1400a9ee4
movss xmm0, dword [rsp + 0xa8]
divss xmm0, dword [rsp + 0xac]
movss dword [rsp + 0x90], xmm0
movss xmm1, dword [rsp + 0x2c]
movss xmm0, dword [rsp + 0x90]
call qword [sym.imp.api_ms_win_crt_math_l1_1_0.dll_powf]
movss dword [rsp + 0x98], xmm0
movss xmm0, dword [rsp + 0xac]
mulss xmm0, dword [rsp + 0x98]
cvttss2si rax, xmm0
mov dword [rsp + 0x24], eax
jmp 0x1400aa001
cmp dword [rsp + 0xd0], 8
je 0x1400a9f04
cmp dword [rsp + 0xd0], 9
je 0x1400a9f04
mov byte [rsp + 0x22], 0
jmp 0x1400a9f09
mov byte [rsp + 0x22], 1
movzx eax, byte [rsp + 0x22]
mov byte [rsp + 0x28], al
movzx eax, byte [rsp + 0x28]
test eax, eax
je 0x1400a9f5e
mov eax, dword [rsp + 0xe0]
mov ecx, dword [rsp + 0xe8]
sub ecx, eax
mov eax, ecx
mov eax, eax
cvtsi2ss xmm0, rax
mulss xmm0, dword [rsp + 0xd8]
mov eax, dword [rsp + 0xe0]
cvtsi2ss xmm1, rax
addss xmm1, xmm0
movaps xmm0, xmm1
cvttss2si rax, xmm0
mov dword [rsp + 0x24], eax
jmp 0x1400aa001
cvtss2sd xmm0, dword [rsp + 0xd8]
movsd xmm1, qword [0x1401af7b0]
comisd xmm1, xmm0
jbe 0x1400aa001
mov eax, dword [rsp + 0xe0]
mov ecx, dword [rsp + 0xe8]
sub ecx, eax
mov eax, ecx
cvtsi2ss xmm0, eax
mulss xmm0, dword [rsp + 0xd8]
movss dword [rsp + 0x9c], xmm0
mov eax, dword [rsp + 0xe8]
cmp dword [rsp + 0xe0], eax
jbe 0x1400a9fc4
movsd xmm0, qword [0x1401af800]
movsd qword [rsp + 0xa0], xmm0
jmp 0x1400a9fd5
movsd xmm0, qword [0x1401af7a8]
movsd qword [rsp + 0xa0], xmm0
cvtsd2ss xmm0, qword [rsp + 0xa0]
movss xmm1, dword [rsp + 0x9c]
addss xmm1, xmm0
movaps xmm0, xmm1
cvttss2si eax, xmm0
mov ecx, dword [rsp + 0xe0]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.14019e430
add rsp, 0xc8
ret