Function at 0x180006fa4
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
mov eax, 0x14c0
call fcn.18003f390
sub rsp, rax
mov qword [rsp + 0x80], 0xfffffffffffffffe
mov qword [rsp + 0x1500], rbx
mov rax, qword [0x180059640]
xor rax, rsp
mov qword [rsp + 0x14b0], rax
mov rbx, rdx
mov rdi, rcx
lea r8, [rsp + 0x60]
mov rsi, 0xffffffff80000000
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
xor r12d, r12d
cmp eax, r12d
je 0x180007009
xor eax, eax
jmp 0x180007542
mov dword [rsp + 0x30], 0x400
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x4b0]
xor edx, edx
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueW]
cmp eax, r12d
je 0x180007042
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x180007542
lea r8, [rdi + 8]
lea rdx, [0x180044508]
lea rcx, [rsp + 0xcb0]
call qword [sym.imp.USER32.dll_wsprintfW]
lea rcx, [rsp + 0xcb0]
call fcn.180027054
mov rdi, rax
lea rcx, [rsp + 0x4b0]
call fcn.180027054
mov rdx, rdi
mov rcx, rax
call fcn.180025e88
lea rdx, [rsp + 0x4b0]
cmp rax, rdx
jne 0x180007535
lea rdx, [0x180044510]
lea rcx, [rsp + 0x4b0]
call qword [sym.imp.KERNEL32.dll_lstrcatW]
lea r8, [rsp + 0x78]
lea rdx, [rsp + 0x4b0]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
cmp eax, r12d
jne 0x180007535
mov dword [rsp + 0x70], 0x208
lea r9, [rsp + 0x70]
lea r8, [rsp + 0x90]
xor edx, edx
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueW]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rcx, [rsp + 0x90]
call qword [sym.imp.USER32.dll_CharLowerW]
mov word [rsp + 0x2a0], r12w
xor edx, edx
mov r8d, 0x206
lea rcx, [rsp + 0x2a2]
call fcn.180026210
lea r8, str...X86
lea rdx, [0x18005af50]
lea rcx, [rsp + 0x2a0]
call qword [sym.imp.SHLWAPI.dll_PathCombineW]
lea rdx, [0x180044548]
lea rcx, [rsp + 0x2a0]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
lea rcx, [rsp + 0x2a0]
call qword [sym.imp.USER32.dll_CharLowerW]
lea rdx, [rsp + 0x2a0]
lea rcx, [rsp + 0x90]
call fcn.180025e88
lea rcx, [rsp + 0x90]
cmp rax, rcx
je 0x180007189
xor eax, eax
jmp 0x180007542
lea rcx, [0x180059508]
mov rax, qword [0x180059508]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x38], rax
mov rdx, rbx
lea rcx, [rsp + 0x38]
call fcn.180006c84
mov qword [rsp + 0x40], r12
mov dword [rsp + 0x48], r12d
mov qword [rsp + 0x50], r12
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov r13d, 1
mov r9d, r13d
xor r8d, r8d
mov rdi, qword [rsp + 0x38]
mov rdx, rdi
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, r12d
jne 0x180007511
mov rbp, qword [rsp + 0x50]
mov qword [rsp + 0x40], rbp
mov dword [rsp + 0x48], r12d
lea rcx, [0x180059508]
mov rax, qword [0x180059508]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x68], rax
mov r9, rbx
lea r8, [0x180044560]
lea rdx, [0x180044570]
lea rcx, [rsp + 0x68]
call fcn.180008ca4
mov dword [rsp + 0x30], 0x104
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x90]
lea rdx, [0x180044580]
lea rcx, [rsp + 0x40]
call fcn.1800082c8
cmp eax, r12d
je 0x1800072c0
mov rdx, qword [rsp + 0x68]
add rdx, 0xffffffffffffffe8
or rsi, 0xffffffffffffffff
mov eax, esi
lock xadd dword [rdx + 0x10], eax
add eax, esi
cmp eax, r12d
jg 0x180007287
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rcx, qword [rsp + 0x50]
cmp rcx, r12
je 0x180007298
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rdx, qword [rsp + 0x38]
add rdx, 0xffffffffffffffe8
mov ecx, esi
lock xadd dword [rdx + 0x10], ecx
add ecx, esi
cmp ecx, r12d
jg 0x1800072b8
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov eax, r13d
jmp 0x180007542
mov rbx, qword [rsp + 0x68]
mov rdx, rbx
lea rcx, [rsp + 0x90]
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
cmp eax, r12d
je 0x180007333
lea rdx, [rbx - 0x18]
or rsi, 0xffffffffffffffff
mov eax, esi
lock xadd dword [rdx + 0x10], eax
add eax, esi
cmp eax, r12d
jg 0x1800072fb
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rcx, qword [rsp + 0x50]
cmp rcx, r12
je 0x18000730c
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rdx, qword [rsp + 0x38]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
add eax, esi
cmp eax, r12d
jg 0x18000732c
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
xor eax, eax
jmp 0x180007542
xor eax, eax
or rsi, 0xffffffffffffffff
mov rcx, rsi
lea rdx, str.UserChoice
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
sub rcx, r13
mov r8d, ecx
lea rcx, [rsp + 0x38]
call fcn.180008948
cmp rbp, r12
je 0x180007372
mov rcx, rbp
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rbp, r12
mov qword [rsp + 0x40], r12
mov dword [rsp + 0x48], r12d
mov qword [rsp + 0x58], r12
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
mov r9d, r13d
xor r8d, r8d
mov rdx, qword [rsp + 0x38]
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, r12d
jne 0x1800074bf
mov eax, r12d
cmp rbp, r12
je 0x1800073b8
mov rcx, rbp
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x58]
mov qword [rsp + 0x40], rcx
mov dword [rsp + 0x48], r12d
cmp eax, r12d
jne 0x1800074bf
mov dword [rsp + 0x30], 0x104
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x90]
lea rdx, str.Progid
lea rcx, [rsp + 0x40]
call fcn.1800082c8
cmp eax, r12d
je 0x180007450
lea rdx, [rbx - 0x18]
mov eax, esi
lock xadd dword [rdx + 0x10], eax
add eax, esi
cmp eax, r12d
jg 0x180007417
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rcx, qword [rsp + 0x58]
cmp rcx, r12
je 0x180007428
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rdx, qword [rsp + 0x38]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
add eax, esi
cmp eax, r12d
jg 0x180007448
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov eax, r13d
jmp 0x180007542
mov rdx, rbx
lea rcx, [rsp + 0x90]
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
mov edi, r12d
cmp eax, r12d
sete dil
lea rdx, [rbx - 0x18]
mov eax, esi
lock xadd dword [rdx + 0x10], eax
add eax, esi
cmp eax, r12d
jg 0x180007487
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rcx, qword [rsp + 0x58]
cmp rcx, r12
je 0x180007498
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rdx, qword [rsp + 0x38]
add rdx, 0xffffffffffffffe8
mov ecx, esi
lock xadd dword [rdx + 0x10], ecx
add ecx, esi
cmp ecx, r12d
jg 0x1800074b8
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov eax, edi
jmp 0x180007542
lea rdx, [rbx - 0x18]
mov eax, esi
lock xadd dword [rdx + 0x10], eax
add eax, esi
cmp eax, r12d
jg 0x1800074db
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rcx, qword [rsp + 0x40]
cmp rcx, r12
je 0x1800074ec
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rdx, qword [rsp + 0x38]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
add eax, esi
cmp eax, r12d
jg 0x18000750c
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov eax, r13d
jmp 0x180007542
lea rdx, [rdi - 0x18]
or rsi, 0xffffffffffffffff
mov eax, esi
lock xadd dword [rdx + 0x10], eax
add eax, esi
cmp eax, r12d
jg 0x180007530
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov eax, r13d
jmp 0x180007542
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov rcx, qword [rsp + 0x14b0]
xor rcx, rsp
call fcn.180026540
mov rbx, qword [rsp + 0x1500]
add rsp, 0x14c0
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret