Function at 0x14000ee60
Capabilities:
Create thread

Disassembly:
mov r11, rsp
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x270
mov qword [rsp + 0x110], 0xfffffffffffffffe
mov qword [r11 + 0x18], rbx
mov qword [r11 + 0x20], rsi
mov rax, qword [0x14025a030]
xor rax, rsp
mov qword [rsp + 0x268], rax
mov qword [rsp + 0x70], rdx
mov r12, rcx
mov qword [rsp + 0x80], rcx
xor r14d, r14d
mov dword [rsp + 0x44], r14d
mov dword [rsp + 0x40], 0x78
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x44]
lea rdx, str._ProcessCatcher::Initialize_
lea rcx, [r11 - 0x160]
call fcn.140001d10
nop
mov rcx, qword [0x140260548]
test rcx, rcx
je 0x14000efeb
mov rax, qword [rcx]
mov edx, 0x7d0
call qword [rax + 0x10]
test eax, eax
je 0x14000efeb
mov r15d, 1
mov r8d, r15d
lea edx, [r14 + 2]
lea rcx, [rsp + 0x150]
call qword [sym.imp.MSVCP90.dll_public:_void___cdecl_std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_int____ptr64]
nop
call qword [sym.imp.MSVCP90.dll_public:_static_class_std::locale_const____ptr64___cdecl_std::locale::classic_void_]
mov rcx, qword [rsp + 0x150]
movsxd r8, dword [rcx + 4]
lea rcx, [rsp + r8 + 0x150]
mov r8, rax
lea rdx, [rsp + 0x88]
call qword [sym.imp.MSVCP90.dll_public:_class_std::locale___cdecl_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::imbue_class_std::locale_const____ptr64____ptr64]
lea rcx, [rsp + 0x88]
call qword [sym.imp.MSVCP90.dll_public:_void___cdecl_std::locale::destructor_void____ptr64]
lea rdx, str._ProcessCatcher::Initialize_
lea rcx, [rsp + 0x150]
call fcn.140002150
lea rdx, str.DeviceName:
mov rcx, rax
call fcn.140002150
lea rdx, [r12 + 0x38]
mov rcx, rax
call qword [sym.imp.MSVCP90.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::operator___wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64__class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const____ptr64_]
lea rdx, [rsp + 0x240]
lea rcx, [rsp + 0x150]
call qword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____cdecl_std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::str_void____ptr64]
nop
lea r8, [rsp + 0x248]
cmp qword [rsp + 0x260], 8
cmovae r8, qword [rsp + 0x248]
mov rcx, qword [0x140260548]
mov rax, qword [rcx]
mov r9, qword [rsp + 0x258]
mov edx, 0x7d0
call qword [rax + 0x20]
nop
lea rcx, [rsp + 0x240]
call qword [sym.imp.MSVCP90.dll_public:_void___cdecl_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void____ptr64]
nop
lea rcx, [rsp + 0x150]
call qword [sym.imp.MSVCP90.dll_public:_void___cdecl_std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::vbase_dtor_void____ptr64]
jmp 0x14000eff1
mov r15d, 1
mov dword [rsp + 0x60], r14d
mov ecx, 0x30
call sub.MSVCR90.dll_void____ptr64___cdecl_operator_new_unsigned_long_long_unsigned___int64__
mov r13, rax
test rax, rax
je 0x14000f021
mov qword [rax], r14
mov dword [rax + 8], r14d
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], r14
mov qword [rax + 0x20], r14
mov qword [rax + 0x28], r14
jmp 0x14000f024
mov r13, r14
mov qword [rsp + 0x130], r13
test r13, r13
jne 0x14000f067
mov dword [rsp + 0x50], 8
lea rax, str.Allocation_ExecutionContext_
mov qword [rsp + 0x58], rax
movaps xmm0, xmmword [rsp + 0x50]
movdqa xmmword [rsp + 0xf0], xmm0
lea rdx, [0x140252200]
lea rcx, [rsp + 0xf0]
call sub.MSVCR90.dll__CxxThrowException
xor r9d, r9d
xor r8d, r8d
mov edx, r15d
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov rbx, rax
mov qword [rsp + 0xb0], rax
test rax, rax
jne 0x14000f0c0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x50], eax
lea rax, str.CreateEvent_InterruptionEvent_
mov qword [rsp + 0x58], rax
movaps xmm0, xmmword [rsp + 0x50]
movdqa xmmword [rsp + 0x120], xmm0
lea rdx, [0x140252200]
lea rcx, [rsp + 0x120]
call sub.MSVCR90.dll__CxxThrowException
xor r9d, r9d
xor r8d, r8d
mov edx, r15d
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov rdi, rax
mov qword [rsp + 0x98], rax
test rax, rax
jne 0x14000f119
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x50], eax
lea rax, str.CreateEvent_MessageQueueReady_
mov qword [rsp + 0x58], rax
movaps xmm0, xmmword [rsp + 0x50]
movdqa xmmword [rsp + 0xa0], xmm0
lea rdx, [0x140252200]
lea rcx, [rsp + 0xa0]
call sub.MSVCR90.dll__CxxThrowException
xor r9d, r9d
xor r8d, r8d
mov edx, r15d
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov rsi, rax
mov qword [rsp + 0xd0], rax
test rax, rax
jne 0x14000f172
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x50], eax
lea rax, str.CreateEvent_ThreadRunning_
mov qword [rsp + 0x58], rax
movaps xmm0, xmmword [rsp + 0x50]
movdqa xmmword [rsp + 0xc0], xmm0
lea rdx, [0x140252200]
lea rcx, [rsp + 0xc0]
call sub.MSVCR90.dll__CxxThrowException
cmp qword [r12 + 0x58], 8
jb 0x14000f181
mov rcx, qword [r12 + 0x40]
jmp 0x14000f186
lea rcx, [r12 + 0x40]
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], 0x40000000
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov edx, 0xc0000000
lea r8d, [r9 + 3]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov r12, rax
mov qword [rsp + 0x50], rax
cmp rax, 0xffffffffffffffff
jne 0x14000f1f3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x70], eax
lea rax, str.CreateFile_CatcherDevice_
mov qword [rsp + 0x78], rax
movaps xmm0, xmmword [rsp + 0x70]
movdqa xmmword [rsp + 0xe0], xmm0
lea rdx, [0x140252200]
lea rcx, [rsp + 0xe0]
call sub.MSVCR90.dll__CxxThrowException
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 4
mov r9, qword [rsp + 0x80]
lea r8, [0x14000e740]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rsp + 0x80], rax
test rax, rax
jne 0x14000f263
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x70], eax
lea rax, [0x1401b9108]
mov qword [rsp + 0x78], rax
movaps xmm0, xmmword [rsp + 0x70]
movdqa xmmword [rsp + 0x100], xmm0
lea rdx, [0x140252200]
lea rcx, [rsp + 0x100]
call sub.MSVCR90.dll__CxxThrowException
mov qword [r13], rax
mov eax, dword [rsp + 0x60]
mov dword [r13 + 8], eax
mov qword [r13 + 0x10], rbx
mov qword [r13 + 0x18], rdi
mov qword [r13 + 0x20], rsi
mov qword [r13 + 0x28], r12
mov rax, qword [rsp + 0x70]
mov qword [rax], r13
mov dword [rsp + 0x40], r14d
mov dword [rsp + 0x44], r15d
jmp 0x14000f298
lea rcx, [rsp + 0x138]
call fcn.140001e50
nop
mov ecx, dword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, r15d
mov rcx, qword [rsp + 0x268]
xor rcx, rsp
call fcn.140155650
lea r11, [rsp + 0x270]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret