Function at 0x140022240
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 r15, r8
mov r13, rdx
mov r12, rcx
mov rax, qword [0x1401f5028]
xor rax, rsp
mov qword [rsp + 0x1f8], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rdi, [rsp + 0x50]
mov qword [rdi + 0x10], rax
movaps xmm0, xmmword [0x1401c8a80]
movaps xmmword [rdi], xmm0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
lea rdx, str..pipecrashpad__lu_
mov rcx, rdi
mov r8d, eax
call fcn.1400d42b0
lea rbx, [rsp + 0x198]
mov rcx, rbx
call fcn.140023180
movzx r9d, byte [rdi + 0x17]
test r9b, r9b
jns 0x1400222d4
mov r9, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x50]
mov rcx, rbx
xor edx, edx
mov r8, rdi
call fcn.1400e28c0
mov rcx, qword [rax + 0x10]
lea rdi, [rsp + 0x1b0]
mov qword [rdi + 0x10], rcx
movups xmm0, xmmword [rax]
movaps xmmword [rdi], xmm0
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov qword [rax + 0x10], 0
movzx eax, byte [rdi + 0x17]
test al, al
mov rcx, qword [rdi]
cmovns rcx, rdi
lea rdx, [rsp + 0x1d0]
mov qword [rdx], rcx
cmovs rax, qword [rdi + 8]
mov qword [rdx + 8], rax
lea rcx, [rsp + 0x1e0]
call fcn.1400daf10
cmp byte [r12 + 0x17], 0
js 0x1400226ee
mov rax, qword [rsp + 0x1f0]
mov qword [r12 + 0x10], rax
movups xmm0, xmmword [rsp + 0x1e0]
movups xmmword [r12], xmm0
mov byte [rsp + 0x1f7], 0
mov word [rsp + 0x1e0], 0
cmp byte [rsp + 0x1c7], 0
jns 0x140022382
mov rcx, qword [rsp + 0x1b0]
call fcn.1400f0498
cmp byte [rsp + 0x1af], 0
js 0x1400226fc
mov rcx, r12
mov dl, 1
call fcn.14003c580
mov qword [rsp + 0x38], rax
cmp rax, 0xffffffffffffffff
je 0x14002270e
mov r14, qword [rsp + 0x280]
cmp byte [rsp + 0x67], 0
jns 0x1400223c2
mov rcx, qword [rsp + 0x50]
call fcn.1400f0498
mov rsi, qword [rsp + 0x288]
xorps xmm0, xmm0
lea rdi, [rsp + 0x1e0]
movaps xmmword [rdi], xmm0
xor ebx, ebx
mov qword [rdi + 0x10], rbx
mov dword [rdi], 0x18
mov dword [rdi + 0x10], 1
mov rbp, qword [sym.imp.KERNEL32.dll_CreateEventW]
mov rcx, rdi
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call rbp
mov qword [0x1401f82e8], rax
mov rcx, rdi
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call rbp
mov qword [0x1401f82f0], rax
mov rcx, rdi
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call rbp
mov qword [0x1401f82f8], rax
lea rcx, [0x1402004b8]
call fcn.140023030
mov ecx, 8
call fcn.1400f045c
mov qword [rax], rbx
mov qword [0x1402004e0], rax
lea rcx, [fcn.140164430]
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rdx, [0x1401645a0]
mov ecx, 0x16
call fcn.1400f0f5c
mov ecx, 0xd8
call fcn.1400f045c
mov rbx, rax
mov rcx, rax
mov rdx, r13
call fcn.1400dec90
lea rcx, [rbx + 0x18]
mov rdx, r15
call fcn.1400dec90
lea rcx, [rbx + 0x30]
mov rdx, qword [rsp + 0x40]
call fcn.1400dec90
lea rcx, [rbx + 0x48]
cmp byte [r14 + 0x17], 0
jns 0x140022890
mov rdx, qword [r14]
mov r8, qword [r14 + 8]
call fcn.1400e8260
mov r13, qword [rsp + 0x2a8]
lea rdi, [rbx + 0x68]
xorps xmm6, xmm6
movups xmmword [rbx + 0x68], xmm6
mov qword [rbx + 0x60], rdi
mov r14, qword [rsi]
add rsi, 8
cmp r14, rsi
je 0x14002254f
lea rbp, [rbx + 0x60]
lea r15, [rsp + 0x50]
lea r9, [r14 + 0x20]
mov qword [rsp + 0x20], r9
mov rcx, rbp
mov rdx, r15
mov r8, rdi
call fcn.1400229c0
mov rax, qword [r14 + 8]
test rax, rax
jne 0x140022518
mov rax, qword [r14 + 0x10]
cmp qword [rax], r14
jne 0x140022530
mov r14, rax
cmp r14, rsi
jne 0x1400224e5
jmp 0x14002254f
mov rdx, qword [rax]
test rdx, rdx
je 0x14002250e
mov rcx, qword [rdx]
mov rax, rdx
test rcx, rcx
je 0x14002250e
jmp 0x1400226e3
mov r14, qword [rax + 0x10]
cmp qword [r14], rax
je 0x140022511
add rax, 0x10
mov rcx, qword [rax]
lea rax, [rcx + 0x10]
mov r14, qword [rcx + 0x10]
cmp qword [r14], rcx
je 0x140022511
jmp 0x14002253d
lea rcx, [rbx + 0x78]
mov rdx, qword [rsp + 0x290]
call fcn.1400e8000
movups xmmword [rbx + 0x90], xmm6
mov qword [rbx + 0xa0], 0
mov rdi, qword [r13]
mov r15, qword [r13 + 8]
mov rcx, r15
sub rcx, rdi
je 0x14002262f
mov rax, rcx
sar rax, 3
movabs rsi, 0xaaaaaaaaaaaaaaab
imul rsi, rax
movabs rax, 0xaaaaaaaaaaaaaab
cmp rsi, rax
jae 0x140022978
call fcn.1400f045c
mov rbp, rax
mov qword [rbx + 0x98], rax
mov qword [rbx + 0x90], rax
lea rax, [rsi + rsi*2]
lea rax, [rax*8]
add rax, rbp
mov qword [rbx + 0xa0], rax
cmp rdi, r15
je 0x140022625
mov rcx, rbp
mov rdx, rdi
call fcn.1400dec90
lea rdx, [rdi + 0x18]
lea r14, [rbp + 0x18]
cmp rdx, r15
je 0x140022628
mov rcx, r14
call fcn.1400dec90
lea rdx, [rdi + 0x30]
lea r14, [rbp + 0x30]
cmp rdx, r15
je 0x140022628
mov rcx, r14
call fcn.1400dec90
add rdi, 0x48
add rbp, 0x48
cmp rdi, r15
jne 0x1400226c2
mov r14, rbp
mov qword [rbx + 0x98], r14
mov sil, byte [rsp + 0x2a0]
mov rcx, rbx
add rcx, 0xa8
cmp byte [r12 + 0x17], 0
jns 0x140022962
mov rdx, qword [r12]
mov r8, qword [r12 + 8]
call fcn.1400da520
lea rax, [0x1401cab18]
mov qword [rbx + 0xc0], rax
mov rax, qword [rsp + 0x38]
mov qword [rbx + 0xc8], rax
mov byte [rbx + 0xd0], 0
test sil, sil
jne 0x1400228a4
lea rcx, [rsp + 0x48]
mov qword [rcx], rbx
call fcn.140023450
mov edi, eax
mov rcx, qword [rsp + 0x1f8]
xor rcx, rsp
call fcn.1400f32c0
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 r14, rbp
mov rcx, r14
mov rdx, rdi
call fcn.1400dec90
add rdi, 0x18
add r14, 0x18
cmp r15, rdi
je 0x140022628
jmp 0x1400226c5
mov rax, rcx
mov rcx, qword [rcx]
jmp 0x140022526
mov rcx, qword [r12]
call fcn.1400f0498
jmp 0x14002233f
mov rcx, qword [rsp + 0x198]
call fcn.1400f0498
jmp 0x140022390
mov esi, 0xfffffffd
lea rbx, [rsp + 0x198]
lea r14, [rsp + 0x50]
xorps xmm6, xmm6
lea rbp, [rsp + 0x1e0]
mov rcx, rbx
call fcn.140023180
movzx r9d, byte [rsp + 0x67]
test r9b, r9b
cmovs r9, qword [rsp + 0x58]
mov r8, qword [rsp + 0x50]
cmovns r8, r14
mov rcx, rbx
xor edx, edx
call fcn.1400e28c0
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]
cmovns rcx, rdi
mov qword [rsp + 0x1d0], rcx
cmovs rax, qword [rsp + 0x1b8]
mov qword [rsp + 0x1d8], rax
mov rcx, rbp
lea rdx, [rsp + 0x1d0]
call fcn.1400daf10
cmp byte [r12 + 0x17], 0
js 0x140022987
mov rax, qword [rsp + 0x1f0]
mov qword [r12 + 0x10], rax
movups xmm0, xmmword [rsp + 0x1e0]
movups xmmword [r12], xmm0
mov byte [rsp + 0x1f7], 0
mov word [rsp + 0x1e0], 0
cmp byte [rsp + 0x1c7], 0
jns 0x140022805
mov rcx, qword [rsp + 0x1b0]
call fcn.1400f0498
cmp byte [rsp + 0x1af], 0
js 0x140022995
mov rcx, r12
mov dl, 1
call fcn.14003c580
mov qword [rsp + 0x38], rax
test esi, esi
je 0x140022834
inc esi
cmp qword [rsp + 0x38], 0xffffffffffffffff
je 0x14002272b
cmp qword [rsp + 0x38], 0xffffffffffffffff
jne 0x1400223a9
lea rdx, str..._.._third_party_crashpad_crashpad_client_crashpad_client_win.cc
lea rdi, [rsp + 0x1e0]
mov rcx, rdi
mov r8d, 0x12d
call fcn.140163f80
mov rcx, rdi
call fcn.140163fa0
lea rdx, str.CreateNamedPipe
mov r8d, 0xf
mov rcx, rax
call fcn.1400d6670
mov rcx, rdi
call fcn.140163fb0
mov qword [rsp + 0x38], 0xffffffffffffffff
jmp 0x1400223a9
mov rax, qword [r14 + 0x10]
mov qword [rcx + 0x10], rax
movups xmm0, xmmword [r14]
movups xmmword [rcx], xmm0
jmp 0x1400224b9
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
lea r8, [0x1401643d0]
xor ecx, ecx
xor edx, edx
mov r9, rbx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rsi, rax
mov rcx, qword [r12 + 0x20]
test rcx, rcx
je 0x1400228df
cmp rcx, rsi
je 0x1400229a7
test rcx, rcx
jne 0x1400229ac
mov qword [r12 + 0x20], rsi
mov dil, 1
test rsi, rsi
jne 0x140022694
mov ecx, 2
call fcn.1400e8860
test al, al
je 0x140022950
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x20], eax
lea rdx, str..._.._third_party_crashpad_crashpad_client_crashpad_client_win.cc
lea rsi, [rsp + 0x50]
mov rcx, rsi
mov r8d, 0x291
mov r9d, 2
call fcn.1401438e0
lea rcx, [rsp + 0x60]
lea rdx, [0x1401de628]
mov r8d, 0xc
call fcn.1400d6670
mov rcx, rsi
call fcn.1401439d0
mov qword [0x1402004e8], 2
xor edi, edi
jmp 0x140022694
mov rax, qword [r12 + 0x10]
mov qword [rcx + 0x10], rax
movups xmm0, xmmword [r12]
movups xmmword [rcx], xmm0
jmp 0x14002265b
add rbx, 0x90
mov rcx, rbx
call fcn.1401261c0
mov rcx, qword [r12]
call fcn.1400f0498
jmp 0x1400227c2
mov rcx, qword [rsp + 0x198]
call fcn.1400f0498
jmp 0x140022813
call fcn.1400f1940
call fcn.14003c1e0
jmp 0x1400228e8