Function at 0x140036570
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 [0x140241cc0]
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 [0x140213360]
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, [0x14024d2b0]
lea rcx, [rbp - 0x49]
call fcn.140031d70
lea rdx, [rbp - 0x49]
lea rcx, [rbp - 9]
call fcn.14002a100
lea rcx, [rbp - 0x49]
call fcn.140025f00
lea rax, [0x1402066d8]
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, [0x14024d2b0]
lea rcx, [rbp - 0x49]
call fcn.140031d70
lea rdx, [rbp - 0x49]
lea rcx, [rbp + 0x17]
call fcn.14002a100
lea rcx, [rbp - 0x49]
call fcn.140025f00
lea rdx, [rbp - 9]
cmp qword [rbp + 0xf], 7
jbe 0x14003666a
mov rdx, qword [rbp - 9]
test rdx, rdx
je 0x1400367a6
cmp word [rdx], 0
je 0x1400367a6
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 0x1400366cf
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x1400366cf
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_SetLastError]
test ebx, ebx
jne 0x1400367b2
cmp byte [rbp + 0x67], bl
je 0x140036712
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.1400a0610
jmp 0x1400367b2
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 0x14003678f
xor ecx, ecx
call fcn.1401699b4
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 0x1400367b2
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x1400367b2
mov ecx, eax
jmp 0x1400367ab
mov ecx, 0x57
call qword [sym.imp.KERNEL32.dll_SetLastError]
nop
lea rcx, [rbp + 0x17]
call fcn.140025f00
nop
lea rcx, [rbp - 9]
call fcn.140025f00
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.140144310
mov rbx, qword [rsp + 0x110]
add rsp, 0xe0
pop rdi
pop rsi
pop rbp
ret