Function at 0x14005c010
Capabilities:
Create thread

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x1e8
movaps xmmword [rsp + 0x1d0], xmm6
mov qword [rsp + 0x30], r9
mov r15, r8
mov r12, rdx
mov rsi, rcx
mov rbp, qword [rsp + 0x258]
mov rax, qword [0x1402b3040]
xor rax, rsp
mov qword [rsp + 0x1c8], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rbx, [rsp + 0x1b0]
mov qword [rbx + 0x10], rax
movaps xmm0, xmmword [0x140272a70]
movaps xmmword [rbx], xmm0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
lea rdx, str..pipecrashpad__lu_
mov rcx, rbx
mov r8d, eax
call fcn.14010afa0
mov r14d, 0xfffffffc
lea r13, [rsp + 0x178]
xorps xmm6, xmm6
mov rcx, r13
call fcn.14005c920
movsx r9, byte [rsp + 0x1c7]
test r9, r9
cmovs r9, qword [rsp + 0x1b8]
mov r8, qword [rsp + 0x1b0]
cmovns r8, rbx
mov rcx, r13
xor edx, edx
call fcn.140184690
movups xmm0, xmmword [rax]
movaps xmmword [rsp + 0x190], xmm0
mov rcx, qword [rax + 0x10]
mov qword [rsp + 0x1a0], rcx
xor r8d, r8d
mov qword [rax + 0x10], r8
movups xmmword [rax], xmm6
movsx rdx, byte [rsp + 0x1a7]
test rdx, rdx
cmovs rdx, qword [rsp + 0x198]
mov rcx, qword [rsp + 0x190]
lea rax, [rsp + 0x190]
cmovns rcx, rax
movaps xmmword [rsp + 0x40], xmm6
mov qword [rsp + 0x50], r8
lea r8, [rsp + 0x40]
call fcn.14014a220
cmp byte [rsi + 0x17], 0
js 0x14005c603
mov rax, qword [rsp + 0x50]
mov qword [rsi + 0x10], rax
movaps xmm0, xmmword [rsp + 0x40]
movups xmmword [rsi], xmm0
mov byte [rsp + 0x57], 0
mov word [rsp + 0x40], 0
cmp byte [rsp + 0x1a7], 0
jns 0x14005c16b
mov rcx, qword [rsp + 0x190]
call fcn.14019aab4
cmp byte [rsp + 0x18f], 0
js 0x14005c610
mov rcx, rsi
mov dl, 1
call fcn.140056170
mov rdi, rax
cmp rax, 0xffffffffffffffff
setne al
test r14d, r14d
sete cl
or cl, al
inc r14d
cmp cl, 1
jne 0x14005c09c
cmp rdi, 0xffffffffffffffff
je 0x14005c655
cmp byte [rsp + 0x1c7], 0
jns 0x14005c1c2
mov rcx, qword [rsp + 0x1b0]
call fcn.14019aab4
xorps xmm0, xmm0
lea rbx, [rsp + 0x1b0]
movaps xmmword [rbx], xmm0
xor r14d, r14d
mov qword [rbx + 0x10], r14
mov dword [rbx], Ordinal_26
mov dword [rbx + 0x10], 1
mov r13, qword [sym.imp.KERNEL32.dll_CreateEventW]
mov rcx, rbx
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call r13
mov qword [0x1402c1810], rax
mov rcx, rbx
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call r13
mov qword [0x1402c1820], rax
mov rcx, rbx
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call r13
mov qword [0x1402c1830], rax
lea rcx, [0x1402cbeb0]
call fcn.14005c760
mov ecx, 8
call fcn.14019aa78
mov qword [rax], r14
mov qword [0x1402cbed8], rax
lea rcx, [fcn.14021ecf0]
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rdx, [0x1400c0e50]
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_AddVectoredExceptionHandler]
mov rbx, rax
mov rcx, qword [rsi + 0x38]
test rcx, rcx
setne al
cmp rcx, rbx
sete dl
and dl, al
cmp dl, 1
je 0x14005c5f4
test rcx, rcx
jne 0x14005c5f9
mov qword [rsi + 0x38], rbx
lea rdx, [0x14021ee50]
mov ecx, Ordinal_26
call fcn.14019bf38
mov ecx, reloc.WLDAP32.dll_Ordinal_216
call fcn.14019aa78
mov rbx, rax
cmp byte [r12 + 0x17], 0
jns 0x14005c51c
mov rdx, qword [r12]
mov r8, qword [r12 + 8]
mov rcx, rbx
call fcn.14014c8c0
lea rcx, [rbx + 0x18]
cmp byte [r15 + 0x17], 0
jns 0x14005c532
mov rdx, qword [r15]
mov r8, qword [r15 + 8]
call fcn.14014c8c0
lea rcx, [rbx + 0x30]
mov r8, qword [rsp + 0x30]
cmp byte [r8 + 0x17], 0
jns 0x14005c546
mov rdx, qword [r8]
mov r8, qword [r8 + 8]
call fcn.14014c8c0
lea rcx, [rbx + 0x48]
mov r8, qword [rsp + 0x250]
cmp byte [r8 + 0x17], 0
jns 0x14005c622
mov rdx, qword [r8]
mov r8, qword [r8 + 8]
call fcn.140109a60
lea r14, [rbx + 0x68]
xorps xmm6, xmm6
movups xmmword [rbx + 0x68], xmm6
mov qword [rbx + 0x60], r14
mov r13, qword [rbp]
add rbp, 8
cmp r13, rbp
je 0x14005c38a
lea r15, [rbx + 0x60]
lea r12, [rsp + 0x40]
lea r9, [r13 + 0x20]
mov qword [rsp + 0x20], r9
mov rcx, r15
mov rdx, r12
mov r8, r14
call fcn.140029160
mov rcx, qword [r13 + 8]
test rcx, rcx
jne 0x14005c4f5
mov rax, qword [r13 + 0x10]
cmp r13, qword [rax]
mov r13, rax
jne 0x14005c376
mov r13, rax
cmp rax, rbp
jne 0x14005c352
movups xmmword [rbx + 0x78], xmm6
mov qword [rbx + 0x88], 0
mov rax, qword [rsp + 0x260]
mov r12, qword [rax]
mov r13, qword [rax + 8]
mov r15, r13
sub r15, r12
je 0x14005c437
mov rax, r15
sar rax, 3
movabs rcx, 0xaaaaaaaaaaaaaaab
imul rcx, rax
movabs rax, 0xaaaaaaaaaaaaaaa
cmp rcx, rax
ja 0x14005c649
mov rcx, r15
call fcn.14019aa78
mov r14, rax
mov qword [rbx + 0x78], rax
mov qword [rbx + 0x80], rax
add rax, r15
mov qword [rbx + 0x88], rax
test r14, r14
je 0x14005c5f2
cmp byte [r12 + 0x17], 0
js 0x14005c506
mov rax, qword [r12 + 0x10]
mov qword [r14 + 0x10], rax
movups xmm0, xmmword [r12]
movups xmmword [r14], xmm0
add r12, 0x18
add r14, 0x18
cmp r12, r13
jne 0x14005c3fc
mov qword [rbx + 0x80], r14
xorps xmm0, xmm0
movups xmmword [rbx + 0x90], xmm0
mov qword [rbx + 0xa0], 0
mov rax, qword [rsp + 0x278]
mov r12, qword [rax]
mov r13, qword [rax + 8]
mov r15, r13
sub r15, r12
jne 0x14005c55a
mov rcx, rbx
add rcx, 0xa8
cmp byte [rsi + 0x17], 0
jns 0x14005c636
mov rdx, qword [rsi]
mov r8, qword [rsi + 8]
call fcn.14014c8c0
mov cl, byte [rsp + 0x270]
lea rax, [0x140274698]
mov qword [rbx + 0xc0], rax
mov qword [rbx + 0xc8], rdi
mov byte [rbx + 0xd0], 0
test cl, cl
jne 0x14005c6a5
lea rcx, [rsp + 0x38]
mov qword [rcx], rbx
call fcn.14005cb60
mov rcx, qword [rsp + 0x1c8]
xor rcx, rsp
cmp rcx, qword [0x1402b3040]
je 0x14005c4d9
call fcn.14019d280
int3
movaps xmm6, xmmword [rsp + 0x1d0]
add rsp, 0x1e8
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 0x14005c382
jmp 0x14005c4f5
mov rdx, qword [r12]
mov r8, qword [r12 + 8]
mov rcx, r14
call fcn.140109a60
jmp 0x14005c423
mov rax, qword [r12 + 0x10]
mov qword [rbx + 0x10], rax
movups xmm0, xmmword [r12]
movups xmmword [rbx], xmm0
jmp 0x14005c2cf
mov rax, qword [r15 + 0x10]
mov qword [rcx + 0x10], rax
movups xmm0, xmmword [r15]
movups xmmword [rcx], xmm0
jmp 0x14005c2ea
mov rax, qword [r8 + 0x10]
mov qword [rcx + 0x10], rax
movups xmm0, xmmword [r8]
movups xmmword [rcx], xmm0
jmp 0x14005c30a
mov rax, r15
sar rax, 3
movabs rcx, 0xaaaaaaaaaaaaaaab
imul rcx, rax
movabs rax, 0xaaaaaaaaaaaaaaa
cmp rcx, rax
ja 0x14005c74e
mov rcx, r15
call fcn.14019aa78
mov r14, rax
mov qword [rbx + 0x90], rax
mov qword [rbx + 0x98], rax
add rax, r15
mov qword [rbx + 0xa0], rax
jmp 0x14005c5c5
mov rdx, qword [r12]
mov r8, qword [r12 + 8]
mov rcx, r14
call fcn.14014c8c0
add r12, 0x18
add r14, 0x18
cmp r12, r13
je 0x14005c5e6
test r14, r14
je 0x14005c5f2
cmp byte [r12 + 0x17], 0
js 0x14005c5a7
mov rax, qword [r12 + 0x10]
mov qword [r14 + 0x10], rax
movups xmm0, xmmword [r12]
movups xmmword [r14], xmm0
jmp 0x14005c5b8
mov qword [rbx + 0x98], r14
jmp 0x14005c467
ud2
call fcn.1401b594c
call fcn.14022fd90
jmp 0x14005c290
mov rcx, qword [rsi]
call fcn.14019aab4
jmp 0x14005c137
mov rcx, qword [rsp + 0x178]
call fcn.14019aab4
jmp 0x14005c179
mov rax, qword [r8 + 0x10]
mov qword [rcx + 0x10], rax
movups xmm0, xmmword [r8]
movups xmmword [rcx], xmm0
jmp 0x14005c32d
mov rax, qword [rsi + 0x10]
mov qword [rcx + 0x10], rax
movups xmm0, xmmword [rsi]
movups xmmword [rcx], xmm0
jmp 0x14005c487
add rbx, 0x78
mov rcx, rbx
call fcn.1401daa30
lea rdx, str.CreatePipe
lea r8, str....._third_partycrashpadcrashpadclientcrashpad_client_win.cc
lea rbx, [rsp + 0x40]
mov rcx, rbx
mov r9d, 0x145
call fcn.140131450
lea r13, [rsp + 0x190]
mov rcx, r13
mov rdx, rbx
call fcn.140204670
lea rdx, str.CreateNamedPipe
mov rcx, r13
call fcn.14021e510
mov rcx, r13
call fcn.1401d7120
jmp 0x14005c1ab
lea rdi, [rsi + 0x18]
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
lea r8, [0x14021ec90]
xor ecx, ecx
xor edx, edx
mov r9, rbx
call qword [sym.imp.KERNEL32.dll_CreateThread]
lea rdx, [rsp + 0x40]
mov qword [rdx], rax
mov rcx, rdi
call fcn.1400c0e00
mov al, 1
cmp qword [rsi + 0x20], 0
jne 0x14005c4bf
cmp dword [0x1402c5570], 2
jg 0x14005c73c
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str....._third_partycrashpadcrashpadclientcrashpad_client_win.cc
lea rsi, [rsp + 0x40]
mov rcx, rsi
mov r8d, 0x293
mov r9d, 2
call fcn.140202e20
lea rcx, [rsp + 0x50]
lea rdx, [0x140291b28]
mov r8d, Ordinal_14
call fcn.140181360
mov rcx, rsi
call fcn.140202e90
mov qword [0x1402cbee0], 2
xor eax, eax
jmp 0x14005c4bf
add rbx, 0x90
mov rcx, rbx
call fcn.1401daa30
int3