Function at 0x1400149f0
Capabilities:
Create thread

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x1b8
lea rbp, [rsp + 0x80]
movaps xmmword [rbp + 0x120], xmm6
mov qword [rbp + 0x118], 0xfffffffffffffffe
mov r15, rdx
mov rsi, rcx
call fcn.140050bc0
mov r14, rax
xorps xmm0, xmm0
movaps xmmword [rbp + 0xf0], xmm0
lea rax, [rsi + 0x50]
mov qword [rbp + 0x110], rax
lea rax, [rsi + 0x28]
mov qword [rbp + 0x108], rax
xor ebx, ebx
lea rdi, str.void___cdecl_crashpad::ExceptionHandlerServer::Run_Delegate__
lea r12, [rbp - 0x48]
jmp 0x140014a6b
mov rcx, r12
call fcn.140005e70
inc rbx
cmp rbx, 2
jae 0x140014c14
mov r13, qword [rsi + 0x20]
cmp r13, 0xffffffffffffffff
je 0x140014a90
mov qword [rsi + 0x20], 0xffffffffffffffff
jmp 0x140014b20
test rbx, rbx
sete dl
mov rcx, rsi
call fcn.140051290
mov r13, rax
cmp rax, 0xffffffffffffffff
jne 0x140014b20
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], 4
mov rcx, r12
mov rdx, rdi
lea r8, str.third_party_crashpad_crashpad_util_win_exception_handler_server.cc
mov r9d, 0x13c
call fcn.140005e40
mov r8d, 0x2a
mov rcx, r12
lea rdx, str.Check_failed:_pipe___INVALID_HANDLE_VALUE
call fcn.140003fb0
mov r8d, 2
mov rcx, rax
lea rdx, [0x1400be442]
call fcn.140003fb0
mov r8d, 0xf
mov rcx, rax
lea rdx, str.CreateNamedPipe
call fcn.140003fb0
mov rcx, r12
call fcn.140005e70
mov r13, 0xffffffffffffffff
nop
mov ecx, 0x30
call fcn.14008de70
mov rcx, qword [rsi + 0x18]
mov qword [rax], rcx
mov qword [rax + 8], r13
mov qword [rax + 0x10], r15
mov rcx, qword [rbp + 0x108]
mov qword [rax + 0x18], rcx
mov rcx, qword [rbp + 0x110]
mov qword [rax + 0x20], rcx
mov qword [rax + 0x28], r14
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor ecx, ecx
xor edx, edx
lea r8, [0x140015010]
mov r9, rax
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov r13, rax
mov rcx, qword [rbp + rbx*8 + 0xf0]
test rcx, rcx
je 0x140014b96
cmp rcx, r13
je 0x140014e9e
call fcn.140045fa0
mov qword [rbp + rbx*8 + 0xf0], r13
test r13, r13
jne 0x140014a68
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], 4
mov rcx, r12
mov rdx, rdi
lea r8, str.third_party_crashpad_crashpad_util_win_exception_handler_server.cc
mov r9d, 0x14b
call fcn.140005e40
mov r8d, 0x2a
mov rcx, r12
lea rdx, str.Check_failed:_thread_handles_i_.is_valid__
call fcn.140003fb0
mov r8d, 2
mov rcx, rax
lea rdx, [0x1400be442]
call fcn.140003fb0
mov r8d, 0xc
mov rcx, rax
lea rdx, [0x1400bf991]
call fcn.140003fb0
jmp 0x140014a60
mov rax, qword [r15]
mov rcx, r15
call qword [rax]
lea rbx, [rsi + 0x58]
lea r13, [rbp - 0x48]
nop word cs:[rax + rax]
mov qword [rbp - 0x48], 0
mov qword [rbp + 0xe0], 0
mov dword [rbp + 0x104], 0
mov rcx, qword [rsi + 0x18]
mov dword [rsp + 0x20], 0xffffffff
lea rdx, [rbp + 0x104]
lea r8, [rbp + 0xe0]
mov r9, r13
call qword [sym.imp.KERNEL32.dll_GetQueuedCompletionStatus]
mov r15, qword [rbp + 0xe0]
test r15, r15
je 0x140014d66
mov rcx, qword [rbp + 0x108]
call sub.KERNEL32.dll_EnterCriticalSection
mov rcx, qword [rbx]
test rcx, rcx
je 0x140014d30
mov r12, rbx
mov rax, rcx
nop
lea rdx, [rax + 8]
cmp qword [rax + 0x20], r15
cmovae rdx, rax
cmovae r12, rax
mov rax, qword [rdx]
test rax, rax
jne 0x140014ca0
cmp r12, rbx
je 0x140014d30
cmp qword [r12 + 0x20], r15
ja 0x140014d30
mov rdx, qword [r12 + 8]
mov r8, r12
test rdx, rdx
je 0x140014cf0
nop word cs:[rax + rax]
mov rax, rdx
mov rdx, qword [rdx]
test rdx, rdx
jne 0x140014ce0
jmp 0x140014cfc
mov rax, qword [r8 + 0x10]
cmp qword [rax], r8
mov r8, rax
jne 0x140014cf0
mov rdx, qword [rbp + 0x110]
cmp qword [rdx], r12
jne 0x140014d12
mov rdx, qword [rbp + 0x110]
mov qword [rdx], rax
dec qword [rsi + 0x60]
mov rdx, r12
call fcn.140015f40
mov rcx, r12
call fcn.14008de68
nop word cs:[rax + rax]
mov rcx, r15
call fcn.140015190
mov rcx, r15
call fcn.14008de68
mov r15b, byte [rsi + 0x68]
mov rdi, qword [rsi + 0x60]
mov rcx, qword [rbp + 0x108]
call sub.KERNEL32.dll_LeaveCriticalSection
test r15b, r15b
jne 0x140014c30
test rdi, rdi
jne 0x140014c30
lea r13, [rbp - 0x3c]
xor edi, edi
xorps xmm6, xmm6
lea r15, [rbp - 0x48]
lea r12, [rbp + 0xe0]
cmp rdi, 2
jae 0x140014daf
movups xmmword [r13], xmm6
mov qword [r13 + 0x10], 0
mov dword [rbp - 0x48], 1
mov qword [rbp - 0x44], r14
mov rcx, rsi
mov rdx, r15
mov r8, r12
call fcn.140050d80
inc rdi
cmp rdi, 2
jb 0x140014d80
mov r14, qword [rbp + 0xf0]
mov rdi, qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, r14
mov edx, 0xffffffff
call rdi
mov r15, qword [rbp + 0xf8]
mov rcx, r15
mov edx, 0xffffffff
call rdi
mov rcx, qword [rbp + 0x108]
call sub.KERNEL32.dll_EnterCriticalSection
mov rax, qword [rbp + 0x110]
mov r13, qword [rax]
cmp r13, rbx
jne 0x140014e58
mov rdx, qword [rsi + 0x58]
mov rcx, qword [rbp + 0x110]
call fcn.140015f00
mov qword [rsi + 0x50], rbx
xorps xmm0, xmm0
movups xmmword [rsi + 0x58], xmm0
mov rcx, qword [rbp + 0x108]
call sub.KERNEL32.dll_LeaveCriticalSection
test r15, r15
je 0x140014e27
mov rcx, r15
call fcn.140045fa0
test r14, r14
je 0x140014e34
mov rcx, r14
call fcn.140045fa0
movaps xmm6, xmmword [rbp + 0x120]
add rsp, 0x1b8
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
mov r13, rax
cmp rax, rbx
je 0x140014df3
mov r12, qword [r13 + 0x20]
test r12, r12
je 0x140014e71
mov rcx, r12
call fcn.140015190
mov rcx, r12
call fcn.14008de68
mov rcx, qword [r13 + 8]
test rcx, rcx
je 0x140014e90
nop word [rax + rax]
mov rax, rcx
mov rcx, qword [rcx]
test rcx, rcx
jne 0x140014e80
jmp 0x140014e50
mov rax, qword [r13 + 0x10]
cmp qword [rax], r13
mov r13, rax
jne 0x140014e90
jmp 0x140014e50
call fcn.1400a4048
int3