Function at 0x140078340
Capabilities:
Set registry value

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
push rdi
sub rsp, 0xf0
movaps xmmword [rax - 0x18], xmm6
mov rdi, rdx
mov rdx, qword [0x14018ee40]
mov rsi, rcx
mov rcx, qword [0x14018f4a8]
add rdx, 0x600
movaps xmmword [rax - 0x28], xmm7
mov rbx, r8
movaps xmmword [rax - 0x38], xmm8
movaps xmmword [rax - 0x48], xmm9
call fcn.140082270
mov rcx, qword [0x14018f4a8]
add rax, 0x44
mov qword [rsp + 0x30], rax
lea rdx, [rcx + 8]
lea rax, [rsp + 0x100]
mov qword [rsp + 0x100], 0
mov qword [rsp + 0x40], rax
xor eax, eax
cmp qword [rdx + 0x18], 0xf
mov qword [rsp + 0x48], rax
movups xmm1, xmmword [rsp + 0x40]
mov dword [rsp + 0x50], eax
mov rax, qword [rcx + 0x28]
mov qword [rsp + 0x60], rax
mov rax, qword [0x14018ee50]
mov qword [rsp + 0x68], rax
movabs rax, 0x9117321122125032
mov qword [rsp + 0x38], 8
movups xmm0, xmmword [rsp + 0x30]
mov qword [rsp + 0x70], rax
lea rax, [rsp + 0x30]
mov qword [rsp + 0xa0], rax
movups xmmword [rsp + 0x78], xmm0
movsd xmm0, qword [rsp + 0x50]
movups xmmword [rsp + 0x88], xmm1
movsd qword [rsp + 0x98], xmm0
jbe 0x14007842a
mov rdx, qword [rdx]
mov rcx, qword [rcx]
lea rax, [rsp + 0x60]
mov dword [rsp + 0x28], 0x48
mov r9d, 3
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
movss xmm6, dword [rsp + 0x104]
mulss xmm6, dword [0x1401311e0]
movss xmm9, dword [rsi]
movss xmm8, dword [rsi + 4]
divss xmm6, dword [0x1401312cc]
subss xmm9, dword [0x14018f560]
subss xmm8, dword [0x14018f564]
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_sinf
movaps xmm7, xmm0
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_cosf
movss xmm5, dword [0x1401317e0]
movaps xmm3, xmm0
movss xmm4, dword [0x14013128c]
movaps xmm1, xmm7
movaps xmm2, xmm0
mulss xmm3, xmm9
mulss xmm1, xmm8
mulss xmm2, xmm8
subss xmm3, xmm1
mulss xmm7, xmm9
movss xmm1, dword [0x1401313ac]
addss xmm2, xmm7
movaps xmm0, xmm3
andps xmm0, xmm5
comiss xmm0, xmm4
ja 0x1400784ea
movaps xmm0, xmm2
andps xmm0, xmm5
comiss xmm0, xmm4
jbe 0x140078535
comiss xmm2, xmm3
movaps xmm0, xmm3
xorps xmm0, xmmword [0x1401317f0]
jbe 0x140078518
comiss xmm2, xmm0
jbe 0x14007850b
mulss xmm3, xmm4
divss xmm3, xmm2
movaps xmm2, xmm4
jmp 0x140078535
mulss xmm2, xmm1
divss xmm2, xmm3
movaps xmm3, xmm1
jmp 0x140078535
comiss xmm2, xmm0
jbe 0x14007852a
mulss xmm2, xmm4
divss xmm2, xmm3
movaps xmm3, xmm4
jmp 0x140078535
mulss xmm3, xmm1
divss xmm3, xmm2
movaps xmm2, xmm1
divss xmm3, xmm1
mov r9d, 0xa
mov ecx, 0x104
mov r8d, r9d
lea edx, [r9 + 0x1ef]
divss xmm2, xmm4
mulss xmm3, dword [0x140131324]
mulss xmm2, dword [0x140131324]
mulss xmm3, dword [0x14013114c]
mulss xmm2, dword [0x14013114c]
cvttss2si eax, xmm3
sub r8d, eax
add r8d, 0xfa
cvttss2si eax, xmm2
mov dword [rdi], r8d
sub ecx, eax
mov dword [rbx], ecx
cmp r8d, edx
jle 0x140078595
mov dword [rdi], edx
mov r8d, edx
cmp r8d, r9d
jge 0x14007859d
mov dword [rdi], r9d
cmp ecx, edx
jle 0x1400785a5
mov dword [rbx], edx
mov ecx, edx
cmp ecx, r9d
jge 0x1400785ad
mov dword [rbx], r9d
lea r11, [rsp + 0xf0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
mov rsp, r11
pop rdi
ret