Function at 0x1400fdd7c
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 [0x1401750b8]
xor rax, rsp
mov qword [rbp + 0xb8], rax
xor ebx, ebx
mov r13, rdx
mov dword [rsp + 0x30], ebx
mov rdi, rcx
call fcn.14008c150
and qword [rsp + 0x58], rbx
lea rcx, [rdi + 0x38]
and qword [rsp + 0x60], rbx
lea rsi, [rdi + 0x30]
mov qword [rsp + 0x48], rcx
lea r12, [rsp + 0x58]
mov qword [rsp + 0x50], rax
xor r14d, r14d
cmp qword [rdi + 0x28], 0xffffffffffffffff
je 0x1400fddf3
mov r15, qword [rdi + 0x28]
or qword [rdi + 0x28], 0xffffffffffffffff
jmp 0x1400fde42
test r14, r14
mov rcx, rdi
sete dl
call fcn.1400f8ecc
mov r15, rax
cmp rax, 0xffffffffffffffff
jne 0x1400fde31
or ebx, 1
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r9d, [r15 + 4]
mov r8d, 0x13c
lea rdx, str..._.._third_party_crashpad_crashpad_util_win_exception_handler_server.cc
mov dword [rsp + 0x20], eax
lea rcx, [rbp - 0x68]
call fcn.140068d00
test bl, 1
je 0x1400fde42
and ebx, 0xfffffffe
lea rcx, [rbp - 0x68]
call fcn.140068d80
mov ecx, 0x30
call fcn.140111b94
mov rcx, qword [rdi + 0x20]
lea r8, [0x1400fe8d0]
and qword [rsp + 0x28], 0
mov r9, rax
and dword [rsp + 0x20], 0
xor edx, edx
mov qword [rax], rcx
mov rcx, qword [rsp + 0x50]
mov qword [rax + 8], r15
lea r15, [rdi + 0x38]
mov qword [rax + 0x28], rcx
xor ecx, ecx
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], r15
call qword [sym.imp.KERNEL32.dll_CreateThread]
lea rdx, [rsp + 0x40]
mov rcx, r12
mov qword [rsp + 0x40], rax
call fcn.1400c8ca4
cmp qword [r12], 0
jne 0x1400fded1
or ebx, 2
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9d, 3
lea rdx, str..._.._third_party_crashpad_crashpad_util_win_exception_handler_server.cc
lea rcx, [rbp - 0x68]
mov dword [rsp + 0x20], eax
mov r8d, 0x14b
call fcn.140068d00
mov eax, 2
test al, bl
je 0x1400fdeeb
and ebx, 0xfffffffd
lea rcx, [rbp - 0x68]
call fcn.140068d80
mov eax, 2
inc r14
add r12, 8
cmp r14, rax
jb 0x1400fdde1
mov rax, qword [r13]
mov rcx, r13
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rcx, qword [rdi + 0x20]
lea r9, [rsp + 0x40]
xor r12d, r12d
lea r8, [rsp + 0x38]
or r13d, 0xffffffff
mov qword [rsp + 0x40], r12
lea rdx, [rsp + 0x30]
mov qword [rsp + 0x38], r12
mov dword [rsp + 0x30], r12d
mov dword [rsp + 0x20], r13d
call qword [sym.imp.KERNEL32.dll_GetQueuedCompletionStatus]
mov rbx, qword [rsp + 0x38]
test rbx, rbx
je 0x1400fe0f9
mov qword [rsp + 0x68], rsi
call fcn.14006b020
mov rdx, rax
mov byte [rsp + 0x28], r12b
lea rax, [rsp + 0x68]
mov r9b, 0x20
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rcx, [rsp + 0x70]
call fcn.14007abd0
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
lea rcx, [rsp + 0x70]
call fcn.14007ac80
mov r8, qword [r15]
mov r9, r8
lea rcx, [r8 + 8]
mov rax, qword [rcx]
jmp 0x1400fdfb5
cmp qword [rax + 0x20], rbx
jae 0x1400fdfa1
mov rax, qword [rax + 0x10]
jmp 0x1400fdfb5
cmp byte [r9 + 0x19], r12b
je 0x1400fdfaf
cmp rbx, qword [rax + 0x20]
cmovb r9, rax
mov r8, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], r12b
je 0x1400fdf95
cmp byte [r9 + 0x19], r12b
mov rax, r9
cmovne rax, rcx
mov rcx, qword [rax]
jmp 0x1400fdfdd
cmp rbx, qword [rcx + 0x20]
jae 0x1400fdfd9
mov r9, rcx
mov rcx, qword [rcx]
jmp 0x1400fdfdd
mov rcx, qword [rcx + 0x10]
cmp byte [rcx + 0x19], r12b
je 0x1400fdfcb
mov rax, r8
cmp r8, r9
je 0x1400fe02a
cmp byte [rax + 0x19], r12b
jne 0x1400fe025
mov rcx, qword [rax + 0x10]
cmp byte [rcx + 0x19], r12b
jne 0x1400fe009
mov rax, rcx
mov rcx, qword [rcx]
cmp byte [rcx + 0x19], r12b
je 0x1400fdffb
jmp 0x1400fe025
mov rcx, qword [rax + 8]
jmp 0x1400fe01c
cmp rax, qword [rcx + 0x10]
jne 0x1400fe022
mov rax, rcx
mov rcx, qword [rcx + 8]
cmp byte [rcx + 0x19], r12b
je 0x1400fe00f
mov rax, rcx
cmp rax, r9
jne 0x1400fdfeb
lea rdx, [rbp + 0xa8]
mov rcx, r15
call fcn.1400fec10
test rbx, rbx
je 0x1400fe09f
mov rcx, qword [rbx]
or r14, 0xffffffffffffffff
mov rdx, r14
call qword [sym.imp.KERNEL32.dll_UnregisterWaitEx]
mov rcx, qword [rbx + 8]
mov rdx, r14
mov qword [rbx], r14
call qword [sym.imp.KERNEL32.dll_UnregisterWaitEx]
mov rcx, qword [rbx + 0x10]
mov rdx, r14
mov qword [rbx + 8], r14
call qword [sym.imp.KERNEL32.dll_UnregisterWaitEx]
lea rcx, [rbx + 0x48]
mov qword [rbx + 0x10], r14
call fcn.1400c8d3c
lea rcx, [rbx + 0x40]
call fcn.1400c8d3c
lea rcx, [rbx + 0x38]
call fcn.1400c8d3c
lea rcx, [rbx + 0x30]
call fcn.1400c8d3c
mov rcx, rbx
call fcn.140111e78
cmp byte [rdi + 0x48], r12b
jne 0x1400fe0ab
cmp qword [rdi + 0x40], r12
je 0x1400fe0f0
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov rcx, qword [rdi + 0x20]
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x38]
mov qword [rsp + 0x40], r12
lea rdx, [rsp + 0x30]
mov qword [rsp + 0x38], r12
mov dword [rsp + 0x30], r12d
mov dword [rsp + 0x20], r13d
call qword [sym.imp.KERNEL32.dll_GetQueuedCompletionStatus]
mov rbx, qword [rsp + 0x38]
test rbx, rbx
je 0x1400fe0f9
jmp 0x1400fdf4c
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov r15, qword [rsp + 0x50]
mov r14d, 2
mov ebx, r14d
xor edx, edx
lea rcx, [rsp + 0x70]
lea r8d, [rdx + 0x24]
call fcn.140113400
lea r8, [rbp + 0xa8]
mov dword [rsp + 0x70], 1
lea rdx, [rsp + 0x70]
mov qword [rsp + 0x74], r15
mov rcx, rdi
call fcn.1400f8bf8
sub rbx, 1
jne 0x1400fe107
mov r15, qword [rsp + 0x48]
lea rbx, [rsp + 0x58]
mov rcx, qword [rbx]
mov edx, r13d
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea rax, [rsp + 0x68]
add rbx, 8
cmp rbx, rax
jne 0x1400fe148
mov qword [rsp + 0x48], rsi
call fcn.14006b020
mov rdx, rax
mov byte [rsp + 0x28], r12b
lea rax, [rsp + 0x48]
mov r9b, 0x20
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rcx, [rsp + 0x70]
call fcn.14007abd0
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
lea rcx, [rsp + 0x70]
call fcn.14007ac80
mov rdi, qword [r15]
mov rbx, qword [rdi]
cmp rbx, rdi
je 0x1400fe263
mov r14, qword [rbx + 0x20]
test r14, r14
je 0x1400fe21a
mov rcx, qword [r14]
or r13, 0xffffffffffffffff
mov rdx, r13
call qword [sym.imp.KERNEL32.dll_UnregisterWaitEx]
mov rcx, qword [r14 + 8]
mov rdx, r13
mov qword [r14], r13
call qword [sym.imp.KERNEL32.dll_UnregisterWaitEx]
mov rcx, qword [r14 + 0x10]
mov rdx, r13
mov qword [r14 + 8], r13
call qword [sym.imp.KERNEL32.dll_UnregisterWaitEx]
lea rcx, [r14 + 0x48]
mov qword [r14 + 0x10], r13
call fcn.1400c8d3c
lea rcx, [r14 + 0x40]
call fcn.1400c8d3c
lea rcx, [r14 + 0x38]
call fcn.1400c8d3c
lea rcx, [r14 + 0x30]
call fcn.1400c8d3c
mov rcx, r14
call fcn.140111e78
cmp byte [rbx + 0x19], r12b
jne 0x1400fe254
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], r12b
jne 0x1400fe238
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], r12b
je 0x1400fe22a
jmp 0x1400fe254
mov rax, qword [rbx + 8]
jmp 0x1400fe24b
cmp rbx, qword [rax + 0x10]
jne 0x1400fe251
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], r12b
je 0x1400fe23e
mov rbx, rax
cmp rbx, rdi
jne 0x1400fe1b0
mov r14d, 2
mov rax, qword [r15]
mov rdi, qword [rax + 8]
mov rbx, rdi
cmp byte [rdi + 0x19], r12b
jne 0x1400fe29c
mov rdx, qword [rbx + 0x10]
mov rcx, r15
call fcn.1400febb8
mov rbx, qword [rbx]
mov edx, 1
mov rcx, rdi
lea r8d, [rdx + 0x27]
call fcn.1400223b0
mov rdi, rbx
cmp byte [rbx + 0x19], r12b
je 0x1400fe273
mov rax, qword [r15]
mov rcx, rsi
mov qword [rax + 8], rax
mov rax, qword [r15]
mov qword [rax], rax
mov rax, qword [r15]
mov qword [rax + 0x10], rax
mov qword [r15 + 8], r12
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
lea rbx, [rsp + 0x68]
sub rbx, 8
mov rcx, rbx
call fcn.1400c8d3c
sub r14, 1
jne 0x1400fe2c2
mov rcx, qword [rbp + 0xb8]
xor rcx, rsp
call fcn.140111850
mov rbx, qword [rsp + 0x210]
add rsp, 0x1c0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret