Function at 0x14005ac00
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, 0xe8
mov eax, dword [rsp + 0x108]
cmp dword [rsp + 0x100], eax
jne 0x14005ac32
xor eax, eax
jmp 0x14005b305
cmp dword [rsp + 0xf0], 8
je 0x14005ac4d
cmp dword [rsp + 0xf0], 9
je 0x14005ac4d
mov byte [rsp + 0x20], 0
jmp 0x14005ac52
mov byte [rsp + 0x20], 1
movzx eax, byte [rsp + 0x20]
mov byte [rsp + 0x28], al
movzx eax, byte [rsp + 0x110]
test eax, eax
je 0x14005b1fa
xorps xmm0, xmm0
comiss xmm0, dword [rsp + 0xf8]
jb 0x14005ac88
mov eax, dword [rsp + 0x100]
mov dword [rsp + 0x24], eax
jmp 0x14005b1f5
movss xmm0, dword [rsp + 0xf8]
comiss xmm0, dword [0x14009f648]
jb 0x14005acaa
mov eax, dword [rsp + 0x108]
mov dword [rsp + 0x24], eax
jmp 0x14005b1f5
mov eax, dword [rsp + 0x100]
cmp dword [rsp + 0x108], eax
jae 0x14005acc4
mov dword [rsp + 0x40], 1
jmp 0x14005accc
mov dword [rsp + 0x40], 0
movzx eax, byte [rsp + 0x40]
mov byte [rsp + 0x21], al
mov eax, dword [rsp + 0x100]
cvtsi2ss xmm0, rax
cvtss2sd xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll_fabs
cvtsd2ss xmm0, xmm0
movss dword [rsp + 0x60], xmm0
movss xmm0, dword [rsp + 0x60]
movss dword [rsp + 0x64], xmm0
movss xmm0, dword [rsp + 0x64]
movss xmm1, dword [rsp + 0x118]
comiss xmm1, xmm0
jbe 0x14005ad5d
mov eax, dword [rsp + 0x100]
cvtsi2ss xmm0, rax
xorps xmm1, xmm1
comiss xmm1, xmm0
jbe 0x14005ad40
movss xmm0, dword [rsp + 0x118]
xorps xmm0, xmmword [0x14009f700]
movss dword [rsp + 0x44], xmm0
jmp 0x14005ad4f
movss xmm0, dword [rsp + 0x118]
movss dword [rsp + 0x44], xmm0
movss xmm0, dword [rsp + 0x44]
movss dword [rsp + 0x48], xmm0
jmp 0x14005ad6f
mov eax, dword [rsp + 0x100]
cvtsi2ss xmm0, rax
movss dword [rsp + 0x48], xmm0
movss xmm0, dword [rsp + 0x48]
movss dword [rsp + 0x34], xmm0
mov eax, dword [rsp + 0x108]
cvtsi2ss xmm0, rax
cvtss2sd xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll_fabs
cvtsd2ss xmm0, xmm0
movss dword [rsp + 0x68], xmm0
movss xmm0, dword [rsp + 0x68]
movss dword [rsp + 0x6c], xmm0
movss xmm0, dword [rsp + 0x6c]
movss xmm1, dword [rsp + 0x118]
comiss xmm1, xmm0
jbe 0x14005ae03
mov eax, dword [rsp + 0x108]
cvtsi2ss xmm0, rax
xorps xmm1, xmm1
comiss xmm1, xmm0
jbe 0x14005ade6
movss xmm0, dword [rsp + 0x118]
xorps xmm0, xmmword [0x14009f700]
movss dword [rsp + 0x4c], xmm0
jmp 0x14005adf5
movss xmm0, dword [rsp + 0x118]
movss dword [rsp + 0x4c], xmm0
movss xmm0, dword [rsp + 0x4c]
movss dword [rsp + 0x50], xmm0
jmp 0x14005ae15
mov eax, dword [rsp + 0x108]
cvtsi2ss xmm0, rax
movss dword [rsp + 0x50], xmm0
movss xmm0, dword [rsp + 0x50]
movss dword [rsp + 0x2c], xmm0
movzx eax, byte [rsp + 0x21]
test eax, eax
je 0x14005ae4e
movss xmm0, dword [rsp + 0x34]
movss dword [rsp + 0x70], xmm0
movss xmm0, dword [rsp + 0x2c]
movss dword [rsp + 0x34], xmm0
movss xmm0, dword [rsp + 0x70]
movss dword [rsp + 0x2c], xmm0
mov eax, dword [rsp + 0x108]
cvtsi2ss xmm0, rax
ucomiss xmm0, dword [0x14009f5dc]
jp 0x14005ae8f
jne 0x14005ae8f
mov eax, dword [rsp + 0x100]
cvtsi2ss xmm0, rax
xorps xmm1, xmm1
comiss xmm1, xmm0
jbe 0x14005ae8f
movss xmm0, dword [rsp + 0x118]
xorps xmm0, xmmword [0x14009f700]
movss dword [rsp + 0x2c], xmm0
movzx eax, byte [rsp + 0x21]
test eax, eax
je 0x14005aeb1
movss xmm0, dword [0x14009f648]
subss xmm0, dword [rsp + 0xf8]
movss dword [rsp + 0x54], xmm0
jmp 0x14005aec0
movss xmm0, dword [rsp + 0xf8]
movss dword [rsp + 0x54], xmm0
movss xmm0, dword [rsp + 0x54]
movss dword [rsp + 0x30], xmm0
mov eax, dword [rsp + 0x100]
imul eax, dword [rsp + 0x108]
mov eax, eax
cvtsi2ss xmm0, rax
xorps xmm1, xmm1
comiss xmm1, xmm0
jbe 0x14005b0fc
mov eax, dword [rsp + 0x108]
cmp dword [rsp + 0x100], eax
jae 0x14005af0b
mov eax, dword [rsp + 0x100]
mov dword [rsp + 0x58], eax
jmp 0x14005af16
mov eax, dword [rsp + 0x108]
mov dword [rsp + 0x58], eax
mov eax, dword [rsp + 0x58]
mov dword [rsp + 0x78], eax
mov eax, dword [rsp + 0x100]
cvtsi2ss xmm0, rax
mov eax, dword [rsp + 0x108]
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 + 0x74], xmm0
movss xmm0, dword [rsp + 0x74]
movss dword [rsp + 0x7c], xmm0
mov eax, dword [rsp + 0x78]
mov eax, eax
cvtsi2ss xmm0, rax
xorps xmm0, xmmword [0x14009f700]
movss xmm1, dword [rsp + 0x7c]
divss xmm0, xmm1
movss dword [rsp + 0x38], xmm0
movss xmm0, dword [rsp + 0x38]
subss xmm0, dword [rsp + 0x120]
movss dword [rsp + 0x5c], xmm0
movss xmm0, dword [rsp + 0x38]
addss xmm0, dword [rsp + 0x120]
movss dword [rsp + 0x3c], xmm0
movss xmm0, dword [rsp + 0x30]
comiss xmm0, dword [rsp + 0x5c]
jb 0x14005afcf
movss xmm0, dword [rsp + 0x3c]
comiss xmm0, dword [rsp + 0x30]
jb 0x14005afcf
mov dword [rsp + 0x24], 0
jmp 0x14005b0f7
movss xmm0, dword [rsp + 0x38]
comiss xmm0, dword [rsp + 0x30]
jbe 0x14005b072
movss xmm0, dword [rsp + 0x30]
divss xmm0, dword [rsp + 0x5c]
movss xmm1, dword [0x14009f648]
subss xmm1, xmm0
movaps xmm0, xmm1
movss dword [rsp + 0x80], xmm0
movss xmm0, dword [rsp + 0x34]
xorps xmm0, xmmword [0x14009f700]
divss xmm0, dword [rsp + 0x118]
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 + 0x118]
mulss xmm1, xmm0
movaps xmm0, xmm1
xorps xmm0, xmmword [0x14009f700]
cvttss2si rax, xmm0
mov dword [rsp + 0x24], eax
jmp 0x14005b0f7
movss xmm0, dword [0x14009f648]
subss xmm0, dword [rsp + 0x3c]
movss xmm1, dword [rsp + 0x30]
subss xmm1, dword [rsp + 0x3c]
divss xmm1, xmm0
movaps xmm0, xmm1
movss dword [rsp + 0x98], xmm0
movss xmm0, dword [rsp + 0x2c]
divss xmm0, dword [rsp + 0x118]
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 + 0x118]
mulss xmm1, xmm0
movaps xmm0, xmm1
cvttss2si rax, xmm0
mov dword [rsp + 0x24], eax
jmp 0x14005b1f5
mov eax, dword [rsp + 0x100]
cvtsi2ss xmm0, rax
xorps xmm1, xmm1
comiss xmm1, xmm0
ja 0x14005b124
mov eax, dword [rsp + 0x108]
cvtsi2ss xmm0, rax
xorps xmm1, xmm1
comiss xmm1, xmm0
jbe 0x14005b1a3
movss xmm0, dword [rsp + 0x2c]
xorps xmm0, xmmword [0x14009f700]
movss xmm1, dword [rsp + 0x34]
xorps xmm1, xmmword [0x14009f700]
divss xmm1, xmm0
movaps xmm0, xmm1
movss dword [rsp + 0xb0], xmm0
movss xmm0, dword [0x14009f648]
subss xmm0, dword [rsp + 0x30]
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 + 0x2c]
xorps xmm0, xmmword [0x14009f700]
movss xmm1, dword [rsp + 0xb8]
mulss xmm0, xmm1
xorps xmm0, xmmword [0x14009f700]
cvttss2si rax, xmm0
mov dword [rsp + 0x24], eax
jmp 0x14005b1f5
movss xmm0, dword [rsp + 0x2c]
divss xmm0, dword [rsp + 0x34]
movss dword [rsp + 0xc0], xmm0
movss xmm1, dword [rsp + 0x30]
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 + 0x34]
mulss xmm1, xmm0
movaps xmm0, xmm1
cvttss2si rax, xmm0
mov dword [rsp + 0x24], eax
jmp 0x14005b301
movzx eax, byte [rsp + 0x28]
test eax, eax
je 0x14005b251
mov eax, dword [rsp + 0x100]
cvtsi2ss xmm0, rax
mov eax, dword [rsp + 0x100]
mov ecx, dword [rsp + 0x108]
sub ecx, eax
mov eax, ecx
mov eax, eax
cvtsi2ss xmm1, rax
mulss xmm1, dword [rsp + 0xf8]
addss xmm0, xmm1
cvttss2si rax, xmm0
mov dword [rsp + 0xcc], eax
mov eax, dword [rsp + 0xcc]
mov dword [rsp + 0x24], eax
jmp 0x14005b301
cvtss2sd xmm0, dword [rsp + 0xf8]
movsd xmm1, qword [0x1400a5a98]
comisd xmm1, xmm0
jbe 0x14005b2f6
mov eax, dword [rsp + 0x100]
mov ecx, dword [rsp + 0x108]
sub ecx, eax
mov eax, ecx
cvtsi2ss xmm0, eax
mulss xmm0, dword [rsp + 0xf8]
movss dword [rsp + 0xd0], xmm0
mov eax, dword [rsp + 0x108]
cmp dword [rsp + 0x100], eax
jbe 0x14005b2b7
movsd xmm0, qword [0x1400a5b00]
movsd qword [rsp + 0xd8], xmm0
jmp 0x14005b2c8
movsd xmm0, qword [0x1400a5a90]
movsd qword [rsp + 0xd8], xmm0
cvtsd2ss xmm0, qword [rsp + 0xd8]
movss xmm1, dword [rsp + 0xd0]
addss xmm1, xmm0
movaps xmm0, xmm1
cvttss2si eax, xmm0
mov ecx, dword [rsp + 0x100]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x24], eax
jmp 0x14005b301
mov eax, dword [rsp + 0x108]
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x24]
add rsp, 0xe8
ret