Function at 0x18000bd7c
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
mov eax, 0x14c0
call fcn.18003be30
sub rsp, rax
mov qword [rsp + 0x80], 0xfffffffffffffffe
mov qword [rsp + 0x1500], rbx
mov rax, qword [0x180056150]
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 0x18000bde1
xor eax, eax
jmp 0x18000c31a
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 0x18000be1a
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x18000c31a
lea r8, [rdi + 8]
lea rdx, [0x1800414f8]
lea rcx, [rsp + 0xcb0]
call qword [sym.imp.USER32.dll_wsprintfW]
lea rcx, [rsp + 0xcb0]
call fcn.180023ae4
mov rdi, rax
lea rcx, [rsp + 0x4b0]
call fcn.180023ae4
mov rdx, rdi
mov rcx, rax
call fcn.180022910
lea rdx, [rsp + 0x4b0]
cmp rax, rdx
jne 0x18000c30d
lea rdx, [0x180041500]
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 0x18000c30d
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.180022ca0
lea r8, str...X86
lea rdx, [0x180057f50]
lea rcx, [rsp + 0x2a0]
call qword [sym.imp.SHLWAPI.dll_PathCombineW]
lea rdx, [0x180041538]
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.180022910
lea rcx, [rsp + 0x90]
cmp rax, rcx
je 0x18000bf61
xor eax, eax
jmp 0x18000c31a
lea rcx, [0x180056020]
mov rax, qword [0x180056020]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x38], rax
mov rdx, rbx
lea rcx, [rsp + 0x38]
call fcn.18000ba5c
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 0x18000c2e9
mov rbp, qword [rsp + 0x50]
mov qword [rsp + 0x40], rbp
mov dword [rsp + 0x48], r12d
lea rcx, [0x180056020]
mov rax, qword [0x180056020]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x68], rax
mov r9, rbx
lea r8, [0x180041550]
lea rdx, [0x180041560]
lea rcx, [rsp + 0x68]
call fcn.18000da7c
mov dword [rsp + 0x30], 0x104
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x90]
lea rdx, [0x180041570]
lea rcx, [rsp + 0x40]
call fcn.18000d0a0
cmp eax, r12d
je 0x18000c098
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 0x18000c05f
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rcx, qword [rsp + 0x50]
cmp rcx, r12
je 0x18000c070
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 0x18000c090
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov eax, r13d
jmp 0x18000c31a
mov rbx, qword [rsp + 0x68]
mov rdx, rbx
lea rcx, [rsp + 0x90]
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
cmp eax, r12d
je 0x18000c10b
lea rdx, [rbx - 0x18]
or rsi, 0xffffffffffffffff
mov eax, esi
lock xadd dword [rdx + 0x10], eax
add eax, esi
cmp eax, r12d
jg 0x18000c0d3
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rcx, qword [rsp + 0x50]
cmp rcx, r12
je 0x18000c0e4
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 0x18000c104
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
xor eax, eax
jmp 0x18000c31a
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.18000d720
cmp rbp, r12
je 0x18000c14a
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 0x18000c297
mov eax, r12d
cmp rbp, r12
je 0x18000c190
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 0x18000c297
mov dword [rsp + 0x30], 0x104
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x90]
lea rdx, str.Progid
lea rcx, [rsp + 0x40]
call fcn.18000d0a0
cmp eax, r12d
je 0x18000c228
lea rdx, [rbx - 0x18]
mov eax, esi
lock xadd dword [rdx + 0x10], eax
add eax, esi
cmp eax, r12d
jg 0x18000c1ef
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rcx, qword [rsp + 0x58]
cmp rcx, r12
je 0x18000c200
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 0x18000c220
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov eax, r13d
jmp 0x18000c31a
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 0x18000c25f
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rcx, qword [rsp + 0x58]
cmp rcx, r12
je 0x18000c270
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 0x18000c290
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov eax, edi
jmp 0x18000c31a
lea rdx, [rbx - 0x18]
mov eax, esi
lock xadd dword [rdx + 0x10], eax
add eax, esi
cmp eax, r12d
jg 0x18000c2b3
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rcx, qword [rsp + 0x40]
cmp rcx, r12
je 0x18000c2c4
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 0x18000c2e4
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov eax, r13d
jmp 0x18000c31a
lea rdx, [rdi - 0x18]
or rsi, 0xffffffffffffffff
mov eax, esi
lock xadd dword [rdx + 0x10], eax
add eax, esi
cmp eax, r12d
jg 0x18000c308
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov eax, r13d
jmp 0x18000c31a
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.180022fd0
mov rbx, qword [rsp + 0x1500]
add rsp, 0x14c0
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret