Function at 0x14006b070
Capabilities:
Create thread
Resume thread
Terminate thread

Disassembly:
mov r11, rsp
push rbx
push rsi
push rdi
sub rsp, 0x240
mov qword [rsp + 0xd0], 0xfffffffffffffffe
mov rax, qword [0x14025a030]
xor rax, rsp
mov qword [rsp + 0x238], rax
mov edi, r9d
mov dword [rsp + 0x44], 0x78
test rdx, rdx
je 0x14006b2f3
test r8d, r8d
je 0x14006b2f3
cmp qword [rcx + 0x58], 0
je 0x14006b2bd
mov rax, qword [rcx + 0x68]
test rax, rax
je 0x14006b2bd
mov qword [r11 - 0x48], rax
mov qword [r11 - 0x40], rdx
mov dword [r11 - 0x38], r8d
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 4
lea r9, [r11 - 0x48]
lea r8, [0x14006b650]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rbx, rax
mov qword [rsp + 0xd8], rax
test rax, rax
jne 0x14006b14b
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x30], eax
lea rax, [0x1401b9108]
mov qword [rsp + 0x38], rax
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x90], xmm0
lea rdx, [0x140252200]
lea rcx, [rsp + 0x90]
call sub.MSVCR90.dll__CxxThrowException
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
cmp eax, 0xffffffff
jne 0x14006b18b
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x30], eax
lea rax, [0x1401b7cb8]
mov qword [rsp + 0x38], rax
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x60], xmm0
lea rdx, [0x140252200]
lea rcx, [rsp + 0x60]
call sub.MSVCR90.dll__CxxThrowException
mov edx, edi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0xffffffff
jne 0x14006b1d3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x30], eax
lea rax, [0x1401d0410]
mov qword [rsp + 0x38], rax
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0xb0], xmm0
lea rdx, [0x140252200]
lea rcx, [rsp + 0xb0]
call sub.MSVCR90.dll__CxxThrowException
cmp eax, 0x102
jne 0x14006b21e
mov edx, 0x5b4
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_TerminateThread]
mov dword [rsp + 0x30], 0x5b4
lea rax, [0x1401d0410]
mov qword [rsp + 0x38], rax
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0xe0], xmm0
lea rdx, [0x140252200]
lea rcx, [rsp + 0xe0]
call sub.MSVCR90.dll__CxxThrowException
xor edi, edi
mov dword [rsp + 0x40], edi
lea rdx, [rsp + 0x40]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetExitCodeThread]
test eax, eax
jne 0x14006b268
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x30], eax
lea rax, [0x1401d0478]
mov qword [rsp + 0x38], rax
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x70], xmm0
lea rdx, [0x140252200]
lea rcx, [rsp + 0x70]
call sub.MSVCR90.dll__CxxThrowException
mov eax, dword [rsp + 0x40]
test eax, eax
je 0x14006b2a2
mov dword [rsp + 0x30], eax
lea rax, str.Utils::PipedProcess::WriteProc
mov qword [rsp + 0x38], rax
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x80], xmm0
lea rdx, [0x140252200]
lea rcx, [rsp + 0x80]
call sub.MSVCR90.dll__CxxThrowException
mov dword [rsp + 0x44], edi
mov esi, 1
cmp rbx, 0xffffffffffffffff
je 0x14006b2bb
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
jmp 0x14006b332
mov dword [rsp + 0x30], 2
lea rax, str.Checking_process
mov qword [rsp + 0x38], rax
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0xa0], xmm0
lea rdx, [0x140252200]
lea rcx, [rsp + 0xa0]
call sub.MSVCR90.dll__CxxThrowException
mov dword [rsp + 0x30], 0x57
lea rax, str.Checking_parameters
mov qword [rsp + 0x38], rax
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0xc0], xmm0
lea rdx, [0x140252200]
lea rcx, [rsp + 0xc0]
call sub.MSVCR90.dll__CxxThrowException
nop
mov esi, dword [rsp + 0x40]
mov edi, dword [rsp + 0x44]
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, esi
mov rcx, qword [rsp + 0x238]
xor rcx, rsp
call fcn.140155650
add rsp, 0x240
pop rdi
pop rsi
pop rbx
ret