Function at 0x140005ec0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x940
mov qword [rsp + 0xe0], 0xfffffffffffffffe
mov qword [rsp + 0x990], rbx
mov rax, qword [0x1400230b0]
xor rax, rsp
mov qword [rsp + 0x930], rax
mov rbx, rdx
mov qword [rsp + 0xa0], rcx
xor r12d, r12d
mov qword [rsp + 0x48], r12
lea rcx, section..data
mov rax, qword [section..data]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x70], rax
or r14, 0xffffffffffffffff
test rbx, rbx
je 0x140005f6f
test rbx, 0xffffffffffff0000
jne 0x140005f5b
movzx edi, bx
xor edx, edx
mov ecx, edi
call fcn.140005cd0
test rax, rax
je 0x140005f83
mov r8d, edi
mov rdx, rax
lea rcx, [rsp + 0x70]
call fcn.1400057c0
jmp 0x140005f83
xor eax, eax
mov rcx, r14
mov rdi, rbx
repne scasw ax, word [rdi]
not rcx
sub rcx, 1
jmp 0x140005f72
mov ecx, r12d
mov r8d, ecx
mov rdx, rbx
lea rcx, [rsp + 0x70]
call fcn.140005950
nop
lea r8, str.Printer
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0xa8]
call fcn.140006c00
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x20], rcx
mov r9d, 0x20019
xor r8d, r8d
mov rdx, qword [rax]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, eax
mov rdx, qword [rsp + 0xa8]
add rdx, 0xffffffffffffffe8
mov ecx, r14d
lock xadd dword [rdx + 0x10], ecx
add ecx, 0xffffffff
test ecx, ecx
jg 0x140005fe5
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
test edi, edi
jne 0x140006472
mov r15d, r12d
movzx ebx, byte [rsp + 0x40]
nop
nop
nop
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0xf0]
call fcn.14000c470
mov dword [rsp + 0x8c], 0x104
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x510]
call fcn.14000c470
mov dword [rsp + 0x88], 0x104
lea rax, [rsp + 0x88]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x510]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r12
lea r9, [rsp + 0x8c]
lea r8, [rsp + 0xf0]
mov edx, r15d
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
mov r13d, eax
mov dword [rsp + 0x78], eax
test eax, eax
jne 0x14000642d
lea rcx, section..data
mov rdx, qword [section..data]
call qword [rdx + 0x18]
lea rsi, [rax + 0x18]
mov qword [rsp + 0x50], rsi
lea rcx, section..data
mov rdx, qword [section..data]
call qword [rdx + 0x18]
lea rbp, [rax + 0x18]
mov qword [rsp + 0x58], rbp
xor eax, eax
mov rcx, r14
lea rdi, [rsp + 0xf0]
repne scasw ax, word [rdi]
not rcx
sub rcx, 1
mov rdi, rcx
test ecx, ecx
jne 0x140006141
lea rdx, [rsi - 0x18]
mov rdi, qword [rdx]
cmp dword [rdx + 8], eax
je 0x1400061da
cmp dword [rdx + 0x10], eax
jge 0x14000610d
cmp dword [rsi - 0xc], eax
jl 0x14000643b
mov dword [rsi - 0x10], r12d
mov word [rsi], ax
jmp 0x1400061da
mov eax, r14d
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x140006125
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x50], rax
mov rbp, qword [rsp + 0x58]
jmp 0x1400061da
mov r12d, dword [rsi - 0x10]
lea r13, [rsp + 0xf0]
sub r13, rsi
sar r13, 1
mov ecx, 1
sub ecx, dword [rsi - 8]
mov eax, dword [rsi - 0xc]
sub eax, edi
or eax, ecx
jge 0x14000617a
mov edx, edi
lea rcx, [rsp + 0x50]
call fcn.140005ac0
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x50]
cmp r13, r12
ja 0x14000619a
movsxd rax, edi
lea r12, [rax + rax]
lea r8, [rsi + r13*2]
mov r9, r12
mov rdx, r12
mov rcx, rsi
call fcn.14000a9c0
jmp 0x1400061b7
movsxd rax, edi
lea r12, [rax + rax]
mov r9, r12
lea r8, [rsp + 0xf0]
mov rdx, r12
mov rcx, rsi
call fcn.14000b780
test edi, edi
js 0x14000645c
cmp edi, dword [rsi - 0xc]
jg 0x14000645c
mov dword [rsi - 0x10], edi
mov word [r12 + rsi], 0
mov r13d, dword [rsp + 0x78]
xor r12d, r12d
xor eax, eax
mov rcx, r14
lea rdi, [rsp + 0x510]
repne scasw ax, word [rdi]
not rcx
sub rcx, 1
mov rdi, rcx
test ecx, ecx
jne 0x140006252
lea rdx, [rbp - 0x18]
mov rdi, qword [rdx]
cmp dword [rdx + 8], eax
je 0x1400062dd
cmp dword [rdx + 0x10], eax
jge 0x140006223
cmp dword [rbp - 0xc], eax
jl 0x140006446
mov dword [rbp - 0x10], r12d
mov word [rbp], ax
jmp 0x1400062dd
mov eax, r14d
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x14000623b
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x18]
lea rbp, [rax + 0x18]
mov qword [rsp + 0x58], rbp
jmp 0x1400062dd
mov esi, dword [rbp - 0x10]
lea r12, [rsp + 0x510]
sub r12, rbp
sar r12, 1
mov ecx, 1
sub ecx, dword [rbp - 8]
mov eax, dword [rbp - 0xc]
sub eax, edi
or eax, ecx
jge 0x140006285
mov edx, edi
lea rcx, [rsp + 0x58]
call fcn.140005ac0
mov rbp, qword [rsp + 0x58]
cmp r12, rsi
ja 0x1400062a6
movsxd rax, edi
lea rsi, [rax + rax]
lea r8, [rbp + r12*2]
mov r9, rsi
mov rdx, rsi
mov rcx, rbp
call fcn.14000a9c0
jmp 0x1400062c3
movsxd rax, edi
lea rsi, [rax + rax]
mov r9, rsi
lea r8, [rsp + 0x510]
mov rdx, rsi
mov rcx, rbp
call fcn.14000b780
test edi, edi
js 0x140006451
cmp edi, dword [rbp - 0xc]
jg 0x140006451
mov dword [rbp - 0x10], edi
mov word [rsi + rbp], 0
mov rsi, qword [rsp + 0xa0]
add rsi, 8
mov rdx, qword [rsi + 8]
test rdx, rdx
jne 0x1400062f6
xor ecx, ecx
jmp 0x140006301
mov rcx, qword [rsi + 0x10]
sub rcx, rdx
sar rcx, 4
test rdx, rdx
je 0x140006348
mov rax, qword [rsi + 0x18]
sub rax, rdx
sar rax, 4
cmp rcx, rax
jae 0x140006348
mov rdi, qword [rsi + 0x10]
xor eax, eax
mov byte [rsp + 0x40], al
mov byte [rsp + 0x28], al
mov byte [rsp + 0x20], bl
mov r9, rsi
lea r8, [rsp + 0x50]
lea edx, [rax + 1]
mov rcx, rdi
call fcn.1400078a0
lea rdx, [rdi + 0x10]
mov qword [rsi + 0x10], rdx
jmp 0x1400063e8
mov rdi, qword [rsi + 0x10]
cmp rdx, rdi
jbe 0x140006356
call fcn.14000bcd0
mov qword [rsp + 0x90], rsi
mov qword [rsp + 0x98], rdi
mov r12, qword [rsi + 8]
test r12, r12
je 0x140006392
mov rcx, qword [rsi + 0x10]
mov rax, rcx
sub rax, r12
sar rax, 4
je 0x140006392
cmp r12, rcx
jbe 0x140006389
call fcn.14000bcd0
sub rdi, r12
sar rdi, 4
jmp 0x140006394
xor edi, edi
movaps xmm0, xmmword [rsp + 0x90]
movdqa xmmword [rsp + 0xd0], xmm0
lea r9, [rsp + 0x50]
mov r8d, 1
lea rdx, [rsp + 0xd0]
mov rcx, rsi
call fcn.140006f90
mov r12, qword [rsi + 8]
cmp r12, qword [rsi + 0x10]
jbe 0x1400063cf
call fcn.14000bcd0
add rdi, rdi
lea rax, [r12 + rdi*8]
cmp rax, qword [rsi + 0x10]
ja 0x1400063e2
cmp rax, qword [rsi + 8]
jae 0x1400063e8
call fcn.14000bcd0
nop
lea rdx, [rbp - 0x18]
mov eax, r14d
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x140006404
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov rdx, qword [rsp + 0x50]
add rdx, 0xffffffffffffffe8
mov eax, r14d
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x14000642a
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
xor r12d, r12d
jmp 0x14000642d
xor r12d, r12d
add r15d, 1
test r13d, r13d
jne 0x140006467
jmp 0x140006000
mov ecx, 0x80070057
call fcn.140005e00
int3
mov ecx, 0x80070057
call fcn.140005e00
int3
mov ecx, 0x80070057
call fcn.140005e00
int3
mov ecx, 0x80070057
call fcn.140005e00
nop
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea r8, str.Scanner
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0xb0]
call fcn.140006c00
lea rdx, [rsp + 0x48]
mov qword [rsp + 0x20], rdx
mov r9d, 0x20019
xor r8d, r8d
mov rdx, qword [rax]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, eax
mov rdx, qword [rsp + 0xb0]
add rdx, 0xffffffffffffffe8
mov ecx, r14d
lock xadd dword [rdx + 0x10], ecx
add ecx, 0xffffffff
test ecx, ecx
jg 0x1400064d4
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
test edi, edi
jne 0x140006963
mov r15d, r12d
movzx ebx, byte [rsp + 0x40]
nop
nop
nop
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x300]
call fcn.14000c470
mov dword [rsp + 0x80], 0x104
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x720]
call fcn.14000c470
mov dword [rsp + 0x84], 0x104
lea rax, [rsp + 0x84]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x720]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r12
lea r9, [rsp + 0x80]
lea r8, [rsp + 0x300]
mov edx, r15d
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
mov r13d, eax
mov dword [rsp + 0x78], eax
test eax, eax
jne 0x14000691d
lea rcx, section..data
mov rdx, qword [section..data]
call qword [rdx + 0x18]
lea rbp, [rax + 0x18]
mov qword [rsp + 0x60], rbp
lea rcx, section..data
mov rdx, qword [section..data]
call qword [rdx + 0x18]
lea rsi, [rax + 0x18]
mov qword [rsp + 0x68], rsi
xor eax, eax
mov rcx, r14
lea rdi, [rsp + 0x300]
repne scasw ax, word [rdi]
not rcx
sub rcx, 1
mov rdi, rcx
test ecx, ecx
jne 0x140006632
lea rdx, [rbp - 0x18]
mov rdi, qword [rdx]
cmp dword [rdx + 8], eax
je 0x1400066cc
cmp dword [rdx + 0x10], eax
jge 0x1400065fe
cmp dword [rbp - 0xc], eax
jl 0x14000692b
mov dword [rbp - 0x10], r12d
mov word [rbp], ax
jmp 0x1400066cc
mov eax, r14d
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x140006616
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x60], rax
mov rsi, qword [rsp + 0x68]
jmp 0x1400066cc
mov r12d, dword [rbp - 0x10]
lea r13, [rsp + 0x300]
sub r13, rbp
sar r13, 1
mov ecx, 1
sub ecx, dword [rbp - 8]
mov eax, dword [rbp - 0xc]
sub eax, edi
or eax, ecx
jge 0x14000666b
mov edx, edi
lea rcx, [rsp + 0x60]
call fcn.140005ac0
mov rsi, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x60]
cmp r13, r12
ja 0x14000668c
movsxd rax, edi
lea r12, [rax + rax]
lea r8, [rbp + r13*2]
mov r9, r12
mov rdx, r12
mov rcx, rbp
call fcn.14000a9c0
jmp 0x1400066a9
movsxd rax, edi
lea r12, [rax + rax]
mov r9, r12
lea r8, [rsp + 0x300]
mov rdx, r12
mov rcx, rbp
call fcn.14000b780
test edi, edi
js 0x14000694c
cmp edi, dword [rbp - 0xc]
jg 0x14000694c
mov dword [rbp - 0x10], edi
mov word [r12 + rbp], 0
mov r13d, dword [rsp + 0x78]
xor r12d, r12d
xor eax, eax
mov rcx, r14
lea rdi, [rsp + 0x720]
repne scasw ax, word [rdi]
not rcx
sub rcx, 1
mov rdi, rcx
test ecx, ecx
jne 0x140006743
lea rdx, [rsi - 0x18]
mov rdi, qword [rdx]
cmp dword [rdx + 8], eax
je 0x1400067cd
cmp dword [rdx + 0x10], eax
jge 0x140006714
cmp dword [rsi - 0xc], eax
jl 0x140006936
mov dword [rsi - 0x10], r12d
mov word [rsi], ax
jmp 0x1400067cd
mov eax, r14d
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x14000672c
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x18]
lea rsi, [rax + 0x18]
mov qword [rsp + 0x68], rsi
jmp 0x1400067cd
mov ebp, dword [rsi - 0x10]
lea r12, [rsp + 0x720]
sub r12, rsi
sar r12, 1
mov ecx, 1
sub ecx, dword [rsi - 8]
mov eax, dword [rsi - 0xc]
sub eax, edi
or eax, ecx
jge 0x140006776
mov edx, edi
lea rcx, [rsp + 0x68]
call fcn.140005ac0
mov rsi, qword [rsp + 0x68]
cmp r12, rbp
ja 0x140006796
movsxd rax, edi
lea rbp, [rax + rax]
lea r8, [rsi + r12*2]
mov r9, rbp
mov rdx, rbp
mov rcx, rsi
call fcn.14000a9c0
jmp 0x1400067b3
movsxd rax, edi
lea rbp, [rax + rax]
mov r9, rbp
lea r8, [rsp + 0x720]
mov rdx, rbp
mov rcx, rsi
call fcn.14000b780
test edi, edi
js 0x140006941
cmp edi, dword [rsi - 0xc]
jg 0x140006941
mov dword [rsi - 0x10], edi
mov word [rsi + rbp], 0
mov rbp, qword [rsp + 0xa0]
add rbp, 8
mov rdx, qword [rbp + 8]
test rdx, rdx
jne 0x1400067e6
xor ecx, ecx
jmp 0x1400067f1
mov rcx, qword [rbp + 0x10]
sub rcx, rdx
sar rcx, 4
test rdx, rdx
je 0x140006838
mov rax, qword [rbp + 0x18]
sub rax, rdx
sar rax, 4
cmp rcx, rax
jae 0x140006838
mov rdi, qword [rbp + 0x10]
xor eax, eax
mov byte [rsp + 0x41], al
mov byte [rsp + 0x28], al
mov byte [rsp + 0x20], bl
mov r9, rbp
lea r8, [rsp + 0x60]
lea edx, [rax + 1]
mov rcx, rdi
call fcn.1400078a0
lea rdx, [rdi + 0x10]
mov qword [rbp + 0x10], rdx
jmp 0x1400068d8
mov rdi, qword [rbp + 0x10]
cmp rdx, rdi
jbe 0x140006846
call fcn.14000bcd0
mov qword [rsp + 0x90], rbp
mov qword [rsp + 0x98], rdi
mov r12, qword [rbp + 8]
test r12, r12
je 0x140006882
mov rcx, qword [rbp + 0x10]
mov rax, rcx
sub rax, r12
sar rax, 4
je 0x140006882
cmp r12, rcx
jbe 0x140006879
call fcn.14000bcd0
sub rdi, r12
sar rdi, 4
jmp 0x140006884
xor edi, edi
movaps xmm0, xmmword [rsp + 0x90]
movdqa xmmword [rsp + 0xc0], xmm0
lea r9, [rsp + 0x60]
mov r8d, 1
lea rdx, [rsp + 0xc0]
mov rcx, rbp
call fcn.140006f90
mov r12, qword [rbp + 8]
cmp r12, qword [rbp + 0x10]
jbe 0x1400068bf
call fcn.14000bcd0
add rdi, rdi
lea rax, [r12 + rdi*8]
cmp rax, qword [rbp + 0x10]
ja 0x1400068d2
cmp rax, qword [rbp + 8]
jae 0x1400068d8
call fcn.14000bcd0
nop
lea rdx, [rsi - 0x18]
mov eax, r14d
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x1400068f4
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov rdx, qword [rsp + 0x60]
add rdx, 0xffffffffffffffe8
mov eax, r14d
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x14000691a
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
xor r12d, r12d
jmp 0x14000691d
xor r12d, r12d
add r15d, 1
test r13d, r13d
jne 0x140006957
jmp 0x1400064f0
mov ecx, 0x80070057
call fcn.140005e00
int3
mov ecx, 0x80070057
call fcn.140005e00
int3
mov ecx, 0x80070057
call fcn.140005e00
int3
mov ecx, 0x80070057
call fcn.140005e00
nop
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rdx, qword [rsp + 0x70]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], r14d
add r14d, 0xffffffff
test r14d, r14d
jg 0x140006984
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov rcx, qword [rsp + 0x930]
xor rcx, rsp
call fcn.14000a6e0
mov rbx, qword [rsp + 0x990]
add rsp, 0x940
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret