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

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x250
mov qword [rsp + 0xe0], 0xfffffffffffffffe
mov rax, qword [0x14025a030]
xor rax, rsp
mov qword [rsp + 0x248], rax
mov esi, r8d
mov rbx, rdx
mov rdi, rcx
mov dword [rsp + 0x44], 0x78
mov rax, qword [rdx]
mov rcx, rdx
call qword [rax + 0x20]
cmp qword [rdi + 0x58], 0
je 0x14006b5dd
mov rax, qword [rdi + 0x70]
test rax, rax
je 0x14006b5dd
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rbx
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0x58]
lea r8, [0x14006b680]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rbx, rax
mov qword [rsp + 0x90], rax
test rax, rax
jne 0x14006b45f
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 + 0x70], xmm0
lea rdx, [0x140252200]
lea rcx, [rsp + 0x70]
call sub.MSVCR90.dll__CxxThrowException
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
cmp eax, 0xffffffff
jne 0x14006b4a5
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 + 0xb0], xmm0
lea rdx, [0x140252200]
lea rcx, [rsp + 0xb0]
call sub.MSVCR90.dll__CxxThrowException
mov edx, esi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0xffffffff
jne 0x14006b4ed
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 + 0xf0], xmm0
lea rdx, [0x140252200]
lea rcx, [rsp + 0xf0]
call sub.MSVCR90.dll__CxxThrowException
cmp eax, 0x102
jne 0x14006b538
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 + 0xd0], xmm0
lea rdx, [0x140252200]
lea rcx, [rsp + 0xd0]
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 0x14006b588
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 + 0x80], xmm0
lea rdx, [0x140252200]
lea rcx, [rsp + 0x80]
call sub.MSVCR90.dll__CxxThrowException
mov eax, dword [rsp + 0x40]
test eax, eax
je 0x14006b5c2
mov dword [rsp + 0x30], eax
lea rax, str.Utils::PipedProcess::ReadProc
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 + 0x44], edi
mov esi, 1
cmp rbx, 0xffffffffffffffff
je 0x14006b5db
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
jmp 0x14006b61c
mov dword [rsp + 0x30], 2
lea rax, str.Checking_process
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 + 0x248]
xor rcx, rsp
call fcn.140155650
add rsp, 0x250
pop rdi
pop rsi
pop rbx
ret