Function at 0x140038410
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 [0x140141038]
xor rax, rsp
mov qword [rsp + 0x1f8], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea r12, [rsp + 0x1e0]
mov qword [r12 + 0x10], rax
movaps xmm0, xmmword [0x14011c230]
movaps xmmword [r12], xmm0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
lea rdx, str..pipecrashpad__lu_
mov rcx, r12
mov r8d, eax
call fcn.14007b220
mov r15d, 0xfffffffc
lea r13, [rsp + 0x198]
xorps xmm6, xmm6
lea r14, [rsp + 0x58]
lea rbx, [rsp + 0x1d0]
mov rcx, r13
call fcn.14004c220
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.14006a5a0
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 0x1400389db
test rcx, rcx
jne 0x14003855d
test rax, rax
jne 0x140038a07
mov rcx, r14
mov rdx, rbx
call fcn.14006e270
cmp byte [rsi + 0x17], 0
js 0x14003895d
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 0x1400385a6
mov rcx, qword [rsp + 0x1b0]
call fcn.14009e6a4
cmp byte [rsp + 0x1af], 0
js 0x14003896a
mov rcx, rsi
mov dl, 1
call fcn.14004bde0
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x1400385d7
lea eax, [r15 + 1]
test r15d, r15d
mov r15d, eax
jne 0x1400384b0
cmp rdi, 0xffffffffffffffff
je 0x140038a9d
cmp byte [rsp + 0x1f7], 0
jns 0x1400385f8
mov rcx, qword [rsp + 0x1e0]
call fcn.14009e6a4
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 [0x140143198], rax
mov rcx, rbx
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call r14
mov qword [0x1401431a4], rax
mov rcx, rbx
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call r14
mov qword [0x1401431ac], rax
lea rcx, [0x140153628]
call fcn.14004c4c0
mov ecx, 8
call fcn.14009e668
mov rbx, rax
mov rcx, rax
call fcn.14007a990
mov qword [0x140153650], rbx
lea rcx, [fcn.1400f0e60]
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rdx, [0x140039f20]
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_AddVectoredExceptionHandler]
mov rbx, rax
mov rcx, qword [rsi + 0x38]
test rcx, rcx
je 0x1400386bd
cmp rcx, rbx
je 0x140038958
test rcx, rcx
jne 0x14003894e
mov qword [rsi + 0x38], rbx
lea rdx, [0x1400f0fc0]
mov ecx, 0x16
call fcn.1400bccc0
mov ecx, 0xd8
call fcn.14009e668
mov r12, rax
mov rcx, rax
mov rdx, qword [rsp + 0x38]
call fcn.140071ee0
lea rcx, [r12 + 0x18]
mov rdx, qword [rsp + 0x40]
call fcn.140071ee0
lea rcx, [r12 + 0x30]
mov rdx, qword [rsp + 0x48]
call fcn.140071ee0
lea rcx, [r12 + 0x48]
mov r8, qword [rsp + 0x280]
cmp byte [r8 + 0x17], 0
jns 0x1400389b4
mov rdx, qword [r8]
mov r8, qword [r8 + 8]
call fcn.140027490
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 0x140038799
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.14003a070
mov rcx, qword [r13 + 8]
test rcx, rcx
jne 0x14003892a
mov rax, qword [r13 + 0x10]
cmp qword [rax], r13
mov r13, rax
jne 0x140038785
mov r13, rax
cmp rax, rbp
jne 0x140038761
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 0x140038865
sar rbp, 3
imul rbp, r15
movabs rax, 0xaaaaaaaaaaaaaaa
cmp rbp, rax
ja 0x1400389a8
call fcn.14009e668
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 0x14003897c
cmp byte [r14 + rbp + 0x17], 0
js 0x14003893b
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 0x14003881f
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 0x140038a33
mov rcx, r12
add rcx, 0xa8
cmp byte [rsi + 0x17], 0
jns 0x1400389c8
mov rdx, qword [rsi]
mov r8, qword [rsi + 8]
call fcn.140027d30
mov cl, byte [rsp + 0x2a0]
lea rax, [0x14011afe0]
mov qword [r12 + 0xc0], rax
mov qword [r12 + 0xc8], rdi
mov byte [r12 + 0xd0], 0
test cl, cl
jne 0x140038aed
lea rcx, [rsp + 0x50]
mov qword [rcx], r12
call fcn.140038c00
mov edi, eax
mov rcx, qword [rsp + 0x1f8]
xor rcx, rsp
call fcn.14009fb90
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 0x140038791
jmp 0x14003892a
mov rdx, qword [r14 + rbp]
mov r8, qword [r14 + rbp + 8]
call fcn.140027490
jmp 0x140038849
call fcn.1400f9540
jmp 0x1400386c6
call fcn.1400b7470
mov rcx, qword [rsi]
call fcn.14009e6a4
jmp 0x140038572
mov rcx, qword [rsp + 0x198]
call fcn.14009e6a4
jmp 0x1400385b4
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.1400d5940
add r12, 0x78
mov rcx, r12
call fcn.1400d57d0
mov rax, qword [r8 + 0x10]
mov qword [rcx + 0x10], rax
movups xmm0, xmmword [r8]
movups xmmword [rcx], xmm0
jmp 0x140038737
mov rax, qword [rsi + 0x10]
mov qword [rcx + 0x10], rax
movups xmm0, xmmword [rsi]
movups xmmword [rcx], xmm0
jmp 0x1400388be
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.1400d5940
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.1400d5940
sar r13, 3
imul r13, r15
movabs rax, 0xaaaaaaaaaaaaaaa
cmp r13, rax
ja 0x140038b9e
call fcn.14009e668
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.1400f1430
mov qword [r12 + 0x98], rax
jmp 0x14003889e
lea rdx, str.CreatePipe
lea r8, str....._third_partycrashpadcrashpadclientcrashpad_client_win.cc
lea rbx, [rsp + 0x58]
mov rcx, rbx
mov r9d, 0x145
call fcn.140076130
lea r12, [rsp + 0x1b0]
mov rcx, r12
mov rdx, rbx
call fcn.1400ef4f0
lea rdx, str.CreateNamedPipe
mov rcx, r12
call fcn.1400f1400
mov rcx, r12
call fcn.1400ef590
jmp 0x1400385e1
lea rdi, [rsi + 0x18]
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
lea r8, [0x1400f0e00]
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.140038bb0
mov dil, 1
cmp qword [rsi + 0x20], 0
jne 0x1400388fc
mov ecx, 2
call fcn.140078f00
test al, al
jne 0x140038b54
mov qword [0x140153658], 2
xor edi, edi
jmp 0x1400388fc
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.1400f2390
lea rcx, [rsp + 0x68]
lea rdx, [0x140120b88]
mov r8d, 0xc
call fcn.1400d4ed0
mov rcx, rsi
call fcn.1400f2410
jmp 0x140038b42
add r12, 0x90
mov rcx, r12
call fcn.1400d57d0
int3