Function at 0x18004e500
Capabilities:
Query or enumerate registry key

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x6d8]
sub rsp, 0x7b0
mov rax, qword [0x180122658]
xor rax, rsp
mov qword [rbp + 0x6a0], rax
mov r12, rcx
mov edi, 0x800
mov rcx, qword [0x180123080]
mov r8d, edi
xor edx, edx
call qword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_HeapAlloc]
xor r13d, r13d
mov qword [r12], rax
mov rbx, rax
test rax, rax
jne 0x18004e56a
mov eax, 0x8007000e
jmp 0x18004e81d
lea r8, [rsp + 0x50]
mov qword [rax], rdi
mov edx, 0x2000000
mov dword [rax + 8], 0x10
lea rcx, str.FileType
mov dword [rax + 0xc], 0x10
call fcn.18000d8c8
test eax, eax
jne 0x18004e813
mov r15d, r13d
xor edx, edx
jmp 0x18004e7d0
xor edx, edx
mov word [rbp - 0x22], r13w
mov r8d, 0x208
lea rcx, [rbp + 0x80]
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
lea r8, str.Clsid_
mov dword [rsp + 0x58], 0x208
mov edx, 0x50
lea rcx, [rbp - 0x20]
call fcn.18000dd00
lea r8, [rbp - 0x70]
mov edx, 0x50
lea rcx, [rbp - 0x20]
call fcn.18000dc7c
lea r8, [rsp + 0x58]
lea rdx, [rbp + 0x80]
lea rcx, [rbp - 0x20]
call fcn.180012864
test eax, eax
jne 0x18004e7ca
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x70]
call fcn.18004f334
test eax, eax
je 0x18004e7ca
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x48]
mov r9d, 0x20019
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, [rbp - 0x70]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
test eax, eax
jne 0x18004e7ca
mov r14d, r13d
xor edx, edx
jmp 0x18004e786
lea r9, [rsp + 0x44]
mov dword [rsp + 0x44], 0x400
lea r8, [rbp + 0x290]
lea rdx, [rsp + 0x70]
call fcn.18001bf04
test eax, eax
jne 0x18004e780
mov edx, dword [rsp + 0x44]
mov eax, edx
and rax, 0xfffffffffffffffe
cmp rax, 0x402
jae 0x18004e84d
lea r10d, [rdx + 1]
mov word [rbp + rax + 0x290], r13w
or r8d, 0xffffffff
mov r9d, 1
cmp r10d, edx
jb 0x18004e6d7
mov ecx, dword [rbx + 0xc]
shr r10d, 1
add ecx, r10d
cmp ecx, r10d
cmovae r8d, ecx
mov r11d, r8d
jb 0x18004e6d7
or eax, 0xffffffff
lea ecx, [r8 + 0x20]
cmp ecx, r8d
cmovae eax, ecx
cmp ecx, r11d
mov r8d, eax
sbb eax, eax
and r9d, eax
mov eax, dword [rbx]
cmp r8d, eax
jbe 0x18004e749
test r9d, r9d
jne 0x18004e780
mov rcx, qword [0x180123080]
add eax, 0x800
cmp r8d, eax
cmova eax, r8d
xor edx, edx
mov r8d, eax
mov esi, eax
call qword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_HeapAlloc]
mov rdi, rax
test rax, rax
je 0x18004e73f
mov r8d, dword [rbx + 0xc]
mov rdx, rbx
mov rcx, rax
call sub.api_ms_win_crt_private_l1_1_0.dll_memcpy
mov rcx, qword [0x180123080]
mov r8, rbx
xor edx, edx
call qword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_HeapFree]
mov qword [r12], rdi
mov rbx, rdi
mov dword [rdi], esi
mov edx, dword [rsp + 0x44]
jmp 0x18004e74e
mov edx, dword [rsp + 0x44]
mov r9d, 1
test r9d, r9d
jne 0x18004e780
mov edi, dword [rbx + 0xc]
lea r9, [rsp + 0x60]
add rdi, qword [r12]
lea rcx, [rbp + 0x290]
mov r8, rdi
call fcn.18004e9cc
test eax, eax
je 0x18004e780
mov eax, dword [rbx + 4]
cmp eax, dword [rdi + 0x18]
cmovbe eax, dword [rdi + 0x18]
mov dword [rbx + 4], eax
mov eax, dword [rdi + 0x10]
add dword [rbx + 0xc], eax
inc r14d
mov edx, r14d
mov rcx, qword [rsp + 0x48]
lea r9, [rsp + 0x40]
mov qword [rsp + 0x38], r13
lea r8, [rsp + 0x70]
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r13
mov dword [rsp + 0x40], 0xa
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegEnumKeyExW]
mov rcx, qword [rsp + 0x48]
test eax, eax
je 0x18004e652
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
inc r15d
mov edx, r15d
mov rcx, qword [rsp + 0x50]
lea r9, [rsp + 0x40]
mov qword [rsp + 0x38], r13
lea r8, [rbp - 0x70]
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r13
mov dword [rsp + 0x40], 0x28
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegEnumKeyExW]
test eax, eax
je 0x18004e5a3
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov eax, dword [rbx + 0xc]
add eax, 0x10
mov dword [rbx], eax
xor eax, eax
mov rcx, qword [rbp + 0x6a0]
xor rcx, rsp
call fcn.180023ec0
lea r11, [rsp + 0x7b0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.180024024
int3