Function at 0x1400cb940
Capabilities:
Query or enumerate registry key

Disassembly:
push rbp
sub rsp, 0x250
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x1b8], 0xfffffffffffffffe
mov qword [rbp + 0x70], rdx
mov qword [rbp + 0x78], rcx
mov r8, qword [0x1402c35e0]
mov eax, dword [0x1402c35f0]
mov cl, byte [0x1402c35f4]
mov rdx, qword [0x1402c35f8]
mov qword [rbp + 0x1a8], r8
mov qword [rbp + 0x178], rdx
mov byte [rbp + 0x174], cl
mov dword [rbp + 0x170], eax
mov eax, dword [rbp + 0x170]
mov cl, byte [rbp + 0x174]
mov rdx, qword [rbp + 0x178]
mov qword [rbp + 0x1a0], rdx
mov byte [rbp + 0x19c], cl
mov dword [rbp + 0x198], eax
mov dword [rbp + 0x194], 0x20019
mov rcx, qword [rbp + 0x1a8]
mov r9, qword [rbp + 0x1a0]
mov edx, dword [rbp + 0x198]
mov r10d, dword [rbp + 0x194]
mov r8b, byte [rbp + 0x19c]
mov rax, rsp
mov dword [rax + 0x20], r10d
call fcn.1400e5af0
mov qword [rbp + 0x168], rdx
mov dword [rbp + 0x160], eax
mov eax, dword [rbp + 0x160]
mov rcx, qword [rbp + 0x168]
mov qword [rbp + 0x188], rcx
mov dword [rbp + 0x180], eax
cmp dword [rbp + 0x180], 0
sete al
xor al, 0xff
test al, 1
jne 0x1400cba31
jmp 0x1400cbae9
mov rax, qword [rbp + 0x188]
mov qword [rbp + 0x1b0], rax
mov rax, qword [rbp + 0x1b0]
mov qword [rbp + 0x148], rax
mov rcx, qword [rbp + 0x148]
xor eax, eax
mov r9d, eax
lea r10, [rbp + 0x144]
lea rax, [rbp + 0x140]
mov rdx, r9
mov r8, r9
mov qword [rsp + 0x20], r10
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x58], 0
call sub.ADVAPI32.dll_RegQueryInfoKeyW
mov dword [rbp + 0x130], 0xab
mov dword [rbp + 0x138], eax
mov eax, dword [rbp + 0x138]
mov dword [rbp + 0x130], 0x590
mov dword [rbp + 0x138], eax
mov ecx, dword [rbp + 0x138]
call fcn.140083350
test al, 1
jne 0x1400cbaf6
jmp 0x1400cbb22
jmp 0x1400cbaeb
xor eax, eax
add rsp, 0x250
pop rbp
ret
mov eax, dword [rbp + 0x140]
mov ecx, eax
inc rcx
mov qword [rbp + 0x68], rcx
mov rax, rcx
shl rax, 0x1f
sar rax, 0x1f
sub rax, rcx
setne al
shr rcx, 0x20
or al, cl
test al, 1
jne 0x1400cbb32
jmp 0x1400cbb39
jmp 0x1400cbb24
mov rcx, qword [rbp + 0x188]
call fcn.1400e64e0
jmp 0x1400cbaeb
call fcn.140001800
jmp 0x1400cbb55
mov rax, qword [rbp + 0x68]
mov edx, eax
mov ecx, 0x4f8
call fcn.140081c40
mov qword [rbp + 0x58], rcx
mov byte [rbp + 0x63], dl
mov dword [rbp + 0x64], eax
jmp 0x1400cbb55
mov al, byte [rbp + 0x63]
mov rcx, qword [rbp + 0x58]
mov edx, dword [rbp + 0x64]
mov dword [rbp + 0x110], edx
mov qword [rbp + 0x118], rcx
and al, 1
mov byte [rbp + 0x114], al
mov eax, dword [rbp + 0x110]
mov cl, byte [rbp + 0x114]
mov rdx, qword [rbp + 0x118]
mov qword [rbp + 0x128], rdx
mov byte [rbp + 0x124], cl
mov dword [rbp + 0x120], eax
mov eax, dword [rbp + 0x144]
mov dword [rbp + 0x54], eax
mov dword [rbp + 0x104], 0
mov eax, dword [rbp + 0x54]
cmp dword [rbp + 0x104], eax
jae 0x1400cbbd9
mov eax, dword [rbp + 0x104]
mov dword [rbp + 0x10c], eax
mov eax, dword [rbp + 0x120]
mov dword [rbp + 0x50], eax
cmp eax, 0
setl al
test al, 1
jne 0x1400cbbde
jmp 0x1400cbbe8
jmp 0x1400cbfae
call fcn.140001800
jmp 0x1400cbc6e
mov eax, dword [rbp + 0x50]
mov dword [rbp + 0x108], eax
mov rcx, qword [rbp + 0x148]
mov edx, dword [rbp + 0x10c]
mov r8, qword [rbp + 0x128]
lea r9, [rbp + 0x108]
xor eax, eax
mov qword [rsp + 0x20], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x38], 0
call sub.ADVAPI32.dll_RegEnumKeyExW
mov dword [rbp + 0x130], 0xab
mov dword [rbp + 0x138], eax
mov eax, dword [rbp + 0x138]
mov dword [rbp + 0x130], 0x590
mov dword [rbp + 0x138], eax
mov ecx, dword [rbp + 0x138]
call fcn.140083350
test al, 1
jne 0x1400cbc6e
jmp 0x1400cbc8f
mov r8d, dword [rbp + 0x108]
lea rcx, [rbp + 0x120]
xor edx, edx
call fcn.1400818b0
mov qword [rbp + 0x40], rcx
mov byte [rbp + 0x4b], dl
mov dword [rbp + 0x4c], eax
jmp 0x1400cbca7
mov ecx, dword [rbp + 0x138]
call fcn.1400833d0
test al, 1
jne 0x1400cbf94
jmp 0x1400cbf96
mov al, byte [rbp + 0x4b]
mov rcx, qword [rbp + 0x40]
mov edx, dword [rbp + 0x4c]
mov dword [rbp + 0xf0], edx
mov qword [rbp + 0xf8], rcx
and al, 1
mov byte [rbp + 0xf4], al
mov eax, dword [rbp + 0xf0]
mov cl, byte [rbp + 0xf4]
mov rdx, qword [rbp + 0xf8]
mov qword [rbp + 0x158], rdx
mov byte [rbp + 0x154], cl
mov dword [rbp + 0x150], eax
mov r8, qword [rbp + 0x1b0]
mov eax, dword [rbp + 0x150]
mov cl, byte [rbp + 0x154]
mov rdx, qword [rbp + 0x158]
mov qword [rbp + 0xc8], r8
mov qword [rbp + 0x98], rdx
mov byte [rbp + 0x94], cl
mov dword [rbp + 0x90], eax
mov eax, dword [rbp + 0x90]
mov cl, byte [rbp + 0x94]
mov rdx, qword [rbp + 0x98]
mov qword [rbp + 0xc0], rdx
mov byte [rbp + 0xbc], cl
mov dword [rbp + 0xb8], eax
mov dword [rbp + 0xb4], 0x20019
mov rcx, qword [rbp + 0xc8]
mov r9, qword [rbp + 0xc0]
mov edx, dword [rbp + 0xb8]
mov r10d, dword [rbp + 0xb4]
mov r8b, byte [rbp + 0xbc]
mov rax, rsp
mov dword [rax + 0x20], r10d
call fcn.1400e5af0
mov qword [rbp + 0x30], rdx
mov dword [rbp + 0x3c], eax
jmp 0x1400cbd87
mov rax, qword [rbp + 0x30]
mov ecx, dword [rbp + 0x3c]
mov dword [rbp + 0x80], ecx
mov qword [rbp + 0x88], rax
mov eax, dword [rbp + 0x80]
mov rcx, qword [rbp + 0x88]
mov qword [rbp + 0xa8], rcx
mov dword [rbp + 0xa0], eax
cmp dword [rbp + 0xa0], 0
sete al
xor al, 0xff
test al, 1
jne 0x1400cbdc7
jmp 0x1400cbdfb
mov rax, qword [rbp + 0xa8]
mov qword [rbp + 0xe8], rax
mov rcx, qword [rbp + 0xe8]
mov r9, qword [0x1402c3610]
mov edx, dword [0x1402c3608]
mov r8b, byte [0x1402c360c]
call fcn.1400e5c20
mov qword [rbp + 0x28], rax
jmp 0x1400cbe11
jmp 0x1400cbdfd
mov eax, dword [rbp + 0x104]
add eax, 1
mov dword [rbp + 0x104], eax
jmp 0x1400cbbad
mov rax, qword [rbp + 0x28]
mov qword [rbp + 0xe0], rax
mov rcx, qword [rbp + 0xe8]
mov r9, qword [0x1402c3628]
mov edx, dword [0x1402c3620]
mov r8b, byte [0x1402c3624]
call fcn.1400e5c20
mov qword [rbp + 0x20], rax
jmp 0x1400cbe42
mov rax, qword [rbp + 0x20]
mov qword [rbp + 0xd8], rax
mov r8, qword [rbp + 0xe0]
mov qword [rbp + 0x10], r8
cmp r8, 0
sete al
mov ecx, 1
xor edx, edx
cmp r8, 0
cmove ecx, edx
mov dword [rbp + 0x1c], ecx
test al, 1
jne 0x1400cbedc
jmp 0x1400cbee3
mov r8, qword [rbp + 0x158]
mov ecx, dword [rbp + 0x150]
mov dl, byte [rbp + 0x154]
call fcn.140021f50
mov qword [rbp + 8], rax
jmp 0x1400cbf66
mov rcx, qword [rbp + 0xa8]
call fcn.1400e64e0
jmp 0x1400cbf8f
mov al, byte [rbp + 0xd7]
mov byte [rbp + 7], al
jmp 0x1400cbf1f
mov r8, qword [rbp + 0xd8]
mov qword [rbp - 8], r8
cmp r8, 0
sete al
mov ecx, 1
xor edx, edx
cmp r8, 0
cmove ecx, edx
mov dword [rbp], ecx
test al, 1
jne 0x1400cbf2f
jmp 0x1400cbf36
xor eax, eax
mov byte [rbp - 9], al
jmp 0x1400cbef1
mov ecx, dword [rbp + 0x1c]
mov eax, 1
cmp eax, ecx
je 0x1400cbf05
jmp 0x1400cbf17
mov al, byte [rbp - 9]
mov cl, al
and cl, 1
mov byte [rbp + 0xd7], cl
test al, 1
jne 0x1400cbea8
jmp 0x1400cbeb3
mov rdx, qword [rbp + 0x78]
mov rcx, qword [rbp + 0x10]
call fcn.140023fa0
mov byte [rbp - 0xa], al
jmp 0x1400cbf17
mov al, byte [rbp - 0xa]
mov byte [rbp - 9], al
jmp 0x1400cbef1
mov al, byte [rbp + 7]
test al, 1
jne 0x1400cbe76
jmp 0x1400cbe97
xor eax, eax
mov byte [rbp - 0xb], al
jmp 0x1400cbf44
mov ecx, dword [rbp]
mov eax, 1
cmp eax, ecx
je 0x1400cbf4c
jmp 0x1400cbf5e
mov al, byte [rbp - 0xb]
mov byte [rbp + 7], al
jmp 0x1400cbf1f
mov rdx, qword [rbp + 0x70]
mov rcx, qword [rbp - 8]
call fcn.140023fa0
mov byte [rbp - 0xc], al
jmp 0x1400cbf5e
mov al, byte [rbp - 0xc]
mov byte [rbp - 0xb], al
jmp 0x1400cbf44
mov rcx, qword [rbp + 0xa8]
call fcn.1400e64e0
jmp 0x1400cbf74
mov rcx, qword [rbp + 0x188]
call fcn.1400e64e0
jmp 0x1400cbf82
mov rax, qword [rbp + 8]
add rsp, 0x250
pop rbp
ret
jmp 0x1400cbdfd
jmp 0x1400cbfae
mov edx, dword [rbp + 0x138]
lea rcx, [0x1401b5020]
call fcn.1400833f0
mov qword [rbp - 0x18], rax
jmp 0x1400cbfb3
jmp 0x1400cbb24
mov rcx, qword [rbp - 0x18]
call fcn.140001df0
jmp 0x1400cbfbe
int3