Function at 0x140006150
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x2a0
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x290], rax
mov dword [rsp + 0x3c], 0
mov qword [rsp + 0x40], 0
cmp qword [rsp + 0x2b0], 0
je 0x1400061b0
cmp qword [rsp + 0x2b8], 0
je 0x1400061b0
cmp qword [rsp + 0x2c0], 0
jne 0x1400061b5
jmp 0x140006400
lea r8, [rsp + 0x40]
mov rdx, qword [rsp + 0x2b8]
mov rcx, qword [rsp + 0x2b0]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
je 0x1400061d9
jmp 0x140006400
cmp qword [rsp + 0x40], 0
jne 0x1400061e6
jmp 0x140006400
mov dword [rsp + 0x30], 0
lea rax, [rsp + 0x80]
mov rdi, rax
xor eax, eax
mov ecx, 0x208
rep stosb byte [rdi], al
mov dword [rsp + 0x34], 0x208
lea rax, [rsp + 0x34]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x80]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x30]
xor r8d, r8d
mov rdx, qword [rsp + 0x2c0]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x140006245
jmp 0x140006400
cmp dword [rsp + 0x30], 1
je 0x14000625f
cmp dword [rsp + 0x30], 7
je 0x14000625f
cmp dword [rsp + 0x30], 4
je 0x14000625f
jmp 0x140006400
mov eax, dword [rsp + 0x34]
cmp rax, 0x204
jb 0x140006270
jmp 0x140006400
mov eax, dword [rsp + 0x34]
xor edx, edx
mov ecx, 2
div rcx
shl rax, 1
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x60], 0x208
jae 0x140006293
jmp 0x140006298
call fcn.140009124
xor eax, eax
mov rcx, qword [rsp + 0x60]
mov word [rsp + rcx + 0x80], ax
mov eax, dword [rsp + 0x34]
xor edx, edx
mov ecx, 2
div rcx
lea rax, [rax + rax + 2]
mov qword [rsp + 0x68], rax
cmp qword [rsp + 0x68], 0x208
jae 0x1400062cc
jmp 0x1400062d1
call fcn.140009124
xor eax, eax
mov rcx, qword [rsp + 0x68]
mov word [rsp + rcx + 0x80], ax
mov dword [rsp + 0x3c], 1
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 1
je 0x14000630e
cmp dword [rsp + 0x38], 4
je 0x1400063bf
cmp dword [rsp + 0x38], 7
je 0x14000632d
jmp 0x1400063ee
lea r8, [rsp + 0x80]
mov edx, 0x104
mov rcx, qword [rsp + 0x2c8]
call fcn.14000cbc4
jmp 0x1400063f6
mov eax, 2
imul rax, rax, 0
xor ecx, ecx
mov rdx, qword [rsp + 0x2c8]
mov word [rdx + rax], cx
lea rax, [rsp + 0x80]
mov qword [rsp + 0x48], rax
mov eax, 2
imul rax, rax, 0
mov rcx, qword [rsp + 0x48]
movzx eax, word [rcx + rax]
test eax, eax
je 0x1400063bd
mov r8, qword [rsp + 0x48]
mov edx, 0x104
mov rcx, qword [rsp + 0x2c8]
call fcn.14000cc3c
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x50], 0xffffffffffffffff
inc qword [rsp + 0x50]
mov rax, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x50]
cmp word [rax + rcx*2], 0
jne 0x140006391
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x48]
lea rax, [rcx + rax*2 + 2]
mov qword [rsp + 0x48], rax
jmp 0x140006351
jmp 0x1400063f6
mov eax, 2
imul rax, rax, 0
mov eax, dword [rsp + rax + 0x80]
mov dword [rsp + 0x58], eax
mov r8d, dword [rsp + 0x58]
lea rdx, [0x140024df8]
mov rcx, qword [rsp + 0x2c8]
call fcn.140006800
jmp 0x1400063f6
mov dword [rsp + 0x3c], 0
xor eax, eax
test eax, eax
jne 0x14000618f
cmp qword [rsp + 0x40], 0
je 0x14000641c
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x40], 0
mov eax, dword [rsp + 0x3c]
mov rcx, qword [rsp + 0x290]
xor rcx, rsp
call fcn.140008d50
add rsp, 0x2a0
pop rdi
ret