Function at 0x14007ab94
Capabilities:
Create thread

Disassembly:
mov r11, rsp
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x240
mov qword [r11 - 0x190], 0xfffffffffffffffe
mov qword [r11 + 0x18], rbx
mov qword [r11 + 0x20], rsi
mov rax, qword [0x1402d9850]
xor rax, rsp
mov qword [rsp + 0x230], rax
mov qword [rsp + 0x60], rdx
mov r13, rcx
xor r14d, r14d
mov dword [rsp + 0x40], r14d
mov dword [rsp + 0x44], 0x78
lea r9, [rsp + 0x44]
lea r8, [rsp + 0x40]
lea rdx, str._ProcessCatcher::Initialize_
lea rcx, [r11 - 0x168]
call fcn.14003fda0
nop
mov rcx, qword [0x1402de630]
test rcx, rcx
je 0x14007ad44
mov rax, qword [rcx]
mov ebx, 0x7d0
mov edx, ebx
call qword [rax + 0x10]
test eax, eax
je 0x14007ad44
lea r12d, [r14 + 1]
mov r8d, r12d
lea edx, [r14 + 2]
lea rcx, [rsp + 0x120]
call fcn.140040070
nop
call fcn.14010ab78
mov rcx, qword [rsp + 0x120]
movsxd rdx, dword [rcx + 4]
lea rcx, [rsp + 0x120]
add rcx, rdx
mov r8, rax
lea rdx, [rsp + 0x50]
call fcn.140040f30
nop
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x14007ac8c
mov rax, qword [rcx]
call qword [rax + 0x10]
test rax, rax
je 0x14007ac8c
mov r8, qword [rax]
mov edx, r12d
mov rcx, rax
call qword [r8]
nop
lea rdx, str._ProcessCatcher::Initialize_
lea rcx, [rsp + 0x120]
call fcn.140043d80
lea rdx, str.DeviceName:
mov rcx, rax
call fcn.140043d80
lea rdx, [r13 + 0x30]
mov rcx, rax
call fcn.140044070
lea rdx, [rsp + 0x210]
lea rcx, [rsp + 0x120]
call fcn.14003ffc0
nop
lea r8, [rsp + 0x210]
cmp qword [rsp + 0x228], 8
cmovae r8, qword [rsp + 0x210]
mov rcx, qword [0x1402de630]
mov rax, qword [rcx]
mov r9, qword [rsp + 0x220]
mov edx, ebx
call qword [rax + 0x20]
nop
xor r8d, r8d
mov dl, r12b
lea rcx, [rsp + 0x210]
call fcn.140006e40
nop
lea rcx, [rsp + 0x1a8]
call fcn.14003fff0
nop
lea rax, vtable.std::ios_base.0
mov qword [rsp + 0x1a8], rax
lea rcx, [rsp + 0x1a8]
call fcn.14010acb0
nop
jmp 0x14007ad4a
mov r12d, 1
mov dword [rsp + 0x48], r14d
mov ecx, 0x30
call fcn.140129aa4
mov r15, rax
test rax, rax
je 0x14007ad7a
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 0x14007ad7d
mov r15, r14
mov qword [rsp + 0x70], r15
test r15, r15
jne 0x14007adaf
mov dword [rsp + 0x78], 8
lea rax, str.Allocation_ExecutionContext_
mov qword [rsp + 0x80], rax
lea rdx, [0x1402d6470]
lea rcx, [rsp + 0x78]
call fcn.14012ccc0
xor r9d, r9d
xor r8d, r8d
mov edx, r12d
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov rbx, rax
mov qword [rsp + 0xe0], rax
test rax, rax
jne 0x14007ae00
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x88], eax
lea rax, str.CreateEvent_InterruptionEvent_
mov qword [rsp + 0x90], rax
lea rdx, [0x1402d6470]
lea rcx, [rsp + 0x88]
call fcn.14012ccc0
xor r9d, r9d
xor r8d, r8d
mov edx, r12d
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov rdi, rax
mov qword [rsp + 0xe8], rax
test rax, rax
jne 0x14007ae51
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x98], eax
lea rax, str.CreateEvent_MessageQueueReady_
mov qword [rsp + 0xa0], rax
lea rdx, [0x1402d6470]
lea rcx, [rsp + 0x98]
call fcn.14012ccc0
xor r9d, r9d
xor r8d, r8d
mov edx, r12d
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov rsi, rax
mov qword [rsp + 0xf0], rax
test rax, rax
jne 0x14007aea2
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0xa8], eax
lea rax, str.CreateEvent_ThreadRunning_
mov qword [rsp + 0xb0], rax
lea rdx, [0x1402d6470]
lea rcx, [rsp + 0xa8]
call fcn.14012ccc0
lea rcx, [r13 + 0x30]
cmp qword [rcx + 0x18], 8
jb 0x14007aeb0
mov rcx, qword [rcx]
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], 0x40000000
mov r8d, 3
mov dword [rsp + 0x20], r8d
xor r9d, r9d
mov edx, 0xc0000000
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov r14, rax
mov qword [rsp + 0xf8], rax
cmp rax, 0xffffffffffffffff
jne 0x14007af17
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0xb8], eax
lea rax, str.CreateFile_CatcherDevice_
mov qword [rsp + 0xc0], rax
lea rdx, [0x1402d6470]
lea rcx, [rsp + 0xb8]
call fcn.14012ccc0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 4
mov r9, r13
lea r8, [0x14007c228]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rsp + 0x50], rax
test rax, rax
jne 0x14007af77
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0xc8], eax
lea rax, [0x14021e578]
mov qword [rsp + 0xd0], rax
lea rdx, [0x1402d6470]
lea rcx, [rsp + 0xc8]
call fcn.14012ccc0
mov qword [r15], rax
mov eax, dword [rsp + 0x48]
mov dword [r15 + 8], eax
mov qword [r15 + 0x10], rbx
mov qword [r15 + 0x18], rdi
mov qword [r15 + 0x20], rsi
mov qword [r15 + 0x28], r14
mov rax, qword [rsp + 0x60]
mov qword [rax], r15
and dword [rsp + 0x44], 0
mov dword [rsp + 0x40], r12d
jmp 0x14007afab
lea rcx, [rsp + 0x100]
call fcn.14003fbb0
nop
mov ecx, dword [rsp + 0x44]
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, r12d
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.14012a1e0
lea r11, [rsp + 0x240]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret