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

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
movss dword [rsp + 0x10], xmm1
mov dword [rsp + 8], ecx
sub rsp, 0x108
mov rax, qword [0x140668b00]
xor rax, rsp
mov qword [rsp + 0xf0], rax
xorps xmm0, xmm0
comiss xmm0, dword [rsp + 0x118]
jae 0x1400aadcc
mov rax, qword [rsp + 0x128]
cmp qword [rsp + 0x120], rax
jne 0x1400aadd9
mov rax, qword [rsp + 0x120]
jmp 0x1400ab485
movss xmm0, dword [rsp + 0x118]
comiss xmm0, dword [0x1401a5418]
jb 0x1400aadf8
mov rax, qword [rsp + 0x128]
jmp 0x1400ab485
mov qword [rsp + 0x28], 0
movzx eax, byte [rsp + 0x130]
test eax, eax
je 0x1400ab367
cvtss2sd xmm0, dword [rsp + 0x138]
movsd qword [rsp + 0x70], xmm0
cvtsi2sd xmm1, qword [rsp + 0x120]
movaps xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll_fabs
movsd xmm1, qword [rsp + 0x70]
comisd xmm1, xmm0
jbe 0x1400aae85
cvtsi2ss xmm0, qword [rsp + 0x120]
xorps xmm1, xmm1
comiss xmm1, xmm0
jbe 0x1400aae68
movss xmm0, dword [rsp + 0x138]
xorps xmm0, xmmword [0x1401aa040]
movss dword [rsp + 0x38], xmm0
jmp 0x1400aae77
movss xmm0, dword [rsp + 0x138]
movss dword [rsp + 0x38], xmm0
cvtss2sd xmm0, dword [rsp + 0x38]
movsd qword [rsp + 0x60], xmm0
jmp 0x1400aae95
cvtsi2sd xmm0, qword [rsp + 0x120]
movsd qword [rsp + 0x60], xmm0
movsd xmm0, qword [rsp + 0x60]
movsd qword [rsp + 0xe8], xmm0
cvtss2sd xmm0, dword [rsp + 0x138]
movsd qword [rsp + 0x78], xmm0
cvtsi2sd xmm1, qword [rsp + 0x128]
movaps xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll_fabs
movsd xmm1, qword [rsp + 0x78]
comisd xmm1, xmm0
jbe 0x1400aaf18
cvtsi2ss xmm0, qword [rsp + 0x128]
xorps xmm1, xmm1
comiss xmm1, xmm0
jbe 0x1400aaefb
movss xmm0, dword [rsp + 0x138]
xorps xmm0, xmmword [0x1401aa040]
movss dword [rsp + 0x3c], xmm0
jmp 0x1400aaf0a
movss xmm0, dword [rsp + 0x138]
movss dword [rsp + 0x3c], xmm0
cvtss2sd xmm0, dword [rsp + 0x3c]
movsd qword [rsp + 0x68], xmm0
jmp 0x1400aaf28
cvtsi2sd xmm0, qword [rsp + 0x128]
movsd qword [rsp + 0x68], xmm0
movsd xmm0, qword [rsp + 0x68]
movsd qword [rsp + 0xe0], xmm0
mov rax, qword [rsp + 0x120]
cmp qword [rsp + 0x128], rax
jge 0x1400aaf50
mov byte [rsp + 0x20], 1
jmp 0x1400aaf55
mov byte [rsp + 0x20], 0
movzx eax, byte [rsp + 0x20]
mov byte [rsp + 0x21], al
movzx eax, byte [rsp + 0x21]
test eax, eax
je 0x1400aaf9d
movsd xmm0, qword [rsp + 0xe8]
movsd qword [rsp + 0x80], xmm0
movsd xmm0, qword [rsp + 0xe0]
movsd qword [rsp + 0xe8], xmm0
movsd xmm0, qword [rsp + 0x80]
movsd qword [rsp + 0xe0], xmm0
cvtsi2ss xmm0, qword [rsp + 0x128]
ucomiss xmm0, dword [0x1401a9f5c]
jp 0x1400aafe1
jne 0x1400aafe1
cvtsi2ss xmm0, qword [rsp + 0x120]
xorps xmm1, xmm1
comiss xmm1, xmm0
jbe 0x1400aafe1
movss xmm0, dword [rsp + 0x138]
xorps xmm0, xmmword [0x1401aa040]
cvtss2sd xmm0, xmm0
movsd qword [rsp + 0xe0], xmm0
movzx eax, byte [rsp + 0x21]
test eax, eax
je 0x1400ab003
movss xmm0, dword [0x1401a5418]
subss xmm0, dword [rsp + 0x118]
movss dword [rsp + 0x40], xmm0
jmp 0x1400ab012
movss xmm0, dword [rsp + 0x118]
movss dword [rsp + 0x40], xmm0
movss xmm0, dword [rsp + 0x40]
movss dword [rsp + 0x24], xmm0
mov rax, qword [rsp + 0x120]
imul rax, qword [rsp + 0x128]
cvtsi2ss xmm0, rax
xorps xmm1, xmm1
comiss xmm1, xmm0
jbe 0x1400ab25b
mov rax, qword [rsp + 0x128]
cmp qword [rsp + 0x120], rax
jge 0x1400ab061
mov rax, qword [rsp + 0x120]
mov qword [rsp + 0x50], rax
jmp 0x1400ab06e
mov rax, qword [rsp + 0x128]
mov qword [rsp + 0x50], rax
cvtsi2ss xmm0, qword [rsp + 0x50]
xorps xmm0, xmmword [0x1401aa040]
movss dword [rsp + 0x48], xmm0
cvtsi2ss xmm1, qword [rsp + 0x120]
cvtsi2ss xmm2, qword [rsp + 0x128]
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 + 0x48]
divss xmm1, xmm0
movaps xmm0, xmm1
movss dword [rsp + 0x30], xmm0
movss xmm0, dword [rsp + 0x30]
subss xmm0, dword [rsp + 0x140]
movss dword [rsp + 0x44], xmm0
movss xmm0, dword [rsp + 0x30]
addss xmm0, dword [rsp + 0x140]
movss dword [rsp + 0x34], xmm0
movss xmm0, dword [rsp + 0x24]
comiss xmm0, dword [rsp + 0x44]
jb 0x1400ab112
movss xmm0, dword [rsp + 0x34]
comiss xmm0, dword [rsp + 0x24]
jb 0x1400ab112
mov qword [rsp + 0x28], 0
jmp 0x1400ab256
movss xmm0, dword [rsp + 0x30]
comiss xmm0, dword [rsp + 0x24]
jbe 0x1400ab1c3
movss xmm0, dword [rsp + 0x24]
divss xmm0, dword [rsp + 0x44]
movss xmm1, dword [0x1401a5418]
subss xmm1, xmm0
movaps xmm0, xmm1
cvtss2sd xmm0, xmm0
movsd qword [rsp + 0x88], xmm0
cvtss2sd xmm0, dword [rsp + 0x138]
movsd xmm1, qword [rsp + 0xe8]
xorps xmm1, xmmword [0x1401af820]
divsd xmm1, xmm0
movaps xmm0, xmm1
movsd qword [rsp + 0x90], xmm0
cvtss2sd xmm0, dword [rsp + 0x138]
movsd qword [rsp + 0x98], xmm0
movsd xmm1, qword [rsp + 0x88]
movsd xmm0, qword [rsp + 0x90]
call sub.api_ms_win_crt_math_l1_1_0.dll_pow
movsd xmm1, qword [rsp + 0x98]
mulsd xmm1, xmm0
movaps xmm0, xmm1
xorps xmm0, xmmword [0x1401af820]
cvttsd2si rax, xmm0
mov qword [rsp + 0x28], rax
jmp 0x1400ab256
movss xmm0, dword [0x1401a5418]
subss xmm0, dword [rsp + 0x34]
movss xmm1, dword [rsp + 0x24]
subss xmm1, dword [rsp + 0x34]
divss xmm1, xmm0
movaps xmm0, xmm1
cvtss2sd xmm0, xmm0
movsd qword [rsp + 0xa0], xmm0
cvtss2sd xmm0, dword [rsp + 0x138]
movsd xmm1, qword [rsp + 0xe0]
divsd xmm1, xmm0
movaps xmm0, xmm1
movsd qword [rsp + 0xa8], xmm0
cvtss2sd xmm0, dword [rsp + 0x138]
movsd qword [rsp + 0xb0], xmm0
movsd xmm1, qword [rsp + 0xa0]
movsd xmm0, qword [rsp + 0xa8]
call sub.api_ms_win_crt_math_l1_1_0.dll_pow
movsd xmm1, qword [rsp + 0xb0]
mulsd xmm1, xmm0
movaps xmm0, xmm1
cvttsd2si rax, xmm0
mov qword [rsp + 0x28], rax
jmp 0x1400ab362
cvtsi2ss xmm0, qword [rsp + 0x120]
xorps xmm1, xmm1
comiss xmm1, xmm0
ja 0x1400ab283
cvtsi2ss xmm0, qword [rsp + 0x128]
xorps xmm1, xmm1
comiss xmm1, xmm0
jbe 0x1400ab30b
movsd xmm0, qword [rsp + 0xe0]
xorps xmm0, xmmword [0x1401af820]
movsd xmm1, qword [rsp + 0xe8]
xorps xmm1, xmmword [0x1401af820]
divsd xmm1, xmm0
movaps xmm0, xmm1
movsd qword [rsp + 0xb8], xmm0
movss xmm0, dword [0x1401a5418]
subss xmm0, dword [rsp + 0x24]
cvtss2sd xmm0, xmm0
movaps xmm1, xmm0
movsd xmm0, qword [rsp + 0xb8]
call sub.api_ms_win_crt_math_l1_1_0.dll_pow
movsd qword [rsp + 0xc0], xmm0
movsd xmm0, qword [rsp + 0xe0]
xorps xmm0, xmmword [0x1401af820]
mulsd xmm0, qword [rsp + 0xc0]
xorps xmm0, xmmword [0x1401af820]
cvttsd2si rax, xmm0
mov qword [rsp + 0x28], rax
jmp 0x1400ab362
movsd xmm0, qword [rsp + 0xe0]
divsd xmm0, qword [rsp + 0xe8]
movsd qword [rsp + 0xc8], xmm0
cvtss2sd xmm0, dword [rsp + 0x24]
movaps xmm1, xmm0
movsd xmm0, qword [rsp + 0xc8]
call sub.api_ms_win_crt_math_l1_1_0.dll_pow
movsd qword [rsp + 0xd0], xmm0
movsd xmm0, qword [rsp + 0xe8]
mulsd xmm0, qword [rsp + 0xd0]
cvttsd2si rax, xmm0
mov qword [rsp + 0x28], rax
jmp 0x1400ab480
cmp dword [rsp + 0x110], 8
je 0x1400ab382
cmp dword [rsp + 0x110], 9
je 0x1400ab382
mov byte [rsp + 0x22], 0
jmp 0x1400ab387
mov byte [rsp + 0x22], 1
movzx eax, byte [rsp + 0x22]
mov byte [rsp + 0x23], al
movzx eax, byte [rsp + 0x23]
test eax, eax
je 0x1400ab3dd
mov rax, qword [rsp + 0x120]
mov rcx, qword [rsp + 0x128]
sub rcx, rax
mov rax, rcx
cvtsi2ss xmm0, rax
mulss xmm0, dword [rsp + 0x118]
cvtsi2ss xmm1, qword [rsp + 0x120]
addss xmm1, xmm0
movaps xmm0, xmm1
cvttss2si rax, xmm0
mov qword [rsp + 0x28], rax
jmp 0x1400ab480
cvtss2sd xmm0, dword [rsp + 0x118]
movsd xmm1, qword [0x1401af7b0]
comisd xmm1, xmm0
jbe 0x1400ab480
mov rax, qword [rsp + 0x120]
mov rcx, qword [rsp + 0x128]
sub rcx, rax
mov rax, rcx
cvtsi2ss xmm0, rax
mulss xmm0, dword [rsp + 0x118]
cvtss2sd xmm0, xmm0
movsd qword [rsp + 0xd8], xmm0
mov rax, qword [rsp + 0x128]
cmp qword [rsp + 0x120], rax
jle 0x1400ab44b
movsd xmm0, qword [0x1401af800]
movsd qword [rsp + 0x58], xmm0
jmp 0x1400ab459
movsd xmm0, qword [0x1401af7a8]
movsd qword [rsp + 0x58], xmm0
movsd xmm0, qword [rsp + 0xd8]
addsd xmm0, qword [rsp + 0x58]
cvttsd2si rax, xmm0
mov rcx, qword [rsp + 0x120]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0xf0]
xor rcx, rsp
call fcn.14019e430
add rsp, 0x108
ret