Function at 0x140001c88
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 + 8]
lea r8d, [r12 + 0x60]
xor edx, edx
mov dword [rbp], r12d
call fcn.140002580
xor eax, eax
lea rcx, [rbp]
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.140002580
lea r8d, [r12 + 0x18]
lea rcx, [rsp + 0x48]
xor edx, edx
call fcn.140002580
mov r8, qword [rdi + 0x1538]
lea rdx, str.__IRAOFF:_I64u
lea rcx, [rbp + 0x70]
mov dword [rbp], ebx
mov qword [rbp + 8], r12
mov qword [rbp + 0x48], r12
mov word [rbp + 0x42], r12w
mov qword [rbp + 0x10], r12
mov dword [rbp + 0x3c], r12d
call qword [sym.imp.USER32.dll_wsprintfA]
lea rbx, [rdi + 0x808]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrlenA]
lea r15, [0x1400086c8]
test eax, eax
je 0x140001d5e
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 0x140001ecb
mov ecx, 0x4000
mov dword [rsp + 0x38], r12d
call fcn.140002ac0
mov rsi, rax
test rax, rax
je 0x140001ecb
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 0x140001ecb
mov rdx, qword [rsi]
lea r8, [rsp + 0x30]
mov rcx, rdi
mov qword [rsp + 0x30], r12
call fcn.140001908
test eax, eax
je 0x140001ec3
mov r8, qword [rsp + 0x30]
test r8, r8
je 0x140001ec3
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.140002a80
cmp dword [0x14000cf20], r12d
je 0x140001ee9
lea r8, [rdi + 0x1224]
xor r9d, r9d
mov rdx, rbx
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.140002580
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 0x140001f75
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x4c7
je 0x140001f6b
lea rcx, [rdi + 8]
lea rdx, str.Could_not_start_the_setup
call qword [sym.imp.KERNEL32.dll_lstrcpyA]
lea ebx, [rsi - 0x39]
jmp 0x14000201e
mov ebx, 5
jmp 0x14000201e
cmp dword [rdi + 0x110c], r12d
je 0x140001fe2
mov ebx, 0xff
or esi, 0xffffffff
jmp 0x140001fc6
cmp dword [rbp - 0x28], 0xf
je 0x140001f97
cmp dword [rbp - 0x28], 0x200
jne 0x140001fab
lea rcx, [rbp - 0x30]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rbp - 0x30]
call qword [sym.imp.USER32.dll_DispatchMessageA]
lea rcx, [rbp - 0x30]
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 0x140001f88
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 0x140001fab
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 0x140002014
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.140002680
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