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

Disassembly:
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0xc8
mov rax, qword [0x1401538d8]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x4148]
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0xa0]
mov ecx, dword [rcx + 0x198]
cmp dword [rax + 0x4cf0], ecx
je 0x140066b00
xor al, al
jmp 0x140067123
lea rax, [rsp + 0x58]
mov rcx, qword [rsp + 0x30]
mov rdi, rax
lea rsi, [rcx + 0x4ad4]
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x70]
mov rcx, qword [rsp + 0x30]
mov rdi, rax
lea rsi, [rcx + 0x4d64]
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x4d84]
inc eax
mov rcx, qword [rsp + 0x30]
mov dword [rcx + 0x4d84], eax
mov rax, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x30]
mov rcx, qword [rcx + 0x4cb8]
cmp qword [rax + 0x3b0], rcx
jne 0x140066bbc
mov rax, qword [rsp + 0xa0]
add rax, 0x278
mov qword [rsp + 0xb0], rax
lea rdx, [rsp + 0x58]
mov rcx, qword [rsp + 0xb0]
call fcn.14006c600
movzx eax, al
test eax, eax
jne 0x140066ba1
xor al, al
jmp 0x140067123
mov rax, qword [rsp + 0xa0]
add rax, 0x278
mov rdx, rax
lea rcx, [rsp + 0x58]
call fcn.140046150
movss xmm0, dword [rsp + 0x70]
comiss xmm0, dword [rsp + 0x60]
jbe 0x140066bdd
movss xmm0, dword [rsp + 0x60]
subss xmm0, dword [rsp + 0x70]
movss dword [rsp + 0x24], xmm0
jmp 0x140066c07
movss xmm0, dword [rsp + 0x58]
comiss xmm0, dword [rsp + 0x78]
jbe 0x140066bfe
movss xmm0, dword [rsp + 0x58]
subss xmm0, dword [rsp + 0x78]
movss dword [rsp + 0x24], xmm0
jmp 0x140066c07
xorps xmm0, xmm0
movss dword [rsp + 0x24], xmm0
movss xmm0, dword [rsp + 0x7c]
subss xmm0, dword [rsp + 0x74]
mulss xmm0, dword [0x14011d418]
movss xmm1, dword [rsp + 0x74]
addss xmm1, xmm0
movaps xmm0, xmm1
movss dword [rsp + 0x8c], xmm0
movss xmm0, dword [rsp + 0x7c]
subss xmm0, dword [rsp + 0x74]
mulss xmm0, dword [0x14011d3e0]
movss xmm1, dword [rsp + 0x74]
addss xmm1, xmm0
movaps xmm0, xmm1
movss dword [rsp + 0x84], xmm0
movss xmm0, dword [rsp + 0x64]
subss xmm0, dword [rsp + 0x5c]
mulss xmm0, dword [0x14011d418]
movss xmm1, dword [rsp + 0x5c]
addss xmm1, xmm0
movaps xmm0, xmm1
movss dword [rsp + 0x80], xmm0
movss xmm0, dword [rsp + 0x64]
subss xmm0, dword [rsp + 0x5c]
mulss xmm0, dword [0x14011d3e0]
movss xmm1, dword [rsp + 0x5c]
addss xmm1, xmm0
movaps xmm0, xmm1
movss dword [rsp + 0x88], xmm0
movss xmm0, dword [rsp + 0x84]
comiss xmm0, dword [rsp + 0x80]
jbe 0x140066cdc
movss xmm0, dword [rsp + 0x80]
subss xmm0, dword [rsp + 0x84]
movss dword [rsp + 0x28], xmm0
jmp 0x140066d12
movss xmm0, dword [rsp + 0x88]
comiss xmm0, dword [rsp + 0x8c]
jbe 0x140066d09
movss xmm0, dword [rsp + 0x88]
subss xmm0, dword [rsp + 0x8c]
movss dword [rsp + 0x28], xmm0
jmp 0x140066d12
xorps xmm0, xmm0
movss dword [rsp + 0x28], xmm0
movss xmm0, dword [rsp + 0x28]
ucomiss xmm0, dword [0x14011d3b4]
jp 0x140066d23
je 0x140066d84
movss xmm0, dword [rsp + 0x24]
ucomiss xmm0, dword [0x14011d3b4]
jp 0x140066d34
je 0x140066d84
movss xmm0, dword [rsp + 0x24]
comiss xmm0, dword [0x14011d3b4]
jbe 0x140066d56
movss xmm0, dword [0x140116c6c]
movss dword [rsp + 0x90], xmm0
jmp 0x140066d67
movss xmm0, dword [0x140116c8c]
movss dword [rsp + 0x90], xmm0
movss xmm0, dword [rsp + 0x24]
divss xmm0, dword [0x14011d494]
addss xmm0, dword [rsp + 0x90]
movss dword [rsp + 0x24], xmm0
cvtss2sd xmm0, dword [rsp + 0x24]
call sub.api_ms_win_crt_math_l1_1_0.dll_fabs
cvtsd2ss xmm0, xmm0
movss dword [rsp + 0xa8], xmm0
cvtss2sd xmm0, dword [rsp + 0x28]
call sub.api_ms_win_crt_math_l1_1_0.dll_fabs
cvtsd2ss xmm0, xmm0
movss xmm1, dword [rsp + 0xa8]
addss xmm1, xmm0
movaps xmm0, xmm1
movss dword [rsp + 0x44], xmm0
movss xmm0, dword [rsp + 0x58]
addss xmm0, dword [rsp + 0x60]
movss xmm1, dword [rsp + 0x70]
addss xmm1, dword [rsp + 0x78]
subss xmm0, xmm1
movss dword [rsp + 0x40], xmm0
movss xmm0, dword [rsp + 0x5c]
addss xmm0, dword [rsp + 0x64]
movss xmm1, dword [rsp + 0x74]
addss xmm1, dword [rsp + 0x7c]
subss xmm0, xmm1
movss dword [rsp + 0x3c], xmm0
cvtss2sd xmm0, dword [rsp + 0x40]
call sub.api_ms_win_crt_math_l1_1_0.dll_fabs
cvtsd2ss xmm0, xmm0
movss dword [rsp + 0xac], xmm0
cvtss2sd xmm0, dword [rsp + 0x3c]
call sub.api_ms_win_crt_math_l1_1_0.dll_fabs
cvtsd2ss xmm0, xmm0
movss xmm1, dword [rsp + 0xac]
addss xmm1, xmm0
movaps xmm0, xmm1
movss dword [rsp + 0x38], xmm0
xorps xmm0, xmm0
movss dword [rsp + 0x48], xmm0
xorps xmm0, xmm0
movss dword [rsp + 0x4c], xmm0
xorps xmm0, xmm0
movss dword [rsp + 0x50], xmm0
movss xmm0, dword [rsp + 0x24]
ucomiss xmm0, dword [0x14011d3b4]
jp 0x140066e7f
jne 0x140066e7f
movss xmm0, dword [rsp + 0x28]
ucomiss xmm0, dword [0x14011d3b4]
jp 0x140066e7f
je 0x140066ebd
movss xmm0, dword [rsp + 0x24]
movss dword [rsp + 0x48], xmm0
movss xmm0, dword [rsp + 0x28]
movss dword [rsp + 0x4c], xmm0
movss xmm0, dword [rsp + 0x44]
movss dword [rsp + 0x50], xmm0
movss xmm1, dword [rsp + 0x28]
movss xmm0, dword [rsp + 0x24]
call fcn.14005f690
mov dword [rsp + 0x68], eax
jmp 0x140066f55
movss xmm0, dword [rsp + 0x40]
ucomiss xmm0, dword [0x14011d3b4]
jp 0x140066edf
jne 0x140066edf
movss xmm0, dword [rsp + 0x3c]
ucomiss xmm0, dword [0x14011d3b4]
jp 0x140066edf
je 0x140066f1a
movss xmm0, dword [rsp + 0x40]
movss dword [rsp + 0x48], xmm0
movss xmm0, dword [rsp + 0x3c]
movss dword [rsp + 0x4c], xmm0
movss xmm0, dword [rsp + 0x38]
movss dword [rsp + 0x50], xmm0
movss xmm1, dword [rsp + 0x3c]
movss xmm0, dword [rsp + 0x40]
call fcn.14005f690
mov dword [rsp + 0x68], eax
jmp 0x140066f55
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x30]
mov ecx, dword [rcx + 0x4cc0]
cmp dword [rax + 0x4ab8], ecx
jae 0x140066f3f
mov dword [rsp + 0x94], 0
jmp 0x140066f4a
mov dword [rsp + 0x94], 1
mov eax, dword [rsp + 0x94]
mov dword [rsp + 0x68], eax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x4d58]
mov dword [rsp + 0x2c], eax
mov byte [rsp + 0x20], 0
mov eax, dword [rsp + 0x2c]
cmp dword [rsp + 0x68], eax
jne 0x14006705a
mov rax, qword [rsp + 0xe0]
movss xmm0, dword [rax + 0x30]
comiss xmm0, dword [rsp + 0x44]
jbe 0x140066fb8
mov rax, qword [rsp + 0xe0]
movss xmm0, dword [rsp + 0x44]
movss dword [rax + 0x30], xmm0
mov rax, qword [rsp + 0xe0]
movss xmm0, dword [rsp + 0x38]
movss dword [rax + 0x34], xmm0
mov al, 1
jmp 0x140067123
mov rax, qword [rsp + 0xe0]
movss xmm0, dword [rsp + 0x44]
ucomiss xmm0, dword [rax + 0x30]
jp 0x14006705a
jne 0x14006705a
mov rax, qword [rsp + 0xe0]
movss xmm0, dword [rax + 0x34]
comiss xmm0, dword [rsp + 0x38]
jbe 0x140067004
mov rax, qword [rsp + 0xe0]
movss xmm0, dword [rsp + 0x38]
movss dword [rax + 0x34], xmm0
mov byte [rsp + 0x20], 1
jmp 0x14006705a
mov rax, qword [rsp + 0xe0]
movss xmm0, dword [rsp + 0x38]
ucomiss xmm0, dword [rax + 0x34]
jp 0x14006705a
jne 0x14006705a
cmp dword [rsp + 0x2c], 2
je 0x140067039
cmp dword [rsp + 0x2c], 3
je 0x140067039
movss xmm0, dword [rsp + 0x24]
movss dword [rsp + 0x98], xmm0
jmp 0x140067048
movss xmm0, dword [rsp + 0x28]
movss dword [rsp + 0x98], xmm0
xorps xmm0, xmm0
comiss xmm0, dword [rsp + 0x98]
jbe 0x14006705a
mov byte [rsp + 0x20], 1
mov rax, qword [rsp + 0xe0]
movss xmm0, dword [rax + 0x30]
ucomiss xmm0, dword [0x14011d498]
jp 0x14006711e
jne 0x14006711e
mov rax, qword [rsp + 0xe0]
movss xmm0, dword [rax + 0x38]
comiss xmm0, dword [rsp + 0x50]
jbe 0x14006711e
mov rax, qword [rsp + 0x30]
cmp dword [rax + 0x4cf0], 1
jne 0x14006711e
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x4cb8]
mov eax, dword [rax + 0x14]
and eax, 0x10000000
test eax, eax
jne 0x14006711e
cmp dword [rsp + 0x2c], 0
jne 0x1400670c9
xorps xmm0, xmm0
comiss xmm0, dword [rsp + 0x48]
ja 0x140067106
cmp dword [rsp + 0x2c], 1
jne 0x1400670df
movss xmm0, dword [rsp + 0x48]
comiss xmm0, dword [0x14011d3b4]
ja 0x140067106
cmp dword [rsp + 0x2c], 2
jne 0x1400670f0
xorps xmm0, xmm0
comiss xmm0, dword [rsp + 0x4c]
ja 0x140067106
cmp dword [rsp + 0x2c], 3
jne 0x14006711e
movss xmm0, dword [rsp + 0x4c]
comiss xmm0, dword [0x14011d3b4]
jbe 0x14006711e
mov rax, qword [rsp + 0xe0]
movss xmm0, dword [rsp + 0x50]
movss dword [rax + 0x38], xmm0
mov byte [rsp + 0x20], 1
movzx eax, byte [rsp + 0x20]
add rsp, 0xc8
pop rdi
pop rsi
ret