Function at 0x140118350
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 r14, qword [rsp + 0x288]
mov rax, qword [0x1402ef038]
xor rax, rsp
mov qword [rsp + 0x1f8], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea r12, [rsp + 0x1e0]
mov qword [r12 + 0x10], rax
movaps xmm0, xmmword [0x1402bb8f0]
movaps xmmword [r12], xmm0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
lea rdx, str..pipecrashpad__lu_
mov rcx, r12
mov r8d, eax
call fcn.1401964d0
mov r15d, 0xfffffffc
lea r13, [rsp + 0x198]
xorps xmm6, xmm6
lea rbp, [rsp + 0x58]
lea rbx, [rsp + 0x1d0]
mov rcx, r13
call fcn.1401347d0
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.140187e20
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 0x140118958
test rcx, rcx
jne 0x14011849d
test rax, rax
jne 0x14011892c
mov rcx, rbp
mov rdx, rbx
call fcn.140195590
cmp byte [rsi + 0x17], 0
js 0x14011890d
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 0x1401184e6
mov rcx, qword [rsp + 0x1b0]
call fcn.1401d40d8
cmp byte [rsp + 0x1af], 0
js 0x14011891a
mov rcx, rsi
mov dl, 1
call fcn.140133a80
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x140118517
lea eax, [r15 + 1]
test r15d, r15d
mov r15d, eax
jne 0x1401183f0
cmp rdi, 0xffffffffffffffff
je 0x140118984
cmp byte [rsp + 0x1f7], 0
jns 0x140118538
mov rcx, qword [rsp + 0x1e0]
call fcn.1401d40d8
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 r15, qword [sym.imp.KERNEL32.dll_CreateEventW]
mov rcx, rbx
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call r15
mov qword [0x1402ff1a8], rax
mov rcx, rbx
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call r15
mov qword [0x1402ff1b4], rax
mov rcx, rbx
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call r15
mov qword [0x1402ff1bc], rax
lea rcx, [0x14030af18]
call fcn.140134a70
mov ecx, 8
call fcn.1401d4088
mov rbx, rax
mov rcx, rax
call fcn.140184320
mov qword [0x14030af40], rbx
lea rcx, [fcn.14024eff0]
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rdx, [0x140119f20]
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_AddVectoredExceptionHandler]
lea rdx, [0x14024f180]
mov ecx, reloc.WS2_32.dll_shutdown
call fcn.1401fa470
mov ecx, 0xd8
call fcn.1401d4088
mov r12, rax
mov rcx, rax
mov rdx, qword [rsp + 0x38]
call fcn.14019fc90
lea rcx, [r12 + 0x18]
mov rdx, qword [rsp + 0x40]
call fcn.14019fc90
lea rcx, [r12 + 0x30]
mov rdx, qword [rsp + 0x48]
call fcn.14019fc90
lea rcx, [r12 + 0x48]
mov r8, qword [rsp + 0x280]
cmp byte [r8 + 0x17], 0
jns 0x14011878b
mov rdx, qword [r8]
mov r8, qword [r8 + 8]
call fcn.140187d30
lea rbx, [r12 + 0x68]
xorps xmm6, xmm6
movups xmmword [r12 + 0x68], xmm6
mov qword [r12 + 0x60], rbx
mov r9, qword [r14]
add r14, 8
mov qword [rsp + 0x1b0], r9
cmp r9, r14
jne 0x14011879f
lea rcx, [r12 + 0x78]
movups xmmword [r12 + 0x78], xmm6
xor ebx, ebx
mov qword [r12 + 0x88], rbx
mov rax, qword [rsp + 0x290]
mov rdx, qword [rax]
mov r8, qword [rax + 8]
mov r9, r8
sub r9, rdx
sar r9, 3
movabs r15, 0xaaaaaaaaaaaaaaab
imul r9, r15
call fcn.14016f230
mov qword [r12 + 0xa0], rbx
movups xmmword [r12 + 0x90], xmm6
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 0x1401187e3
mov rcx, r12
add rcx, 0xa8
cmp byte [rsi + 0x17], 0
jns 0x14011877b
mov rdx, qword [rsi]
mov r8, qword [rsi + 8]
call fcn.1400f7fc0
mov cl, byte [rsp + 0x2a0]
lea rax, [0x1402bd8b8]
mov qword [r12 + 0xc0], rax
mov qword [r12 + 0xc8], rdi
mov byte [r12 + 0xd0], 0
test cl, cl
jne 0x14011884d
lea rcx, [rsp + 0x50]
mov qword [rcx], r12
call fcn.140118a30
mov edi, eax
mov rcx, qword [rsp + 0x1f8]
xor rcx, rsp
call fcn.1401d5680
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, qword [rsi + 0x10]
mov qword [rcx + 0x10], rax
movups xmm0, xmmword [rsi]
movups xmmword [rcx], xmm0
jmp 0x14011870f
mov rax, qword [r8 + 0x10]
mov qword [rcx + 0x10], rax
movups xmm0, xmmword [r8]
movups xmmword [rcx], xmm0
jmp 0x140118655
lea rbp, [r12 + 0x60]
lea r15, [rsp + 0x58]
lea r13, [rsp + 0x1b0]
add r9, 0x20
mov qword [rsp + 0x20], r9
mov rcx, rbp
mov rdx, r15
mov r8, rbx
call fcn.140118230
mov rcx, r13
call fcn.14022d990
mov r9, qword [rsp + 0x1b0]
cmp r9, r14
je 0x140118680
jmp 0x1401187b1
sar r13, 3
imul r13, r15
movabs rax, 0xaaaaaaaaaaaaaab
cmp r13, rax
jae 0x1401188fe
call fcn.1401d4088
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.14024f220
mov qword [r12 + 0x98], rax
jmp 0x1401186f3
lea rdi, [rsi + 0x18]
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
lea r8, [0x14024ebd0]
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.1401189e0
mov dil, 1
cmp qword [rsi + 0x20], 0
jne 0x14011874d
mov ecx, 2
call fcn.14019eda0
test al, al
jne 0x1401188b4
mov qword [0x14030af48], 2
xor edi, edi
jmp 0x14011874d
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, 0x2b2
mov r9d, 2
call fcn.14024b3d0
lea rcx, [rsp + 0x68]
lea rdx, [0x1402cf0df]
mov r8d, recvfrom
call fcn.140213790
mov rcx, rsi
call fcn.14024b450
jmp 0x1401188a2
add r12, 0x90
mov rcx, r12
call fcn.140215bc0
mov rcx, qword [rsi]
call fcn.1401d40d8
jmp 0x1401184b2
mov rcx, qword [rsp + 0x198]
call fcn.1401d40d8
jmp 0x1401184f4
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.140215d40
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.140215d40
lea rdx, str.CreatePipe
lea r8, str....._third_partycrashpadcrashpadclientcrashpad_client_win.cc
lea rbx, [rsp + 0x58]
mov rcx, rbx
mov r9d, 0x141
call fcn.14019f4e0
lea r12, [rsp + 0x1b0]
mov rcx, r12
mov rdx, rbx
call fcn.14024cb30
lea rdx, str.CreateNamedPipe
mov rcx, r12
call fcn.14024f150
mov rcx, r12
call fcn.14024cb60
jmp 0x140118521