Function at 0x14009ffb0
Capabilities:
Query or enumerate registry key

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x7c0]
sub rsp, 0x8c0
mov rax, qword [0x140263a80]
xor rax, rsp
mov qword [rbp + 0x7b0], rax
mov r15, rcx
mov qword [rsp + 0x78], rcx
xor r12d, r12d
mov qword [rcx], r12
mov qword [rcx + 8], r12
lea ecx, [r12 + 0x18]
call fcn.1401d0330
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [r15], rax
xor edx, edx
mov r8d, 0x200
lea rcx, [rbp + 0x3a0]
call sub.VCRUNTIME140.dll_memset
lea r8, str.SOFTWAREMonectPCRemoteReceiver
mov edx, 0x100
lea rcx, [rbp + 0x3a0]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
lea r8, str.Emulators
mov edx, 0x100
lea rcx, [rbp + 0x3a0]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
mov qword [rbp - 0x80], 0xffffffff80000002
lea r8, [rbp + 0x3a0]
mov edx, 0x100
lea rcx, [rbp - 0x70]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
lea rax, [rbp - 0x78]
mov qword [rsp + 0x20], rax
mov r9d, 0xf003f
xor r8d, r8d
lea rdx, [rbp - 0x70]
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x1400a00cb
mov qword [rsp + 0x40], r12
lea rax, [rbp - 0x78]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], 0xf003f
mov dword [rsp + 0x20], r12d
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp - 0x70]
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
nop
cmp qword [rbp - 0x78], 0
je 0x1400a0184
mov qword [rsp + 0x58], r12
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x40], r12
lea rax, [rsp + 0x64]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], r12
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rbp - 0x78]
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x1400a0184
mov ebx, dword [rsp + 0x60]
test ebx, ebx
jne 0x1400a0189
call fcn.1400a0960
cmp qword [rbp - 0x78], 0
je 0x1400a0184
mov qword [rsp + 0x58], r12
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x40], r12
lea rax, [rsp + 0x64]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], r12
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rbp - 0x78]
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov ebx, 0xffffffff
test eax, eax
cmove ebx, dword [rsp + 0x60]
jmp 0x1400a0189
mov ebx, 0xffffffff
mov esi, r12d
test ebx, ebx
jle 0x1400a0422
movabs r13, 0xaaaaaaaaaaaaaaa
nop
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x5a0]
call sub.VCRUNTIME140.dll_memset
mov r9d, 0x104
lea r8, [rbp + 0x5a0]
mov edx, esi
mov rcx, qword [rbp - 0x78]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
jne 0x1400a03f6
mov rax, qword [rbp - 0x78]
mov qword [rbp + 0x190], rax
lea r8, [rbp + 0x5a0]
mov edx, 0x100
lea rcx, [rbp + 0x1a0]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
lea rax, [rbp + 0x198]
mov qword [rsp + 0x20], rax
mov r9d, 0xf003f
xor r8d, r8d
lea rdx, [rbp + 0x1a0]
mov rcx, qword [rbp + 0x190]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x1400a0264
mov qword [rsp + 0x40], r12
lea rax, [rbp + 0x198]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], 0xf003f
mov dword [rsp + 0x20], r12d
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp + 0x1a0]
mov rcx, qword [rbp + 0x190]
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
nop
mov ecx, 0xa28
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rdi, rax
test rax, rax
je 0x1400a040f
xor edx, edx
mov r8d, 0xa28
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
mov rdx, rdi
lea rax, [rbp + 0x5a0]
mov ecx, 4
nop word [rax + rax]
movups xmm0, xmmword [rax]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rdx + 0x10], xmm1
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rdx + 0x20], xmm0
movups xmm1, xmmword [rax + 0x30]
movups xmmword [rdx + 0x30], xmm1
movups xmm0, xmmword [rax + 0x40]
movups xmmword [rdx + 0x40], xmm0
movups xmm1, xmmword [rax + 0x50]
movups xmmword [rdx + 0x50], xmm1
movups xmm0, xmmword [rax + 0x60]
movups xmmword [rdx + 0x60], xmm0
lea rdx, [rdx + 0x80]
movups xmm1, xmmword [rax + 0x70]
movups xmmword [rdx - 0x10], xmm1
lea rax, [rax + 0x80]
sub rcx, 1
jne 0x1400a02a0
mov rcx, qword [rax]
mov qword [rdx], rcx
mov dword [rsp + 0x60], 0x208
lea r9, [rdi + 0x208]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
lea rdx, str.Display_name
lea rcx, [rbp + 0x190]
call fcn.140088010
mov dword [rsp + 0x60], 0x208
lea r9, [rdi + 0x410]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
lea rdx, str.EXE_Path
lea rcx, [rbp + 0x190]
call fcn.140088010
mov dword [rsp + 0x60], 0x208
lea r9, [rdi + 0x618]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
lea rdx, str.Rom_Path
lea rcx, [rbp + 0x190]
call fcn.140088010
mov dword [rsp + 0x60], 0x208
lea r9, [rdi + 0x820]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
lea rdx, str.Command_Line
lea rcx, [rbp + 0x190]
call fcn.140088010
mov r14, qword [r15]
cmp qword [r15 + 8], r13
je 0x1400a0401
mov qword [rsp + 0x68], r15
mov qword [rsp + 0x70], r12
mov ecx, Ordinal_27
call fcn.1401d0330
mov qword [rax + 0x10], rdi
inc qword [r15 + 8]
mov rcx, qword [r14 + 8]
mov qword [rax], r14
mov qword [rax + 8], rcx
mov qword [rsp + 0x70], r12
mov qword [r14 + 8], rax
mov qword [rcx], rax
mov rcx, qword [rbp + 0x198]
test rcx, rcx
je 0x1400a03f6
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
inc esi
cmp esi, ebx
jge 0x1400a0422
jmp 0x1400a01a0
lea rcx, str.list_too_long
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
nop
mov rcx, qword [rbp + 0x198]
test rcx, rcx
je 0x1400a0422
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rcx, qword [rbp - 0x78]
test rcx, rcx
je 0x1400a0432
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rax, r15
mov rcx, qword [rbp + 0x7b0]
xor rcx, rsp
call fcn.1401d0310
lea r11, [rsp + 0x8c0]
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