Function at 0x1400165e0
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0xb0]
sub rsp, 0x1b0
mov rax, qword [0x1400b7360]
xor rax, rsp
mov qword [rbp + 0xa8], rax
mov rsi, rcx
xor r14d, r14d
mov dword [rsp + 0x50], r14d
mov qword [rbp + 0x88], r14
mov qword [rbp + 0x98], r14
mov qword [rbp + 0xa0], shutdown
mov byte [rbp + 0x88], r14b
mov ecx, 0x98
call fcn.140058508
mov rbx, rax
mov qword [rbp - 0x18], rax
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbx], xmm0
movups xmmword [rbx + 0x10], xmm0
movups xmmword [rbx + 0x20], xmm0
movups xmmword [rbx + 0x30], xmm0
movups xmmword [rbx + 0x40], xmm0
movups xmmword [rbx + 0x50], xmm0
movups xmmword [rbx + 0x60], xmm0
movups xmmword [rbx + 0x70], xmm0
movups xmmword [rbx + 0x80], xmm0
mov qword [rbx + 0x90], rax
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x68], r14
mov qword [rsp + 0x70], shutdown
mov byte [rsp + 0x58], al
xor r8d, r8d
lea rdx, [0x14009c24b]
lea rcx, [rsp + 0x58]
call fcn.14001d080
nop
mov dword [rsp + 0x50], 1
mov qword [rsp + 0x78], r14
mov qword [rbp - 0x78], r14
mov qword [rbp - 0x70], shutdown
mov byte [rsp + 0x78], r14b
lea r8d, [r14 + 1]
lea rdx, [0x14009f69c]
lea rcx, [rsp + 0x78]
call fcn.14001d080
nop
mov dword [rsp + 0x50], 3
lea ecx, [r14 + 0x20]
call fcn.140058508
mov rdi, rax
mov qword [rbp - 0x10], rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
xor edx, edx
mov rcx, rax
call fcn.14003b760
lea rax, vtable.CryptoPP::StringSinkTemplate_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___.0
mov qword [rdi], rax
lea rax, vtable.CryptoPP::StringSinkTemplate_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___.1.0
mov qword [rdi + 8], rax
lea rax, [rbp + 0x88]
mov qword [rdi + 0x18], rax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x78]
mov qword [rsp + 0x20], rax
mov rdx, rdi
mov rcx, rbx
call fcn.140011b20
nop
mov rdx, rax
lea rcx, [rbp + 0x10]
call fcn.14001a190
nop
lea rax, vtable.CryptoPP::StringSource.0
mov qword [rbp + 0x10], rax
lea rax, vtable.CryptoPP::StringSource.1.0
mov qword [rbp + 0x18], rax
mov qword [rbp - 0x48], 0xffffffffffffffff
mov qword [rbp - 0x40], r14
mov qword [rbp - 0x38], r14
mov qword [rbp - 0x60], rsi
mov qword [rbp - 0x58], 8
mov byte [rbp - 0x68], r14b
lea rcx, [rbp - 8]
call fcn.140041680
nop
mov r9b, 1
lea r8, [rbp - 0x68]
lea rdx, str.InputBuffer
mov rcx, rax
call fcn.140022fa0
mov rdx, rax
lea rcx, [rbp - 0x30]
call fcn.140041620
mov dword [rsp + 0x50], 7
mov rcx, qword [rbp]
test rcx, rcx
je 0x1400167d2
mov rax, qword [rcx]
lea edx, [r14 + 1]
call qword [rax]
nop
lea rdi, vtable.CryptoPP::NameValuePairs.0
mov qword [rbp - 8], rdi
mov rax, qword [rbp + 0x10]
lea rdx, [rbp - 0x30]
lea rcx, [rbp + 0x10]
call qword [rax + 0x40]
mov rax, qword [rbp + 0x10]
mov dl, 1
lea rcx, [rbp + 0x10]
call qword [rax + 0x190]
mov dword [rsp + 0x50], 3
mov rcx, qword [rbp - 0x28]
test rcx, rcx
je 0x140016818
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
nop
mov qword [rbp - 0x30], rdi
mov rcx, qword [rbp - 0x40]
cmp qword [rbp - 0x48], rcx
cmovb rcx, qword [rbp - 0x48]
mov rdx, qword [rbp - 0x38]
test rdx, rdx
je 0x140016842
mov rdi, rdx
xor eax, eax
rep stosb byte [rdi], al
mov rcx, rdx
call fcn.140043f50
nop
lea rax, vtable.CryptoPP::SourceTemplate_class_CryptoPP::StringStore_.0
mov qword [rbp + 0x10], rax
lea rax, vtable.CryptoPP::SourceTemplate_class_CryptoPP::StringStore_.1.0
mov qword [rbp + 0x18], rax
mov rcx, qword [rbp + 0x28]
test rcx, rcx
je 0x14001686c
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
nop
mov rdx, qword [rbp - 0x70]
cmp rdx, 0x10
jb 0x1400168a8
inc rdx
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400168a3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140016b14
call fcn.1400581e0
mov qword [rbp - 0x78], r14
mov qword [rbp - 0x70], shutdown
mov byte [rsp + 0x78], 0
mov rdx, qword [rsp + 0x70]
cmp rdx, 0x10
jb 0x1400168f6
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400168f1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140016b1a
call fcn.1400581e0
mov qword [rsp + 0x40], r14
lea rax, [rbp + 0x80]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], 0x20006
mov dword [rsp + 0x20], r14d
xor r9d, r9d
xor r8d, r8d
lea rdx, str.SOFTWAREMicrosoftcookies
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x1400169bf
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x68], r14
mov qword [rsp + 0x70], shutdown
mov byte [rsp + 0x58], 0
mov r8d, reloc.WS2_32.dll_setsockopt
lea rdx, str.RegCreateKeyEx_failed
lea rcx, [rsp + 0x58]
call fcn.14001d080
nop
lea rcx, [rsp + 0x58]
call fcn.140012200
nop
mov rdx, qword [rsp + 0x70]
cmp rdx, 0x10
jb 0x140016a91
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400169b2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140016b20
call fcn.1400581e0
xor dil, dil
jmp 0x140016aa6
mov eax, dword [rbp + 0x98]
inc eax
lea rcx, [rbp + 0x88]
cmp qword [rbp + 0xa0], 0x10
cmovae rcx, qword [rbp + 0x88]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rcx
mov r9d, 1
xor r8d, r8d
lea rdx, str.cookie
mov rcx, qword [rbp + 0x80]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
je 0x140016a96
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x68], r14
mov qword [rsp + 0x70], shutdown
mov byte [rsp + 0x58], 0
mov r8d, reloc.WS2_32.dll_setsockopt
lea rdx, str.RegSetValueExA_Failed
lea rcx, [rsp + 0x58]
call fcn.14001d080
nop
lea rcx, [rsp + 0x58]
call fcn.140012200
nop
mov rdx, qword [rsp + 0x70]
cmp rdx, 0x10
jb 0x140016a84
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140016a7f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140016b26
call fcn.1400581e0
mov rcx, qword [rbp + 0x80]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor dil, dil
jmp 0x140016aa6
mov rcx, qword [rbp + 0x80]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dil, 1
mov rdx, qword [rbp + 0xa0]
cmp rdx, 0x10
jb 0x140016ae3
inc rdx
mov rcx, qword [rbp + 0x88]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140016ade
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140016b0e
call fcn.1400581e0
movzx eax, dil
mov rcx, qword [rbp + 0xa8]
xor rcx, rsp
call fcn.1400581c0
lea r11, [rsp + 0x1b0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
call fcn.140067c44
nop
call fcn.140067c44
nop
call fcn.140067c44
int3
call fcn.140067c44
int3
call fcn.140067c44
int3