Function at 0x140091530
Capabilities:
Create thread

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x238
movaps xmmword [rsp + 0x220], xmm7
movaps xmmword [rsp + 0x210], xmm6
mov qword [rsp + 0x50], r9
mov qword [rsp + 0x48], r8
mov qword [rsp + 0x40], rdx
mov rsi, rcx
mov rbp, qword [rsp + reloc.SHELL32.dll_IsUserAnAdmin]
mov rax, qword [0x14037a038]
xor rax, rsp
mov qword [rsp + 0x208], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea r12, [rsp + 0x1f0]
mov qword [r12 + 0x10], rax
movaps xmm6, xmmword [0x140307280]
movaps xmmword [r12], xmm6
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
lea rdx, str..pipecrashpad__lu_
mov rcx, r12
mov r8d, eax
call fcn.14013ef00
mov r15d, 0xfffffffc
lea r13, [rsp + 0x1a8]
xorps xmm7, xmm7
lea r14, [rsp + 0x60]
lea rbx, [rsp + 0x1e0]
mov rcx, r13
call fcn.1400d5990
movzx eax, byte [rsp + 0x207]
mov r9d, eax
and r9d, 0x7f
test al, al
cmovs r9, qword [rsp + 0x1f8]
mov r8, qword [rsp + 0x1f0]
cmovns r8, r12
mov rcx, r13
xor edx, edx
call fcn.1401300c0
mov rcx, qword [rax + 0x10]
mov qword [rsp + 0x1d0], rcx
movups xmm0, xmmword [rax]
movaps xmmword [rsp + 0x1c0], xmm0
movups xmmword [rax], xmm7
mov qword [rax + 0x10], 0
movzx ecx, byte [rsp + 0x1d7]
mov eax, ecx
and eax, 0x7f
test cl, cl
cmovs rax, qword [rsp + 0x1c8]
mov rcx, qword [rsp + 0x1c0]
lea rdx, [rsp + 0x1c0]
cmovns rcx, rdx
mov qword [rsp + 0x1e0], rcx
mov qword [rsp + 0x1e8], rax
test rax, rax
js 0x140091bef
test rcx, rcx
jne 0x140091685
test rax, rax
jne 0x140091c1b
mov rcx, r14
mov rdx, rbx
call fcn.14013e310
cmp byte [rsi + 0x17], 0
js 0x140091bd0
mov rax, qword [rsp + 0x70]
mov qword [rsi + 0x10], rax
movups xmm0, xmmword [rsp + 0x60]
movups xmmword [rsi], xmm0
mov byte [rsp + 0x77], 0
mov word [rsp + 0x60], 0
cmp byte [rsp + 0x1d7], 0
jns 0x1400916ce
mov rcx, qword [rsp + 0x1c0]
call fcn.1401973c4
cmp byte [rsp + 0x1bf], 0
js 0x140091bdd
mov rcx, rsi
mov dl, 1
call fcn.1400d4c50
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x1400916ff
lea eax, [r15 + 1]
test r15d, r15d
mov r15d, eax
jne 0x1400915d8
cmp rdi, 0xffffffffffffffff
je 0x140091c47
mov qword [rsp + 0x38], rdi
cmp byte [rsp + 0x207], 0
jns 0x140091725
mov rcx, qword [rsp + 0x1f0]
call fcn.1401973c4
xorps xmm0, xmm0
lea rbx, [rsp + 0x1f0]
movaps xmmword [rbx], xmm0
mov qword [rbx + 0x10], 0
mov dword [rbx], 0x18
mov dword [rbx + 0x10], 1
mov rdi, qword [sym.imp.KERNEL32.dll_CreateEventW]
mov rcx, rbx
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call rdi
mov qword [0x140389c10], rax
mov rcx, rbx
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call rdi
mov qword [0x140389c24], rax
mov rcx, rbx
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call rdi
mov qword [0x140389c2c], rax
lea rcx, [0x140397110]
call fcn.1400d5c30
mov ecx, 8
call fcn.140197388
mov rbx, rax
mov rcx, rax
call fcn.140133ec0
mov qword [0x140397138], rbx
lea rcx, [fcn.140223660]
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rdx, [0x1400931b0]
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_AddVectoredExceptionHandler]
mov rbx, rax
mov rcx, qword [rsi + 0x38]
test rcx, rcx
je 0x1400917e7
cmp rcx, rbx
je 0x140091bcb
test rcx, rcx
jne 0x140091a77
mov qword [rsi + 0x38], rbx
lea rdx, [0x1402237c0]
mov ecx, 0x16
call fcn.1401b9a60
mov ecx, 0xd8
call fcn.140197388
mov r12, rax
mov rcx, rax
mov rdx, qword [rsp + 0x40]
call fcn.140148690
lea rcx, [r12 + 0x18]
mov rdx, qword [rsp + 0x48]
call fcn.140148690
lea rcx, [r12 + 0x30]
mov rdx, qword [rsp + 0x50]
call fcn.140148690
lea rcx, [r12 + 0x48]
mov r8, qword [rsp + 0x2a0]
cmp byte [r8 + 0x17], 0
jns 0x140091a81
mov rdx, qword [r8]
mov r8, qword [r8 + 8]
call fcn.14004c5e0
lea rbx, [r12 + 0x68]
xorps xmm7, xmm7
movups xmmword [r12 + 0x68], xmm7
mov qword [r12 + 0x60], rbx
mov rdi, qword [rbp]
add rbp, 8
cmp rdi, rbp
je 0x14009194f
lea r14, [r12 + 0x60]
lea r13, [rdi + 0x20]
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x1c0], rax
mov qword [rsp + 0x1a8], rax
mov qword [rsp + 0x20], r13
mov rcx, r14
mov rdx, rbx
lea r8, [rsp + 0x1c0]
lea r9, [rsp + 0x1a8]
call fcn.140093300
cmp qword [rax], 0
jne 0x14009192a
mov r15, rax
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x70], rax
movaps xmmword [rsp + 0x60], xmm6
mov rcx, r14
lea rdx, [rsp + 0x60]
mov r8, r13
call fcn.140150440
mov rdx, qword [rsp + 0x60]
mov rax, qword [rsp + 0x1c0]
movups xmmword [rdx], xmm7
mov qword [rdx + 0x10], rax
mov qword [r15], rdx
mov rax, qword [r14]
mov rax, qword [rax]
test rax, rax
jne 0x140091a6c
mov rcx, qword [r12 + 0x68]
call fcn.140120dc0
inc qword [r12 + 0x70]
mov rcx, qword [rdi + 8]
test rcx, rcx
jne 0x140091a5b
mov rax, qword [rdi + 0x10]
cmp qword [rax], rdi
mov rdi, rax
jne 0x140091937
mov rdi, rax
cmp rax, rbp
jne 0x14009188a
lea rcx, [r12 + 0x78]
movups xmmword [r12 + 0x78], xmm7
xor ebx, ebx
mov qword [r12 + 0x88], rbx
mov rax, qword [rsp + 0x2b0]
mov rdx, qword [rax]
mov r8, qword [rax + 8]
mov r9, r8
sub r9, rdx
sar r9, 3
movabs rdi, 0xaaaaaaaaaaaaaaab
imul r9, rdi
call fcn.14012bc40
mov qword [r12 + 0xa0], rbx
movups xmmword [r12 + 0x90], xmm7
mov rax, qword [rsp + 0x2c8]
mov r14, qword [rax]
mov rbx, qword [rax + 8]
mov r15, rbx
sub r15, r14
mov rcx, rbx
sub rcx, r14
jne 0x140091aa8
mov rcx, r12
add rcx, 0xa8
cmp byte [rsi + 0x17], 0
jns 0x140091a95
mov rdx, qword [rsi]
mov r8, qword [rsi + 8]
call fcn.14004cf80
mov cl, byte [rsp + 0x2c0]
mov rdx, qword [rsp + 0x38]
lea rax, [0x140303328]
mov qword [r12 + 0xc0], rax
mov qword [r12 + 0xc8], rdx
mov byte [r12 + 0xd0], 0
test cl, cl
jne 0x140091b0b
lea rcx, [rsp + 0x58]
mov qword [rcx], r12
call fcn.140091cf0
mov edi, eax
mov rcx, qword [rsp + 0x208]
xor rcx, rsp
call fcn.140198b70
mov eax, edi
movaps xmm6, xmmword [rsp + 0x210]
movaps xmm7, xmmword [rsp + 0x220]
add rsp, 0x238
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 0x140091943
jmp 0x140091a5b
mov qword [r14], rax
mov rdx, qword [r15]
jmp 0x14009191b
call fcn.140288b70
jmp 0x1400917f0
mov rax, qword [r8 + 0x10]
mov qword [rcx + 0x10], rax
movups xmm0, xmmword [r8]
movups xmmword [rcx], xmm0
jmp 0x140091861
mov rax, qword [rsi + 0x10]
mov qword [rcx + 0x10], rax
movups xmm0, xmmword [rsi]
movups xmmword [rcx], xmm0
jmp 0x1400919e2
sar r15, 3
imul r15, rdi
movabs rax, 0xaaaaaaaaaaaaaab
cmp r15, rax
jae 0x140091bbc
call fcn.140197388
mov qword [r12 + 0x90], rax
mov qword [r12 + 0x98], rax
lea rcx, [r15 + r15*2]
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.140223c30
mov qword [r12 + 0x98], rax
jmp 0x1400919c2
lea rdi, [rsi + 0x18]
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
lea r8, [0x140223600]
xor ecx, ecx
xor edx, edx
mov r9, r12
call qword [sym.imp.KERNEL32.dll_CreateThread]
lea rdx, [rsp + 0x60]
mov qword [rdx], rax
mov rcx, rdi
call fcn.140091ca0
mov dil, 1
cmp qword [rsi + 0x20], 0
jne 0x140091a25
mov ecx, 2
call fcn.140147580
test al, al
jne 0x140091b72
mov qword [0x140397140], 2
xor edi, edi
jmp 0x140091a25
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str....._third_partycrashpadcrashpadclientcrashpad_client_win.cc
lea rsi, [rsp + 0x60]
mov rcx, rsi
mov r8d, 0x292
mov r9d, 2
call fcn.140211090
lea rcx, [rsp + 0x70]
lea rdx, [0x140319dea]
mov r8d, ntohl
call fcn.1401d1390
mov rcx, rsi
call fcn.140211110
jmp 0x140091b60
add r12, 0x90
mov rcx, r12
call fcn.1401d1330
call fcn.1401b19e0
mov rcx, qword [rsi]
call fcn.1401973c4
jmp 0x14009169a
mov rcx, qword [rsp + 0x1a8]
call fcn.1401973c4
jmp 0x1400916dc
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.1401df1c0
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.1401df1c0
lea rdx, str.CreatePipe
lea r8, str....._third_partycrashpadcrashpadclientcrashpad_client_win.cc
lea rbx, [rsp + 0x60]
mov rcx, rbx
mov r9d, 0x144
call fcn.140147cc0
lea r12, [rsp + 0x1c0]
mov rcx, r12
mov rdx, rbx
call fcn.140213a20
lea rdx, str.CreateNamedPipe
mov rcx, r12
call fcn.140223c00
mov rcx, r12
call fcn.140213a50
jmp 0x140091709