Function at 0x140001f78
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r13
push r15
lea rbp, [rsp - 0x1b0]
sub rsp, 0x2b0
mov rax, qword [0x14000c030]
xor rax, rsp
mov qword [rbp + 0x1a0], rax
xor r12d, r12d
mov rdi, rcx
lea rcx, [rbp - 0x28]
lea r8d, [r12 + 0x60]
xor edx, edx
mov dword [rbp - 0x30], r12d
call fcn.140002880
xor eax, eax
lea rcx, [rbp - 0x30]
lea ebx, [rax + 0x68]
xor edx, edx
mov qword [rsp + 0x48], r12
mov r8d, ebx
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rax
call fcn.140002880
lea r8d, [r12 + 0x18]
lea rcx, [rsp + 0x48]
xor edx, edx
call fcn.140002880
mov r8, qword [rdi + 0x1538]
lea rdx, str.__IRAOFF:_I64u
lea rcx, [rbp + 0x70]
mov dword [rbp - 0x30], ebx
mov qword [rbp - 0x28], r12
mov qword [rbp + 0x18], r12
mov word [rbp + 0x12], r12w
mov qword [rbp - 0x20], r12
mov dword [rbp + 0xc], r12d
call qword [sym.imp.USER32.dll_wsprintfA]
lea rbx, [rdi + 0x808]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrlenA]
lea r15, [0x1400087a0]
test eax, eax
je 0x14000204e
mov rdx, r15
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrcatA]
lea rdx, [rbp + 0x70]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrcatA]
lea r8, [rdi + 0x1120]
lea rdx, str.___IRAFN:_s_
lea rcx, [rbp + 0x70]
call qword [sym.imp.USER32.dll_wsprintfA]
mov rdx, r15
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrcatA]
lea rdx, [rbp + 0x70]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrcatA]
movzx r8d, byte [rdi + 0x1114]
lea rdx, str.___IRCT:_d_
lea rcx, [rbp + 0x70]
call qword [sym.imp.USER32.dll_wsprintfA]
mov rdx, r15
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrcatA]
lea rdx, [rbp + 0x70]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrcatA]
mov r8, qword [rdi + 0x1118]
lea rdx, str.___IRTSS:_I64u_
lea rcx, [rbp + 0x70]
call qword [sym.imp.USER32.dll_wsprintfA]
mov rdx, r15
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrcatA]
lea rdx, [rbp + 0x70]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrcatA]
mov qword [rsp + 0x40], r12
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea r8, [rsp + 0x40]
mov rcx, rax
mov edx, 8
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
mov r13d, 1
test eax, eax
je 0x1400021bb
mov ecx, 0x4000
mov dword [rsp + 0x38], r12d
call fcn.140002dc0
mov rsi, rax
test rax, rax
je 0x1400021bb
mov rcx, qword [rsp + 0x40]
lea rax, [rsp + 0x38]
mov r9d, 0x4000
mov r8, rsi
mov edx, r13d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
je 0x1400021bb
mov rdx, qword [rsi]
lea r8, [rsp + 0x30]
mov rcx, rdi
mov qword [rsp + 0x30], r12
call fcn.140001b68
test eax, eax
je 0x1400021b3
mov r8, qword [rsp + 0x30]
test r8, r8
je 0x1400021b3
lea rdx, str.___IRSID:_s_
lea rcx, [rbp + 0x70]
call qword [sym.imp.USER32.dll_wsprintfA]
mov rdx, r15
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrcatA]
lea rdx, [rbp + 0x70]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrcatA]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, rsi
call fcn.140002d80
cmp dword [0x14000cf20], r12d
je 0x1400021f2
lea r8, [rdi + 0x1224]
xor r9d, r9d
mov rdx, rbx
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
lea rdx, [rdi + 0x1328]
lea r8, str.m_szTempLaunchPath
xor r9d, r9d
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
mov esi, 0x70
lea rcx, [rsp + 0x60]
xor edx, edx
mov r8d, esi
call fcn.140002880
lea rax, str.open
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x70], rax
lea rax, [rdi + 0x1224]
mov dword [rsp + 0x60], esi
mov dword [rsp + 0x64], 0x40
mov qword [rsp + 0x68], r12
mov qword [rbp - 0x80], rbx
mov qword [rsp + 0x78], rax
mov qword [rbp - 0x78], r12
mov dword [rbp - 0x70], r13d
mov qword [rbp - 0x68], r12
call qword [sym.imp.SHELL32.dll_ShellExecuteExA]
test eax, eax
jne 0x14000227e
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x4c7
je 0x140002274
lea rcx, [rdi + 8]
lea rdx, str.Could_not_start_the_setup
call qword [sym.imp.KERNEL32.dll_lstrcpyA]
lea ebx, [rsi - 0x39]
jmp 0x140002318
mov ebx, 5
jmp 0x140002318
cmp dword [rdi + 0x110c], r12d
je 0x1400022dc
mov ebx, 0xff
or esi, 0xffffffff
jmp 0x1400022c0
lea rcx, [rbp + 0x40]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rbp + 0x40]
call qword [sym.imp.USER32.dll_DispatchMessageA]
lea rcx, [rbp + 0x40]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov dword [rsp + 0x20], r13d
call qword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
jg 0x140002291
lea rdx, [rbp - 0x38]
mov r9d, esi
xor r8d, r8d
mov ecx, r13d
mov dword [rsp + 0x20], ebx
call qword [sym.imp.USER32.dll_MsgWaitForMultipleObjects]
cmp eax, r13d
je 0x1400022a5
mov rcx, qword [rbp - 0x38]
lea rdx, [rdi + 0x1548]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov ebx, dword [rdi + 0x1548]
mov dword [rdi + 0x1110], r13d
cmp ebx, 0x103
jne 0x14000230e
mov ecx, dword [rdi + 0x110c]
neg ecx
sbb edx, edx
and ebx, edx
mov rcx, qword [rbp - 0x38]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
mov rcx, qword [rbp + 0x1a0]
xor rcx, rsp
call fcn.140002980
lea r11, [rsp + 0x2b0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r13
pop r12
pop rdi
pop rbp
ret