Function at 0x1401c2720
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x298]
sub rsp, 0x398
mov qword [rbp + 0x30], 0xfffffffffffffffe
mov rax, qword [0x1403eaa10]
xor rax, rsp
mov qword [rbp + 0x280], rax
mov rdi, r9
mov rsi, r8
mov qword [rbp - 0x10], r8
mov rbx, rdx
mov qword [rbp - 0x30], rdx
mov r12, rcx
lea rax, [0x140338478]
mov qword [rbp + 0x40], rax
lea rax, str.RunOnce
mov qword [rbp + 0x48], rax
lea rax, str.RunOnceEx
mov qword [rbp + 0x50], rax
lea rax, str.RunServices
mov qword [rbp + 0x58], rax
lea rax, str.RunServicesOnce
mov qword [rbp + 0x60], rax
lea rax, str.PoliciesExplorerRun
mov qword [rbp + 0x68], rax
xor r13d, r13d
mov qword [rsp + 0x60], r13
mov qword [rsp + 0x68], r13
call fcn.14014ced0
mov qword [rsp + 0x60], rax
lea rax, [0x140323de0]
test rdi, rdi
je 0x1401c2846
or rbx, 0xffffffffffffffff
inc rbx
cmp word [rdi + rbx*2], 0
jne 0x1401c27d2
mov qword [rsp + 0x78], r13
test ebx, ebx
jne 0x1401c27ec
mov qword [rsp + 0x70], rax
jmp 0x1401c2811
mov edx, ebx
lea rcx, [rsp + 0x70]
call fcn.1401e9030
movsxd r9, ebx
mov eax, dword [rsp + 0x78]
inc eax
movsxd rdx, eax
mov r8, rdi
mov rcx, qword [rsp + 0x70]
call fcn.14029b4d8
mov edx, ebx
lea rcx, [rsp + 0x70]
call fcn.1401ea290
nop
lea r8, [rsp + 0x60]
lea rdx, [rsp + 0x70]
mov rcx, r12
call fcn.1401cd660
nop
cmp dword [rsp + 0x78], 0
jle 0x1401c2842
mov rcx, qword [rsp + 0x70]
call fcn.140298600
mov rbx, qword [rbp - 0x30]
mov ecx, 0x10000
call fcn.140298640
mov r14, rax
mov qword [rbp + 0x18], rax
test rax, rax
je 0x1401c2fda
mov edi, r13d
mov dword [rbp - 0x68], r13d
mov r15, r13
mov qword [rbp - 0x48], r13
nop
mov r13, qword [rbp + r15*8 + 0x40]
lea rax, [rbp - 0x28]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rdx, r13
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1401c2eb1
xor ebx, ebx
mov dword [rbp - 0x6c], ebx
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x40], rbx
lea rax, [rbp - 0x6c]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rbx
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rbp - 0x28]
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov r15d, ebx
cmp dword [rbp - 0x6c], ebx
jbe 0x1401c2ea3
nop word [rax + rax]
mov dword [rbp - 0x70], 0x104
mov dword [rbp - 0x50], 0x10000
lea rax, [rbp - 0x50]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rbx
lea r9, [rbp - 0x70]
lea r8, [rbp + 0x70]
mov edx, r15d
mov rcx, qword [rbp - 0x28]
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
mov edi, eax
inc r15d
cmp eax, 0x103
je 0x1401c2ea0
or rbx, 0xffffffffffffffff
nop
inc rbx
cmp word [r14 + rbx*2], 0
jne 0x1401c2940
xor eax, eax
mov qword [rbp - 0x58], rax
test ebx, ebx
jne 0x1401c2962
lea rax, [0x140323de0]
mov qword [rbp - 0x60], rax
jmp 0x1401c2984
mov edx, ebx
lea rcx, [rbp - 0x60]
call fcn.1401e9030
movsxd r9, ebx
mov eax, dword [rbp - 0x58]
inc eax
movsxd rdx, eax
mov r8, r14
mov rcx, qword [rbp - 0x60]
call fcn.14029b4d8
mov edx, ebx
lea rcx, [rbp - 0x60]
call fcn.1401ea290
nop
xor ebx, ebx
mov qword [rbp - 0x78], rbx
mov edx, dword [rsi + 0xc]
test edx, edx
jne 0x1401c29aa
lea rax, [0x140323de0]
mov qword [rbp - 0x80], rax
jmp 0x1401c29cb
lea rcx, [rbp - 0x80]
call fcn.1401e9030
movsxd r9, dword [rsi + 0xc]
mov eax, dword [rbp - 0x78]
inc eax
movsxd rdx, eax
mov r8, qword [rsi]
mov rcx, qword [rbp - 0x80]
call fcn.14029b4d8
mov edx, dword [rsi + 0xc]
lea rcx, [rbp - 0x80]
call fcn.1401ea290
nop
lea rdx, [0x1403232c8]
lea rcx, [rbp - 0x80]
call fcn.1401e7680
mov rdx, r13
lea rcx, [rbp - 0x80]
call fcn.1401e7680
lea rdx, [0x1403232c8]
lea rcx, [rbp - 0x80]
call fcn.1401e7680
test edi, edi
jne 0x1401c2e77
mov qword [rsp + 0x30], rbx
mov eax, dword [rbp - 0x50]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], r14
mov r9d, dword [rbp - 0x70]
lea r8, [rbp + 0x70]
lea rdx, [rbp - 0x80]
mov rcx, r12
call fcn.1401c0c10
test al, al
jne 0x1401c2a4e
mov qword [rsp + 0x20], r14
mov r9d, dword [rbp - 0x70]
lea r8, [rbp + 0x70]
lea rdx, [rbp - 0x80]
mov rcx, r12
call fcn.1401c10c0
lea rdx, [rbp + 0x70]
lea rcx, [rbp - 0x80]
call fcn.1401e7680
cmp qword [rbp - 0x48], 0
jne 0x1401c2cc7
mov rdx, qword [rsp + 0x60]
mov rbx, qword [rdx + 8]
mov rdi, rdx
cmp byte [rbx + 0x19], 0
jne 0x1401c2acd
nop dword [rax + rax]
mov rdx, qword [rbp - 0x80]
mov rcx, qword [rbx + 0x20]
call fcn.14029848c
test eax, eax
jns 0x1401c2a97
mov rbx, qword [rbx + 0x10]
jmp 0x1401c2a9d
mov rdi, rbx
mov rbx, qword [rbx]
cmp byte [rbx + 0x19], 0
je 0x1401c2a80
mov rdx, qword [rsp + 0x60]
cmp rdi, rdx
je 0x1401c2acd
mov rdx, qword [rdi + 0x20]
mov rcx, qword [rbp - 0x80]
call fcn.14029848c
mov rdx, qword [rsp + 0x60]
test eax, eax
js 0x1401c2acd
mov qword [rbp + 0x10], rdi
lea rax, [rbp + 0x10]
jmp 0x1401c2ad5
mov qword [rbp + 8], rdx
lea rax, [rbp + 8]
cmp qword [rax], rdx
je 0x1401c2cc5
mov rdi, qword [rdx + 8]
mov rbx, rdx
mov rsi, rdx
cmp byte [rdi + 0x19], 0
jne 0x1401c2b31
nop
mov rdx, qword [rbp - 0x80]
mov rcx, qword [rdi + 0x20]
call fcn.14029848c
test eax, eax
jns 0x1401c2b07
mov rdi, qword [rdi + 0x10]
jmp 0x1401c2b26
cmp byte [rsi + 0x19], 0
je 0x1401c2b20
mov rdx, qword [rdi + 0x20]
mov rcx, qword [rbp - 0x80]
call fcn.14029848c
test eax, eax
cmovs rsi, rdi
mov rbx, rdi
mov rdi, qword [rdi]
cmp byte [rdi + 0x19], 0
je 0x1401c2af0
mov rdx, qword [rsp + 0x60]
cmp byte [rsi + 0x19], 0
je 0x1401c2b3d
mov rdi, qword [rdx + 8]
jmp 0x1401c2b40
mov rdi, qword [rsi]
cmp byte [rdi + 0x19], 0
jne 0x1401c2b78
nop word [rax + rax]
mov rdx, qword [rdi + 0x20]
mov rcx, qword [rbp - 0x80]
call fcn.14029848c
test eax, eax
jns 0x1401c2b69
mov rsi, rdi
mov rdi, qword [rdi]
jmp 0x1401c2b6d
mov rdi, qword [rdi + 0x10]
cmp byte [rdi + 0x19], 0
je 0x1401c2b50
mov rdx, qword [rsp + 0x60]
mov rax, rbx
cmp rbx, rsi
je 0x1401c2bd3
cmp byte [rax + 0x19], 0
jne 0x1401c2bce
mov rcx, qword [rax + 0x10]
cmp byte [rcx + 0x19], 0
jne 0x1401c2bae
mov rax, rcx
mov rcx, qword [rcx]
cmp byte [rcx + 0x19], 0
jne 0x1401c2bce
nop dword [rax]
mov rax, rcx
mov rcx, qword [rcx]
cmp byte [rcx + 0x19], 0
je 0x1401c2ba0
jmp 0x1401c2bce
mov rcx, qword [rax + 8]
cmp byte [rcx + 0x19], 0
jne 0x1401c2bcb
cmp rax, qword [rcx + 0x10]
jne 0x1401c2bcb
mov rax, rcx
mov rcx, qword [rcx + 8]
cmp byte [rcx + 0x19], 0
je 0x1401c2bb8
mov rax, rcx
cmp rax, rsi
jne 0x1401c2b80
cmp rbx, qword [rdx]
jne 0x1401c2c57
cmp rsi, rdx
jne 0x1401c2c57
mov rbx, qword [rdx + 8]
mov rdi, rbx
cmp byte [rbx + 0x19], 0
jne 0x1401c2c35
nop word [rax + rax]
mov rdx, qword [rdi + 0x10]
lea rcx, [rsp + 0x60]
call fcn.14014ce60
mov rdi, qword [rdi]
cmp dword [rbx + 0x38], 0
jle 0x1401c2c10
mov rcx, qword [rbx + 0x30]
call fcn.140298600
cmp dword [rbx + 0x28], 0
jle 0x1401c2c1f
mov rcx, qword [rbx + 0x20]
call fcn.140298600
mov rcx, rbx
call fcn.1402012c0
mov rbx, rdi
cmp byte [rdi + 0x19], 0
je 0x1401c2bf0
mov rdx, qword [rsp + 0x60]
mov qword [rdx + 8], rdx
mov rax, qword [rsp + 0x60]
mov qword [rax], rax
mov rax, qword [rsp + 0x60]
mov qword [rax + 0x10], rax
xor ebx, ebx
mov qword [rsp + 0x68], rbx
mov rsi, qword [rbp - 0x10]
jmp 0x1401c2cc7
cmp rbx, rsi
je 0x1401c2cc1
nop dword [rax]
mov r8, rbx
cmp byte [rbx + 0x19], 0
jne 0x1401c2cae
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], 0
jne 0x1401c2c8e
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
jne 0x1401c2cae
nop
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x1401c2c80
jmp 0x1401c2cae
mov rax, qword [rbx + 8]
cmp byte [rax + 0x19], 0
jne 0x1401c2cab
cmp rbx, qword [rax + 0x10]
jne 0x1401c2cab
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x1401c2c98
mov rbx, rax
lea rdx, [rbp + 0x38]
lea rcx, [rsp + 0x60]
call fcn.14014caf0
cmp rbx, rsi
jne 0x1401c2c60
mov rsi, qword [rbp - 0x10]
xor ebx, ebx
mov qword [rbp], 0
mov edx, dword [rbp - 0x54]
test edx, edx
jne 0x1401c2ce3
lea rax, [0x140323de0]
mov qword [rbp - 8], rax
jmp 0x1401c2d08
lea rcx, [rbp - 8]
call fcn.1401e9030
movsxd r9, dword [rbp - 0x54]
mov eax, dword [rbp]
inc eax
movsxd rdx, eax
mov r8, qword [rbp - 0x60]
mov rcx, qword [rbp - 8]
call fcn.14029b4d8
mov edx, dword [rbp - 0x54]
lea rcx, [rbp - 8]
call fcn.1401ea290
mov r8, rsi
lea rdx, [rbp - 8]
mov rcx, r12
call fcn.1401c3080
mov rdi, rax
test rax, rax
je 0x1401c2e77
lea rdx, [rbp - 0x80]
mov rcx, rax
call fcn.1400ed120
lea rax, [rbp + 0x70]
or rbx, 0xffffffffffffffff
inc rbx
cmp word [rax + rbx*2], 0
jne 0x1401c2d40
xor eax, eax
mov qword [rbp - 0x38], rax
test ebx, ebx
jne 0x1401c2d61
lea rax, [0x140323de0]
mov qword [rbp - 0x40], rax
jmp 0x1401c2d84
mov edx, ebx
lea rcx, [rbp - 0x40]
call fcn.1401e9030
movsxd r9, ebx
mov eax, dword [rbp - 0x38]
inc eax
movsxd rdx, eax
lea r8, [rbp + 0x70]
mov rcx, qword [rbp - 0x40]
call fcn.14029b4d8
mov edx, ebx
lea rcx, [rbp - 0x40]
call fcn.1401ea290
nop
mov r8, rdi
lea rdx, [rbp - 0x40]
mov rcx, r12
call fcn.1401c2280
nop
cmp dword [rbp - 0x38], 0
jle 0x1401c2daf
mov rcx, qword [rbp - 0x40]
call fcn.140298600
lea rcx, [rdi + 8]
call fcn.1401c0680
test al, al
je 0x1401c2e75
lea rdx, [rdi + 8]
lea rcx, [rsp + 0x70]
call fcn.1400d1ab0
nop
cmp dword [rsp + 0x7c], 0
je 0x1401c2e64
mov edx, 0x5c
mov rcx, qword [rsp + 0x70]
call fcn.14029aea8
test rax, rax
je 0x1401c2e64
sub rax, qword [rsp + 0x70]
sar rax, 1
test eax, eax
jle 0x1401c2e64
lea r8d, [rax + 1]
lea rdx, [rbp + 0x20]
lea rcx, [rsp + 0x70]
call fcn.1401eaef0
mov rbx, rax
mov edx, dword [rax + 0xc]
lea rcx, [rsp + 0x70]
call fcn.1401e9030
movsxd r9, dword [rbx + 0xc]
mov ecx, dword [rsp + 0x78]
inc ecx
movsxd rdx, ecx
mov r8, qword [rbx]
mov rcx, qword [rsp + 0x70]
call fcn.14029b4d8
mov edx, dword [rbx + 0xc]
lea rcx, [rsp + 0x70]
call fcn.1401ea290
nop
cmp dword [rbp + 0x28], 0
jle 0x1401c2e53
mov rcx, qword [rbp + 0x20]
call fcn.140298600
mov r8, rdi
lea rdx, [rsp + 0x70]
mov rcx, r12
call fcn.1401c2280
nop
cmp dword [rsp + 0x78], 0
jle 0x1401c2e75
mov rcx, qword [rsp + 0x70]
call fcn.140298600
xor ebx, ebx
cmp dword [rbp - 0x78], 0
jle 0x1401c2e87
mov rcx, qword [rbp - 0x80]
call fcn.140298600
nop
cmp dword [rbp - 0x58], 0
jle 0x1401c2e96
mov rcx, qword [rbp - 0x60]
call fcn.140298600
cmp r15d, dword [rbp - 0x6c]
jb 0x1401c28f0
mov edi, dword [rbp - 0x68]
mov rcx, qword [rbp - 0x28]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov r15, qword [rbp - 0x48]
xor r13d, r13d
test edi, edi
jne 0x1401c2fb4
cmp qword [rsp + 0x68], r13
jbe 0x1401c2fb4
mov rax, qword [rsp + 0x60]
mov rbx, qword [rax]
cmp rbx, rax
je 0x1401c2fb4
lea r15, [0x140323de0]
movabs r14, 0x200000000
nop dword [rax]
mov qword [rbp - 0x18], r13
mov edx, dword [rbx + 0x3c]
test edx, edx
jne 0x1401c2f01
mov qword [rbp - 0x20], r15
jmp 0x1401c2f23
lea rcx, [rbp - 0x20]
call fcn.1401e9030
movsxd r9, dword [rbx + 0x3c]
mov eax, dword [rbp - 0x18]
inc eax
movsxd rdx, eax
mov r8, qword [rbx + 0x30]
mov rcx, qword [rbp - 0x20]
call fcn.14029b4d8
mov edx, dword [rbx + 0x3c]
lea rcx, [rbp - 0x20]
call fcn.1401ea290
mov r8, rsi
lea rdx, [rbp - 0x20]
mov rcx, r12
call fcn.1401c3080
test rax, rax
je 0x1401c2f53
or qword [rax + 0x40], r14
lea rdx, [rbx + 0x20]
mov rcx, rax
call fcn.1400ed120
cmp byte [rbx + 0x19], r13b
jne 0x1401c2f9e
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], r13b
jne 0x1401c2f7e
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], r13b
jne 0x1401c2f9e
nop
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], r13b
je 0x1401c2f70
jmp 0x1401c2f9e
mov rax, qword [rbx + 8]
cmp byte [rax + 0x19], r13b
jne 0x1401c2f9b
cmp rbx, qword [rax + 0x10]
jne 0x1401c2f9b
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], r13b
je 0x1401c2f88
mov rbx, rax
cmp rbx, qword [rsp + 0x60]
jne 0x1401c2ef0
mov r14, qword [rbp + 0x18]
mov r15, qword [rbp - 0x48]
mov edi, dword [rbp - 0x68]
inc edi
mov dword [rbp - 0x68], edi
inc r15
mov qword [rbp - 0x48], r15
movsxd rax, edi
cmp rax, 6
mov rbx, qword [rbp - 0x30]
jb 0x1401c2870
mov rcx, r14
call fcn.140298600
nop
mov rax, qword [rsp + 0x60]
mov rbx, qword [rax + 8]
mov rdi, rbx
cmp byte [rbx + 0x19], 0
jne 0x1401c3030
nop dword [rax]
mov rdx, qword [rdi + 0x10]
lea rcx, [rsp + 0x60]
call fcn.14014ce60
mov rdi, qword [rdi]
cmp dword [rbx + 0x38], 0
jle 0x1401c3010
mov rcx, qword [rbx + 0x30]
call fcn.140298600
cmp dword [rbx + 0x28], 0
jle 0x1401c301f
mov rcx, qword [rbx + 0x20]
call fcn.140298600
mov rcx, rbx
call fcn.1402012c0
mov rbx, rdi
cmp byte [rdi + 0x19], 0
je 0x1401c2ff0
mov rax, qword [rsp + 0x60]
mov qword [rax + 8], rax
mov rax, qword [rsp + 0x60]
mov qword [rax], rax
mov rax, qword [rsp + 0x60]
mov qword [rax + 0x10], rax
mov qword [rsp + 0x68], r13
mov rcx, qword [rsp + 0x60]
call fcn.1402012c0
mov rcx, qword [rbp + 0x280]
xor rcx, rsp
call fcn.140297ff0
add rsp, 0x398
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret