Function at 0x140091060
Capabilities:
Create thread

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x218
movaps xmmword [rsp + 0x200], xmm6
mov qword [rsp + 0x48], r9
mov qword [rsp + 0x40], r8
mov qword [rsp + 0x38], rdx
mov rsi, rcx
mov rbp, qword [rsp + 0x288]
mov rax, qword [0x14037e038]
xor rax, rsp
mov qword [rsp + 0x1f8], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea r12, [rsp + 0x1e0]
mov qword [r12 + 0x10], rax
movaps xmm0, xmmword [0x1402fd120]
movaps xmmword [r12], xmm0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
lea rdx, str..pipecrashpad__lu_
mov rcx, r12
mov r8d, eax
call fcn.1401438c0
mov r15d, 0xfffffffc
lea r13, [rsp + 0x198]
xorps xmm6, xmm6
lea r14, [rsp + 0x58]
lea rbx, [rsp + 0x1d0]
mov rcx, r13
call fcn.1400de610
movzx eax, byte [rsp + 0x1f7]
mov r9d, eax
and r9d, 0x7f
test al, al
cmovs r9, qword [rsp + 0x1e8]
mov r8, qword [rsp + 0x1e0]
cmovns r8, r12
mov rcx, r13
xor edx, edx
call fcn.140137b90
mov rcx, qword [rax + 0x10]
mov qword [rsp + 0x1c0], rcx
movups xmm0, xmmword [rax]
movaps xmmword [rsp + 0x1b0], xmm0
movups xmmword [rax], xmm6
mov qword [rax + 0x10], 0
movzx ecx, byte [rsp + 0x1c7]
mov eax, ecx
and eax, 0x7f
test cl, cl
cmovs rax, qword [rsp + 0x1b8]
mov rcx, qword [rsp + 0x1b0]
lea rdx, [rsp + 0x1b0]
cmovns rcx, rdx
mov qword [rsp + 0x1d0], rcx
mov qword [rsp + 0x1d8], rax
test rax, rax
js 0x14009162b
test rcx, rcx
jne 0x1400911ad
test rax, rax
jne 0x140091657
mov rcx, r14
mov rdx, rbx
call fcn.1401430f0
cmp byte [rsi + 0x17], 0
js 0x1400915ad
mov rax, qword [rsp + 0x68]
mov qword [rsi + 0x10], rax
movups xmm0, xmmword [rsp + 0x58]
movups xmmword [rsi], xmm0
mov byte [rsp + 0x6f], 0
mov word [rsp + 0x58], 0
cmp byte [rsp + 0x1c7], 0
jns 0x1400911f6
mov rcx, qword [rsp + 0x1b0]
call fcn.1401a08c8
cmp byte [rsp + 0x1af], 0
js 0x1400915ba
mov rcx, rsi
mov dl, 1
call fcn.1400dd8a0
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x140091227
lea eax, [r15 + 1]
test r15d, r15d
mov r15d, eax
jne 0x140091100
cmp rdi, 0xffffffffffffffff
je 0x1400916ed
cmp byte [rsp + 0x1f7], 0
jns 0x140091248
mov rcx, qword [rsp + 0x1e0]
call fcn.1401a08c8
xorps xmm0, xmm0
lea rbx, [rsp + 0x1e0]
movaps xmmword [rbx], xmm0
mov qword [rbx + 0x10], 0
mov dword [rbx], 0x18
mov dword [rbx + 0x10], 1
mov r14, qword [sym.imp.KERNEL32.dll_CreateEventW]
mov rcx, rbx
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call r14
mov qword [0x140380c50], rax
mov rcx, rbx
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call r14
mov qword [0x140380c64], rax
mov rcx, rbx
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call r14
mov qword [0x140380c6c], rax
lea rcx, [0x140394810]
call fcn.1400de8b0
mov ecx, 8
call fcn.1401a088c
mov rbx, rax
mov rcx, rax
call fcn.140139f00
mov qword [0x140394838], rbx
lea rcx, [fcn.1402222c0]
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rdx, [0x140092b70]
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_AddVectoredExceptionHandler]
mov rbx, rax
mov rcx, qword [rsi + 0x38]
test rcx, rcx
je 0x14009130d
cmp rcx, rbx
je 0x1400915a8
test rcx, rcx
jne 0x14009159e
mov qword [rsi + 0x38], rbx
lea rdx, [0x140222420]
mov ecx, 0x16
call fcn.1401c2f60
mov ecx, 0xd8
call fcn.1401a088c
mov r12, rax
mov rcx, rax
mov rdx, qword [rsp + 0x38]
call fcn.14014d280
lea rcx, [r12 + 0x18]
mov rdx, qword [rsp + 0x40]
call fcn.14014d280
lea rcx, [r12 + 0x30]
mov rdx, qword [rsp + 0x48]
call fcn.14014d280
lea rcx, [r12 + 0x48]
mov r8, qword [rsp + 0x280]
cmp byte [r8 + 0x17], 0
jns 0x140091604
mov rdx, qword [r8]
mov r8, qword [r8 + 8]
call fcn.14004a170
lea rbx, [r12 + 0x68]
xorps xmm6, xmm6
movups xmmword [r12 + 0x68], xmm6
mov qword [r12 + 0x60], rbx
mov r13, qword [rbp]
add rbp, 8
cmp r13, rbp
je 0x1400913e9
lea r14, [r12 + 0x60]
lea r15, [rsp + 0x58]
lea r9, [r13 + 0x20]
mov qword [rsp + 0x20], r9
mov rcx, r14
mov rdx, r15
mov r8, rbx
call fcn.140092cc0
mov rcx, qword [r13 + 8]
test rcx, rcx
jne 0x14009157a
mov rax, qword [r13 + 0x10]
cmp qword [rax], r13
mov r13, rax
jne 0x1400913d5
mov r13, rax
cmp rax, rbp
jne 0x1400913b1
movups xmmword [r12 + 0x78], xmm6
mov qword [r12 + 0x88], 0
mov rax, qword [rsp + 0x290]
mov r14, qword [rax]
mov r13, qword [rax + 8]
mov rbp, r13
sub rbp, r14
movabs r15, 0xaaaaaaaaaaaaaaab
mov rcx, r13
sub rcx, r14
je 0x1400914b5
sar rbp, 3
imul rbp, r15
movabs rax, 0xaaaaaaaaaaaaaaa
cmp rbp, rax
ja 0x1400915f8
call fcn.1401a088c
mov rbx, rax
mov qword [r12 + 0x78], rax
mov qword [r12 + 0x80], rax
lea rax, [rbp*2]
add rax, rbp
lea rax, [rbx + rax*8]
mov qword [r12 + 0x88], rax
xor ebp, ebp
mov rcx, rbx
add rcx, rbp
je 0x1400915cc
cmp byte [r14 + rbp + 0x17], 0
js 0x14009158b
lea rax, [r14 + rbp]
mov rdx, qword [rax + 0x10]
mov qword [rcx + 0x10], rdx
movups xmm0, xmmword [rax]
movups xmmword [rcx], xmm0
lea rax, [r14 + rbp]
add rax, 0x18
add rbp, 0x18
cmp rax, r13
jne 0x14009146f
add rbx, rbp
mov qword [r12 + 0x80], rbx
xorps xmm0, xmm0
movups xmmword [r12 + 0x90], xmm0
mov qword [r12 + 0xa0], 0
mov rax, qword [rsp + reloc.SHELL32.dll_IsUserAnAdmin]
mov r14, qword [rax]
mov rbx, qword [rax + 8]
mov r13, rbx
sub r13, r14
mov rcx, rbx
sub rcx, r14
jne 0x140091683
mov rcx, r12
add rcx, 0xa8
cmp byte [rsi + 0x17], 0
jns 0x140091618
mov rdx, qword [rsi]
mov r8, qword [rsi + 8]
call fcn.14004ad20
mov cl, byte [rsp + 0x2a0]
lea rax, [0x1403024b8]
mov qword [r12 + 0xc0], rax
mov qword [r12 + 0xc8], rdi
mov byte [r12 + 0xd0], 0
test cl, cl
jne 0x14009173d
lea rcx, [rsp + 0x50]
mov qword [rcx], r12
call fcn.140091850
mov edi, eax
mov rcx, qword [rsp + 0x1f8]
xor rcx, rsp
call fcn.1401a2070
mov eax, edi
movaps xmm6, xmmword [rsp + 0x200]
add rsp, 0x218
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rax, rcx
mov rcx, qword [rcx]
test rcx, rcx
je 0x1400913e1
jmp 0x14009157a
mov rdx, qword [r14 + rbp]
mov r8, qword [r14 + rbp + 8]
call fcn.14004a170
jmp 0x140091499
call fcn.14027f310
jmp 0x140091316
call fcn.1401baee0
mov rcx, qword [rsi]
call fcn.1401a08c8
jmp 0x1400911c2
mov rcx, qword [rsp + 0x198]
call fcn.1401a08c8
jmp 0x140091204
lea rax, str.null_pointer_given_to_construct_at
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s_n
lea rdx, str....._third_partylibc_srcinclude__memoryconstruct_at.h
lea r9, str.__location___nullptr
mov r8d, 0x28
call fcn.1401de150
add r12, 0x78
mov rcx, r12
call fcn.1401da9f0
mov rax, qword [r8 + 0x10]
mov qword [rcx + 0x10], rax
movups xmm0, xmmword [r8]
movups xmmword [rcx], xmm0
jmp 0x140091387
mov rax, qword [rsi + 0x10]
mov qword [rcx + 0x10], rax
movups xmm0, xmmword [rsi]
movups xmmword [rcx], xmm0
jmp 0x14009150e
lea rax, str.string_view::string_view__CharT___size_t_:_length_does_not_fit_in_difference_type
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s_n
lea rdx, str....._third_partylibc_srcinclude_string_view
lea r9, str.__len___static_cast_size_type__numeric_limits_difference_type_::max___
mov r8d, 0x13a
call fcn.1401de150
lea rax, str.string_view::string_view__CharT___size_t_:_received_nullptr
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s_n
lea rdx, str....._third_partylibc_srcinclude_string_view
lea r9, str.__len__0____s___nullptr
mov r8d, 0x13c
call fcn.1401de150
sar r13, 3
imul r13, r15
movabs rax, 0xaaaaaaaaaaaaaaa
cmp r13, rax
ja 0x1400917ee
call fcn.1401a088c
mov qword [r12 + 0x90], rax
mov qword [r12 + 0x98], rax
lea rcx, [r13*2]
add rcx, r13
lea rcx, [rax + rcx*8]
mov qword [r12 + 0xa0], rcx
lea rcx, [r12 + 0xa8]
mov rdx, r14
mov r8, rbx
mov r9, rax
call fcn.140222890
mov qword [r12 + 0x98], rax
jmp 0x1400914ee
lea rdx, str.CreatePipe
lea r8, str....._third_partycrashpadcrashpadclientcrashpad_client_win.cc
lea rbx, [rsp + 0x58]
mov rcx, rbx
mov r9d, 0x145
call fcn.14014c870
lea r12, [rsp + 0x1b0]
mov rcx, r12
mov rdx, rbx
call fcn.1402116c0
lea rdx, str.CreateNamedPipe
mov rcx, r12
call fcn.140222860
mov rcx, r12
call fcn.140211760
jmp 0x140091231
lea rdi, [rsi + 0x18]
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
lea r8, [0x140222260]
xor ecx, ecx
xor edx, edx
mov r9, r12
call qword [sym.imp.KERNEL32.dll_CreateThread]
lea rdx, [rsp + 0x58]
mov qword [rdx], rax
mov rcx, rdi
call fcn.140091800
mov dil, 1
cmp qword [rsi + 0x20], 0
jne 0x14009154c
mov ecx, 2
call fcn.14014c5f0
test al, al
jne 0x1400917a4
mov qword [0x140394840], 2
xor edi, edi
jmp 0x14009154c
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str....._third_partycrashpadcrashpadclientcrashpad_client_win.cc
lea rsi, [rsp + 0x58]
mov rcx, rsi
mov r8d, 0x293
mov r9d, 2
call fcn.14020ed80
lea rcx, [rsp + 0x68]
lea rdx, [0x14031de2a]
mov r8d, ntohl
call fcn.1401daa50
mov rcx, rsi
call fcn.14020ee00
jmp 0x140091792
add r12, 0x90
mov rcx, r12
call fcn.1401da9f0
int3