Function at 0x14001a5c0
Capabilities:
Get installed programs
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push rbp
push rbx
push r12
push r14
lea rbp, [rsp - 0x398]
sub rsp, 0x498
mov rax, qword [0x140047008]
xor rax, rsp
mov qword [rbp + 0x380], rax
movzx eax, word [0x14004ec50]
xor r12d, r12d
cmp ax, word [0x14003cef8]
mov rbx, rcx
mov r14d, r12d
mov qword [rsp + 0x40], r12
je 0x14001a6d8
lea rax, [rsp + 0x40]
mov r9d, 0x20219
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, [0x14004ec50]
mov rcx, 0xffffffff80000002
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
test eax, eax
jne 0x14001a6c0
xor edx, edx
lea rcx, [rsp + 0x60]
mov r8d, 0x208
call fcn.14001c070
mov rcx, qword [rsp + 0x40]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rax
lea rdx, str.InstallLocation
lea rax, [rsp + 0x60]
mov dword [rsp + 0x50], 0x100
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
test eax, eax
jne 0x14001a6a6
test rbx, rbx
je 0x14001a6a0
lea r9, [rsp + 0x60]
mov edx, 0x104
lea r8, str._sXSplit.Gamecaster.exe
mov rcx, rbx
call fcn.14000afd0
mov r14d, 1
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
test r14d, r14d
je 0x14001a6c0
mov eax, 1
jmp 0x14001a963
lea r8, [0x14003cef8]
mov edx, 0x104
lea rcx, [0x14004ec50]
call fcn.14001f62c
lea rax, [rsp + 0x40]
mov r9d, 0x20219
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.SOFTWARESplitmediaLabsXSplitGC
mov rcx, 0xffffffff80000002
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
test eax, eax
je 0x14001a70a
xor eax, eax
jmp 0x14001a963
mov rcx, qword [rsp + 0x40]
mov qword [rsp + 0x4c8], rsi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
lea rax, [rsp + 0x40]
mov r9d, 0x209
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall
mov rcx, 0xffffffff80000002
mov esi, 1
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
test eax, eax
jne 0x14001a958
mov qword [rsp + 0x4d0], rdi
lea rcx, [rsp + 0x60]
xor edx, edx
mov qword [rsp + 0x490], r15
mov r8d, 0x208
mov edi, r12d
call fcn.14001c070
mov dword [rsp + 0x50], 0x104
lea r15, str.XSplit_Gamecaster
nop word [rax + rax]
mov rcx, qword [rsp + 0x40]
lea r9, [rsp + 0x50]
mov qword [rsp + 0x38], r12
lea r8, [rsp + 0x60]
mov qword [rsp + 0x30], r12
mov edx, edi
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r12
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegEnumKeyExW]
test eax, eax
jne 0x14001a93d
mov rcx, qword [rsp + 0x40]
lea rax, [rsp + 0x48]
mov r9d, 0x20019
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, [rsp + 0x60]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
test eax, eax
jne 0x14001a919
xor edx, edx
lea rcx, [rbp + 0x170]
mov r8d, 0x208
call fcn.14001c070
mov rcx, qword [rsp + 0x48]
lea rax, [rsp + 0x54]
mov qword [rsp + 0x28], rax
lea rdx, str.DisplayName
lea rax, [rbp + 0x170]
mov dword [rsp + 0x54], 0x208
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
test eax, eax
jne 0x14001a90e
lea rdx, [rbp + 0x170]
mov rax, r12
nop word [rax + rax]
movzx ecx, word [rdx + rax*2]
cmp cx, word [r15 + rax*2]
jne 0x14001a90e
movzx ecx, word [rdx + rax*2 + 2]
cmp cx, word [r15 + rax*2 + 2]
jne 0x14001a90e
add rax, 2
cmp rax, 0x12
jne 0x14001a850
lea r9, [rsp + 0x60]
mov edx, 0x104
lea r8, str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall_s
lea rcx, [0x14004ec50]
call fcn.14000afd0
xor edx, edx
lea rcx, [rbp + 0x170]
mov r8d, 0x208
call fcn.14001c070
mov rcx, qword [rsp + 0x48]
lea rax, [rsp + 0x54]
mov qword [rsp + 0x28], rax
lea rdx, str.InstallLocation
lea rax, [rbp + 0x170]
mov dword [rsp + 0x54], 0x208
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
test eax, eax
jne 0x14001a90b
test rbx, rbx
je 0x14001a905
lea r9, [rbp + 0x170]
mov edx, 0x104
lea r8, str._sXSplit.Gamecaster.exe
mov rcx, rbx
call fcn.14000afd0
mov r14d, 1
mov esi, r12d
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
xor edx, edx
lea rcx, [rsp + 0x60]
mov r8d, 0x208
call fcn.14001c070
inc edi
mov dword [rsp + 0x50], 0x104
test esi, esi
jne 0x14001a790
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov r15, qword [rsp + 0x490]
mov rdi, qword [rsp + 0x4d0]
mov rsi, qword [rsp + 0x4c8]
mov eax, r14d
mov rcx, qword [rbp + 0x380]
xor rcx, rsp
call fcn.14001a990
add rsp, 0x498
pop r14
pop r12
pop rbx
pop rbp
ret