Function at 0x1400070a4
Capabilities:
Create process on windows

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1bf8]
mov eax, 0x1cf8
call fcn.140139ab0
sub rsp, rax
mov rax, qword [0x1401e7e78]
xor rax, rsp
mov qword [rbp + 0x1be0], rax
mov r14d, dword [rbp + 0x1c60]
mov r15d, r8d
mov ebx, edx
mov r12, rcx
xorps xmm0, xmm0
lea rcx, [rbp + 4]
xor eax, eax
xor esi, esi
xor edx, edx
mov qword [rbp - 0x80], rax
mov edi, r9d
movups xmmword [rsp + 0x70], xmm0
lea r8d, [rsi + 0x64]
call fcn.14013b230
xor edx, edx
mov dword [rbp], 0x68
lea r8d, [rsi + 0x6c]
lea rcx, [rbp - 0x6c]
call fcn.14013b230
or dword [rsp + 0x58], 0xffffffff
mov r13d, esi
mov dword [rbp - 0x70], 0x70
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x68], rsi
test r12, r12
je 0x14000771e
test ebx, ebx
je 0x14000771e
test r15d, r15d
je 0x14000771e
test edi, edi
je 0x14000771e
mov rcx, qword [0x14021c740]
lea edx, [rsi + 1]
call fcn.140087888
test eax, eax
je 0x1400071bb
mov eax, dword [rbp + 0x1c68]
lea rdx, str.CAttachDlg::StartAttach_HWNDx_08X__PID_u__Bits_u__Type_u__AltMode_u__Leave_u
mov dword [rsp + 0x38], eax
lea rcx, [rbp + 0x1130]
mov dword [rsp + 0x30], r14d
mov r9d, ebx
mov dword [rsp + 0x28], edi
mov r8d, r12d
mov dword [rsp + 0x20], r15d
call fcn.1400011e8
mov rcx, qword [0x14021c5d8]
lea rdx, [rbp + 0x1130]
mov r9b, 1
mov r8b, r9b
call fcn.140016cd0
lea rdx, [rbp + 0x70]
mov rcx, r12
call fcn.140126ba8
test eax, eax
je 0x14000722d
mov edx, 0x30
lea ecx, [rdx - 0x1e]
call fcn.140126094
mov r8, qword [0x14021c5e0]
xor r9d, r9d
mov ecx, dword [rbp + 0x84]
mov rdx, rax
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x20], esi
call fcn.140126448
mov qword [rsp + 0x60], rax
test rax, rax
je 0x140007219
cmp dword [rax], 0x34
jb 0x140007219
cmp dword [rax + 0x30], esi
je 0x140007219
mov sil, 1
jmp 0x14000771e
lea rcx, [rsp + 0x50]
call fcn.140125ef0
lea rcx, [rsp + 0x60]
call fcn.140125ef0
mov r9d, ebx
lea r8, [0x1401697b4]
lea rdx, [0x1401697b8]
lea rcx, [rbp + 0x1330]
call fcn.1400049d4
call fcn.140123b88
mov qword [rsp + 0x30], rsi
lea rcx, [rbp + 0x1330]
mov r9, rax
mov dword [rsp + 0x28], esi
xor r8d, r8d
mov dword [rsp + 0x20], 3
mov edx, 0xc0000000
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rcx, rax
mov qword [rbp - 0x78], rax
dec rax
cmp rax, 0xfffffffffffffffd
ja 0x1400072d5
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, 0x44
lea ecx, [rdx - 0x32]
call fcn.140126094
mov qword [rsp + 0x50], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, eax
or r14d, 0xffffffff
mov rax, qword [rsp + 0x50]
mov dword [rax + 0x30], ecx
mov rcx, qword [rsp + 0x50]
mov eax, dword [0x14021c5e0]
mov dword [rcx + 0x34], eax
mov rax, qword [rsp + 0x50]
mov ecx, dword [rbp + 0x1c68]
mov dword [rax + 0x40], ecx
jmp 0x140007600
mov r9d, ebx
lea r8, [0x1401697b4]
lea rdx, str._spipeConEmuHk_u
lea rcx, [rbp + 0x1330]
call fcn.1400049d4
call fcn.140123b88
mov qword [rsp + 0x30], rsi
lea rcx, [rbp + 0x1330]
mov r9, rax
mov dword [rsp + 0x28], esi
xor r8d, r8d
mov dword [rsp + 0x20], 3
mov edx, 0xc0000000
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rcx, rax
mov qword [rsp + 0x68], rax
dec rax
cmp rax, 0xfffffffffffffffd
ja 0x140007340
call qword [sym.imp.KERNEL32.dll_CloseHandle]
or r14d, 0xffffffff
jmp 0x1400075b4
mov rdx, qword [0x14021c5d8]
lea rcx, [rbp + 0x1540]
add rdx, 0xf04
call fcn.140004b1c
lea rax, [0x140169820]
cmp r15d, 0x40
lea r8, [0x140169840]
mov edx, 0x144
cmove r8, rax
lea rcx, [rbp + 0x1540]
call fcn.140001f38
test r14d, r14d
je 0x1400073b6
cmp edi, 1
jne 0x1400073b6
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov r8d, ebx
lea rdx, str.__ATTACH__CONPID_u__GID_u__GHWND_08X
mov r9d, eax
lea rcx, [rbp + 0x1230]
mov eax, dword [0x14021c5e0]
mov dword [rsp + 0x20], eax
call fcn.1400011e8
jmp 0x1400073cf
mov r8d, ebx
lea rdx, str.__INJECT_u
lea rcx, [rbp + 0x1230]
call fcn.1400011e8
mov r14d, esi
mov dword [rbp + 0x3c], 1
mov word [rbp + 0x40], si
cmp edi, 2
jne 0x1400073ed
mov rcx, qword [0x14021c5d8]
mov edx, ebx
call fcn.140011e38
mov r8d, ebx
xor edx, edx
mov ecx, 0x43a
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov r13, rax
test rax, rax
jne 0x140007483
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rax, qword [0x14021c5e0]
mov qword [rbp - 0x68], rax
mov eax, r14d
neg eax
mov dword [rbp - 0x40], 2
lea rax, str.runas
mov qword [rbp - 0x60], rax
sbb ecx, ecx
and ecx, 0xffff8000
lea rax, [rbp + 0x1540]
mov qword [rbp - 0x58], rax
add ecx, 0x8140
lea rax, [rbp + 0x1230]
mov dword [rbp - 0x6c], ecx
mov qword [rbp - 0x50], rax
lea rcx, [rbp - 0x70]
mov rax, qword [0x14021c5d8]
add rax, 0xf04
mov qword [rbp - 0x48], rax
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
setne cl
test eax, eax
je 0x1400074da
mov rax, qword [rbp - 8]
mov qword [rsp + 0x70], rax
jmp 0x1400074da
mov eax, r14d
lea rdx, [rbp + 0x1230]
neg eax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x48], rax
sbb ecx, ecx
and ecx, 0x7fffff0
lea rax, [rbp]
mov qword [rsp + 0x40], rax
add ecx, 0x4000030
mov qword [rsp + 0x38], rsi
xor r9d, r9d
mov qword [rsp + 0x30], rsi
xor r8d, r8d
mov dword [rsp + 0x28], ecx
lea rcx, [rbp + 0x1540]
mov dword [rsp + 0x20], esi
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
setne cl
test cl, cl
jne 0x140007556
call qword [sym.imp.KERNEL32.dll_GetLastError]
test r14d, r14d
lea r8, str.console
mov edi, eax
lea r9, [rbp + 0x1540]
lea rax, str.injection
cmovne r8, rax
lea rdx, str.Cant_start__s_server_n_s__s
lea rax, [rbp + 0x1230]
lea rcx, [rbp + 0x17d0]
mov qword [rsp + 0x20], rax
call fcn.140004a00
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov r9d, ebx
lea rdx, str.ConEmu_Attach__PID_u__TID_u
mov r8d, eax
lea rcx, [rbp + 0x1130]
call fcn.1400011e8
mov edx, edi
lea rcx, [rbp + 0x17d0]
jmp 0x1400076f7
test r14d, r14d
jne 0x140007647
mov rcx, qword [rsp + 0x70]
or r14d, 0xffffffff
mov edx, r14d
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsp + 0x70]
lea rdx, [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x14000759c
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [rsp + 0x58], 0x81
je 0x1400075b4
cmp dword [rsp + 0x58], 0x90
jne 0x14000770b
mov edx, 0x44
lea ecx, [rdx - 0xe]
call fcn.140126094
mov qword [rsp + 0x50], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, eax
mov rax, qword [rsp + 0x50]
mov dword [rax + 0x30], ecx
mov rcx, qword [rsp + 0x50]
mov eax, dword [0x14021c5e0]
mov dword [rcx + 0x34], eax
mov rax, qword [rsp + 0x50]
mov ecx, dword [rbp + 0x1c68]
mov dword [rax + 0x40], ecx
cmp edi, 2
jne 0x140007600
mov rax, qword [rsp + 0x50]
mov dword [rax + 0x38], r12d
mov r9, qword [0x14021c5e0]
lea rcx, [rbp + 0x1330]
mov rdx, qword [rsp + 0x50]
mov r8d, 0x1f4
mov dword [rsp + 0x30], esi
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], esi
call fcn.140125d08
mov qword [rsp + 0x60], rax
mov rdx, rax
test rax, rax
je 0x14000764f
mov rax, qword [rsp + 0x50]
mov ecx, dword [rax]
cmp dword [rdx], ecx
jb 0x14000764f
cmp dword [rdx + 0x30], esi
je 0x14000764f
mov sil, 1
jmp 0x14000770b
lea rdx, str.Failed_to_start_console_server_in_the_remote_process
lea rcx, [rbp + 0x17d0]
call fcn.140004bb4
mov rax, qword [rbp - 0x78]
mov ebx, 0xff
dec rax
cmp rax, 0xfffffffffffffffd
ja 0x140007689
lea r8, str._nFar_ConEmu_plugin_was_loaded
mov edx, ebx
lea rcx, [rbp + 0x17d0]
call fcn.140001f38
mov rax, qword [rsp + 0x68]
dec rax
cmp rax, 0xfffffffffffffffd
ja 0x1400076ad
lea r8, str._nHooks_already_were_set
mov rdx, rbx
lea rcx, [rbp + 0x17d0]
call fcn.140001f38
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov r9d, ebx
lea rdx, str.ConEmu_Attach__PID_u__TID_u
mov r8d, eax
lea rcx, [rbp + 0x1130]
call fcn.1400011e8
mov rdx, qword [rsp + 0x60]
test rdx, rdx
je 0x1400076ed
mov rax, qword [rsp + 0x50]
mov ecx, dword [rax]
cmp dword [rdx], ecx
jb 0x1400076ed
mov r14d, dword [rdx + 0x34]
mov edx, r14d
lea rcx, [rbp + 0x17d0]
lea r9, [rbp + 0x1130]
mov qword [rsp + 0x20], rsi
xor r8d, r8d
call fcn.14011f550
lea rcx, [r13 - 1]
cmp rcx, 0xfffffffffffffffd
ja 0x14000771e
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [rsp + 0x50]
call fcn.140125ef0
lea rcx, [rsp + 0x60]
call fcn.140125ef0
mov al, sil
mov rcx, qword [rbp + 0x1be0]
xor rcx, rsp
call fcn.140139b10
add rsp, 0x1cf8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret