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

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rax - 0x3c8]
sub rsp, 0x4a0
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x1401385c0]
xor rax, rsp
mov qword [rbp + 0x390], rax
mov r15d, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x14009d16a
call fcn.14009b200
mov r15d, eax
cmp eax, 0xffffffff
jne 0x14009d16a
xor al, al
jmp 0x14009d3bc
xor r12d, r12d
mov qword [rsp + 0x30], r12
lea rdx, [rbx + 0xb0]
cmp qword [rdx + 0x18], 0x10
jb 0x14009d183
mov rdx, qword [rdx]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov r9d, 0x2001f
xor r8d, r8d
mov rcx, qword [rbx + 0x88]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov rdi, qword [rsp + 0x30]
test eax, eax
je 0x14009d1c6
test rdi, rdi
je 0x14009d3ba
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdi, r12
mov qword [rsp + 0x30], r12
test rdi, rdi
je 0x14009d3ba
mov esi, 1
mov ebx, esi
cmp r15d, ebx
jl 0x14009d3b1
nop
xor edx, edx
mov r8d, 0x400
lea rcx, [rbp - 0x70]
call fcn.140060ef0
mov dword [rsp + 0x38], 0x3ff
mov edx, ebx
lea rcx, [rsp + 0x48]
call fcn.1400a3f80
nop
lea rdx, [rsp + 0x48]
cmp qword [rsp + 0x60], 0x10
cmovae rdx, qword [rsp + 0x48]
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x70]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x14009d322
cmp esi, ebx
je 0x14009d320
mov edx, esi
lea rcx, [rsp + 0x68]
call fcn.1400a3f80
mov rdx, rax
cmp qword [rax + 0x18], 0x10
jb 0x14009d262
mov rdx, qword [rax]
lea rcx, [rbp - 0x70]
or rax, 0xffffffffffffffff
nop word [rax + rax]
inc rax
cmp byte [rcx + rax], 0
jne 0x14009d270
inc eax
mov dword [rsp + 0x28], eax
lea rax, [rbp - 0x70]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
sete r14b
mov rax, qword [rbp - 0x80]
cmp rax, 0x10
jb 0x14009d2ef
inc rax
mov rcx, qword [rsp + 0x68]
cmp rax, 0x1000
jb 0x14009d2ea
test cl, 0x1f
jne 0x14009d393
mov rax, qword [rcx - 8]
cmp rax, rcx
jae 0x14009d38d
sub rcx, rax
cmp rcx, 8
jb 0x14009d387
cmp rcx, 0x27
ja 0x14009d381
mov rcx, rax
call fcn.14005ed1c
mov qword [rbp - 0x80], 0xf
mov qword [rsp + 0x78], r12
mov byte [rsp + 0x68], 0
test r14b, r14b
je 0x14009d320
lea rdx, [rsp + 0x48]
cmp qword [rsp + 0x60], 0x10
cmovae rdx, qword [rsp + 0x48]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
inc esi
mov rax, qword [rsp + 0x60]
cmp rax, 0x10
jb 0x14009d362
mov rcx, qword [rsp + 0x48]
inc rax
cmp rax, 0x1000
jb 0x14009d35d
test cl, 0x1f
jne 0x14009d3ab
mov rax, qword [rcx - 8]
cmp rax, rcx
jae 0x14009d3a5
sub rcx, rax
cmp rcx, 8
jb 0x14009d39f
cmp rcx, 0x27
ja 0x14009d399
mov rcx, rax
call fcn.14005ed1c
mov qword [rsp + 0x60], 0xf
mov qword [rsp + 0x58], r12
mov byte [rsp + 0x48], 0
inc ebx
cmp ebx, r15d
jg 0x14009d3b1
jmp 0x14009d1e0
call fcn.140069e64
int3
call fcn.140069e64
int3
call fcn.140069e64
int3
call fcn.140069e64
nop
call fcn.140069e64
int3
call fcn.140069e64
int3
call fcn.140069e64
int3
call fcn.140069e64
int3
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
mov rcx, qword [rbp + 0x390]
xor rcx, rsp
call fcn.14005f0d0
lea r11, [rsp + 0x4a0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret