Function at 0x140013130
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0xbe8]
sub rsp, 0xce8
mov rax, qword [0x140093010]
xor rax, rsp
mov qword [rbp + 0xbd0], rax
mov rdi, qword [rbp + 0xc40]
mov rbx, r8
mov r15d, edx
mov r14, rcx
xor edx, edx
lea rcx, [rbp + 0x180]
mov r8d, 0x208
mov rsi, r9
call fcn.140043ce0
mov r8, rbx
lea rcx, [rbp + 0x180]
mov edx, 0x104
call fcn.140049578
xor edx, edx
lea rcx, [rsp + 0x70]
mov r8d, 0x208
call fcn.140043ce0
mov r8, rsi
lea rcx, [rsp + 0x70]
mov edx, 0x104
call fcn.140049578
xor edx, edx
lea rcx, [rbp + 0x390]
mov r8d, 0x208
call fcn.140043ce0
mov r8, rdi
lea rcx, [rbp + 0x390]
mov edx, 0x104
call fcn.140049578
mov edi, dword [r14]
lea rax, str.SOFTWAREASUSASUS_Switch
xor esi, esi
lea rdx, str.SOFTWAREASUSASUS_System_Control_InterfaceAsusSwitch
mov ebx, esi
mov qword [rsp + 0x50], rsi
cmp dword [0x140096714], ebx
mov r9d, 0x20019
mov rcx, 0xffffffff80000002
cmovne rdx, rax
lea rax, [rsp + 0x50]
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
lea r14d, [rsi + 1]
test eax, eax
jne 0x14001327a
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x60]
lea rax, [rsp + 0x5c]
mov dword [rsp + 0x58], 4
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.SystemDriveOnly
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
test eax, eax
jne 0x14001326f
cmp dword [rsp + 0x5c], r14d
cmove ebx, r14d
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov eax, dword [0x140096d88]
cmp eax, 2
jne 0x140013298
mov qword [rsp + 0x40], rsi
mov r8d, 0x1120
mov ecx, r14d
jmp 0x140013360
cmp eax, 3
je 0x14001334c
cmp eax, 4
je 0x1400132b1
mov r8d, 0xffffffff
jmp 0x14001338c
xor edx, edx
lea rcx, [rbp + 0x9c0]
mov r8d, 0x208
call fcn.140043ce0
xor edx, edx
lea rcx, [rbp + 0x7b0]
mov r8d, 0x208
call fcn.140043ce0
xor edx, edx
lea rcx, [rbp + 0x5a0]
mov r8d, 0x208
call fcn.140043ce0
mov r9d, edi
lea r8, [rbp + 0x5a0]
lea rdx, [rbp + 0x7b0]
lea rcx, [rbp + 0x9c0]
call fcn.140010710
test eax, eax
je 0x14001334c
lea rax, [rbp + 0x5a0]
xor r9d, r9d
mov qword [rsp + 0x40], rax
mov r8d, 0x1000
lea rax, [rbp + 0x7b0]
mov edx, edi
mov qword [rsp + 0x38], rax
xor ecx, ecx
lea rax, [rbp + 0x9c0]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], esi
call fcn.14000c1d0
lea rax, [rbp + 0x390]
mov r8d, 0x1100
mov qword [rsp + 0x40], rax
xor ecx, ecx
lea rax, [rsp + 0x70]
mov r9d, r14d
mov qword [rsp + 0x38], rax
mov edx, edi
lea rax, [rbp + 0x180]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], r15d
call fcn.14000c1d0
mov r8d, eax
mov rax, qword [rbp + 0xc48]
lea rcx, str.GetFileCollectionFolders
mov qword [rsp + 0x40], rax
mov r9d, r15d
lea rax, [rbp + 0x390]
mov edx, 0x1100
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x30], rax
lea rax, [rbp + 0x180]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], esi
call fcn.140013d10
mov rcx, qword [rbp + 0xbd0]
xor rcx, rsp
call fcn.14001f4e0
add rsp, 0xce8
pop r15
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret