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

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
movss dword [rsp + 0x10], xmm1
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov byte [rsp + 0x20], 0
cvtss2sd xmm0, dword [rsp + 0x88]
movsd qword [rsp + 0x68], xmm0
movsd xmm0, qword [rsp + 0x68]
mulsd xmm0, qword [0x140203630]
movsd qword [rsp + 0x50], xmm0
movsd xmm0, qword [rsp + 0x50]
call sub.api_ms_win_crt_math_l1_1_0.dll_cos
cvtsd2ss xmm0, xmm0
movss dword [rsp + 0x2c], xmm0
movsd xmm0, qword [rsp + 0x50]
call sub.api_ms_win_crt_math_l1_1_0.dll_sin
cvtsd2ss xmm0, xmm0
movss dword [rsp + 0x34], xmm0
mov rax, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x98]
movss xmm0, dword [rax]
subss xmm0, dword [rcx]
movss dword [rsp + 0x28], xmm0
mov rax, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x98]
movss xmm0, dword [rax + 4]
subss xmm0, dword [rcx + 4]
movss dword [rsp + 0x30], xmm0
movss xmm0, dword [rsp + 0x30]
mulss xmm0, dword [rsp + 0x2c]
movss xmm1, dword [rsp + 0x28]
mulss xmm1, dword [rsp + 0x34]
subss xmm0, xmm1
divss xmm0, dword [0x140203840]
movss dword [rsp + 0x58], xmm0
movss xmm0, dword [rsp + 0x28]
mulss xmm0, dword [rsp + 0x2c]
movss xmm1, dword [rsp + 0x30]
mulss xmm1, dword [rsp + 0x34]
addss xmm0, xmm1
divss xmm0, dword [0x140203840]
movss dword [rsp + 0x5c], xmm0
movss xmm0, dword [rsp + 0x58]
addss xmm0, dword [rsp + 0xa0]
mov rax, qword [rsp + 0xb0]
movss xmm1, dword [rax]
divss xmm1, dword [0x1402036a0]
addss xmm0, xmm1
mov rax, qword [rsp + 0x80]
movss dword [rax], xmm0
movss xmm0, dword [rsp + 0x5c]
xorps xmm0, xmmword [0x140203a00]
addss xmm0, dword [rsp + 0xa8]
mov rax, qword [rsp + 0xb0]
movss xmm1, dword [rax + 4]
divss xmm1, dword [0x1402036a0]
addss xmm0, xmm1
mov rax, qword [rsp + 0x80]
movss dword [rax + 4], xmm0
mov rax, qword [rsp + 0xb0]
movss xmm0, dword [rsp + 0xa0]
addss xmm0, dword [rax]
mov rax, qword [rsp + 0x80]
movss xmm1, dword [rax]
comiss xmm1, xmm0
jbe 0x1400079bc
mov dword [rsp + 0x38], 1
jmp 0x1400079c4
mov dword [rsp + 0x38], 0
movzx eax, byte [rsp + 0x38]
mov byte [rsp + 0x21], al
movzx eax, byte [rsp + 0x21]
test eax, eax
je 0x1400079f9
mov rax, qword [rsp + 0xb0]
movss xmm0, dword [rsp + 0xa0]
addss xmm0, dword [rax]
mov rax, qword [rsp + 0x80]
movss dword [rax], xmm0
jmp 0x140007a48
mov rax, qword [rsp + 0x80]
movss xmm0, dword [rsp + 0xa0]
comiss xmm0, dword [rax]
jbe 0x140007a19
mov dword [rsp + 0x3c], 1
jmp 0x140007a21
mov dword [rsp + 0x3c], 0
movzx eax, byte [rsp + 0x3c]
mov byte [rsp + 0x22], al
movzx eax, byte [rsp + 0x22]
test eax, eax
je 0x140007a48
mov rax, qword [rsp + 0x80]
movss xmm0, dword [rsp + 0xa0]
movss dword [rax], xmm0
mov rax, qword [rsp + 0xb0]
movss xmm0, dword [rsp + 0xa8]
addss xmm0, dword [rax + 4]
mov rax, qword [rsp + 0x80]
movss xmm1, dword [rax + 4]
comiss xmm1, xmm0
jbe 0x140007a7a
mov dword [rsp + 0x40], 1
jmp 0x140007a82
mov dword [rsp + 0x40], 0
movzx eax, byte [rsp + 0x40]
mov byte [rsp + 0x23], al
movzx eax, byte [rsp + 0x23]
test eax, eax
je 0x140007ab9
mov rax, qword [rsp + 0xb0]
movss xmm0, dword [rsp + 0xa8]
addss xmm0, dword [rax + 4]
mov rax, qword [rsp + 0x80]
movss dword [rax + 4], xmm0
jmp 0x140007b0a
mov rax, qword [rsp + 0x80]
movss xmm0, dword [rsp + 0xa8]
comiss xmm0, dword [rax + 4]
jbe 0x140007ada
mov dword [rsp + 0x44], 1
jmp 0x140007ae2
mov dword [rsp + 0x44], 0
movzx eax, byte [rsp + 0x44]
mov byte [rsp + 0x24], al
movzx eax, byte [rsp + 0x24]
test eax, eax
je 0x140007b0a
mov rax, qword [rsp + 0x80]
movss xmm0, dword [rsp + 0xa8]
movss dword [rax + 4], xmm0
mov rax, qword [rsp + 0x80]
movss xmm0, dword [rax + 4]
ucomiss xmm0, dword [rsp + 0xa8]
jp 0x140007b23
je 0x140007b45
mov rax, qword [rsp + 0x80]
movss xmm0, dword [rax]
ucomiss xmm0, dword [rsp + 0xa0]
jp 0x140007b3b
je 0x140007b45
mov dword [rsp + 0x48], 0
jmp 0x140007b4d
mov dword [rsp + 0x48], 1
movzx eax, byte [rsp + 0x48]
mov byte [rsp + 0x25], al
movzx eax, byte [rsp + 0x25]
test eax, eax
je 0x140007b64
mov byte [rsp + 0x20], 1
mov rax, qword [rsp + 0xb8]
movzx ecx, byte [rsp + 0x20]
mov byte [rax], cl
mov rax, qword [rsp + 0x80]
add rsp, 0x78
ret