Function at 0x180004ee0
Capabilities:
Query or enumerate registry value

Disassembly:
push rdi
push r12
push r13
push r14
push r15
mov eax, 0xc140
call fcn.180020cd0
sub rsp, rax
mov qword [rsp + 0x100], 0xfffffffffffffffe
mov qword [rsp + 0xc178], rbx
mov qword [rsp + 0xc180], rbp
mov qword [rsp + 0xc188], rsi
mov rax, qword [0x18002fa78]
xor rax, rsp
mov qword [rsp + 0xc130], rax
mov rsi, rcx
xor ebp, ebp
mov qword [rsp + 0xa8], rbp
mov dword [rsp + 0xb0], ebp
mov qword [rsp + 0x108], rbp
mov dword [rsp + 0x110], ebp
cmp qword [rcx + 0x78], 8
jb 0x180004f5d
mov rbx, qword [rcx + 0x60]
jmp 0x180004f61
lea rbx, [rcx + 0x60]
lea rcx, [0x18002f9d0]
mov rax, qword [0x18002f9d0]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x50], rax
or r14, 0xffffffffffffffff
test rbx, rbx
je 0x180004fc3
test rbx, 0xffffffffffff0000
jne 0x180004fb0
movzx edi, bx
xor edx, edx
mov ecx, edi
call fcn.1800010c0
test rax, rax
je 0x180004fd6
mov r8d, edi
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.180002540
jmp 0x180004fd6
xor eax, eax
mov rcx, r14
mov rdi, rbx
repne scasw ax, word [rdi]
not rcx
dec rcx
jmp 0x180004fc5
mov ecx, ebp
mov r8d, ecx
mov rdx, rbx
lea rcx, [rsp + 0x50]
call fcn.1800020b0
nop
mov rdx, qword [rsi + 0x20]
test rdx, rdx
jne 0x180004fe3
mov ecx, ebp
jmp 0x180004ff4
xor eax, eax
mov rcx, r14
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
dec rcx
mov r8d, ecx
lea rcx, [rsp + 0x50]
call fcn.180002440
xor eax, eax
mov rcx, r14
lea rdi, [0x180024a78]
repne scasw ax, word [rdi]
not rcx
lea r8d, [rcx - 1]
lea rdx, [0x180024a78]
lea rcx, [rsp + 0x50]
call fcn.180002440
mov rdx, qword [rsi + 0x28]
test rdx, rdx
jne 0x180005035
mov ecx, ebp
jmp 0x180005046
xor eax, eax
mov rcx, r14
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
dec rcx
mov r8d, ecx
lea rcx, [rsp + 0x50]
call fcn.180002440
lea r13, [rsi + 0x80]
mov qword [rsp + 0xc0], r13
mov rax, qword [r13 + 0x20]
sub rax, qword [r13 + 0x18]
test rax, 0xfffffffffffffff8
je 0x18000507a
mov rcx, r13
call fcn.180003f10
lea rdi, [rsi + 0xb0]
mov qword [rsp + 0xb8], rdi
mov rcx, qword [rdi + 0x20]
sub rcx, qword [rdi + 0x18]
movabs rax, 0x2aaaaaaaaaaaaaab
imul rcx
sar rdx, 3
mov rax, rdx
shr rax, 0x3f
add rdx, rax
je 0x1800050b6
mov rcx, rdi
call fcn.180004720
mov qword [rsp + 0x68], rbp
lea rax, [rsp + 0x68]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rdx, qword [rsp + 0x50]
mov rcx, 0xffffffff80000003
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x180005694
mov rdi, qword [rsp + 0x68]
mov qword [rsp + 0xa8], rdi
mov dword [rsp + 0xb0], ebp
mov ebx, ebp
mov dword [rsp + 0x44], ebx
movzx esi, byte [rsp + 0x40]
nop word [rax + rax]
xor edx, edx
mov r8d, 0x3fff
lea rcx, [rsp + 0x4130]
call fcn.180012c40
mov dword [rsp + 0x48], 0x3fff
mov dword [rsp + 0xa0], 0x3fff
lea rax, [rsp + 0x48]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x130]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], rbp
lea r9, [rsp + 0xa0]
lea r8, [rsp + 0x4130]
mov edx, ebx
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
mov dword [rsp + 0x60], eax
test eax, eax
jne 0x180005659
lea rcx, [0x18002f9d0]
mov rdx, qword [0x18002f9d0]
call qword [rdx + 0x18]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x58], rbx
lea rcx, [rsp + 0x4130]
lea rax, [rsp + 0x4130]
test rax, 0xffffffffffff0000
jne 0x1800051e1
movzx edi, cx
xor edx, edx
mov ecx, edi
call fcn.1800010c0
test rax, rax
je 0x1800052e9
mov r8d, edi
mov rdx, rax
lea rcx, [rsp + 0x58]
call fcn.180002540
mov rbx, qword [rsp + 0x58]
jmp 0x1800052e9
xor eax, eax
mov rcx, r14
lea rdi, [rsp + 0x4130]
repne scasw ax, word [rdi]
not rcx
dec rcx
mov rdi, rcx
test ecx, ecx
jne 0x180005255
lea rdx, [rbx - 0x18]
mov rdi, qword [rdx]
cmp dword [rdx + 8], eax
je 0x1800052e9
cmp dword [rdx + 0x10], eax
jge 0x180005227
cmp dword [rbx - 0xc], eax
jl 0x180005668
mov dword [rbx - 0x10], ebp
mov word [rbx], bp
jmp 0x1800052e9
mov eax, r14d
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x18000523e
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x58], rbx
jmp 0x1800052e9
mov r12d, dword [rbx - 0x10]
lea rbp, [rsp + 0x4130]
sub rbp, rbx
sar rbp, 1
mov ecx, 1
sub ecx, dword [rbx - 8]
mov eax, dword [rbx - 0xc]
sub eax, edi
or eax, ecx
jge 0x180005289
mov edx, edi
lea rcx, [rsp + 0x58]
call fcn.180001770
mov rbx, qword [rsp + 0x58]
cmp rbp, r12
ja 0x1800052ad
movsxd rax, edi
lea r12, [rax + rax]
lea r8, [rbx + rbp*2]
movsxd rdx, dword [rbx - 0xc]
add rdx, rdx
mov r9, r12
mov rcx, rbx
call fcn.180012768
jmp 0x1800052ce
movsxd rax, edi
lea r12, [rax + rax]
movsxd rdx, dword [rbx - 0xc]
add rdx, rdx
mov r9, r12
lea r8, [rsp + 0x4130]
mov rcx, rbx
call fcn.1800126d0
test edi, edi
js 0x180005673
cmp edi, dword [rbx - 0xc]
jg 0x180005673
mov dword [rbx - 0x10], edi
xor ebp, ebp
mov word [r12 + rbx], bp
mov ecx, 8
call fcn.180012d4c
test rax, rax
je 0x180005302
lea rcx, [rsp + 0x70]
mov qword [rax], rcx
jmp 0x180005305
mov rax, rbp
mov qword [rsp + 0x70], rax
mov rdi, rbp
mov qword [rsp + 0x88], rbp
mov rcx, rbp
mov qword [rsp + 0x90], rcx
mov rdx, rbp
mov qword [rsp + 0x98], rdx
mov r15d, ebp
cmp dword [rsp + 0x48], 0
jbe 0x1800054b1
lea r14, [rsp + 0x130]
test rdi, rdi
jne 0x18000534b
mov rdx, rbp
jmp 0x18000534e
sub rdx, rdi
mov rax, rcx
sub rax, rdi
cmp rax, rdx
jae 0x180005377
movzx eax, byte [r14]
mov byte [rcx], al
inc rcx
mov qword [rsp + 0x90], rcx
mov rdi, qword [rsp + 0x88]
jmp 0x18000548b
mov r12, rcx
cmp rdi, rcx
jbe 0x180005394
call fcn.180012a74
mov rcx, qword [rsp + 0x90]
mov rdi, qword [rsp + 0x88]
mov rbp, qword [rsp + 0x70]
mov qword [rsp + 0xd0], rbp
mov qword [rsp + 0xd8], r12
cmp rcx, rdi
jne 0x1800053b3
xor r12d, r12d
jmp 0x1800053d1
cmp rdi, rcx
jbe 0x1800053bd
call fcn.180012a74
test rbp, rbp
je 0x1800053c9
cmp rbp, qword [rsp + 0x70]
je 0x1800053ce
call fcn.180012a74
sub r12, rdi
movaps xmm0, xmmword [rsp + 0xd0]
movdqa xmmword [rsp + 0xf0], xmm0
mov r9, r14
mov r8d, 1
lea rdx, [rsp + 0xf0]
lea rcx, [rsp + 0x70]
call fcn.180003540
mov rdi, qword [rsp + 0x88]
mov r13, rdi
mov rcx, qword [rsp + 0x90]
cmp rdi, rcx
jbe 0x18000542a
call fcn.180012a74
mov rcx, qword [rsp + 0x90]
mov rdi, qword [rsp + 0x88]
mov rbp, qword [rsp + 0x70]
test rbp, rbp
jne 0x18000544e
call fcn.180012a74
xor r11d, r11d
mov rcx, qword [rsp + 0x90]
mov rdi, qword [rsp + 0x88]
jmp 0x180005456
mov rax, qword [rsp + 0x70]
mov r11, qword [rax]
lea rdx, [r13 + r12]
cmp rdx, qword [r11 + 0x20]
ja 0x180005474
test rbp, rbp
je 0x18000546c
mov rax, qword [rbp]
jmp 0x18000546e
xor eax, eax
cmp rdx, qword [rax + 0x18]
jae 0x180005489
call fcn.180012a74
mov rcx, qword [rsp + 0x90]
mov rdi, qword [rsp + 0x88]
xor ebp, ebp
inc r15d
inc r14
cmp r15d, dword [rsp + 0x48]
jae 0x1800054a5
mov rdx, qword [rsp + 0x98]
jmp 0x180005341
mov r13, qword [rsp + 0xc0]
or r14, 0xffffffffffffffff
mov rdx, qword [r13 + 0x18]
test rdx, rdx
jne 0x1800054bf
mov rcx, rbp
jmp 0x1800054ca
mov rcx, qword [r13 + 0x28]
sub rcx, rdx
sar rcx, 3
mov rbp, qword [r13 + 0x20]
mov rax, rbp
sub rax, rdx
sar rax, 3
cmp rax, rcx
jae 0x18000550d
xor eax, eax
mov byte [rsp + 0x40], al
lea r9, [r13 + 0x10]
mov byte [rsp + 0x28], al
mov byte [rsp + 0x20], sil
lea r8, [rsp + 0x58]
lea edx, [rax + 1]
mov rcx, rbp
call fcn.180002820
lea rdx, [rbp + 8]
mov qword [r13 + 0x20], rdx
jmp 0x1800055d8
cmp rdx, rbp
jbe 0x180005517
call fcn.180012a74
mov rdi, qword [r13]
mov qword [rsp + 0xe0], rdi
mov qword [rsp + 0xe8], rbp
mov rcx, qword [r13 + 0x20]
mov r12, qword [r13 + 0x18]
mov rax, rcx
sub rax, r12
test rax, 0xfffffffffffffff8
jne 0x180005545
xor ebp, ebp
jmp 0x180005566
cmp r12, rcx
jbe 0x18000554f
call fcn.180012a74
test rdi, rdi
je 0x18000555a
cmp rdi, qword [r13]
je 0x18000555f
call fcn.180012a74
sub rbp, r12
sar rbp, 3
movaps xmm0, xmmword [rsp + 0xe0]
movdqa xmmword [rsp + 0x120], xmm0
lea r9, [rsp + 0x58]
mov r8d, 1
lea rdx, [rsp + 0x120]
mov rcx, r13
call fcn.180004000
mov r12, qword [r13 + 0x18]
cmp r12, qword [r13 + 0x20]
jbe 0x1800055a1
call fcn.180012a74
mov rdi, qword [r13]
test rdi, rdi
jne 0x1800055b4
call fcn.180012a74
xor r11d, r11d
jmp 0x1800055b7
mov r11, qword [rdi]
lea rcx, [r12 + rbp*8]
cmp rcx, qword [r11 + 0x20]
ja 0x1800055d3
test rdi, rdi
je 0x1800055cb
mov rax, qword [rdi]
jmp 0x1800055cd
xor eax, eax
cmp rcx, qword [rax + 0x18]
jae 0x1800055d8
call fcn.180012a74
lea rdx, [rsp + 0x70]
mov rcx, qword [rsp + 0xb8]
call fcn.180004df0
nop
mov rcx, qword [rsp + 0x88]
test rcx, rcx
je 0x1800055fd
call fcn.1800126c8
xor ebp, ebp
mov qword [rsp + 0x88], rbp
mov qword [rsp + 0x90], rbp
mov qword [rsp + 0x98], rbp
mov rcx, qword [rsp + 0x70]
call fcn.1800126c8
nop
lea rdx, [rbx - 0x18]
mov eax, r14d
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x18000564c
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rdi, qword [rsp + 0x68]
mov ebx, dword [rsp + 0x44]
mov eax, dword [rsp + 0x60]
jmp 0x180005659
mov rdi, qword [rsp + 0x68]
mov ebx, dword [rsp + 0x44]
mov eax, dword [rsp + 0x60]
inc ebx
mov dword [rsp + 0x44], ebx
test eax, eax
jne 0x18000567e
jmp 0x180005110
mov ecx, 0x80070057
call fcn.180001000
int3
mov ecx, 0x80070057
call fcn.180001000
nop
test rdi, rdi
je 0x180005694
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0xa8], rbp
mov dword [rsp + 0xb0], ebp
mov rdx, qword [rsp + 0x50]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], r14d
dec r14d
test r14d, r14d
jg 0x1800056bc
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rcx, qword [rsp + 0xa8]
test rcx, rcx
je 0x1800056cf
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0xc130]
xor rcx, rsp
call fcn.1800134f0
lea r11, [rsp + 0xc140]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret