Function at 0x1400011c0
Capabilities:
Query or enumerate registry key
Query or enumerate registry value
Set registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x4b0]
sub rsp, 0x5b0
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x4a0], rax
mov rax, r8
mov r10, rdx
mov r14, rcx
cmp qword [r8 + 0x18], 7
jbe 0x1400011fe
mov rax, qword [r8]
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x20], rcx
mov r9d, 0x2001f
xor r8d, r8d
mov rdx, rax
mov rcx, r10
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14000159c
xor r15d, r15d
mov esi, r15d
mov dword [rsp + 0x50], 0x100
mov dword [rsp + 0x40], 0x100
lea rax, [rsp + 0x40]
mov qword [rsp + 0x38], rax
lea rax, [rbp - 0x60]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r15
lea r9, [rsp + 0x50]
lea r8, [rbp + 0x2a0]
xor edx, edx
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x140001480
lea r12, [0x1400033e8]
cmp dword [rsp + 0x58], 1
jne 0x14000142b
mov r8d, dword [rsp + 0x40]
shr r8, 1
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
mov qword [rbp - 0x70], r15
mov qword [rbp - 0x68], r15
lea rdx, [rbp - 0x60]
lea rcx, [rbp - 0x80]
call fcn.140001a20
nop
lea r11, [rbp - 0x80]
mov rbx, qword [rbp - 0x80]
mov rdi, qword [rbp - 0x68]
cmp rdi, 7
cmova r11, rbx
mov rax, qword [rbp - 0x70]
cmp rax, 3
jb 0x140001348
add rax, 0xfffffffffffffffe
lea r10, [r11 + rax*2]
mov rax, r11
nop
mov rcx, r10
sub rcx, rax
sar rcx, 1
je 0x140001348
nop dword [rax + rax]
cmp word [rax], 0x36
je 0x140001302
add rax, 2
sub rcx, 1
jne 0x1400012f0
jmp 0x140001348
test rax, rax
je 0x140001348
mov r8d, 3
mov rdx, r12
mov r9, rax
sub r9, r12
nop word [rax + rax]
movzx ecx, word [rdx]
cmp word [r9 + rdx], cx
jne 0x1400015bd
add rdx, 2
sub r8, 1
jne 0x140001320
sub rax, r11
sar rax, 1
cmp rax, 0xffffffffffffffff
jne 0x1400013f0
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], r15
mov qword [rsp + 0x78], r15
mov r8d, 3
mov rdx, r12
lea rcx, [rsp + 0x60]
call fcn.140001a20
lea rcx, [rsp + 0x60]
cmp qword [rsp + 0x78], 7
cmova rcx, qword [rsp + 0x60]
mov eax, dword [rsp + 0x70]
lea eax, [rax*2 + 2]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rcx
mov r9d, 1
xor r8d, r8d
lea rdx, [rbp + 0x2a0]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rdx, qword [rsp + 0x78]
cmp rdx, 7
jbe 0x1400013f0
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400013ea
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400015c6
call fcn.140001bbc
nop
cmp rdi, 7
jbe 0x14000142b
lea rdx, [rdi*2 + 2]
mov rax, rbx
cmp rdx, 0x1000
jb 0x140001423
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400015cd
mov rcx, rbx
call fcn.140001bbc
mov dword [rsp + 0x50], 0x100
mov dword [rsp + 0x40], 0x100
inc esi
lea rax, [rsp + 0x40]
mov qword [rsp + 0x38], rax
lea rax, [rbp - 0x60]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r15
lea r9, [rsp + 0x50]
lea r8, [rbp + 0x2a0]
mov edx, esi
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
je 0x140001285
mov ebx, r15d
mov dword [rsp + 0x54], 0x100
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r15
lea r9, [rsp + 0x54]
lea r8, [rbp + 0xa0]
xor edx, edx
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x140001591
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], r15
mov qword [rsp + 0x78], r15
lea rax, [rbp + 0xa0]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], 0
jne 0x1400014e0
lea rdx, [rbp + 0xa0]
lea rcx, [rsp + 0x60]
call fcn.140001a20
nop
lea r8, [rsp + 0x60]
mov rdx, qword [rsp + 0x48]
mov rcx, r14
call fcn.1400011c0
nop
mov rdx, qword [rsp + 0x78]
cmp rdx, 7
jbe 0x140001552
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000154d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400015d4
call fcn.140001bbc
mov dword [rsp + 0x54], 0x100
inc ebx
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r15
lea r9, [rsp + 0x54]
lea r8, [rbp + 0xa0]
mov edx, ebx
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x1400014c0
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rbp + 0x4a0]
xor rcx, rsp
call fcn.140001b60
add rsp, 0x5b0
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
add rax, 2
jmp 0x1400012e0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3