Function at 0x140220550
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 + 0x40], r9
mov qword [rsp + 0x38], r8
mov qword [rsp + 0x30], rdx
mov rsi, rcx
mov r15, qword [rsp + 0x288]
mov rax, qword [0x14040b018]
xor rax, rsp
mov qword [rsp + 0x1f8], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea r13, [rsp + 0x50]
mov qword [r13 + 0x10], rax
movaps xmm0, xmmword [0x1403df810]
movaps xmmword [r13], xmm0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
lea rdx, str..pipecrashpad__lu_
mov rcx, r13
mov r8d, eax
call fcn.140310090
mov r12d, 0xfffffffc
lea rbp, [rsp + 0x198]
xorps xmm6, xmm6
lea rdi, [rsp + 0x1e0]
lea r14, [rsp + 0x1d0]
mov rcx, rbp
call fcn.140237f90
movzx r9d, byte [rsp + 0x67]
test r9b, r9b
cmovs r9, qword [rsp + 0x58]
mov r8, qword [rsp + 0x50]
cmovns r8, r13
mov rcx, rbp
xor edx, edx
call fcn.1403087a0
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 eax, byte [rsp + 0x1c7]
test al, al
mov rcx, qword [rsp + 0x1b0]
lea rdx, [rsp + 0x1b0]
cmovns rcx, rdx
mov qword [rsp + 0x1d0], rcx
cmovs rax, qword [rsp + 0x1b8]
mov qword [rsp + 0x1d8], rax
mov rcx, rdi
mov rdx, r14
call fcn.14030f580
cmp byte [rsi + 0x17], 0
js 0x140220911
mov rax, qword [rsp + 0x1f0]
mov qword [rsi + 0x10], rax
movups xmm0, xmmword [rsp + 0x1e0]
movups xmmword [rsi], xmm0
mov byte [rsp + 0x1f7], 0
mov word [rsp + 0x1e0], 0
cmp byte [rsp + 0x1c7], 0
jns 0x1402206c7
mov rcx, qword [rsp + 0x1b0]
call fcn.1403336f4
cmp byte [rsp + 0x1af], 0
js 0x14022091e
mov rcx, rsi
mov dl, 1
call fcn.140237b50
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x1402206f9
lea eax, [r12 + 1]
test r12d, r12d
mov r12d, eax
jne 0x1402205ef
cmp rbx, 0xffffffffffffffff
je 0x140220930
cmp byte [rsp + 0x67], 0
jns 0x140220714
mov rcx, qword [rsp + 0x50]
call fcn.1403336f4
xorps xmm0, xmm0
lea rdi, [rsp + 0x1e0]
movaps xmmword [rdi], xmm0
mov qword [rdi + 0x10], 0
mov dword [rdi], 0x18
mov dword [rdi + 0x10], 1
mov r14, qword [sym.imp.KERNEL32.dll_CreateEventW]
mov rcx, rdi
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call r14
mov qword [0x14041a908], rax
mov rcx, rdi
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call r14
mov qword [0x14041a914], rax
mov rcx, rdi
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call r14
mov qword [0x14041a91c], rax
lea rcx, [0x14041f850]
call fcn.140238220
mov ecx, 8
call fcn.1403336b8
mov rdi, rax
mov rcx, rax
call fcn.14030c2e0
mov qword [0x14041f878], rdi
lea rcx, [fcn.1402221f0]
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rdx, [0x140222350]
mov ecx, reloc.WS2_32.dll_shutdown
call fcn.1403586e0
mov ecx, 0xd8
call fcn.1403336b8
mov r13, rax
mov rcx, rax
mov rdx, qword [rsp + 0x30]
call fcn.1403187e0
lea rcx, [r13 + 0x18]
mov rdx, qword [rsp + 0x38]
call fcn.1403187e0
lea rcx, [r13 + 0x30]
mov rdx, qword [rsp + 0x40]
call fcn.1403187e0
lea rcx, [r13 + 0x48]
mov r8, qword [rsp + 0x280]
cmp byte [r8 + 0x17], 0
jns 0x140220969
mov rdx, qword [r8]
mov r8, qword [r8 + 8]
call fcn.1403086b0
lea rdi, [r13 + 0x68]
xorps xmm6, xmm6
movups xmmword [r13 + 0x68], xmm6
mov qword [r13 + 0x60], rdi
mov r9, qword [r15]
add r15, 8
mov qword [rsp + 0x1b0], r9
cmp r9, r15
jne 0x14022097d
lea rcx, [r13 + 0x78]
mov rdx, qword [rsp + 0x290]
call fcn.1403035c0
movups xmmword [r13 + 0x90], xmm6
mov qword [r13 + 0xa0], 0
mov rax, qword [rsp + reloc.SHELL32.dll_IsUserAnAdmin]
mov r14, qword [rax]
mov rdi, qword [rax + 8]
mov rax, rdi
sub rax, r14
mov rcx, rdi
sub rcx, r14
jne 0x1402209c0
mov rcx, r13
add rcx, 0xa8
cmp byte [rsi + 0x17], 0
jns 0x140220a24
mov rdx, qword [rsi]
mov r8, qword [rsi + 8]
call fcn.140201fc0
lea rax, [0x1403de738]
mov qword [r13 + 0xc0], rax
mov qword [r13 + 0xc8], rbx
mov byte [r13 + 0xd0], 0
cmp byte [rsp + 0x2a0], 0
jne 0x140220a37
lea rcx, [rsp + 0x48]
mov qword [rcx], r13
call fcn.140220bb0
mov edi, eax
mov rcx, qword [rsp + 0x1f8]
xor rcx, rsp
call fcn.140334bf0
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 rcx, qword [rsi]
call fcn.1403336f4
jmp 0x140220687
mov rcx, qword [rsp + 0x198]
call fcn.1403336f4
jmp 0x1402206d5
lea rdx, str........._third_partycrashpadcrashpadclientcrashpad_client_win.cc
lea rdi, [rsp + 0x1e0]
mov rcx, rdi
mov r8d, 0x138
call fcn.14038e860
lea rdx, str.CreateNamedPipe
mov rcx, rdi
call fcn.1403915f0
mov rcx, rdi
call fcn.14038e890
jmp 0x140220703
mov rax, qword [r8 + 0x10]
mov qword [rcx + 0x10], rax
movups xmm0, xmmword [r8]
movups xmmword [rcx], xmm0
jmp 0x14022081c
lea r14, [r13 + 0x60]
lea rbp, [rsp + 0x50]
lea r12, [rsp + 0x1b0]
add r9, 0x20
mov qword [rsp + 0x20], r9
mov rcx, r14
mov rdx, rbp
mov r8, rdi
call fcn.1401f7680
mov rcx, r12
call fcn.140370fa0
mov r9, qword [rsp + 0x1b0]
cmp r9, r15
je 0x140220844
jmp 0x14022098e
lea r15, [r13 + 0x90]
sar rax, 3
movabs r12, 0xaaaaaaaaaaaaaaab
imul r12, rax
movabs rax, 0xaaaaaaaaaaaaaab
cmp r12, rax
jae 0x140220ae8
call fcn.1403336b8
mov qword [r13 + 0x90], rax
mov qword [r13 + 0x98], rax
lea rcx, [r12 + r12*2]
lea rax, [rax + rcx*8]
mov qword [r13 + 0xa0], rax
mov rcx, r15
mov rdx, r14
mov r8, rdi
mov r9, r12
call fcn.140391620
jmp 0x140220889
mov rax, qword [rsi + 0x10]
mov qword [rcx + 0x10], rax
movups xmm0, xmmword [rsi]
movups xmmword [rcx], xmm0
jmp 0x1402208a9
lea rdi, [rsi + 0x18]
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
lea r8, [0x140220b50]
xor ecx, ecx
xor edx, edx
mov r9, r13
call qword [sym.imp.KERNEL32.dll_CreateThread]
lea rdx, [rsp + 0x50]
mov qword [rdx], rax
mov rcx, rdi
call fcn.140220b00
mov dil, 1
cmp qword [rsi + 0x20], 0
jne 0x1402208e3
mov ecx, 2
call fcn.140317c40
test al, al
jne 0x140220a9e
mov qword [0x14041f880], 2
xor edi, edi
jmp 0x1402208e3
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str........._third_partycrashpadcrashpadclientcrashpad_client_win.cc
lea rsi, [rsp + 0x50]
mov rcx, rsi
mov r8d, 0x29f
mov r9d, 2
call fcn.14038d190
lea rcx, [rsp + 0x60]
lea rdx, [0x1403e7257]
mov r8d, recv
call fcn.14036f000
mov rcx, rsi
call fcn.14038d210
jmp 0x140220a8c
mov rcx, r15
call fcn.14036f740
int3