Function at 0x14005ff40
Capabilities:
Create thread

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xa8
movaps xmmword [rsp + 0x90], xmm6
mov r12, rdx
mov rsi, rcx
mov rax, qword [0x14029c028]
xor rax, rsp
mov qword [rsp + 0x88], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rdi, [rsp + 0x60]
mov qword [rdi], rax
mov edx, 8
mov rcx, rdi
call fcn.1400f1210
mov r13, qword [rdi]
lea rax, [rsi + 0x50]
mov qword [rsp + 0x30], rax
lea rdi, [rsi + 0x48]
mov rbx, qword [rsi + 0x38]
cmp rbx, 0xffffffffffffffff
jne 0x14005ffc4
mov rcx, rsi
mov dl, 1
call fcn.140060b40
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x14005ffcc
jmp 0x140060517
mov qword [rsi + 0x38], 0xffffffffffffffff
mov ecx, 0x40
call fcn.140184dc4
mov rcx, qword [rsi + 0x20]
mov qword [rax], rcx
lea r14, [0x14026fb10]
mov qword [rax + 8], r14
mov qword [rax + 0x10], rbx
mov byte [rax + 0x18], 0
mov qword [rax + 0x20], r12
mov qword [rax + 0x28], rdi
mov rcx, qword [rsp + 0x30]
mov qword [rax + 0x30], rcx
mov qword [rax + 0x38], r13
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
lea r8, [0x140059290]
xor ecx, ecx
xor edx, edx
mov r9, rax
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rsp + 0x40], rax
test rax, rax
je 0x14006047d
mov rbx, qword [rsi + 0x38]
cmp rbx, 0xffffffffffffffff
jne 0x14006005a
mov rcx, rsi
xor edx, edx
call fcn.140060b40
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x140060062
jmp 0x14006056b
mov qword [rsi + 0x38], 0xffffffffffffffff
mov ecx, 0x40
call fcn.140184dc4
mov rcx, qword [rsi + 0x20]
mov qword [rax], rcx
mov qword [rax + 8], r14
mov qword [rax + 0x10], rbx
mov byte [rax + 0x18], 0
mov qword [rax + 0x20], r12
mov qword [rax + 0x28], rdi
mov rcx, qword [rsp + 0x30]
mov qword [rax + 0x30], rcx
mov qword [rsp + 0x48], r13
mov qword [rax + 0x38], r13
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
lea r8, [0x140059290]
xor ecx, ecx
xor edx, edx
mov r9, rax
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rsp + 0x38], rax
test rax, rax
je 0x1400604ca
xor eax, eax
lea r9, [rsp + 0x60]
mov qword [r9], rax
lea rbx, [rsp + 0x50]
mov qword [rbx], rax
lea rdx, [rsp + 0x84]
mov dword [rdx], 0
mov rcx, qword [rsi + 0x20]
mov dword [rsp + 0x20], 0xffffffff
mov r8, rbx
call qword [sym.imp.KERNEL32.dll_GetQueuedCompletionStatus]
mov rbp, qword [rbx]
test rbp, rbp
je 0x140060241
lea r14, [rsi + 0x58]
mov r15, qword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
xor r12d, r12d
lea r13, [rsp + 0x60]
jmp 0x1400601c3
mov rdx, qword [rsp + 0x30]
mov qword [rdx], rax
jmp 0x140060144
mov rax, rdx
mov rdx, qword [rdx]
test rdx, rdx
jne 0x14006012f
mov rdx, qword [rsp + 0x30]
cmp qword [rdx], rbx
je 0x140060125
dec qword [rsi + 0x60]
mov rdx, rbx
call fcn.140147210
mov rcx, rbx
call fcn.140184dbc
mov rcx, rbp
call fcn.1400605d0
mov rcx, rbp
call fcn.140184dbc
cmp byte [rsi + 0x68], 0
jne 0x140060179
cmp qword [rsi + 0x60], 0
je 0x140060238
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x50], r12
mov dword [rsp + 0x84], 0
mov rcx, qword [rsi + 0x20]
mov dword [rsp + 0x20], 0xffffffff
lea rdx, [rsp + 0x84]
lea r8, [rsp + 0x50]
mov r9, r13
call qword [sym.imp.KERNEL32.dll_GetQueuedCompletionStatus]
mov rbp, qword [rsp + 0x50]
test rbp, rbp
je 0x140060241
mov rcx, rdi
call r15
test al, al
je 0x14006036a
mov rcx, qword [r14]
test rcx, rcx
je 0x140060158
mov rax, rcx
mov rbx, r14
lea rdx, [rax + 8]
cmp qword [rax + 0x20], rbp
cmovae rdx, rax
cmovae rbx, rax
mov rax, qword [rdx]
test rax, rax
jne 0x1400601e3
cmp rbx, r14
je 0x140060158
cmp qword [rbx + 0x20], rbp
ja 0x140060158
test rbx, rbx
je 0x140060377
mov rdx, qword [rbx + 8]
mov r8, rbx
test rdx, rdx
jne 0x14006012f
mov rax, qword [r8 + 0x10]
cmp qword [rax], r8
mov r8, rax
jne 0x140060227
jmp 0x14006013a
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
xorps xmm6, xmm6
lea rbx, [rsp + 0x60]
movups xmmword [rbx + 0xc], xmm6
xor eax, eax
mov qword [rbx + 0x1c], rax
mov ebp, 1
mov dword [rbx], ebp
mov r14, qword [rsp + 0x48]
mov qword [rbx + 4], r14
lea r15, [rsp + 0x50]
movabs r13, 0xaaaaaaaaaaaaaaaa
mov qword [r15], r13
mov r12d, 0xaaaaaaaa
mov dword [r15 + 8], r12d
mov rcx, rsi
mov rdx, rbx
mov r8, r15
call fcn.140060840
xor eax, eax
mov qword [rbx + 0x1c], rax
movups xmmword [rbx + 0xc], xmm6
mov dword [rbx], ebp
mov qword [rbx + 4], r14
mov qword [r15], r13
mov dword [r15 + 8], r12d
mov rcx, rsi
mov rdx, rbx
mov r8, r15
call fcn.140060840
mov rbx, qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov r12, qword [rsp + 0x40]
mov rcx, r12
mov edx, 0xffffffff
call rbx
mov r13, qword [rsp + 0x38]
mov rcx, r13
mov edx, 0xffffffff
call rbx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x14006037a
mov r15, qword [rsi + 0x50]
lea r14, [rsi + 0x58]
cmp r15, r14
jne 0x140060421
mov rcx, qword [rsi + 0x58]
call fcn.140023a00
mov qword [rsi + 0x50], r14
xorps xmm0, xmm0
movups xmmword [rsi + 0x58], xmm0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
test r13, r13
je 0x14006032c
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x1400603d4
test r12, r12
je 0x14006033e
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x140060387
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.1401879f0
movaps xmm6, xmmword [rsp + 0x90]
add rsp, 0xa8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rcx, rdi
call sub.KERNEL32.dll_AcquireSRWLockExclusive
jmp 0x1400601d1
int3
mov rcx, rdi
call sub.KERNEL32.dll_AcquireSRWLockExclusive
jmp 0x1400602e8
lea rdx, str.Free
lea r8, str....._third_partycrashpadcrashpadutilwin_scoped_handle.cc
lea rsi, [rsp + 0x60]
mov rcx, rsi
mov r9d, 0x1e
call fcn.1400ee990
lea rdi, [rsp + 0x50]
mov rcx, rdi
mov rdx, rsi
call fcn.1401fbb20
lea rdx, [0x140288b91]
mov rcx, rdi
call fcn.1402108b0
mov rcx, rdi
call fcn.1401fbb50
jmp 0x14006033e
lea rdx, str.Free
lea r8, str....._third_partycrashpadcrashpadutilwin_scoped_handle.cc
lea rsi, [rsp + 0x60]
mov rcx, rsi
mov r9d, 0x1e
call fcn.1400ee990
lea rdi, [rsp + 0x50]
mov rcx, rdi
mov rdx, rsi
call fcn.1401fbb20
lea rdx, [0x140288b91]
mov rcx, rdi
call fcn.1402108b0
mov rcx, rdi
call fcn.1401fbb50
jmp 0x14006032c
mov r12, qword [rsp + 0x40]
mov r13, qword [rsp + 0x38]
mov rbx, qword [r15 + 0x20]
test rbx, rbx
je 0x140060444
mov rcx, rbx
call fcn.1400605d0
mov rcx, rbx
call fcn.140184dbc
test r15, r15
je 0x1400605bf
mov rcx, qword [r15 + 8]
test rcx, rcx
je 0x14006046f
mov rax, rcx
mov rcx, qword [rcx]
test rcx, rcx
jne 0x140060456
mov r15, rax
cmp rax, r14
je 0x1400602f9
jmp 0x14006042b
mov rax, qword [r15 + 0x10]
cmp qword [rax], r15
mov r15, rax
jne 0x14006046f
jmp 0x140060461
lea rdx, [0x14027c625]
lea r8, [0x140286b98]
lea rbx, [rsp + 0x60]
mov rcx, rbx
mov r9d, 0x14a
call fcn.1400ee990
lea r15, [rsp + 0x50]
mov rcx, r15
mov rdx, rbx
call fcn.1401fbb20
lea rdx, [0x140286c20]
mov rcx, r15
call fcn.1402108b0
mov rcx, r15
call fcn.1401fbb50
jmp 0x140060038
lea rdx, [0x14027c625]
lea r8, [0x140286b98]
lea rbx, [rsp + 0x60]
mov rcx, rbx
mov r9d, 0x14a
call fcn.1400ee990
lea r15, [rsp + 0x50]
mov rcx, r15
mov rdx, rbx
call fcn.1401fbb20
lea rdx, [0x140286c20]
mov rcx, r15
call fcn.1402108b0
mov rcx, r15
call fcn.1401fbb50
jmp 0x1400600cc
lea rdx, [0x14027c625]
lea r8, [0x140286b98]
lea rbx, [rsp + 0x60]
mov rcx, rbx
mov r9d, 0x13b
call fcn.1400ee990
lea r15, [rsp + 0x50]
mov rcx, r15
mov rdx, rbx
call fcn.1401fbb20
lea rdx, str.CreateNamedPipe
mov rcx, r15
call fcn.1402108b0
mov rcx, r15
call fcn.1401fbb50
mov rbx, 0xffffffffffffffff
jmp 0x14005ffcc
lea rdx, [0x14027c625]
lea r8, [0x140286b98]
lea rbx, [rsp + 0x60]
mov rcx, rbx
mov r9d, 0x13b
call fcn.1400ee990
lea r15, [rsp + 0x50]
mov rcx, r15
mov rdx, rbx
call fcn.1401fbb20
lea rdx, str.CreateNamedPipe
mov rcx, r15
call fcn.1402108b0
mov rcx, r15
call fcn.1401fbb50
mov rbx, 0xffffffffffffffff
jmp 0x140060062
int3