Function at 0x180079200
Capabilities:
Query or enumerate registry value

Disassembly:
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x510
mov qword [rsp + 0xa0], 0xfffffffffffffffe
mov qword [rsp + 0x558], rbx
mov rax, qword [0x18013e1e0]
xor rax, rsp
mov qword [rsp + 0x500], rax
mov r14, r8
mov rsi, rdx
mov rdi, rcx
xor ebx, ebx
mov qword [rsp + 0x80], rbx
mov dword [rsp + 0x78], ebx
mov dword [rsp + 0x68], ebx
mov dword [rsp + 0x64], ebx
mov dword [rsp + 0x6c], ebx
mov dword [rsp + 0x70], ebx
mov dword [rsp + 0x74], ebx
mov qword [rsp + 0x98], rbx
mov qword [rsp + 0x90], rbx
mov word [rsp + 0x100], bx
xor edx, edx
mov r8d, 0x3fe
lea rcx, [rsp + 0x102]
call fcn.1800c31a0
mov rcx, r14
call fcn.180079c20
cmp qword [rsi + 0x18], rbx
jne 0x1800792a3
xor al, al
jmp 0x1800795c4
cmp qword [rdi + 0x30], rbx
jne 0x1800792b0
xor al, al
jmp 0x1800795c4
cmp qword [rdi + 0x38], 8
jb 0x1800792bd
mov r8, qword [rdi + 0x20]
jmp 0x1800792c1
lea r8, [rdi + 0x20]
mov edx, 0x200
lea rcx, [rsp + 0x100]
call fcn.1800c0e4c
cmp qword [rsi + 0x20], 8
jb 0x1800792e0
mov r8, qword [rsi + 8]
jmp 0x1800792e4
lea r8, [rsi + 8]
mov edx, 0x200
lea rcx, [rsp + 0x100]
call fcn.1800c29a4
lea rdx, [rsp + 0x80]
mov qword [rsp + 0x20], rdx
mov r9d, 0x20019
xor r8d, r8d
lea rdx, [rsp + 0x100]
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [rsp + 0x60], eax
test eax, eax
je 0x180079348
mov dword [rsp + 0x88], 0xffffffff
lea rdx, [0x18013ad60]
lea rcx, [rsp + 0x88]
call fcn.1800c3e40
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x50], rbx
lea rax, [rsp + 0x64]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x68]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x78]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rbx
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov dword [rsp + 0x60], eax
test eax, eax
je 0x1800793bc
mov dword [rsp + 0x8c], 0xffffffff
lea rdx, [0x18013ad60]
lea rcx, [rsp + 0x8c]
call fcn.1800c3e40
mov eax, dword [rsp + 0x68]
inc eax
mov dword [rsp + 0x68], eax
add dword [rsp + 0x64], 2
mov edx, eax
add rdx, rdx
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov r13, rax
mov qword [rsp + 0x98], rax
mov edx, dword [rsp + 0x64]
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov r12, rax
mov qword [rsp + 0x90], rax
mov esi, ebx
cmp esi, dword [rsp + 0x78]
jae 0x180079574
mov ecx, dword [rsp + 0x68]
mov dword [rsp + 0x6c], ecx
mov eax, dword [rsp + 0x64]
mov dword [rsp + 0x70], eax
mov r8, rcx
add r8, r8
xor edx, edx
mov rcx, r13
call fcn.1800c31a0
mov r8d, dword [rsp + 0x64]
xor edx, edx
mov rcx, r12
call fcn.1800c31a0
lea rdx, [rsp + 0x70]
mov qword [rsp + 0x38], rdx
mov qword [rsp + 0x30], r12
lea rax, [rsp + 0x74]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
lea r9, [rsp + 0x6c]
mov r8, r13
mov edx, esi
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
mov dword [rsp + 0x60], eax
test eax, eax
jne 0x18007956d
cmp dword [rsp + 0x74], 1
jne 0x18007956d
cmp dword [rsp + 0x6c], eax
je 0x18007956d
mov qword [rsp + 0xd0], 7
mov qword [rsp + 0xc8], rbx
mov word [rsp + 0xb8], bx
mov qword [rsp + 0xf8], 7
mov qword [rsp + 0xf0], rbx
mov word [rsp + 0xe0], bx
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, r13
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
mov rdx, r13
lea rcx, [rsp + 0xb0]
call fcn.180014810
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, r12
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
mov rdx, r12
lea rcx, [rsp + 0xd8]
call fcn.180014810
lea rdx, [rsp + 0xb0]
mov rcx, r14
call fcn.180079b30
nop
cmp qword [rsp + 0xf8], 8
jb 0x180079539
mov rcx, qword [rsp + 0xe0]
call fcn.1800bf8b4
mov qword [rsp + 0xf8], 7
mov qword [rsp + 0xf0], rbx
mov word [rsp + 0xe0], bx
cmp qword [rsp + 0xd0], 8
jb 0x18007956d
mov rcx, qword [rsp + 0xb8]
call fcn.1800bf8b4
inc esi
jmp 0x180079402
mov edi, ebx
mov dword [rsp + 0x60], ebx
jmp 0x180079590
test r13, r13
je 0x18007959e
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_LocalFree]
test r12, r12
je 0x1800795ac
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, qword [rsp + 0x80]
test rcx, rcx
je 0x1800795bf
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
sete al
mov rcx, qword [rsp + 0x500]
xor rcx, rsp
call fcn.1800bf8d0
mov rbx, qword [rsp + 0x558]
add rsp, 0x510
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret