Function at 0x180009624
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x20], r9
mov qword [rax + 0x18], r8
mov qword [rax + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xa0
mov ebx, 0x104
mov r15, rcx
mov rdi, rcx
mov rcx, qword [0x180023a50]
mov esi, edx
xor r12d, r12d
xor r13d, r13d
mov r8, rbx
xor edx, edx
xor ebp, ebp
mov dword [rsp + 0x44], ebx
mov dword [rsp + 0x54], ebx
mov dword [rsp + 0x50], ebx
mov qword [rsp + 0x48], r12
mov dword [rsp + 0x40], r13d
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov r14, rax
test rax, rax
je 0x18000998b
mov rcx, qword [0x180023a50]
mov r8, rbx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rbx, rax
test rax, rax
je 0x18000993f
call fcn.180003ebc
mov qword [rsp + 0x60], rax
test rax, rax
je 0x18000993f
mov rdx, qword [0x180023bd8]
lea r8, [rsp + 0x68]
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
jne 0x18000982e
xor r15d, r15d
mov rcx, qword [rsp + 0x68]
lea rax, [rsp + 0x50]
lea r9, [rsp + 0x54]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r14
and qword [rsp + 0x28], 0
and qword [rsp + 0x20], 0
mov r8, rbx
mov edx, r15d
call qword [sym.imp.ADVAPI32.dll_RegEnumValueA]
mov dword [rsp + 0x58], eax
cmp eax, 0xea
jne 0x1800097a2
mov rcx, qword [0x180023a50]
mov r8, r14
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rcx, qword [0x180023a50]
mov r8, rbx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, dword [rsp + 0x44]
mov rcx, qword [0x180023a50]
add eax, 0x104
xor edx, edx
mov r8d, eax
mov dword [rsp + 0x44], eax
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rcx, qword [0x180023a50]
mov r8, rbx
xor edx, edx
mov r14, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rbx, rax
mov eax, dword [rsp + 0x44]
mov dword [rsp + 0x50], eax
mov dword [rsp + 0x54], eax
test r14, r14
je 0x18000981b
test rbx, rbx
jne 0x1800096e7
mov eax, dword [rsp + 0x58]
test eax, eax
jne 0x18000981b
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrlenA]
cmp eax, esi
ja 0x1800097e3
lea rax, [rsp + 0x40]
mov r9, r14
mov r8, rbx
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x48]
mov edx, esi
mov rcx, rdi
mov qword [rsp + 0x20], rax
call fcn.1800092e4
mov r12, qword [rsp + 0x48]
mov r13d, dword [rsp + 0x40]
jmp 0x1800097e8
mov eax, 0x57
test eax, eax
jne 0x180009813
cmp rdi, qword [rsp + 0xe0]
je 0x180009808
mov rcx, qword [0x180023a50]
mov r8, rdi
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rdi, r12
mov esi, r13d
mov ebp, 1
inc r15d
jmp 0x1800096e7
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov r15, qword [rsp + 0xe0]
lea rcx, [0x180025445]
call qword [sym.imp.KERNEL32.dll_lstrlenA]
cmp eax, esi
ja 0x180009875
mov r9, qword [rsp + 0x60]
lea rax, [rsp + 0x40]
lea r8, [0x180025445]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x48]
mov edx, esi
mov rcx, rdi
mov qword [rsp + 0x20], rax
call fcn.1800092e4
mov r12, qword [rsp + 0x48]
mov r13d, dword [rsp + 0x40]
jmp 0x18000987a
mov eax, 0x57
test eax, eax
jne 0x1800098a0
cmp rdi, r15
je 0x180009895
mov rcx, qword [0x180023a50]
mov r8, rdi
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rdi, r12
mov esi, r13d
mov ebp, 1
mov r8d, dword [0x1800233e0]
lea rdx, [0x18001e734]
lea rcx, [rsp + 0x70]
call qword [sym.imp.USER32.dll_wsprintfA]
lea rcx, [0x18002544a]
call qword [sym.imp.KERNEL32.dll_lstrlenA]
cmp eax, esi
ja 0x180009900
lea rax, [rsp + 0x40]
lea r9, [rsp + 0x70]
lea r8, [0x18002544a]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x48]
mov edx, esi
mov rcx, rdi
mov qword [rsp + 0x20], rax
call fcn.1800092e4
mov r12, qword [rsp + 0x48]
mov r13d, dword [rsp + 0x40]
jmp 0x180009905
mov eax, 0x57
test eax, eax
jne 0x18000992b
cmp rdi, r15
je 0x180009920
mov rcx, qword [0x180023a50]
mov r8, rdi
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rdi, r12
mov esi, r13d
mov ebp, 1
mov r8, qword [rsp + 0x60]
mov rcx, qword [0x180023a50]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
test r14, r14
je 0x180009956
mov rcx, qword [0x180023a50]
mov r8, r14
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
test rbx, rbx
je 0x18000996d
mov rcx, qword [0x180023a50]
mov r8, rbx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
test ebp, ebp
je 0x18000998b
mov rax, qword [rsp + 0xf0]
mov qword [rax], rdi
mov rax, qword [rsp + 0xf8]
test rax, rax
je 0x18000998b
mov dword [rax], esi
mov eax, ebp
mov rbx, qword [rsp + 0xe8]
add rsp, 0xa0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret