Function at 0x1800094c0
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rdx
mov qword [rax + 8], rcx
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rax - 0x38]
sub rsp, 0x110
mov qword [rbp], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov r15, r9
mov r14, r8
mov r12, rdx
lea r8, [rbp - 0x68]
mov rdx, qword [rdx]
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x1800096b0
lea rcx, [rbp - 0x50]
call qword [sym.imp.mfc110u.dll_Ordinal_956]
nop
xor edi, edi
mov dword [rbp + 0x40], edi
mov dword [rbp - 0x80], edi
mov dword [rsp + 0x6c], edi
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x50], rdi
lea rax, [rsp + 0x6c]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x80]
mov qword [rsp + 0x40], rax
lea rax, [rbp + 0x40]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rdi
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rbp - 0x68]
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
cmp dword [rbp + 0x40], edi
je 0x180009694
lea rcx, [rsp + 0x78]
call qword [sym.imp.mfc110u.dll_Ordinal_296]
nop
lea rcx, [rbp - 0x78]
call qword [sym.imp.mfc110u.dll_Ordinal_296]
nop
lea rcx, [rbp - 0x70]
call qword [sym.imp.mfc110u.dll_Ordinal_296]
nop
mov esi, edi
cmp dword [rbp + 0x40], edi
jbe 0x180009673
cmp esi, 0x32
jge 0x180009673
mov edx, dword [rbp - 0x80]
inc edx
mov dword [rbp - 0x5c], edx
mov eax, dword [rsp + 0x6c]
inc eax
mov dword [rsp + 0x68], eax
lea rcx, [rsp + 0x78]
call qword [sym.imp.mfc110u.dll_Ordinal_4828]
mov rbx, rax
mov edx, dword [rsp + 0x68]
lea rcx, [rbp - 0x78]
call qword [sym.imp.mfc110u.dll_Ordinal_4828]
lea rcx, [rsp + 0x68]
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x60]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdi
lea r9, [rbp - 0x5c]
mov r8, rbx
mov edx, esi
mov rcx, qword [rbp - 0x68]
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x180009668
cmp dword [rbp - 0x60], 1
jne 0x180009668
or edx, 0xffffffff
lea rcx, [rsp + 0x78]
call qword [sym.imp.mfc110u.dll_Ordinal_12073]
or edx, 0xffffffff
lea rcx, [rbp - 0x78]
call qword [sym.imp.mfc110u.dll_Ordinal_12073]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.MSVCR110.dll__wtoi]
mov r8d, eax
mov r9, qword [rbp - 0x78]
lea rdx, str._08X___s
lea rcx, [rbp - 0x70]
call qword [sym.imp.mfc110u.dll_Ordinal_4595]
lea r8, [rbp - 0x70]
mov rdx, qword [rbp - 0x40]
lea rcx, [rbp - 0x50]
call qword [sym.imp.mfc110u.dll_Ordinal_12752]
inc esi
cmp esi, dword [rbp + 0x40]
jb 0x1800095a7
lea rcx, [rbp - 0x70]
call qword [sym.imp.mfc110u.dll_Ordinal_1027]
nop
lea rcx, [rbp - 0x78]
call qword [sym.imp.mfc110u.dll_Ordinal_1027]
nop
lea rcx, [rsp + 0x78]
call qword [sym.imp.mfc110u.dll_Ordinal_1027]
mov rcx, qword [rbp - 0x68]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp qword [rbp - 0x40], 0
jg 0x1800096c0
lea rcx, [rbp - 0x50]
call qword [sym.imp.mfc110u.dll_Ordinal_1419]
nop
mov rcx, r12
call qword [sym.imp.mfc110u.dll_Ordinal_1027]
xor eax, eax
jmp 0x180009881
lea rcx, [rbp - 0x50]
call fcn.180003c20
lea rcx, [rbp - 0x28]
call qword [sym.imp.mfc110u.dll_Ordinal_956]
nop
lea rcx, [rsp + 0x70]
call qword [sym.imp.mfc110u.dll_Ordinal_296]
nop
lea rcx, [rsp + 0x60]
call qword [sym.imp.mfc110u.dll_Ordinal_296]
nop
lea rdx, [0x18002145c]
lea rcx, [rbp - 0x58]
call qword [sym.imp.mfc110u.dll_Ordinal_286]
nop
cmp qword [rbp - 0x40], 0
jle 0x18000983a
lea rax, [rbp + 0x40]
mov qword [rbp - 0x70], rax
mov rbx, rdi
nop word [rax + rax]
lea rdx, [rbp - 0x58]
lea rcx, [rbp + 0x40]
call qword [sym.imp.mfc110u.dll_Ordinal_280]
mov rsi, rax
test rbx, rbx
js 0x180009833
cmp rbx, qword [rbp - 0x40]
jge 0x180009833
mov rcx, qword [rbp - 0x48]
lea rdx, [rcx + rbx*8]
lea rcx, [rsp + 0x78]
call qword [sym.imp.mfc110u.dll_Ordinal_280]
nop
lea r8, [rbp - 0x28]
mov rdx, rsi
mov rcx, rax
call fcn.180003940
mov rax, qword [rbp - 0x18]
cmp rax, 3
jl 0x180009815
cmp rax, 1
jle 0x18000982c
mov rdx, qword [rbp - 0x20]
add rdx, 8
lea rcx, [rsp + 0x70]
call qword [sym.imp.mfc110u.dll_Ordinal_1492]
lea rcx, [rsp + 0x70]
call qword [sym.imp.mfc110u.dll_Ordinal_13848]
mov rax, qword [rsp + 0x70]
cmp dword [rax - 0x10], 0
je 0x180009815
cmp qword [rbp - 0x18], 2
jle 0x180009825
mov rdx, qword [rbp - 0x20]
add rdx, 0x10
lea rcx, [rsp + 0x60]
call qword [sym.imp.mfc110u.dll_Ordinal_1492]
lea rcx, [rsp + 0x60]
call qword [sym.imp.mfc110u.dll_Ordinal_13848]
mov rax, qword [rsp + 0x60]
cmp dword [rax - 0x10], 0
je 0x180009815
lea r8, [0x18001a3a4]
lea rdx, [0x18001a3ac]
lea rcx, [rsp + 0x60]
call qword [sym.imp.mfc110u.dll_Ordinal_12275]
lea rdx, [rsp + 0x70]
mov rcx, r14
call qword [sym.imp.mfc110u.dll_Ordinal_1492]
lea rcx, [r14 + 8]
lea rdx, [rsp + 0x60]
call qword [sym.imp.mfc110u.dll_Ordinal_1492]
add r14, 0x10
inc dword [r15]
inc edi
movsxd rbx, edi
cmp rbx, qword [rbp - 0x40]
jge 0x18000983a
jmp 0x180009720
call qword [sym.imp.mfc110u.dll_Ordinal_2290]
int3
call qword [sym.imp.mfc110u.dll_Ordinal_2290]
nop
call qword [sym.imp.mfc110u.dll_Ordinal_2290]
nop
lea rcx, [rbp - 0x58]
call qword [sym.imp.mfc110u.dll_Ordinal_1027]
nop
lea rcx, [rsp + 0x60]
call qword [sym.imp.mfc110u.dll_Ordinal_1027]
nop
lea rcx, [rsp + 0x70]
call qword [sym.imp.mfc110u.dll_Ordinal_1027]
nop
lea rcx, [rbp - 0x28]
call qword [sym.imp.mfc110u.dll_Ordinal_1419]
nop
lea rcx, [rbp - 0x50]
call qword [sym.imp.mfc110u.dll_Ordinal_1419]
nop
mov rcx, r12
call qword [sym.imp.mfc110u.dll_Ordinal_1027]
mov eax, 1
lea r11, [rsp + 0x110]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret