Function at 0x140034f20
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x10], rdx
mov byte [rsp + 8], cl
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x47]
sub rsp, 0xe0
mov rax, qword [0x140212c80]
xor rax, rsp
mov qword [rbp + 0x37], rax
mov rdi, qword [rbp + 0x6f]
xor esi, esi
xorps xmm0, xmm0
movups xmmword [rbp - 9], xmm0
movdqa xmm1, xmmword [0x1401e8230]
movdqu xmmword [rbp + 7], xmm1
mov word [rbp - 9], si
movups xmmword [rbp + 0x17], xmm0
movdqu xmmword [rbp + 0x27], xmm1
mov word [rbp + 0x17], si
lea rax, str.Remediations
mov qword [rbp - 0x19], rax
mov qword [rbp - 0x11], recvfrom
movaps xmm0, xmmword [rbp - 0x19]
movdqa xmmword [rbp - 0x19], xmm0
lea r8, [rbp - 0x19]
lea rdx, [0x14021e010]
lea rcx, [rbp - 0x49]
call fcn.140031800
lea rdx, [rbp - 0x49]
lea rcx, [rbp - 9]
call fcn.140029ff0
lea rcx, [rbp - 0x49]
call fcn.140025e80
lea rax, str.RemediationsVolatile
mov qword [rbp - 0x19], rax
mov qword [rbp - 0x11], socket
movaps xmm0, xmmword [rbp - 0x19]
movdqa xmmword [rbp - 0x19], xmm0
lea r8, [rbp - 0x19]
lea rdx, [0x14021e010]
lea rcx, [rbp - 0x49]
call fcn.140031800
lea rdx, [rbp - 0x49]
lea rcx, [rbp + 0x17]
call fcn.140029ff0
lea rcx, [rbp - 0x49]
call fcn.140025e80
lea rdx, [rbp - 9]
cmp qword [rbp + 0xf], 7
jbe 0x14003501a
mov rdx, qword [rbp - 9]
test rdx, rdx
je 0x140035156
cmp word [rdx], 0
je 0x140035156
mov qword [rbp - 0x19], rsi
mov qword [rsp + 0x40], rsi
lea rax, [rbp - 0x19]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], esi
xor r9d, r9d
xor r8d, r8d
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov ebx, eax
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rcx, qword [rbp - 0x19]
test rcx, rcx
je 0x14003507f
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x14003507f
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_SetLastError]
test ebx, ebx
jne 0x140035162
cmp byte [rbp + 0x67], bl
je 0x1400350c2
lea rdx, [rbp - 9]
cmp qword [rbp + 0xf], 7
cmova rdx, qword [rbp - 9]
mov dword [rbp - 0x29], 1
mov dword [rsp + 0x28], 4
mov dword [rsp + 0x20], 4
lea r9, [rbp - 0x29]
mov r8, qword [rdi]
call fcn.14008ff10
jmp 0x140035162
mov qword [rbp - 0x19], rsi
lea rdx, [rbp + 0x17]
cmp qword [rbp + 0x2f], 7
cmova rdx, qword [rbp + 0x17]
mov qword [rsp + 0x40], rsi
lea rax, [rbp - 0x19]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], 6
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x14003513f
xor ecx, ecx
call fcn.1401453f4
mov dword [rbp - 0x29], eax
mov dword [rsp + 0x28], 4
lea rax, [rbp - 0x29]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
mov rdx, qword [rdi]
mov rcx, qword [rbp - 0x19]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rbp - 0x19]
test rcx, rcx
je 0x140035162
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x140035162
mov ecx, eax
jmp 0x14003515b
mov ecx, 0x57
call qword [sym.imp.KERNEL32.dll_SetLastError]
nop
lea rcx, [rbp + 0x17]
call fcn.140025e80
nop
lea rcx, [rbp - 9]
call fcn.140025e80
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.140133600
mov rbx, qword [rsp + 0x110]
add rsp, 0xe0
pop rdi
pop rsi
pop rbp
ret