Function at 0x180035fa0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
lea rbp, [rsp - 0x4e0]
sub rsp, 0x5e0
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov rax, qword [0x1801c2938]
xor rax, rsp
mov qword [rbp + 0x4d0], rax
mov r12, r9
mov rsi, r8
mov rdi, rdx
cmp qword [rdx + 0x18], 8
jb 0x180035fe7
mov rdx, qword [rdx]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rcx, qword [rcx]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebx, eax
test eax, eax
je 0x1800360ff
lea rcx, [rsp + 0x50]
call fcn.180014d60
nop
lea rdx, str.RegOpenKeyEx_Failed._lStatus:
lea rcx, [rsp + 0x50]
call fcn.180022d00
mov rcx, rax
mov edx, ebx
call fcn.180037120
mov rcx, rax
lea rdx, str.._strSubKey:
call fcn.180022d00
mov rcx, rax
mov rdx, rdi
call fcn.180022fd0
mov rcx, rax
lea rdx, str.__strKeyName:
call fcn.180022d00
mov rcx, rax
mov rdx, rsi
call fcn.180022fd0
lea rdx, str.CRegUtility::ReadRegValue
lea rcx, [rbp + 0x68]
call fcn.180012480
nop
lea rdx, str.RegUtility.cpp
lea rcx, [rbp + 0x40]
call fcn.180012480
nop
lea rdx, [rbp + 0x90]
lea rcx, [rsp + 0x50]
call fcn.180014e40
mov rbx, rax
call fcn.180016d70
mov rcx, rax
mov qword [rsp + 0x28], rbx
lea rax, [rbp + 0x68]
mov qword [rsp + 0x20], rax
mov r9d, 0x1c
lea r8, [rbp + 0x40]
xor edx, edx
call fcn.180030340
nop
lea rcx, [rbp + 0x90]
call fcn.1800a20a0
nop
lea rcx, [rbp + 0x40]
call fcn.180001850
nop
lea rcx, [rbp + 0x68]
call fcn.180001850
nop
lea rcx, [rbp - 0x28]
call fcn.180014de0
lea rcx, [rbp - 0x28]
call fcn.180013e40
xor al, al
jmp 0x18003639b
xor r13b, r13b
xor r14d, r14d
mov word [rbp + 0xc0], r14w
xor edx, edx
mov r8d, 0x40e
lea rcx, [rbp + 0xc2]
call fcn.1800c6a90
mov dword [rsp + 0x3c], 0x410
mov rcx, rsi
call fcn.1800144b0
mov rdx, rax
lea rax, [rsp + 0x3c]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0xc0]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x38]
xor r8d, r8d
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x180036250
lea rcx, [rsp + 0x50]
call fcn.180014d60
nop
lea rdx, str.RegQueryValueEx_Failed._lStatus:
lea rcx, [rsp + 0x50]
call fcn.180022d00
mov rcx, rax
xor edx, edx
call fcn.180037120
mov rcx, rax
lea rdx, str.._strSubKey:
call fcn.180022d00
mov rcx, rax
mov rdx, rdi
call fcn.180022fd0
mov rcx, rax
lea rdx, str.__strKeyName:
call fcn.180022d00
mov rcx, rax
mov rdx, rsi
call fcn.180022fd0
lea rdx, str.CRegUtility::ReadRegValue
lea rcx, [rbp + 0x40]
call fcn.180012480
nop
lea rdx, str.RegUtility.cpp
lea rcx, [rbp + 0x68]
call fcn.180012480
nop
lea rdx, [rbp + 0x90]
lea rcx, [rsp + 0x50]
call fcn.180014e40
mov rbx, rax
call fcn.180016d70
mov rcx, rax
mov qword [rsp + 0x28], rbx
lea rax, [rbp + 0x40]
mov qword [rsp + 0x20], rax
lea r9d, [r14 + 0x29]
lea r8, [rbp + 0x68]
xor edx, edx
call fcn.180030340
nop
lea rcx, [rbp + 0x90]
call fcn.1800a20a0
nop
lea rcx, [rbp + 0x68]
call fcn.180001850
nop
lea rcx, [rbp + 0x40]
call fcn.180001850
nop
lea rcx, [rbp - 0x28]
call fcn.180014de0
lea rcx, [rbp - 0x28]
call fcn.180013e40
jmp 0x180036264
cmp dword [rsp + 0x38], 4
jne 0x180036264
mov r13b, 1
mov eax, dword [rbp + 0xc0]
mov dword [r12], eax
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x30], r14
lea rcx, [rsp + 0x50]
call fcn.180014d60
nop
lea rdx, [0x180148658]
lea rcx, [rsp + 0x50]
call fcn.180022d00
mov rcx, rax
movzx edx, r13b
call fcn.180013a10
mov rcx, rax
lea rdx, str._strSubKey:
call fcn.180022d00
mov rcx, rax
mov rdx, rdi
call fcn.180022fd0
mov rcx, rax
lea rdx, str.._strKeyName:
call fcn.180022d00
mov rcx, rax
mov rdx, rsi
call fcn.180022fd0
mov rcx, rax
lea rdx, str.._dwKeyValue:
call fcn.180022d00
mov rcx, rax
mov edx, dword [r12]
call fcn.18002d850
mov rcx, rax
lea rdx, str.._samDesired:
call fcn.180022d00
mov rcx, rax
xor edx, edx
call fcn.18002d850
lea rdx, str.CRegUtility::ReadRegValue
lea rcx, [rbp + 0x40]
call fcn.180012480
nop
lea rdx, str.RegUtility.cpp
lea rcx, [rbp + 0x68]
call fcn.180012480
nop
lea rdx, [rbp + 0x90]
lea rcx, [rsp + 0x50]
call fcn.180014e40
mov rbx, rax
call fcn.180016d70
mov rcx, rax
mov qword [rsp + 0x28], rbx
lea rax, [rbp + 0x40]
mov qword [rsp + 0x20], rax
mov r9d, 0x38
lea r8, [rbp + 0x68]
lea edx, [r9 - 0x35]
call fcn.180030340
nop
lea rcx, [rbp + 0x90]
call fcn.1800a20a0
nop
lea rcx, [rbp + 0x68]
call fcn.180001850
nop
lea rcx, [rbp + 0x40]
call fcn.180001850
nop
lea rcx, [rbp - 0x28]
call fcn.180014de0
lea rcx, [rbp - 0x28]
call fcn.180013e40
movzx eax, r13b
mov rcx, qword [rbp + 0x4d0]
xor rcx, rsp
call fcn.1800bdf20
add rsp, 0x5e0
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret