Function at 0x1400094a0
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 [0x14002e0b0]
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 0x14000954f
test rbx, 0xffffffffffff0000
jne 0x14000953b
movzx edi, bx
xor edx, edx
mov ecx, edi
call fcn.140004bf0
test rax, rax
je 0x140009563
mov r8d, edi
mov rdx, rax
lea rcx, [rsp + 0x70]
call fcn.140004840
jmp 0x140009563
xor eax, eax
mov rcx, r14
mov rdi, rbx
repne scasw ax, word [rdi]
not rcx
sub rcx, 1
jmp 0x140009552
mov ecx, r12d
mov r8d, ecx
mov rdx, rbx
lea rcx, [rsp + 0x70]
call fcn.1400046e0
nop
lea r8, str.Printer
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0xa8]
call fcn.1400091f0
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 0x1400095c5
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
test edi, edi
jne 0x140009a52
mov r15d, r12d
movzx ebx, byte [rsp + 0x40]
nop
nop
nop
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0xf0]
call fcn.140011570
mov dword [rsp + 0x8c], 0x104
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x510]
call fcn.140011570
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 0x140009a0d
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 0x140009721
lea rdx, [rsi - 0x18]
mov rdi, qword [rdx]
cmp dword [rdx + 8], eax
je 0x1400097ba
cmp dword [rdx + 0x10], eax
jge 0x1400096ed
cmp dword [rsi - 0xc], eax
jl 0x140009a1b
mov dword [rsi - 0x10], r12d
mov word [rsi], ax
jmp 0x1400097ba
mov eax, r14d
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x140009705
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 0x1400097ba
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 0x14000975a
mov edx, edi
lea rcx, [rsp + 0x50]
call fcn.1400049e0
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x50]
cmp r13, r12
ja 0x14000977a
movsxd rax, edi
lea r12, [rax + rax]
lea r8, [rsi + r13*2]
mov r9, r12
mov rdx, r12
mov rcx, rsi
call fcn.140010180
jmp 0x140009797
movsxd rax, edi
lea r12, [rax + rax]
mov r9, r12
lea r8, [rsp + 0xf0]
mov rdx, r12
mov rcx, rsi
call fcn.1400100b0
test edi, edi
js 0x140009a3c
cmp edi, dword [rsi - 0xc]
jg 0x140009a3c
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 0x140009832
lea rdx, [rbp - 0x18]
mov rdi, qword [rdx]
cmp dword [rdx + 8], eax
je 0x1400098bd
cmp dword [rdx + 0x10], eax
jge 0x140009803
cmp dword [rbp - 0xc], eax
jl 0x140009a26
mov dword [rbp - 0x10], r12d
mov word [rbp], ax
jmp 0x1400098bd
mov eax, r14d
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x14000981b
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 0x1400098bd
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 0x140009865
mov edx, edi
lea rcx, [rsp + 0x58]
call fcn.1400049e0
mov rbp, qword [rsp + 0x58]
cmp r12, rsi
ja 0x140009886
movsxd rax, edi
lea rsi, [rax + rax]
lea r8, [rbp + r12*2]
mov r9, rsi
mov rdx, rsi
mov rcx, rbp
call fcn.140010180
jmp 0x1400098a3
movsxd rax, edi
lea rsi, [rax + rax]
mov r9, rsi
lea r8, [rsp + 0x510]
mov rdx, rsi
mov rcx, rbp
call fcn.1400100b0
test edi, edi
js 0x140009a31
cmp edi, dword [rbp - 0xc]
jg 0x140009a31
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 0x1400098d6
xor ecx, ecx
jmp 0x1400098e1
mov rcx, qword [rsi + 0x10]
sub rcx, rdx
sar rcx, 4
test rdx, rdx
je 0x140009928
mov rax, qword [rsi + 0x18]
sub rax, rdx
sar rax, 4
cmp rcx, rax
jae 0x140009928
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.14000ad10
lea rdx, [rdi + 0x10]
mov qword [rsi + 0x10], rdx
jmp 0x1400099c8
mov rdi, qword [rsi + 0x10]
cmp rdx, rdi
jbe 0x140009936
call fcn.140010d00
mov qword [rsp + 0x90], rsi
mov qword [rsp + 0x98], rdi
mov r12, qword [rsi + 8]
test r12, r12
je 0x140009972
mov rcx, qword [rsi + 0x10]
mov rax, rcx
sub rax, r12
sar rax, 4
je 0x140009972
cmp r12, rcx
jbe 0x140009969
call fcn.140010d00
sub rdi, r12
sar rdi, 4
jmp 0x140009974
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.14000a400
mov r12, qword [rsi + 8]
cmp r12, qword [rsi + 0x10]
jbe 0x1400099af
call fcn.140010d00
add rdi, rdi
lea rax, [r12 + rdi*8]
cmp rax, qword [rsi + 0x10]
ja 0x1400099c2
cmp rax, qword [rsi + 8]
jae 0x1400099c8
call fcn.140010d00
nop
lea rdx, [rbp - 0x18]
mov eax, r14d
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x1400099e4
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 0x140009a0a
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
xor r12d, r12d
jmp 0x140009a0d
xor r12d, r12d
add r15d, 1
test r13d, r13d
jne 0x140009a47
jmp 0x1400095e0
mov ecx, 0x80070057
call fcn.140004d20
int3
mov ecx, 0x80070057
call fcn.140004d20
int3
mov ecx, 0x80070057
call fcn.140004d20
int3
mov ecx, 0x80070057
call fcn.140004d20
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.1400091f0
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 0x140009ab4
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
test edi, edi
jne 0x140009f43
mov r15d, r12d
movzx ebx, byte [rsp + 0x40]
nop
nop
nop
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x300]
call fcn.140011570
mov dword [rsp + 0x80], 0x104
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x720]
call fcn.140011570
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 0x140009efd
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 0x140009c12
lea rdx, [rbp - 0x18]
mov rdi, qword [rdx]
cmp dword [rdx + 8], eax
je 0x140009cac
cmp dword [rdx + 0x10], eax
jge 0x140009bde
cmp dword [rbp - 0xc], eax
jl 0x140009f0b
mov dword [rbp - 0x10], r12d
mov word [rbp], ax
jmp 0x140009cac
mov eax, r14d
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x140009bf6
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 0x140009cac
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 0x140009c4b
mov edx, edi
lea rcx, [rsp + 0x60]
call fcn.1400049e0
mov rsi, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x60]
cmp r13, r12
ja 0x140009c6c
movsxd rax, edi
lea r12, [rax + rax]
lea r8, [rbp + r13*2]
mov r9, r12
mov rdx, r12
mov rcx, rbp
call fcn.140010180
jmp 0x140009c89
movsxd rax, edi
lea r12, [rax + rax]
mov r9, r12
lea r8, [rsp + 0x300]
mov rdx, r12
mov rcx, rbp
call fcn.1400100b0
test edi, edi
js 0x140009f2c
cmp edi, dword [rbp - 0xc]
jg 0x140009f2c
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 0x140009d23
lea rdx, [rsi - 0x18]
mov rdi, qword [rdx]
cmp dword [rdx + 8], eax
je 0x140009dad
cmp dword [rdx + 0x10], eax
jge 0x140009cf4
cmp dword [rsi - 0xc], eax
jl 0x140009f16
mov dword [rsi - 0x10], r12d
mov word [rsi], ax
jmp 0x140009dad
mov eax, r14d
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x140009d0c
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 0x140009dad
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 0x140009d56
mov edx, edi
lea rcx, [rsp + 0x68]
call fcn.1400049e0
mov rsi, qword [rsp + 0x68]
cmp r12, rbp
ja 0x140009d76
movsxd rax, edi
lea rbp, [rax + rax]
lea r8, [rsi + r12*2]
mov r9, rbp
mov rdx, rbp
mov rcx, rsi
call fcn.140010180
jmp 0x140009d93
movsxd rax, edi
lea rbp, [rax + rax]
mov r9, rbp
lea r8, [rsp + 0x720]
mov rdx, rbp
mov rcx, rsi
call fcn.1400100b0
test edi, edi
js 0x140009f21
cmp edi, dword [rsi - 0xc]
jg 0x140009f21
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 0x140009dc6
xor ecx, ecx
jmp 0x140009dd1
mov rcx, qword [rbp + 0x10]
sub rcx, rdx
sar rcx, 4
test rdx, rdx
je 0x140009e18
mov rax, qword [rbp + 0x18]
sub rax, rdx
sar rax, 4
cmp rcx, rax
jae 0x140009e18
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.14000ad10
lea rdx, [rdi + 0x10]
mov qword [rbp + 0x10], rdx
jmp 0x140009eb8
mov rdi, qword [rbp + 0x10]
cmp rdx, rdi
jbe 0x140009e26
call fcn.140010d00
mov qword [rsp + 0x90], rbp
mov qword [rsp + 0x98], rdi
mov r12, qword [rbp + 8]
test r12, r12
je 0x140009e62
mov rcx, qword [rbp + 0x10]
mov rax, rcx
sub rax, r12
sar rax, 4
je 0x140009e62
cmp r12, rcx
jbe 0x140009e59
call fcn.140010d00
sub rdi, r12
sar rdi, 4
jmp 0x140009e64
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.14000a400
mov r12, qword [rbp + 8]
cmp r12, qword [rbp + 0x10]
jbe 0x140009e9f
call fcn.140010d00
add rdi, rdi
lea rax, [r12 + rdi*8]
cmp rax, qword [rbp + 0x10]
ja 0x140009eb2
cmp rax, qword [rbp + 8]
jae 0x140009eb8
call fcn.140010d00
nop
lea rdx, [rsi - 0x18]
mov eax, r14d
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x140009ed4
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 0x140009efa
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
xor r12d, r12d
jmp 0x140009efd
xor r12d, r12d
add r15d, 1
test r13d, r13d
jne 0x140009f37
jmp 0x140009ad0
mov ecx, 0x80070057
call fcn.140004d20
int3
mov ecx, 0x80070057
call fcn.140004d20
int3
mov ecx, 0x80070057
call fcn.140004d20
int3
mov ecx, 0x80070057
call fcn.140004d20
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 0x140009f64
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov rcx, qword [rsp + 0x930]
xor rcx, rsp
call fcn.14000f470
mov rbx, qword [rsp + 0x990]
add rsp, 0x940
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret