Function at 0x140019884
Capabilities:
Accept command line arguments
Delete registry value

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0x100
mov rsi, rcx
xor ebx, ebx
xor ecx, ecx
mov dword [rbp + 0x6f], ebx
mov qword [rbp - 0x79], rbx
movzx r15d, r9w
mov r12d, r8d
mov r14, rdx
call qword [sym.imp.KERNEL32.dll_SetLastError]
nop dword [rax + rax]
test r14, r14
jne 0x1400198f7
lea rdx, str.ERROR:_Invalid_params_given_to_DoProcess._r_n
lea ecx, [rbx + 2]
call fcn.140018e9c
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_SetLastError]
nop dword [rax + rax]
xor eax, eax
jmp 0x140019dcd
lea rdx, [0x1400444d0]
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll_wcsstr]
nop dword [rax + rax]
test rax, rax
je 0x140019967
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
nop dword [rax + rax]
test rax, rax
je 0x140019967
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 0x140019967
lea rdx, str.Library_migration_skipped_due_to_installing_app_request._r_n
mov ecx, 4
call fcn.140018e9c
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
nop dword [rax + rax]
mov eax, 1
jmp 0x140019dcd
test rsi, rsi
je 0x14001998f
mov rcx, rsi
call fcn.140019eb0
test eax, eax
jne 0x14001998f
mov r8, rsi
lea rdx, str.ERROR:_Application__S_not_found.__Process_could_not_be_executed._r_n
lea ecx, [rax + 2]
call fcn.140018ed8
jmp 0x1400198df
or rcx, 0xffffffffffffffff
mov rdi, rcx
inc rdi
cmp word [r14 + rdi*2], bx
jne 0x140019996
add rdi, 5
mov eax, 2
mul rdi
cmovo rax, rcx
mov rcx, rax
call fcn.14000130c
mov qword [rbp - 0x61], rax
mov r13, rax
test rax, rax
jne 0x1400199cc
lea ecx, [rax + 8]
jmp 0x1400198e4
mov r8, rdi
mov rdx, r13
mov rcx, r14
call fcn.14001e8c0
mov eax, ebx
mov dword [rbp - 0x39], 0x68
mov ecx, 0xffff
mov qword [rbp - 0x31], rbx
cmp r15w, cx
mov word [rbp + 9], bx
xorps xmm0, xmm0
mov qword [rbp + 0xf], rbx
setne al
movdqa xmmword [rbp - 0x29], xmm0
mov dword [rbp + 3], eax
mov qword [rbp - 0x19], rbx
mov qword [rbp - 0x11], rbx
mov qword [rbp - 9], rbx
mov dword [rbp - 1], ebx
mov word [rbp + 7], r15w
jne 0x140019a20
mov word [rbp + 7], bx
mov qword [rsp + 0x40], rbx
lea rax, [rbp - 0x79]
mov qword [rsp + 0x38], rax
lea rdx, str.SoftwareMicrosoftMediaPlayerSetup
mov qword [rsp + 0x30], rbx
xor r9d, r9d
mov dword [rsp + 0x28], 3
xor r8d, r8d
mov rcx, 0xffffffff80000001
mov dword [rsp + 0x20], ebx
movdqa xmmword [rbp + 0x17], xmm0
mov qword [rbp + 0x27], rbx
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
nop dword [rax + rax]
test eax, eax
jne 0x140019ab1
mov rcx, qword [rbp - 0x79]
lea rdx, str.CurrentItemTotalProgressCount
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
nop dword [rax + rax]
mov rcx, qword [rbp - 0x79]
lea rdx, str.CurrentItemProgressCount
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
nop dword [rax + rax]
mov rcx, qword [rbp - 0x79]
lea rdx, str.CurrentItemEstimatedTime
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
nop dword [rax + rax]
mov r15d, 4
lea rdx, str.Starting_process__S._r_n
mov ecx, r15d
mov r8, r14
call fcn.140018ed8
lea rax, [rbp - 0x59]
xor r9d, r9d
mov qword [rsp + 0x48], rax
xor r8d, r8d
lea rax, [rbp - 0x39]
mov rdx, r13
mov qword [rsp + 0x40], rax
mov rcx, rsi
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], ebx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
nop dword [rax + rax]
test eax, eax
jne 0x140019b57
mov rcx, r13
call fcn.1400012c0
call fcn.140015998
test eax, eax
jle 0x140019b22
movzx eax, ax
or eax, 0x80070000
mov r9d, eax
lea rdx, str.ERROR:_Process__S_failed.__Error:_0x_x._r_n
mov r8, r14
mov ecx, 2
call fcn.140018ed8
mov rcx, qword [rbp - 0x79]
test rcx, rcx
je 0x1400198f0
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop dword [rax + rax]
jmp 0x1400198f0
mov rcx, qword [rbp - 0x51]
test rcx, rcx
je 0x140019b70
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop dword [rax + rax]
mov qword [rbp - 0x51], rbx
test r12d, r12d
je 0x140019d4a
mov r12d, ebx
mov dword [rbp - 0x69], r15d
mov esi, ebx
mov dword [rbp - 0x71], ebx
mov dword [rbp - 0x6d], ebx
mov edi, 1
mov r9d, 0xfa
lea rdx, [rbp - 0x59]
xor r8d, r8d
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
nop dword [rax + rax]
cmp eax, 0x102
jne 0x140019d1a
test r12d, r12d
jne 0x140019c42
mov rcx, qword [rbp - 0x79]
test rcx, rcx
jne 0x140019bcd
mov r12d, edi
jmp 0x140019cbd
lea rax, [rbp - 0x71]
mov dword [rbp - 0x71], r15d
mov qword [rsp + 0x28], rax
lea r9, [rbp - 0x69]
lea rax, [rbp - 0x6d]
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 0x140019c42
mov rcx, qword [0x140053810]
mov r12d, edi
mov r13d, dword [rbp - 0x6d]
test rcx, rcx
je 0x140019c42
call qword [sym.imp.USER32.dll_IsWindow]
nop dword [rax + rax]
test eax, eax
je 0x140019c42
mov rcx, qword [0x140053810]
mov r9d, r13d
xor r8d, r8d
mov edx, 0x5d9
call qword [sym.imp.USER32.dll_PostMessageW]
nop dword [rax + rax]
mov rcx, qword [rbp - 0x79]
test rcx, rcx
je 0x140019cbd
lea rax, [rbp - 0x71]
mov dword [rbp - 0x71], r15d
mov qword [rsp + 0x28], rax
lea r9, [rbp - 0x69]
lea rax, [rbp - 0x6d]
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 0x140019cbd
mov rcx, qword [0x140053810]
mov r13d, dword [rbp - 0x6d]
test rcx, rcx
je 0x140019cbd
call qword [sym.imp.USER32.dll_IsWindow]
nop dword [rax + rax]
test eax, eax
je 0x140019cbd
mov rcx, qword [0x140053810]
mov r9d, r13d
xor r8d, r8d
mov edx, 0x5d8
call qword [sym.imp.USER32.dll_PostMessageW]
nop dword [rax + rax]
cmp esi, 0x2932e0
ja 0x140019cd0
add esi, 0xfa
jmp 0x140019b8d
mov r9d, 0x2932e0
mov dword [rbp + 0x6f], edi
mov r8, r14
lea rdx, str.ERROR:__Process__S_deadlocked.__Terminated_after__lums._r_n
mov ecx, edi
call fcn.140018ed8
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
test eax, eax
jne 0x140019d08
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
nop dword [rax + rax]
mov rcx, qword [rbp - 0x59]
mov edx, edi
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
nop dword [rax + rax]
cmp dword [rbp + 0x6f], ebx
jne 0x140019d46
mov rcx, qword [rbp - 0x59]
lea rdx, [rbp + 0x6f]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
nop dword [rax + rax]
test eax, eax
je 0x140019d46
mov ecx, dword [rbp + 0x6f]
call qword [sym.imp.KERNEL32.dll_SetLastError]
nop dword [rax + rax]
mov r13, qword [rbp - 0x61]
mov rcx, r13
call fcn.1400012c0
mov rcx, qword [rbp - 0x59]
test rcx, rcx
je 0x140019d6b
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop dword [rax + rax]
mov qword [rbp - 0x59], rbx
mov rcx, qword [rbp - 0x79]
test rcx, rcx
je 0x140019dc5
lea rdx, str.CurrentItemTotalProgressCount
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
nop dword [rax + rax]
mov rcx, qword [rbp - 0x79]
lea rdx, str.CurrentItemProgressCount
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
nop dword [rax + rax]
mov rcx, qword [rbp - 0x79]
lea rdx, str.CurrentItemEstimatedTime
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
nop dword [rax + rax]
mov rcx, qword [rbp - 0x79]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop dword [rax + rax]
cmp dword [rbp + 0x6f], ebx
sete bl
mov eax, ebx
lea r11, [rsp + 0x100]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret