Function at 0x14005b6e0
Capabilities:
Create thread

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x228
movaps xmmword [rsp + 0x210], xmm6
mov qword [rsp + 0x38], r9
mov qword [rsp + 0x58], r8
mov qword [rsp + 0x50], rdx
mov rsi, rcx
mov rbp, qword [rsp + 0x298]
mov rax, qword [0x1402cb038]
xor rax, rsp
mov qword [rsp + 0x208], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rbx, [rsp + 0x1f0]
mov qword [rbx + 0x10], rax
movaps xmm0, xmmword [0x14029ca60]
movaps xmmword [rbx], xmm0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
lea rdx, str..pipecrashpad__lu_
mov rcx, rbx
mov r8d, eax
call fcn.140172990
mov r12d, 0xfffffffc
lea r13, [rsp + 0x1a8]
xorps xmm6, xmm6
lea r15, [rsp + 0x68]
lea r14, [rsp + 0x1e0]
mov rcx, r13
call fcn.14005c020
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, rbx
mov rcx, r13
xor edx, edx
call fcn.1401b5e50
mov rcx, qword [rax + 0x10]
mov qword [rsp + 0x1d0], rcx
movups xmm0, xmmword [rax]
movaps xmmword [rsp + 0x1c0], xmm0
movups xmmword [rax], xmm6
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 0x14005bdcf
test rcx, rcx
jne 0x14005b82a
test rax, rax
jne 0x14005bdd2
mov rcx, r15
mov rdx, r14
call fcn.140172cd0
cmp byte [rsi + 0x17], 0
js 0x14005bde7
mov rax, qword [rsp + 0x78]
mov qword [rsi + 0x10], rax
movups xmm0, xmmword [rsp + 0x68]
movups xmmword [rsi], xmm0
mov byte [rsp + 0x7f], 0
mov word [rsp + 0x68], 0
cmp byte [rsp + 0x1d7], 0
jns 0x14005b873
mov rcx, qword [rsp + 0x1c0]
call fcn.1401cbbbc
cmp byte [rsp + 0x1bf], 0
js 0x14005bdf4
mov rcx, rsi
mov dl, 1
call fcn.1400513b0
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x14005b8a5
lea eax, [r12 + 1]
test r12d, r12d
mov r12d, eax
jne 0x14005b77d
cmp rdi, 0xffffffffffffffff
je 0x14005be20
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x48], rsi
cmp byte [rsp + 0x207], 0
jns 0x14005b8d0
mov rcx, qword [rsp + 0x1f0]
call fcn.1401cbbbc
xorps xmm0, xmm0
lea rbx, [rsp + 0x1f0]
movaps xmmword [rbx], xmm0
xor esi, esi
mov qword [rbx + 0x10], rsi
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 [0x1402daa48], rax
mov rcx, rbx
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call rdi
mov qword [0x1402daa50], rax
mov rcx, rbx
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call rdi
mov qword [0x1402daa60], rax
lea rcx, [0x1402e60d0]
call fcn.14005be70
mov ecx, 8
call fcn.1401cbbc4
mov qword [rax], rsi
mov qword [0x1402e60f8], rax
lea rcx, [fcn.140259040]
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rdx, [0x14012ffa0]
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_AddVectoredExceptionHandler]
mov rbx, rax
mov rsi, qword [rsp + 0x48]
mov rcx, qword [rsi + 0x38]
test rcx, rcx
je 0x14005b98d
cmp rcx, rbx
je 0x14005bde2
test rcx, rcx
jne 0x14005bdd5
mov qword [rsi + 0x38], rbx
lea rdx, [0x1402591a0]
mov ecx, 0x16
call fcn.1401ccd64
mov ecx, 0xd8
call fcn.1401cbbc4
mov rbx, rax
mov rcx, rax
mov rdx, qword [rsp + 0x50]
call fcn.1401ad220
lea rcx, [rbx + 0x18]
mov rdx, qword [rsp + 0x58]
call fcn.1401ad220
lea rcx, [rbx + 0x30]
mov rdx, qword [rsp + 0x38]
call fcn.1401ad220
lea rcx, [rbx + 0x48]
mov r8, qword [rsp + 0x290]
cmp byte [r8 + 0x17], 0
jns 0x14005be0c
mov rdx, qword [r8]
mov r8, qword [r8 + 8]
call fcn.140009ad0
lea r14, [rbx + 0x68]
xorps xmm6, xmm6
movups xmmword [rbx + 0x68], xmm6
mov qword [rbx + 0x60], r14
mov rsi, qword [rbp]
add rbp, 8
cmp rsi, rbp
je 0x14005ba61
lea r15, [rbx + 0x60]
lea r12, [rsp + 0x68]
lea r9, [rsi + 0x20]
mov qword [rsp + 0x20], r9
mov rcx, r15
mov rdx, r12
mov r8, r14
call fcn.140008790
mov rcx, qword [rsi + 8]
test rcx, rcx
jne 0x14005baeb
mov rax, qword [rsi + 0x10]
cmp qword [rax], rsi
mov rsi, rax
jne 0x14005ba4d
mov rsi, rax
cmp rax, rbp
jne 0x14005ba29
movups xmmword [rbx + 0x78], xmm6
mov qword [rbx + 0x88], 0
mov rax, qword [rsp + 0x2a0]
mov rbp, qword [rax]
mov rdi, qword [rax + 8]
mov rsi, rdi
sub rsi, rbp
movabs r13, 0xaaaaaaaaaaaaaaab
mov rcx, rdi
movabs rdx, 0xaaaaaaaaaaaaaaa
sub rcx, rbp
je 0x14005bbe6
sar rsi, 3
imul rsi, r13
cmp rsi, rdx
ja 0x14005be06
call fcn.1401cbbc4
mov r14, rax
mov qword [rbx + 0x78], rax
mov qword [rbx + 0x80], rax
lea rax, [rsi + rsi*2]
lea rax, [r14 + rax*8]
mov qword [rbx + 0x88], rax
xor esi, esi
movabs r8, 0x7ffffffffffffff7
mov qword [rsp + 0x38], rdi
jmp 0x14005bb54
mov rax, rcx
mov rcx, qword [rcx]
test rcx, rcx
je 0x14005ba59
jmp 0x14005baeb
mov byte [r14 + rsi + 0x17], r15b
mov rdi, r8
cmp rcx, r12
ja 0x14005bb19
lea rax, [rcx + r15]
inc rax
cmp rax, r12
ja 0x14005bd0b
inc r15
mov rdx, r12
mov r8, r15
call fcn.1401d0030
mov r8, rdi
mov rdi, qword [rsp + 0x38]
jmp 0x14005bb43
lea rax, [rsi + rbp]
mov rdx, qword [rax + 0x10]
mov qword [rcx + 0x10], rdx
movups xmm0, xmmword [rax]
movups xmmword [rcx], xmm0
lea rax, [rsi + rbp]
add rax, 0x18
add rsi, 0x18
cmp rax, rdi
je 0x14005bbd2
mov rcx, r14
add rcx, rsi
je 0x14005bdc9
cmp byte [rbp + rsi + 0x17], 0
jns 0x14005bb31
mov r12, qword [rbp + rsi]
mov r15, qword [rbp + rsi + 8]
cmp r15, 0x16
jbe 0x14005bafc
cmp r15, r8
ja 0x14005bdcc
mov rdi, r8
mov rax, r15
and rax, 0xfffffffffffffff8
add rax, 8
mov r13, r15
or r13, 7
cmp r13, 0x17
cmove r13, rax
inc r13
mov rcx, r13
call fcn.1401cbbc4
mov rcx, rax
mov qword [r14 + rsi], rax
lea rax, [rdi + 9]
or rax, r13
mov qword [r14 + rsi + 0x10], rax
mov qword [r14 + rsi + 8], r15
movabs r13, 0xaaaaaaaaaaaaaaab
mov r8, rdi
jmp 0x14005bb01
add r14, rsi
mov qword [rbx + 0x80], r14
movabs rdx, 0xaaaaaaaaaaaaaaa
xorps xmm0, xmm0
movups xmmword [rbx + 0x90], xmm0
mov qword [rbx + 0xa0], 0
mov rax, qword [rsp + 0x2b8]
mov rsi, qword [rax]
mov rdi, qword [rax + 8]
mov r15, rdi
sub r15, rsi
mov rcx, rdi
sub rcx, rsi
je 0x14005bc81
sar r15, 3
imul r15, r13
cmp r15, rdx
ja 0x14005be09
call fcn.1401cbbc4
mov r14, rax
mov qword [rbx + 0x90], rax
mov qword [rbx + 0x98], rax
lea rax, [r15 + r15*2]
lea rax, [r14 + rax*8]
mov qword [rbx + 0xa0], rax
xor r15d, r15d
mov rcx, r14
add rcx, r15
je 0x14005bddf
lea rdx, [rsi + r15]
call fcn.1401ad220
lea rax, [rsi + r15]
add rax, 0x18
add r15, 0x18
cmp rax, rdi
jne 0x14005bc51
add r14, r15
mov qword [rbx + 0x98], r14
mov rcx, rbx
add rcx, 0xa8
mov rsi, qword [rsp + 0x48]
cmp byte [rsi + 0x17], 0
jns 0x14005bd0e
mov rdx, qword [rsi]
mov r8, qword [rsi + 8]
call fcn.1400179f0
mov cl, byte [rsp + 0x2b0]
mov rdx, qword [rsp + 0x40]
lea rax, [0x14029e418]
mov qword [rbx + 0xc0], rax
mov qword [rbx + 0xc8], rdx
mov byte [rbx + 0xd0], 0
test cl, cl
jne 0x14005bd1e
lea rcx, [rsp + 0x60]
mov qword [rcx], rbx
call fcn.14005c4f0
mov edi, eax
mov rcx, qword [rsp + 0x208]
xor rcx, rsp
call fcn.1401ce5b0
mov eax, edi
movaps xmm6, xmmword [rsp + 0x210]
add rsp, 0x228
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
int3
mov rax, qword [rsi + 0x10]
mov qword [rcx + 0x10], rax
movups xmm0, xmmword [rsi]
movups xmmword [rcx], xmm0
jmp 0x14005bca2
lea rdi, [rsi + 0x18]
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
lea r8, [0x140258fe0]
xor ecx, ecx
xor edx, edx
mov r9, rbx
call qword [sym.imp.KERNEL32.dll_CreateThread]
lea rdx, [rsp + 0x68]
mov qword [rdx], rax
mov rcx, rdi
call fcn.14012ff50
mov dil, 1
cmp qword [rsi + 0x20], 0
jne 0x14005bcdd
cmp dword [0x1402e5a28], 2
jg 0x14005bdb7
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x20], eax
lea rdx, str.crashpad_client_win.cc
lea rsi, [rsp + 0x68]
mov rcx, rsi
mov r8d, 0x292
mov r9d, 2
call fcn.14023ca20
lea rcx, [rsp + 0x78]
lea rdx, [0x1402b5cf4]
mov r8d, 0xc
call fcn.140206b20
mov rcx, rsi
call fcn.14023caa0
mov qword [0x1402e6100], 2
xor edi, edi
jmp 0x14005bcdd
int3
int3
int3
int3
call fcn.140262df0
jmp 0x14005b996
int3
call fcn.1401e6290
mov rcx, qword [rsi]
call fcn.1401cbbbc
jmp 0x14005b83f
mov rcx, qword [rsp + 0x1a8]
call fcn.1401cbbbc
jmp 0x14005b881
int3
int3
mov rax, qword [r8 + 0x10]
mov qword [rcx + 0x10], rax
movups xmm0, xmmword [r8]
movups xmmword [rcx], xmm0
jmp 0x14005ba04
lea rdx, str.CreatePipe
lea r8, str.crashpad_client_win.cc
lea rbx, [rsp + 0x68]
mov rcx, rbx
mov r9d, 0x144
call fcn.140158eb0
lea r14, [rsp + 0x1c0]
mov rcx, r14
mov rdx, rbx
call fcn.14023e730
lea rdx, str.CreateNamedPipe
mov rcx, r14
call fcn.1402586d0
mov rcx, r14
call fcn.14023e760
jmp 0x14005b8af