Function at 0x14006d9f0
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rcx
push rbx
push rbp
push rsi
push rdi
sub rsp, 0x78
mov rdi, rcx
xor ebp, ebp
mov dword [rsp + 0x50], ebp
mov edx, 2
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeEx]
mov qword [rsp + 0xb0], rbp
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], rbp
mov qword [rdi + 0x18], recv
mov byte [rdi], bpl
mov dword [rsp + 0x50], 1
lea rax, [rsp + 0xb0]
mov qword [rsp + 0x20], rax
lea r9, [0x1401ac6c8]
xor edx, edx
mov r8d, 1
lea rcx, [0x14014f920]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x14006dbd7
mov rcx, qword [rsp + 0xb0]
mov rax, qword [rcx]
mov edx, 0x20
call qword [rax + 0x48]
mov rcx, qword [rsp + 0xb0]
mov rax, qword [rcx]
xor edx, edx
call qword [rax + 0x18]
test eax, eax
js 0x14006dbc9
mov qword [rsp + 0x58], rbp
mov rcx, qword [rsp + 0xb0]
mov rax, qword [rcx]
lea rdx, [rsp + 0x58]
call qword [rax + 0xa0]
test eax, eax
js 0x14006dbc9
mov qword [rsp + 0xb8], rbp
mov rcx, qword [rsp + 0x58]
mov rax, qword [rcx]
lea r8, [rsp + 0xb8]
mov edx, 0x80058000
call qword [rax + 0x28]
test eax, eax
js 0x14006dbbe
mov rsi, qword [rsp + 0xb8]
mov ecx, 0x18
call fcn.1401088fc
mov rbx, rax
mov qword [rsp + 0xa8], rax
test rax, rax
je 0x14006db28
mov qword [rax + 8], rbp
mov dword [rax + 0x10], 1
mov rcx, rsi
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov qword [rbx], rax
test rax, rax
jne 0x14006db2b
test rsi, rsi
jne 0x14006dc73
jmp 0x14006db2b
mov rbx, rbp
mov qword [rsp + 0xa8], rbx
test rbx, rbx
je 0x14006dc68
mov rax, qword [rbx + 8]
test rax, rax
jne 0x14006db51
mov rcx, qword [rbx]
call fcn.140109af0
mov qword [rbx + 8], rax
mov rsi, 0xffffffffffffffff
mov r8, rsi
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x14006db60
mov rdx, rax
mov rcx, rdi
call fcn.140083b00
mov rcx, qword [rsp + 0xb8]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop
lock xadd dword [rbx + 0x10], esi
cmp esi, 1
jne 0x14006dbbe
mov rcx, qword [rbx]
test rcx, rcx
je 0x14006db9f
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rbx], rbp
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x14006dbb1
call fcn.140108b78
mov qword [rbx + 8], rbp
mov edx, 0x18
mov rcx, rbx
call fcn.140108b78
mov rcx, qword [rsp + 0x58]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rsp + 0xb0]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
call qword [sym.imp.ole32.dll_CoUninitialize]
mov qword [rsp + 0x40], rbp
lea rax, [rsp + 0x60]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rbp
mov dword [rsp + 0x28], 0x20006
mov dword [rsp + 0x20], ebp
xor r9d, r9d
xor r8d, r8d
lea rdx, str.SOFTWARECleverRust
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x14006dc5c
mov eax, dword [rdi + 0x10]
inc eax
mov rcx, rdi
cmp qword [rdi + 0x18], 0xf
jbe 0x14006dc2d
mov rcx, qword [rdi]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rcx
mov r9d, 1
xor r8d, r8d
lea rdx, str.InstallPath
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rax, rdi
add rsp, 0x78
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov ecx, 0x8007000e
call fcn.140109ae0
nop
mov ecx, 0x8007000e
call fcn.140109ae0
int3