Function at 0x1400025f4
Capabilities:
Get common file path
Query or enumerate registry value

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x128]
sub rsp, 0x200
mov rax, qword [0x14000a040]
xor rax, rsp
mov qword [rbp + 0xf0], rax
mov r14b, cl
mov byte [rsp + 0x50], cl
mov r12d, 0x10c
lea rcx, [rbp - 0x20]
mov r8d, r12d
xor edx, edx
call sub.ntdll.dll_memset
xor edi, edi
mov dword [rbp - 0x30], 0x11c
mov r8b, 3
mov qword [rbp - 0x2c], 0xa
xor ecx, ecx
mov dword [rbp - 0x24], 0x4a22
lea r15d, [rdi + 2]
mov edx, r15d
call qword [sym.imp.ntdll.dll_VerSetConditionMask]
nop dword [rax + rax]
mov r8b, 3
lea edx, [rdi + 1]
mov rcx, rax
call qword [sym.imp.ntdll.dll_VerSetConditionMask]
nop dword [rax + rax]
mov r8b, 3
lea edx, [rdi + 4]
mov rcx, rax
call qword [sym.imp.ntdll.dll_VerSetConditionMask]
nop dword [rax + rax]
mov r8, rax
lea edx, [rdi + 7]
lea rcx, [rbp - 0x30]
call qword [sym.imp.api_ms_win_core_kernel32_legacy_l1_1_1.dll_VerifyVersionInfoW]
nop dword [rax + rax]
lea rcx, str.GameInput.dll
mov qword [rbp - 0x80], rdi
test eax, eax
mov qword [rbp - 0x70], rcx
lea rax, str.GameInputRedist.dll
mov qword [rbp - 0x78], rdi
mov qword [rsp + 0x58], rax
setne r13b
mov qword [rbp - 0x68], rax
xor edx, edx
lea rax, [rbp - 0x80]
mov byte [rsp + 0x60], r13b
mov qword [rbp - 0x60], rax
xor ecx, ecx
lea rax, [rbp - 0x78]
mov qword [rsp + 0x78], rdi
mov qword [rbp - 0x58], rax
lea rax, [rsp + 0x78]
mov qword [rbp - 0x50], rax
lea rax, [rsp + 0x70]
mov qword [rbp - 0x48], rax
lea rax, [rsp + 0x68]
mov qword [rbp - 0x40], rax
mov qword [rsp + 0x70], rdi
mov qword [rsp + 0x68], rdi
mov byte [rbp - 0x38], 1
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetSystemDirectoryW]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jne 0x1400027ac
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
cmp dword [section..data], r15d
mov esi, eax
jbe 0x140002a73
mov edx, 0x800
test qword [0x14000a010], rdx
je 0x140002a73
mov rax, qword [0x14000a018]
and rax, rdx
cmp rax, qword [0x14000a018]
jne 0x140002a73
lea rax, str.onecorexboxgameinput2published_svc_service.cpp
mov dword [rsp + 0x44], esi
mov qword [rsp + 0x48], rax
lea rdx, [0x140007db6]
lea rax, [rsp + 0x44]
mov dword [rsp + 0x40], r12d
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
jmp 0x140002a5f
mov rcx, qword gs:[0x60]
mov rax, r15
mul rbx
mov rcx, qword [rcx + 0x30]
mov rsi, 0xffffffffffffffff
cmovo rax, rsi
xor edx, edx
mov r8, rax
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
nop dword [rax + rax]
mov qword [rbp - 0x80], rax
test rax, rax
jne 0x14000285c
cmp dword [section..data], r15d
mov ebx, 0x8007000e
jbe 0x14000310b
mov edx, 0x800
test qword [0x14000a010], rdx
je 0x14000310b
mov rax, qword [0x14000a018]
and rax, rdx
cmp rax, qword [0x14000a018]
jne 0x14000310b
lea rax, str.onecorexboxgameinput2published_svc_service.cpp
mov dword [rsp + 0x40], ebx
mov qword [rsp + 0x48], rax
lea rdx, [0x140007d66]
lea rax, [rsp + 0x40]
mov dword [rsp + 0x44], 0x10e
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x44]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x48]
jmp 0x140003101
mov edx, ebx
mov rcx, rax
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetSystemDirectoryW]
nop dword [rax + rax]
test eax, eax
jne 0x1400028c9
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
cmp dword [section..data], r15d
mov esi, eax
jbe 0x140002a73
mov edx, 0x800
test qword [0x14000a010], rdx
je 0x140002a73
mov rax, qword [0x14000a018]
and rax, rdx
cmp rax, qword [0x14000a018]
jne 0x140002a73
mov dword [rsp + 0x44], 0x10f
lea rdx, [0x140007db6]
jmp 0x140002a40
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_wow64_l1_1_1.dll_GetSystemWow64DirectoryW]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jne 0x140002937
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
cmp dword [section..data], r15d
mov esi, eax
jbe 0x140002a73
mov edx, 0x800
test qword [0x14000a010], rdx
je 0x140002a73
mov rax, qword [0x14000a018]
and rax, rdx
cmp rax, qword [0x14000a018]
jne 0x140002a73
mov dword [rsp + 0x44], 0x116
lea rdx, [0x140007db6]
jmp 0x140002a40
mov rcx, qword gs:[0x60]
mov rax, r15
mul rbx
mov rcx, qword [rcx + 0x30]
cmovo rax, rsi
xor edx, edx
mov r8, rax
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
nop dword [rax + rax]
mov qword [rbp - 0x78], rax
test rax, rax
jne 0x1400029e0
cmp dword [section..data], r15d
mov ebx, 0x8007000e
jbe 0x14000310b
mov edx, 0x800
test qword [0x14000a010], rdx
je 0x14000310b
mov rax, qword [0x14000a018]
and rax, rdx
cmp rax, qword [0x14000a018]
jne 0x14000310b
lea rax, str.onecorexboxgameinput2published_svc_service.cpp
mov dword [rsp + 0x40], ebx
mov qword [rsp + 0x48], rax
lea rdx, [0x140007d66]
lea rax, [rsp + 0x40]
mov dword [rsp + 0x44], 0x118
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x44]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x48]
jmp 0x140003101
mov edx, ebx
mov rcx, rax
call qword [sym.imp.api_ms_win_core_wow64_l1_1_1.dll_GetSystemWow64DirectoryW]
nop dword [rax + rax]
test eax, eax
jne 0x140002a85
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
cmp dword [section..data], r15d
mov esi, eax
jbe 0x140002a73
mov edx, 0x800
test qword [0x14000a010], rdx
je 0x140002a73
mov rax, qword [0x14000a018]
and rax, rdx
cmp rax, qword [0x14000a018]
jne 0x140002a73
mov dword [rsp + 0x44], 0x119
lea rdx, [0x140007db6]
lea rax, str.onecorexboxgameinput2published_svc_service.cpp
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x44]
mov dword [rsp + 0x40], esi
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
call fcn.140001008
test esi, esi
jne 0x140002c33
mov ebx, 0x8000ffff
jmp 0x14000310b
test r14b, r14b
je 0x140002c4a
lea rax, [rsp + 0x44]
mov dword [rsp + 0x44], edi
mov qword [rsp + 0x30], rax
lea r8, str.RedistDir
mov ebx, 0x20002
mov qword [rsp + 0x28], rdi
mov r12, 0xffffffff80000002
mov qword [rsp + 0x20], rdi
mov r9d, ebx
lea rdx, str.SOFTWAREMicrosoftGameInput
mov rcx, r12
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
nop dword [rax + rax]
test eax, eax
je 0x140002ae9
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
jmp 0x14000310b
mov ecx, dword [rsp + 0x44]
mov rax, r15
mul rcx
mov rcx, qword gs:[0x60]
cmovo rax, rsi
xor edx, edx
mov r8, rax
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
nop dword [rax + rax]
mov qword [rsp + 0x78], rax
test rax, rax
jne 0x140002b8d
cmp dword [section..data], r15d
mov ebx, 0x8007000e
jbe 0x14000310b
mov edx, 0x800
test qword [0x14000a010], rdx
je 0x14000310b
mov rax, qword [0x14000a018]
and rax, rdx
cmp rax, qword [0x14000a018]
jne 0x14000310b
lea rax, str.onecorexboxgameinput2published_svc_service.cpp
mov dword [rsp + 0x40], ebx
mov qword [rsp + 0x58], rax
lea rdx, [0x140007d66]
lea rax, [rsp + 0x40]
mov dword [rsp + 0x48], 0x12f
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x48]
jmp 0x1400030f7
lea r10, [rsp + 0x44]
mov r9d, ebx
mov qword [rsp + 0x30], r10
lea r8, str.RedistDir
mov qword [rsp + 0x28], rax
lea rdx, str.SOFTWAREMicrosoftGameInput
mov rcx, r12
mov qword [rsp + 0x20], rdi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
nop dword [rax + rax]
mov esi, eax
test eax, eax
je 0x140002c46
cmp dword [section..data], r15d
jbe 0x140002c33
mov edx, 0x800
test qword [0x14000a010], rdx
je 0x140002c33
mov rax, qword [0x14000a018]
and rax, rdx
cmp rax, qword [0x14000a018]
jne 0x140002c33
lea rax, str.onecorexboxgameinput2published_svc_service.cpp
mov dword [rsp + 0x48], esi
mov qword [rsp + 0x58], rax
lea rdx, [0x140007db6]
lea rax, [rsp + 0x48]
mov dword [rsp + 0x40], 0x137
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
call fcn.140001008
movzx ebx, si
or ebx, 0x80070000
test esi, esi
cmovle ebx, esi
jmp 0x14000310b
or rsi, 0xffffffffffffffff
movzx r15d, r13b
lea r12, [rbp - 0x70]
xor r15, 1
lea rax, [rsp + 0x58]
inc r15
mov rbx, rdi
test r13b, r13b
mov rcx, rdi
cmovne r12, rax
mov qword [rsp + 0x48], r12
mov rdx, qword [r12 + rcx*8]
mov rax, rsi
inc rax
cmp word [rdx + rax*2], di
jne 0x140002c77
cmp rax, rbx
cmova rbx, rax
inc rcx
cmp rcx, r15
jb 0x140002c70
mov r13, rdi
test r14b, r14b
je 0x140002d36
mov rcx, qword [rsp + 0x78]
mov rax, rsi
inc rax
cmp word [rcx + rax*2], di
jne 0x140002ca3
mov rcx, qword gs:[0x60]
lea r13, [rax + 0xf]
add r13, rbx
mov eax, 2
mul r13
mov rcx, qword [rcx + 0x30]
cmovo rax, rsi
xor edx, edx
mov r8, rax
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
nop dword [rax + rax]
mov qword [rsp + 0x70], rax
test rax, rax
jne 0x140002d36
cmp dword [section..data], 2
mov ebx, 0x8007000e
jbe 0x14000310b
mov edx, 0x800
test qword [0x14000a010], rdx
je 0x14000310b
mov rax, qword [0x14000a018]
and rax, rdx
cmp rax, qword [0x14000a018]
jne 0x14000310b
mov dword [rsp + 0x40], 0x160
lea rdx, [0x140007d66]
jmp 0x1400030d8
mov rax, qword [rbp - 0x80]
mov rcx, rsi
inc rcx
cmp word [rax + rcx*2], di
jne 0x140002d3d
mov rax, qword [rbp - 0x78]
lea rsi, [rbx + 2]
add rsi, rcx
or r8, 0xffffffffffffffff
test rax, rax
je 0x140002d7b
mov rdx, r8
inc rdx
cmp word [rax + rdx*2], di
jne 0x140002d5d
lea rax, [rbx + 2]
add rax, rdx
cmp rsi, rax
lea rsi, [rbx + 2]
cmovb rcx, rdx
add rsi, rcx
mov rcx, qword gs:[0x60]
mov eax, 2
mul rsi
mov rcx, qword [rcx + 0x30]
cmovo rax, r8
xor edx, edx
mov r8, rax
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
nop dword [rax + rax]
mov qword [rsp + 0x68], rax
test rax, rax
jne 0x140002dfe
cmp dword [section..data], 2
mov ebx, 0x8007000e
jbe 0x14000310b
mov edx, 0x800
test qword [0x14000a010], rdx
je 0x14000310b
mov rax, qword [0x14000a018]
and rax, rdx
cmp rax, qword [0x14000a018]
jne 0x14000310b
mov dword [rsp + 0x40], 0x16c
lea rdx, [0x140007d66]
jmp 0x1400030d8
lea rbx, [0x140007720]
cmp byte [rsp + 0x60], dil
je 0x140002e91
test r14b, r14b
je 0x140002e91
mov rax, qword [r12]
lea r8, str._ws.._ws_ws
mov r9, qword [rsp + 0x78]
mov rdx, r13
mov rcx, qword [rsp + 0x70]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ntdll.dll_swprintf_s]
nop dword [rax + rax]
mov r9, qword [rbp - 0x80]
lea rax, str.GameInput.dll
mov rcx, qword [rsp + 0x68]
lea r8, str._ws_ws
mov rdx, rsi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ntdll.dll_swprintf_s]
nop dword [rax + rax]
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x70]
call fcn.140001de4
cmp eax, 1
jne 0x140002e8c
mov ebx, 0x80030105
jmp 0x14000310b
mov rax, qword [rsp + 0x68]
mov r14, rdi
mov r12, qword [r12 + r14*8]
lea r8, str._ws_ws
mov r9, qword [rbp - 0x80]
mov rdx, rsi
mov rcx, rax
mov qword [rsp + 0x20], r12
call qword [sym.imp.ntdll.dll_swprintf_s]
nop dword [rax + rax]
cmp byte [rsp + 0x50], dil
je 0x140002f4e
mov r9, qword [rsp + 0x78]
lea r8, str._ws.._ws_ws
mov rcx, qword [rsp + 0x70]
mov rdx, r13
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ntdll.dll_swprintf_s]
nop dword [rax + rax]
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x70]
call fcn.140001ec8
mov ebx, eax
test eax, eax
jns 0x140002f62
cmp dword [section..data], 2
jbe 0x14000310b
mov edx, 0x800
test qword [0x14000a010], rdx
je 0x14000310b
mov rax, qword [0x14000a018]
and rax, rdx
cmp rax, qword [0x14000a018]
jne 0x14000310b
mov dword [rsp + 0x40], 0x184
lea rdx, [0x140007d29]
jmp 0x1400030d8
mov rcx, qword [rsp + 0x68]
call fcn.140002280
mov ebx, eax
test eax, eax
js 0x14000309f
mov r9, qword [rbp - 0x78]
test r9, r9
je 0x14000303a
mov rcx, qword [rsp + 0x68]
lea r8, str._ws_ws
mov rdx, rsi
mov qword [rsp + 0x20], r12
call qword [sym.imp.ntdll.dll_swprintf_s]
nop dword [rax + rax]
cmp byte [rsp + 0x50], dil
je 0x14000302a
mov r9, qword [rsp + 0x78]
lea rax, [0x140007728]
mov rcx, qword [rsp + 0x70]
lea r8, str._ws.._ws_ws
mov qword [rsp + 0x28], r12
mov rdx, r13
mov qword [rsp + 0x20], rax
call qword [sym.imp.ntdll.dll_swprintf_s]
nop dword [rax + rax]
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x70]
call fcn.140001ec8
mov ebx, eax
test eax, eax
jns 0x14000303a
cmp dword [section..data], 2
jbe 0x14000310b
mov edx, 0x800
test qword [0x14000a010], rdx
je 0x14000310b
mov rax, qword [0x14000a018]
and rax, rdx
cmp rax, qword [0x14000a018]
jne 0x14000310b
mov dword [rsp + 0x40], 0x190
lea rdx, [0x140007d29]
jmp 0x1400030d8
mov rcx, qword [rsp + 0x68]
call fcn.140002280
mov ebx, eax
test eax, eax
js 0x14000305c
inc r14
cmp r14, r15
jae 0x14000310d
mov rax, qword [rsp + 0x68]
lea rbx, [0x140007720]
mov r12, qword [rsp + 0x48]
jmp 0x140002e94
cmp dword [section..data], 2
jbe 0x14000310b
mov edx, 0x800
test qword [0x14000a010], rdx
je 0x14000310b
mov rax, qword [0x14000a018]
and rax, rdx
cmp rax, qword [0x14000a018]
jne 0x14000310b
mov dword [rsp + 0x40], 0x194
lea rdx, [0x140007d29]
jmp 0x1400030d8
cmp dword [section..data], 2
jbe 0x14000310b
mov edx, 0x800
test qword [0x14000a010], rdx
je 0x14000310b
mov rax, qword [0x14000a018]
and rax, rdx
cmp rax, qword [0x14000a018]
jne 0x14000310b
mov dword [rsp + 0x40], 0x188
lea rdx, [0x140007d29]
lea rax, str.onecorexboxgameinput2published_svc_service.cpp
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov dword [rsp + 0x48], ebx
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
call fcn.140001008
mov edi, ebx
lea rcx, [rbp - 0x60]
call fcn.1400035cc
mov eax, edi
mov rcx, qword [rbp + 0xf0]
xor rcx, rsp
call fcn.140006c70
lea r11, [rsp + 0x200]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret