Function at 0x14003d3b0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xc0]
sub rsp, 0x1c0
mov rax, qword [0x1400cc038]
xor rax, rsp
mov qword [rbp + 0xb8], rax
mov r15, rdx
mov r14, rcx
xor r13d, r13d
mov ebx, r13d
mov dword [rsp + 0x30], ebx
call fcn.14004f470
mov r12, rax
lea rax, [0x14002d870]
mov qword [rsp + 0x20], rax
lea r9, [0x14003c810]
lea edx, [r13 + 8]
lea r8d, [r13 + 2]
lea rcx, [rsp + 0x40]
call fcn.140056d20
nop
mov esi, r13d
mov rdi, qword [r14 + 0x28]
cmp rdi, 0xffffffffffffffff
je 0x14003d438
mov qword [r14 + 0x28], 0xffffffffffffffff
jmp 0x14003d4c4
test rsi, rsi
sete dl
mov rcx, r14
call fcn.14004a2e0
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x14003d4b3
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], 4
mov r9d, 0x13b
lea r8, str.D:projects_netease_nrd_nrd_pc_client_vcpkg_buildtrees_sentry_native_srcy_native_0_bf71db22ea.cleanexternalcrashpadutilwinexception_handler_server.cc
lea rdx, str.void___cdecl_crashpad::ExceptionHandlerServer::Run_class_crashpad::ExceptionHandlerServer::Delegate__
lea rcx, [rbp - 0x60]
call fcn.14004dda0
nop
or ebx, 1
mov dword [rsp + 0x30], ebx
lea rdx, str.Check_failed:_pipe___INVALID_HANDLE_VALUE
mov rcx, rax
call fcn.1400012e0
mov rcx, rax
lea rdx, [0x14009a3c0]
call fcn.1400012e0
mov rcx, rax
lea rdx, str.CreateNamedPipe
call fcn.1400012e0
nop
test bl, 1
je 0x14003d4c4
and ebx, 0xfffffffe
lea rcx, [rbp - 0x60]
call fcn.14004e080
mov ecx, 0x30
call fcn.1400567c0
mov r9, rax
mov qword [rbp + 0xa8], rax
test rax, rax
je 0x14003d502
mov rax, qword [r14 + 0x20]
mov qword [r9], rax
mov qword [r9 + 8], rdi
mov qword [r9 + 0x10], r15
lea rax, [r14 + 0x30]
mov qword [r9 + 0x18], rax
lea rax, [r14 + 0x58]
mov qword [r9 + 0x20], rax
mov qword [r9 + 0x28], r12
jmp 0x14003d505
mov r9, r13
mov qword [rsp + 0x28], r13
mov dword [rsp + 0x20], r13d
lea r8, [0x14003d2b0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rdi, rax
mov rcx, qword [rsp + rsi*8 + 0x40]
test rcx, rcx
je 0x14003d53b
cmp rcx, rax
je 0x14003d981
call fcn.1400492f0
mov qword [rsp + rsi*8 + 0x40], rdi
test rdi, rdi
jne 0x14003d5a9
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], 4
mov r9d, 0x14a
lea r8, str.D:projects_netease_nrd_nrd_pc_client_vcpkg_buildtrees_sentry_native_srcy_native_0_bf71db22ea.cleanexternalcrashpadutilwinexception_handler_server.cc
lea rdx, str.void___cdecl_crashpad::ExceptionHandlerServer::Run_class_crashpad::ExceptionHandlerServer::Delegate__
lea rcx, [rbp - 0x60]
call fcn.14004dda0
nop
or ebx, 2
mov dword [rsp + 0x30], ebx
lea rdx, str.Check_failed:_thread_handles_i_.is_valid__
mov rcx, rax
call fcn.1400012e0
mov rcx, rax
lea rdx, [0x14009a3c0]
call fcn.1400012e0
mov rcx, rax
lea rdx, [0x1400a3618]
call fcn.1400012e0
nop
test bl, 2
je 0x14003d5ba
and ebx, 0xfffffffd
lea rcx, [rbp - 0x60]
call fcn.14004e080
inc rsi
cmp rsi, 2
jb 0x14003d421
mov rax, qword [r15]
mov rcx, r15
call qword [rax]
mov dword [rsp + 0x20], 0xffffffff
mov qword [rbp + 0xa8], r13
mov qword [rsp + 0x38], r13
mov dword [rsp + 0x30], r13d
lea r9, [rbp + 0xa8]
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x30]
mov rcx, qword [r14 + 0x20]
call qword [sym.imp.KERNEL32.dll_GetQueuedCompletionStatus]
mov rdi, qword [rsp + 0x38]
test rdi, rdi
je 0x14003d774
lea rcx, [r14 + 0x30]
call sub.KERNEL32.dll_EnterCriticalSection
mov r9, qword [r14 + 0x58]
mov rcx, qword [r9 + 8]
mov rax, rcx
mov rdx, r9
cmp byte [rcx + 0x19], 0
jne 0x14003d658
nop
mov r8, qword [rax + 0x20]
cmp r8, rdi
jae 0x14003d63f
mov rax, qword [rax + 0x10]
jmp 0x14003d652
cmp byte [rdx + 0x19], 0
je 0x14003d64c
cmp rdi, r8
cmovb rdx, rax
mov r9, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x14003d630
cmp byte [rdx + 0x19], 0
jne 0x14003d661
mov rcx, qword [rdx]
cmp byte [rcx + 0x19], 0
jne 0x14003d67f
cmp rdi, qword [rcx + 0x20]
jae 0x14003d675
mov rdx, rcx
mov rcx, qword [rcx]
jmp 0x14003d679
mov rcx, qword [rcx + 0x10]
cmp byte [rcx + 0x19], 0
je 0x14003d667
mov qword [rbp - 0x80], r9
mov qword [rbp - 0x78], rdx
movaps xmm0, xmmword [rbp - 0x80]
movdqa xmmword [rbp - 0x70], xmm0
lea rdx, [rbp - 0x70]
lea rcx, [r14 + 0x58]
call fcn.14003e0f0
test rdi, rdi
je 0x14003d74d
mov rdx, 0xffffffffffffffff
mov rcx, qword [rdi]
call qword [sym.imp.KERNEL32.dll_UnregisterWaitEx]
mov qword [rdi], 0xffffffffffffffff
mov rdx, 0xffffffffffffffff
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_UnregisterWaitEx]
mov qword [rdi + 8], 0xffffffffffffffff
mov rdx, 0xffffffffffffffff
mov rcx, qword [rdi + 0x10]
call qword [sym.imp.KERNEL32.dll_UnregisterWaitEx]
mov qword [rdi + 0x10], 0xffffffffffffffff
mov rcx, qword [rdi + 0x68]
test rcx, rcx
je 0x14003d701
call fcn.1400492f0
mov qword [rdi + 0x68], r13
mov rcx, qword [rdi + 0x60]
test rcx, rcx
je 0x14003d713
call fcn.1400492f0
mov qword [rdi + 0x60], r13
mov rcx, qword [rdi + 0x58]
test rcx, rcx
je 0x14003d725
call fcn.1400492f0
mov qword [rdi + 0x58], r13
mov rcx, qword [rdi + 0x50]
test rcx, rcx
je 0x14003d737
call fcn.1400492f0
mov qword [rdi + 0x50], r13
lea rcx, [rdi + 0x18]
call sub.KERNEL32.dll_DeleteCriticalSection
mov edx, 0x88
mov rcx, rdi
call fcn.1400567fc
cmp byte [r14 + 0x68], 0
jne 0x14003d75b
cmp qword [r14 + 0x60], 0
je 0x14003d76a
lea rcx, [r14 + 0x30]
call sub.KERNEL32.dll_LeaveCriticalSection
nop
jmp 0x14003d5cf
lea rcx, [r14 + 0x30]
call sub.KERNEL32.dll_LeaveCriticalSection
nop
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x5c], xmm0
mov qword [rsp + 0x6c], r13
mov dword [rsp + 0x50], 1
mov qword [rsp + 0x54], r12
lea r8, [rbp + 0xa8]
lea rdx, [rsp + 0x50]
mov rcx, r14
call fcn.14004a680
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x5c], xmm0
mov qword [rsp + 0x6c], r13
mov dword [rsp + 0x50], 1
mov qword [rsp + 0x54], r12
lea r8, [rbp + 0xa8]
lea rdx, [rsp + 0x50]
mov rcx, r14
call fcn.14004a680
lea rbx, [rsp + 0x40]
nop word [rax + rax]
mov edx, 0xffffffff
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
add rbx, 8
lea rax, [rsp + 0x50]
cmp rbx, rax
jne 0x14003d7e0
lea rcx, [r14 + 0x30]
call sub.KERNEL32.dll_EnterCriticalSection
mov rbx, qword [r14 + 0x58]
mov rbx, qword [rbx]
cmp byte [rbx + 0x19], 0
jne 0x14003d929
nop word [rax + rax]
mov rsi, qword [rbx + 0x20]
test rsi, rsi
je 0x14003d8d4
mov rdx, 0xffffffffffffffff
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_UnregisterWaitEx]
mov qword [rsi], 0xffffffffffffffff
mov rdx, 0xffffffffffffffff
mov rcx, qword [rsi + 8]
call qword [sym.imp.KERNEL32.dll_UnregisterWaitEx]
mov qword [rsi + 8], 0xffffffffffffffff
mov rdx, 0xffffffffffffffff
mov rcx, qword [rsi + 0x10]
call qword [sym.imp.KERNEL32.dll_UnregisterWaitEx]
mov qword [rsi + 0x10], 0xffffffffffffffff
mov rcx, qword [rsi + 0x68]
test rcx, rcx
je 0x14003d888
call fcn.1400492f0
mov qword [rsi + 0x68], r13
mov rcx, qword [rsi + 0x60]
test rcx, rcx
je 0x14003d89a
call fcn.1400492f0
mov qword [rsi + 0x60], r13
mov rcx, qword [rsi + 0x58]
test rcx, rcx
je 0x14003d8ac
call fcn.1400492f0
mov qword [rsi + 0x58], r13
mov rcx, qword [rsi + 0x50]
test rcx, rcx
je 0x14003d8be
call fcn.1400492f0
mov qword [rsi + 0x50], r13
lea rcx, [rsi + 0x18]
call sub.KERNEL32.dll_DeleteCriticalSection
mov edx, 0x88
mov rcx, rsi
call fcn.1400567fc
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], 0
je 0x14003d900
mov rax, qword [rbx + 8]
cmp byte [rax + 0x19], 0
jne 0x14003d8fb
cmp rbx, qword [rax + 0x10]
jne 0x14003d8fb
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x14003d8e8
mov rbx, rax
jmp 0x14003d91f
mov rbx, rax
mov rdx, qword [rax]
cmp byte [rdx + 0x19], 0
jne 0x14003d91f
nop dword [rax]
mov rbx, rdx
mov rax, qword [rdx]
mov rdx, rax
cmp byte [rax + 0x19], 0
je 0x14003d910
cmp byte [rbx + 0x19], 0
je 0x14003d820
lea rcx, [r14 + 0x58]
call fcn.14003e650
nop
lea rcx, [r14 + 0x30]
call sub.KERNEL32.dll_LeaveCriticalSection
nop
lea r9, [0x14002d870]
mov edx, 8
lea r8d, [rdx - 6]
lea rcx, [rsp + 0x40]
call fcn.140056d90
mov rcx, qword [rbp + 0xb8]
xor rcx, rsp
call fcn.140056a30
mov rbx, qword [rsp + 0x210]
add rsp, 0x1c0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.14005d238
nop
int3