Function at 0x14003596c
Capabilities:
Accept command line arguments
Create a process with modified i/o handles and window
Create process on windows
Delete registry value
Get installed programs
Query environment variable
Query or enumerate registry value
Set registry value
Terminate process

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 - 0x678]
sub rsp, 0x750
mov rax, qword [0x1400592a0]
xor rax, rsp
mov qword [rbp + 0x640], rax
xor r12d, r12d
lea rax, [rsp + 0x68]
mov edi, 0x101
mov qword [rsp + 0x68], r12
mov rbx, 0xffffffff80000002
mov dword [rsp + 0x74], r12d
mov r9d, edi
mov qword [rsp + 0x20], rax
lea r13d, [r12 + 1]
xor r8d, r8d
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionUninstallWindows_Media_Connect
mov dword [rsp + 0x78], r13d
mov rcx, rbx
mov dword [rsp + 0x70], r13d
mov r15d, r12d
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
nop dword [rax + rax]
lea r14d, [r12 + 2]
test eax, eax
je 0x140035a30
lea rax, [rsp + 0x68]
mov dword [rsp + 0x70], r14d
mov r9d, edi
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionUninstallWMCSetup
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
nop dword [rax + rax]
test eax, eax
jne 0x1400360e7
mov esi, 4
lea rdx, str.Uninstalling_legacy_WMC_install._r_n
mov ecx, esi
call fcn.140019ae0
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x1400360d9
lea rax, [rsp + 0x74]
mov edi, 0x208
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x78]
lea rax, [rbp + 0x220]
mov dword [rsp + 0x74], edi
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.UninstallString
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
nop dword [rax + rax]
test eax, eax
jne 0x140035b04
mov ecx, dword [rsp + 0x78]
lea eax, [rcx - 1]
cmp eax, r13d
ja 0x140035b04
mov r15d, r13d
cmp ecx, r14d
jne 0x140035b04
mov r8d, 0x104
lea rdx, [rbp + 0x430]
lea rcx, [rbp + 0x220]
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
nop dword [rax + rax]
test eax, eax
je 0x140035ae0
lea r8, [rbp + 0x430]
mov edx, edi
lea rcx, [rbp + 0x220]
call fcn.140010c20
test eax, eax
jns 0x140035b04
lea rdx, str.Unable_to_find_WMC_uninstall_information:_skipping._r_n
mov ecx, esi
call fcn.140019ae0
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop dword [rax + rax]
jmp 0x1400360e7
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop dword [rax + rax]
test r15d, r15d
je 0x1400360d9
mov qword [rsp + 0x40], r12
lea rax, [rsp + 0x68]
mov qword [rsp + 0x38], rax
lea rdx, str.SoftwareMicrosoftMediaPlayerSetup
mov qword [rsp + 0x30], r12
xor r9d, r9d
mov dword [rsp + 0x28], 0x20106
xor r8d, r8d
mov rcx, rbx
mov dword [rsp + 0x20], r12d
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
nop dword [rax + rax]
test eax, eax
jne 0x140035b9c
mov rcx, qword [rsp + 0x68]
lea rax, [rsp + 0x70]
mov dword [rsp + 0x28], esi
lea rdx, str.Migrated_NSS_Version
mov r9d, esi
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
nop dword [rax + rax]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop dword [rax + rax]
cmp dword [rsp + 0x70], r14d
jne 0x140035ba8
call fcn.140036788
lea rdx, str.msiexec.exe
lea rcx, [rbp + 0x220]
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll_wcsstr]
nop dword [rax + rax]
test rax, rax
je 0x1400360d4
lea rdx, [0x140050b88]
lea rcx, [rbp + 0x220]
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll_wcsstr]
nop dword [rax + rax]
test rax, rax
je 0x1400360d4
mov r9, rax
lea r8, str.msiexec.exe__uninstall__s__qn__norestart
mov rdx, rdi
lea rcx, [rbp + 0x10]
call fcn.140010c94
test eax, eax
js 0x1400360d4
xor ecx, ecx
mov dword [rsp + 0x60], r12d
mov qword [rsp + 0x50], r12
call qword [sym.imp.KERNEL32.dll_SetLastError]
nop dword [rax + rax]
lea rdx, [0x14004c0e0]
lea rcx, [rbp + 0x10]
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll_wcsstr]
nop dword [rax + rax]
test rax, rax
je 0x140035c8d
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
nop dword [rax + rax]
test rax, rax
je 0x140035c8d
lea rdx, str._NoMigrate
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll_wcsstr]
nop dword [rax + rax]
test rax, rax
je 0x140035c8d
lea rdx, str.Library_migration_skipped_due_to_installing_app_request._r_n
mov ecx, esi
call fcn.140019ae0
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
nop dword [rax + rax]
jmp 0x1400360d4
or rcx, 0xffffffffffffffff
lea rax, [rbp + 0x10]
mov rbx, rcx
inc rbx
cmp word [rax + rbx*2], r12w
jne 0x140035c98
add rbx, 5
mov rax, r14
mul rbx
cmovo rax, rcx
mov rcx, rax
call fcn.1400014a0
mov rdi, rax
test rax, rax
jne 0x140035cc5
lea ecx, [rax + 8]
jmp 0x140035c7c
mov r8, rbx
lea rcx, [rbp + 0x10]
mov rdx, rdi
call fcn.14001f72c
mov qword [rsp + 0x40], r12
lea rax, [rsp + 0x50]
mov qword [rsp + 0x38], rax
lea rdx, str.SoftwareMicrosoftMediaPlayerSetup
xorps xmm0, xmm0
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], 3
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x20], r12d
mov rcx, 0xffffffff80000001
mov dword [rbp - 0x60], 0x68
mov qword [rbp - 0x58], r12
mov qword [rbp - 0x28], r12
mov dword [rbp - 0x20], r12d
mov qword [rbp - 0x18], r12
movdqa xmmword [rbp - 0x50], xmm0
mov qword [rbp - 0x40], r12
mov qword [rbp - 0x38], r12
mov qword [rbp - 0x30], r12
movdqa xmmword [rbp - 0x10], xmm0
mov qword [rbp], r12
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
nop dword [rax + rax]
test eax, eax
jne 0x140035d95
mov rcx, qword [rsp + 0x50]
lea rdx, str.CurrentItemTotalProgressCount
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
nop dword [rax + rax]
mov rcx, qword [rsp + 0x50]
lea rdx, str.CurrentItemProgressCount
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
nop dword [rax + rax]
mov rcx, qword [rsp + 0x50]
lea rdx, str.CurrentItemEstimatedTime
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
nop dword [rax + rax]
lea r8, [rbp + 0x10]
mov ecx, esi
lea rdx, str.Starting_process__S._r_n
call fcn.140019b1c
lea rax, [rbp - 0x80]
xor r9d, r9d
mov qword [rsp + 0x48], rax
xor r8d, r8d
lea rax, [rbp - 0x60]
mov rdx, rdi
mov qword [rsp + 0x40], rax
xor ecx, ecx
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], r12d
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
nop dword [rax + rax]
test eax, eax
jne 0x140035e3a
mov rcx, rdi
call fcn.140001454
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
test eax, eax
jne 0x140035e07
mov eax, 0x57
jmp 0x140035e09
jle 0x140035e11
movzx eax, ax
or eax, 0x80070000
mov r9d, eax
lea r8, [rbp + 0x10]
lea rdx, str.ERROR:_Process__S_failed.__Error:_0x_x._r_n
mov ecx, r14d
call fcn.140019b1c
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x1400360d4
jmp 0x1400360c8
mov rcx, qword [rbp - 0x78]
test rcx, rcx
je 0x140035e53
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop dword [rax + rax]
mov qword [rbp - 0x78], r12
mov r9d, 0xfa
mov dword [rsp + 0x7c], esi
xor r8d, r8d
mov dword [rsp + 0x58], r12d
lea rdx, [rbp - 0x80]
mov dword [rsp + 0x5c], r12d
mov ecx, r13d
mov ebx, r12d
mov r14d, r12d
call qword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
nop dword [rax + rax]
jmp 0x140035fce
test ebx, ebx
jne 0x140035f1f
mov rcx, qword [rsp + 0x50]
test rcx, rcx
jne 0x140035ea2
mov ebx, r13d
jmp 0x140035f9e
lea rax, [rsp + 0x58]
mov dword [rsp + 0x58], esi
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x7c]
lea rax, [rsp + 0x5c]
xor r8d, r8d
lea rdx, str.CurrentItemTotalProgressCount
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
nop dword [rax + rax]
test eax, eax
jne 0x140035f1f
mov rcx, qword [0x14005a748]
mov ebx, r13d
mov esi, dword [rsp + 0x5c]
test rcx, rcx
je 0x140035f1a
call qword [sym.imp.USER32.dll_IsWindow]
nop dword [rax + rax]
test eax, eax
je 0x140035f1a
mov rcx, qword [0x14005a748]
mov r9d, esi
xor r8d, r8d
mov edx, 0x5d9
call qword [sym.imp.USER32.dll_PostMessageW]
nop dword [rax + rax]
mov esi, 4
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x140035f9e
lea rax, [rsp + 0x58]
mov dword [rsp + 0x58], esi
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x7c]
lea rax, [rsp + 0x5c]
xor r8d, r8d
lea rdx, str.CurrentItemProgressCount
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
nop dword [rax + rax]
test eax, eax
jne 0x140035f9e
mov rcx, qword [0x14005a748]
mov esi, dword [rsp + 0x5c]
test rcx, rcx
je 0x140035f9e
call qword [sym.imp.USER32.dll_IsWindow]
nop dword [rax + rax]
test eax, eax
je 0x140035f9e
mov rcx, qword [0x14005a748]
mov r9d, esi
xor r8d, r8d
mov edx, 0x5d8
call qword [sym.imp.USER32.dll_PostMessageW]
nop dword [rax + rax]
mov eax, 0x2932e0
mov ecx, r13d
cmp r14d, eax
ja 0x140035fdb
mov eax, 0xfa
lea rdx, [rbp - 0x80]
add r14d, eax
mov r9d, eax
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
nop dword [rax + rax]
mov esi, 4
cmp eax, 0x102
je 0x140035e88
jmp 0x140036025
mov r9d, eax
mov dword [rsp + 0x60], r13d
lea r8, [rbp + 0x10]
lea rdx, str.ERROR:__Process__S_deadlocked.__Terminated_after__lums._r_n
call fcn.140019b1c
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
test eax, eax
jne 0x140036012
mov ecx, r13d
call qword [sym.imp.KERNEL32.dll_SetLastError]
nop dword [rax + rax]
mov rcx, qword [rbp - 0x80]
mov edx, r13d
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
nop dword [rax + rax]
cmp dword [rsp + 0x60], r12d
jne 0x140036055
mov rcx, qword [rbp - 0x80]
lea rdx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
nop dword [rax + rax]
test eax, eax
je 0x140036055
mov ecx, dword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_SetLastError]
nop dword [rax + rax]
mov rcx, rdi
call fcn.140001454
mov rcx, qword [rbp - 0x80]
test rcx, rcx
je 0x140036076
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop dword [rax + rax]
mov qword [rbp - 0x80], r12
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x1400360d4
lea rdx, str.CurrentItemTotalProgressCount
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
nop dword [rax + rax]
mov rcx, qword [rsp + 0x50]
lea rdx, str.CurrentItemProgressCount
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
nop dword [rax + rax]
mov rcx, qword [rsp + 0x50]
lea rdx, str.CurrentItemEstimatedTime
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
nop dword [rax + rax]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop dword [rax + rax]
mov eax, r15d
jmp 0x1400360e9
lea rdx, str.Unable_to_find_WMC_uninstall_information:_skipping._r_n
mov ecx, esi
call fcn.140019ae0
xor eax, eax
mov rcx, qword [rbp + 0x640]
xor rcx, rsp
call fcn.1400017f0
lea r11, [rsp + 0x750]
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