Function at 0x140038260
Capabilities:
Create process on windows

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rdx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x1a0
mov qword [rsp + 0x120], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov rbp, rdx
mov r15, rcx
mov r13d, 8
mov rcx, r13
call fcn.14005b298
xor esi, esi
cmp rax, rsi
je 0x1400382ae
lea rcx, [rsp + 0x50]
mov qword [rax], rcx
jmp 0x1400382b1
mov rax, rsi
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x68], rsi
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x78], rsi
lea r14, [fcn.140009f98]
mov qword [rsp + 0x20], r14
lea r9, [0x140009f6c]
mov r8d, r13d
mov rdx, r13
lea rcx, [rsp + 0xb0]
call fcn.14005da7c
nop
lea rcx, [0x1400998c0]
mov rax, qword [0x1400998c0]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x1f8], rax
lea rcx, [0x1400998c0]
mov rax, qword [0x1400998c0]
call qword [rax + 0x18]
lea rdi, [rax + 0x18]
mov qword [rsp + 0xf0], rdi
mov rcx, qword [rbp]
sub rcx, 0x18
call fcn.140009ef0
add rax, 0x18
mov qword [rsp + 0x100], rax
mov r8d, 0x2c
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x100]
call fcn.14002802c
mov r12, qword [rsp + 0x70]
mov rcx, r12
mov rbx, qword [rsp + 0x68]
sub rcx, rbx
movabs rax, 0x6666666666666667
imul rcx
sar rdx, 4
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp rdx, 3
jb 0x140038d9f
cmp rdx, r13
ja 0x140038d9f
cmp rbx, r12
jbe 0x14003839f
call fcn.14005c2f8
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x90], rax
mov qword [rsp + 0x98], rbx
movaps xmm0, xmmword [rsp + 0x90]
movdqa xmmword [rsp + 0x90], xmm0
mov r13, rsi
lea r14, [rsp + 0xb0]
mov rsi, qword [rsp + 0x90]
mov rbx, qword [rsp + 0x98]
mov r12, qword [rsp + 0x70]
cmp qword [rsp + 0x68], r12
jbe 0x1400383f1
call fcn.14005c2f8
test rsi, rsi
je 0x1400383fd
cmp rsi, qword [rsp + 0x50]
je 0x140038402
call fcn.14005c2f8
cmp rbx, r12
je 0x1400384ae
cmp r13, 8
jae 0x140038481
test rsi, rsi
jne 0x140038420
call fcn.14005c2f8
xor r11d, r11d
jmp 0x140038423
mov r11, qword [rsi]
cmp rbx, qword [r11 + 0x20]
jb 0x14003842e
call fcn.14005c2f8
cmp qword [rbx + 0x20], 8
jb 0x14003843b
mov r12, qword [rbx + 8]
jmp 0x14003843f
lea r12, [rbx + 8]
test r12, r12
jne 0x140038448
xor eax, eax
jmp 0x140038450
mov rcx, r12
call fcn.14005b1c0
mov r8d, eax
mov rdx, r12
mov rcx, r14
call fcn.14000a188
mov r11, qword [r14]
mov qword [rsp + 0x20], r11
mov r9, r13
lea r8, str.Parameter__1_d_____2_s__n
lea rdx, str.CUninstallActions::LaunchApplication
mov ecx, 4
call fcn.140009480
test rsi, rsi
jne 0x140038490
call fcn.14005c2f8
xor r11d, r11d
jmp 0x140038493
mov r11, qword [rsi]
cmp rbx, qword [r11 + 0x20]
jb 0x14003849e
call fcn.14005c2f8
add rbx, 0x28
inc r13
add r14, 8
jmp 0x1400383e0
lea rdx, [rsp + 0xc0]
lea rcx, [rsp + 0x1f8]
call fcn.14000a830
mov r11, qword [rsp + 0x1f8]
xor r14d, r14d
cmp dword [r11 - 0x10], r14d
jne 0x140038577
lea rdx, [rdi - 0x18]
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
add eax, ebx
cmp eax, r14d
jg 0x1400384f7
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rdx, qword [rsp + 0x1f8]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
add eax, ebx
cmp eax, r14d
jg 0x14003851b
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
lea r9, [fcn.140009f98]
mov edx, 8
mov r8d, edx
lea rcx, [rsp + 0xb0]
call fcn.14005bcfc
nop
lea rcx, [rsp + 0x50]
call fcn.140005204
mov rcx, qword [rsp + 0x50]
call fcn.14005ab0c
nop
mov rdx, qword [rbp]
sub rdx, 0x18
mov ecx, ebx
lock xadd dword [rdx + 0x10], ecx
add ecx, ebx
cmp ecx, r14d
jg 0x14003856d
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [r8 + 8]
mov eax, 1
jmp 0x140038eb0
mov rcx, qword [rsp + 0xe8]
cmp dword [rcx - 0x10], r14d
je 0x140038655
add rcx, 0xffffffffffffffe8
call fcn.140009ef0
add rax, 0x18
mov qword [rsp + 0xf8], rax
lea rdx, [rsp + 0xf8]
mov rcx, r15
call fcn.14002e178
cmp eax, r14d
jne 0x140038655
lea rdx, [rdi - 0x18]
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
add eax, ebx
cmp eax, r14d
jg 0x1400385d6
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rdx, qword [rsp + 0x1f8]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
add eax, ebx
cmp eax, r14d
jg 0x1400385fa
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
lea r9, [fcn.140009f98]
mov edx, 8
mov r8d, edx
lea rcx, [rsp + 0xb0]
call fcn.14005bcfc
nop
lea rcx, [rsp + 0x50]
call fcn.140005204
mov rcx, qword [rsp + 0x50]
call fcn.14005ab0c
nop
mov rdx, qword [rbp]
sub rdx, 0x18
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
add eax, ebx
cmp eax, r14d
jg 0x14003864b
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov eax, 1
jmp 0x140038eb0
lea rcx, [rsp + 0x1f8]
call fcn.140009e38
mov rdx, qword [rsp + 0xc0]
mov eax, dword [rdx - 0x10]
inc eax
movsxd r8, eax
lea r9, [rsp + 0x1f8]
mov rcx, r15
call fcn.1400236ac
mov rbx, qword [rsp + 0x1f8]
mov r9, rbx
lea r8, str.strCmd___1_s__n
lea r12, str.CUninstallActions::LaunchApplication
mov rdx, r12
mov ecx, 4
call fcn.140009480
mov esi, 0x68
mov r8, rsi
xor edx, edx
lea rcx, [rsp + 0x130]
call fcn.14005bb90
mov dword [rsp + 0x130], esi
mov edx, dword [rbx - 0x10]
inc edx
lea ecx, [rsi - 0x67]
sub ecx, dword [rbx - 8]
mov eax, dword [rbx - 0xc]
sub eax, edx
or eax, ecx
jge 0x1400386ef
lea rcx, [rsp + 0x1f8]
call fcn.140009ea8
mov rbx, qword [rsp + 0x1f8]
lea rax, [rsp + 0x108]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x130]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], 0x20
mov dword [rsp + 0x20], r14d
xor r9d, r9d
xor r8d, r8d
mov rdx, rbx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
cmp eax, r14d
jne 0x14003881c
lea r8, str.CreateProcess_failed._n
mov rdx, r12
mov ecx, 2
call fcn.140009480
movsxd rdx, dword [rbx - 0xc]
mov rcx, rbx
call fcn.14005ca00
cmp eax, r14d
jl 0x140038811
cmp eax, dword [rbx - 0xc]
jg 0x140038811
mov dword [rbx - 0x10], eax
cdqe
mov word [rbx + rax*2], r14w
lea rdx, [rdi - 0x18]
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
add eax, ebx
cmp eax, r14d
jg 0x140038795
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rdx, qword [rsp + 0x1f8]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
add eax, ebx
cmp eax, r14d
jg 0x1400387b9
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
lea r9, [fcn.140009f98]
mov edx, 8
mov r8d, edx
lea rcx, [rsp + 0xb0]
call fcn.14005bcfc
nop
lea rcx, [rsp + 0x50]
call fcn.140005204
mov rcx, qword [rsp + 0x50]
call fcn.14005ab0c
nop
mov rdx, qword [rbp]
sub rdx, 0x18
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
add eax, ebx
cmp eax, r14d
jg 0x14003880a
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
xor eax, eax
jmp 0x140038eb0
mov ecx, 0x80070057
call fcn.140009a54
int3
lea r8, str.CreateProcess_success._n
mov rdx, r12
mov ecx, 4
call fcn.140009480
mov edx, 0x7f02
mov rcx, qword [0x14009bc38]
call qword [sym.imp.USER32.dll_LoadCursorW]
mov rcx, rax
call qword [sym.imp.USER32.dll_SetCursor]
mov r13, rax
mov rcx, qword [rsp + 0x110]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, str.APP_IGNOREEXITCODE
mov rcx, qword [rsp + 0xb0]
call fcn.14005c7d4
mov r12d, 0x64
cmp eax, r14d
jne 0x140038885
mov dword [rsp + 0x1f0], r14d
jmp 0x1400388ec
mov ecx, 0x1f4
call qword [sym.imp.KERNEL32.dll_Sleep]
mov edx, r12d
mov rcx, qword [rsp + 0x108]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov esi, eax
call fcn.1400128a4
cmp esi, 0x102
je 0x140038885
lea rdx, [rsp + 0x1f0]
mov rcx, qword [rsp + 0x108]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
cmp eax, r14d
jne 0x1400388ec
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9d, eax
lea r8, str.GetExitCodeProcess_failed.__0x_1_x___n
lea rdx, str.CUninstallActions::LaunchApplication
mov ecx, 2
call fcn.140009480
mov rcx, qword [rsp + 0x108]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
movsxd rdx, dword [rbx - 0xc]
mov rcx, rbx
call fcn.14005ca00
cmp eax, r14d
jl 0x140038d94
cmp eax, dword [rbx - 0xc]
jg 0x140038d94
mov dword [rbx - 0x10], eax
cdqe
mov word [rbx + rax*2], r14w
mov r9d, dword [rsp + 0x1f0]
lea r8, str.Launched_Process_ExitCode__0x_1_d_._n
lea rdx, str.CUninstallActions::LaunchApplication
mov ecx, 4
call fcn.140009480
cmp r13, r14
je 0x140038950
mov rcx, r13
call qword [sym.imp.USER32.dll_SetCursor]
lea rdx, str.APP_GETEXITCODE
mov rcx, qword [rsp + 0xb0]
call fcn.14005c7d4
cmp eax, r14d
jne 0x140038cf6
mov qword [rsp + 0x80], r14
mov rcx, qword [rsp + 0xc8]
mov r13d, 0xa
cmp dword [rcx - 0x10], r14d
jne 0x14003898e
mov esi, r14d
jmp 0x1400389a0
mov r8d, r13d
lea rdx, [rsp + 0x80]
call fcn.14005da0c
mov esi, eax
mov rcx, qword [rsp + 0xd0]
cmp dword [rcx - 0x10], r14d
je 0x1400389c1
mov r8d, r13d
lea rdx, [rsp + 0x80]
call fcn.14005da0c
mov r12d, eax
mov rcx, qword [rsp + 0xd8]
or ebx, 0xffffffff
cmp dword [rcx - 0x10], r14d
jne 0x1400389d6
mov eax, ebx
jmp 0x1400389e6
mov r8d, r13d
lea rdx, [rsp + 0x80]
call fcn.14005da0c
cmp dword [rsp + 0x1f0], esi
jne 0x140038aa7
lea r8, str.Launched_Process_completed_successfully._n
lea rdx, str.CUninstallActions::LaunchApplication
mov ecx, 4
call fcn.140009480
nop
lea rdx, [rdi - 0x18]
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
add eax, ebx
cmp eax, r14d
jg 0x140038a28
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rdx, qword [rsp + 0x1f8]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
add eax, ebx
cmp eax, r14d
jg 0x140038a4c
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
lea r9, [fcn.140009f98]
mov edx, 8
mov r8d, edx
lea rcx, [rsp + 0xb0]
call fcn.14005bcfc
nop
lea rcx, [rsp + 0x50]
call fcn.140005204
mov rcx, qword [rsp + 0x50]
call fcn.14005ab0c
nop
mov rdx, qword [rbp]
sub rdx, 0x18
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
add eax, ebx
cmp eax, r14d
jg 0x140038a9d
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov eax, 1
jmp 0x140038eb0
cmp dword [rsp + 0x1f0], r12d
jne 0x140038b88
lea r8, str.Launched_Process_Required_reboot._n
lea rdx, str.CUninstallActions::LaunchApplication
mov ecx, 4
call fcn.140009480
lea rdx, str.SET_VARSIGNED_0x00000000_REBOOT_DIRECT___1
lea rcx, [rsp + 0x90]
call fcn.14000b470
mov rdx, rax
mov rcx, r15
call fcn.14002f8d0
nop
lea rdx, [rdi - 0x18]
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
add eax, ebx
cmp eax, r14d
jg 0x140038b09
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rdx, qword [rsp + 0x1f8]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
add eax, ebx
cmp eax, r14d
jg 0x140038b2d
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
lea r9, [fcn.140009f98]
mov edx, 8
mov r8d, edx
lea rcx, [rsp + 0xb0]
call fcn.14005bcfc
nop
lea rcx, [rsp + 0x50]
call fcn.140005204
mov rcx, qword [rsp + 0x50]
call fcn.14005ab0c
nop
mov rdx, qword [rbp]
sub rdx, 0x18
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
add eax, ebx
cmp eax, r14d
jg 0x140038b7e
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov eax, 1
jmp 0x140038eb0
cmp eax, r14d
je 0x140038c42
lea r8, str.Launched_Process_failed_something_error_return_FALSE_._n
lea rdx, str.CUninstallActions::LaunchApplication
mov ecx, 4
call fcn.140009480
nop
lea rdx, [rdi - 0x18]
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
add eax, ebx
cmp eax, r14d
jg 0x140038bc6
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rdx, qword [rsp + 0x1f8]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
add eax, ebx
cmp eax, r14d
jg 0x140038bea
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
lea r9, [fcn.140009f98]
mov edx, 8
mov r8d, edx
lea rcx, [rsp + 0xb0]
call fcn.14005bcfc
nop
lea rcx, [rsp + 0x50]
call fcn.140005204
mov rcx, qword [rsp + 0x50]
call fcn.14005ab0c
nop
mov rdx, qword [rbp]
sub rdx, 0x18
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
add eax, ebx
cmp eax, r14d
jg 0x140038c3b
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
xor eax, eax
jmp 0x140038eb0
lea r8, str.Launched_Process_failed_something_error_return_TRUE_._n
lea rdx, str.CUninstallActions::LaunchApplication
mov ecx, 4
call fcn.140009480
nop
lea rdx, [rdi - 0x18]
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
add eax, ebx
cmp eax, r14d
jg 0x140038c77
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rdx, qword [rsp + 0x1f8]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
add eax, ebx
cmp eax, r14d
jg 0x140038c9b
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
lea r9, [fcn.140009f98]
mov edx, 8
mov r8d, edx
lea rcx, [rsp + 0xb0]
call fcn.14005bcfc
nop
lea rcx, [rsp + 0x50]
call fcn.140005204
mov rcx, qword [rsp + 0x50]
call fcn.14005ab0c
nop
mov rdx, qword [rbp]
sub rdx, 0x18
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
add eax, ebx
cmp eax, r14d
jg 0x140038cec
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov eax, 1
jmp 0x140038eb0
lea rdx, [rdi - 0x18]
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
add eax, ebx
cmp eax, r14d
jg 0x140038d15
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rdx, qword [rsp + 0x1f8]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
add eax, ebx
cmp eax, r14d
jg 0x140038d39
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
lea r9, [fcn.140009f98]
mov edx, 8
mov r8d, edx
lea rcx, [rsp + 0xb0]
call fcn.14005bcfc
nop
lea rcx, [rsp + 0x50]
call fcn.140005204
mov rcx, qword [rsp + 0x50]
call fcn.14005ab0c
nop
mov rdx, qword [rbp]
sub rdx, 0x18
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
add eax, ebx
cmp eax, r14d
jg 0x140038d8a
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov eax, 1
jmp 0x140038eb0
mov ecx, 0x80070057
call fcn.140009a54
int3
lea rcx, [0x1400998c0]
mov rax, qword [0x1400998c0]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0xa0], rax
mov ecx, 0x57
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov r8, qword [rbp]
lea rdx, str.CUninstallActions::LaunchApplication_invalid_parameters.___s_
lea rcx, [rsp + 0xa0]
call fcn.14000b0cc
mov r9d, 0x10
lea r8, str.Internal_Error
mov rbx, qword [rsp + 0xa0]
mov rdx, rbx
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
nop
lea rdx, [rbx - 0x18]
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
add eax, ebx
cmp eax, esi
jg 0x140038e1e
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rdx, qword [rsp + 0xf0]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
add eax, ebx
cmp eax, esi
jg 0x140038e41
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rdx, qword [rsp + 0x1f8]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
add eax, ebx
cmp eax, esi
jg 0x140038e64
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov r9, r14
mov r8d, r13d
mov rdx, r13
lea rcx, [rsp + 0xb0]
call fcn.14005bcfc
nop
lea rcx, [rsp + 0x50]
call fcn.140005204
mov rcx, qword [rsp + 0x50]
call fcn.14005ab0c
nop
mov rdx, qword [rbp]
sub rdx, 0x18
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
add eax, ebx
cmp eax, esi
jg 0x140038eae
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
xor eax, eax
mov rbx, qword [rsp + 0x1e0]
add rsp, 0x1a0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret