Function at 0x140022fa0
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x47]
sub rsp, 0x100
mov rax, qword [0x140045028]
xor rax, rsp
mov qword [rbp + 0x37], rax
mov rbx, rdx
mov rdi, rcx
mov qword [rbp - 0x51], rcx
mov qword [rbp - 0x49], rdx
mov rdx, rcx
lea rcx, [rbp - 0x71]
call fcn.1400024d0
mov rcx, rax
call fcn.1400199d0
xorps xmm0, xmm0
xor esi, esi
test al, al
jne 0x1400230b1
movups xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], rsi
lea r8d, [rsi + 0x19]
lea rdx, str.TsunamiSDK::Process:Start
lea rcx, [rsp + 0x20]
call fcn.1400027e0
lea rdx, str.Refused_to_start_process___Path_does_not_exist
lea rcx, [rsp + 0x20]
call fcn.14001dba0
nop
mov rdx, qword [rdi + 0x18]
cmp rdx, 0x10
jb 0x140023061
inc rdx
cmp rdx, 0x1000
mov rcx, qword [rdi]
jb 0x14002305c
mov r8, qword [rcx - 8]
sub rcx, r8
add rdx, 0x27
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14002321a
mov rcx, r8
call fcn.14002ec3c
mov byte [rdi], 0
mov qword [rdi + 0x18], 0xf
mov qword [rdi + 0x10], rsi
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x1400230aa
inc rdx
cmp rdx, 0x1000
mov rcx, qword [rbx]
jb 0x1400230a5
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140023221
mov rcx, r8
call fcn.14002ec3c
xor al, al
jmp 0x1400231ec
movups xmmword [rbp - 0x39], xmm0
movups xmmword [rbp - 0x29], xmm0
movups xmmword [rbp - 0x19], xmm0
movups xmmword [rbp - 9], xmm0
movups xmmword [rbp + 7], xmm0
movups xmmword [rbp + 0x17], xmm0
movups xmmword [rbp + 0x27], xmm0
mov dword [rbp - 0x39], 0x70
mov dword [rbp - 0x35], 0x40
mov dword [rbp - 9], esi
lea rax, str.runas
mov qword [rbp - 0x29], rax
mov rax, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x1400230f6
mov rax, qword [rdi]
mov qword [rbp - 0x21], rax
mov rax, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x140023107
mov rax, qword [rbx]
mov qword [rbp - 0x19], rax
lea rcx, [rbp - 0x39]
call qword [sym.imp.SHELL32.dll_ShellExecuteExA]
xorps xmm0, xmm0
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], rsi
mov r8d, 0x1a
lea rdx, str.TsunamiSDK::Process::Start
lea rcx, [rsp + 0x20]
movups xmmword [rsp + 0x20], xmm0
test eax, eax
jne 0x140023158
call fcn.1400027e0
lea rdx, str.Failed_to_start_process
lea rcx, [rsp + 0x20]
call fcn.14001dc60
jmp 0x140023027
call fcn.1400027e0
lea rdx, str.Started_process
lea rcx, [rsp + 0x20]
call fcn.14001da20
nop
mov rdx, qword [rdi + 0x18]
cmp rdx, 0x10
jb 0x1400231a5
mov rcx, qword [rdi]
inc rdx
cmp rdx, 0x1000
jb 0x1400231a0
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14002321a
mov rcx, r8
call fcn.14002ec3c
mov qword [rdi + 0x10], rsi
mov qword [rdi + 0x18], 0xf
mov byte [rdi], 0
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x1400231ea
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x1400231e5
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140023221
mov rcx, r8
call fcn.14002ec3c
mov al, 1
mov byte [rbx], 0
mov qword [rbx + 0x18], 0xf
mov qword [rbx + 0x10], rsi
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.14002eb10
mov rbx, qword [rsp + 0x130]
add rsp, 0x100
pop rdi
pop rsi
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3