Function at 0x140036480
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 rbp, qword [rsp + 0x288]
mov rax, qword [0x140121038]
xor rax, rsp
mov qword [rsp + 0x1f8], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea r12, [rsp + 0x1e0]
mov qword [r12 + 0x10], rax
movaps xmm0, xmmword [0x1400fc100]
movaps xmmword [r12], xmm0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
lea rdx, str..pipecrashpad__lu_
mov rcx, r12
mov r8d, eax
call fcn.140072d50
mov r15d, 0xfffffffc
lea r13, [rsp + 0x198]
xorps xmm6, xmm6
lea r14, [rsp + 0x58]
lea rbx, [rsp + 0x1d0]
mov rcx, r13
call fcn.14004cb40
movzx r9d, byte [rsp + 0x1f7]
test r9b, r9b
cmovs r9, qword [rsp + 0x1e8]
mov r8, qword [rsp + 0x1e0]
cmovns r8, r12
mov rcx, r13
xor edx, edx
call fcn.140061ee0
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]
test cl, cl
cmovs rcx, qword [rsp + 0x1b8]
mov rax, qword [rsp + 0x1b0]
lea rdx, [rsp + 0x1b0]
cmovns rax, rdx
mov qword [rsp + 0x1d0], rax
mov qword [rsp + 0x1d8], rcx
test rcx, rcx
js 0x140036a2a
je 0x1400365c0
test rax, rax
je 0x140036a3d
mov rcx, r14
mov rdx, rbx
call fcn.140067150
cmp byte [rsi + 0x17], 0
js 0x140036a50
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 0x140036609
mov rcx, qword [rsp + 0x1b0]
call fcn.140085b34
cmp byte [rsp + 0x1af], 0
js 0x140036a5d
mov rcx, rsi
mov dl, 1
call fcn.14004c700
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x14003663a
lea eax, [r15 + 1]
test r15d, r15d
mov r15d, eax
jne 0x140036520
cmp rdi, 0xffffffffffffffff
je 0x140036aa2
cmp byte [rsp + 0x1f7], 0
jns 0x14003665b
mov rcx, qword [rsp + 0x1e0]
call fcn.140085b34
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 r14, qword [sym.imp.KERNEL32.dll_CreateEventW]
mov rcx, rbx
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call r14
mov qword [0x140123188], rax
mov rcx, rbx
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call r14
mov qword [0x140123194], rax
mov rcx, rbx
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call r14
mov qword [0x14012319c], rax
lea rcx, [0x140133618]
call fcn.14004cde0
mov ecx, 8
call fcn.140085af8
mov rbx, rax
mov rcx, rax
call fcn.1400725c0
mov qword [0x140133640], rbx
lea rcx, [fcn.1400d6de0]
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rdx, [0x140038200]
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_AddVectoredExceptionHandler]
mov rbx, rax
mov rcx, qword [rsi + 0x38]
test rcx, rcx
je 0x140036720
cmp rcx, rbx
je 0x140036a25
test rcx, rcx
jne 0x140036a1b
mov qword [rsi + 0x38], rbx
lea rdx, [0x1400d6f40]
mov ecx, 0x16
call fcn.1400a4150
mov ecx, 0xd8
call fcn.140085af8
mov r12, rax
mov rcx, rax
mov rdx, qword [rsp + 0x38]
call fcn.140069bd0
lea rcx, [r12 + 0x18]
mov rdx, qword [rsp + 0x40]
call fcn.140069bd0
lea rcx, [r12 + 0x30]
mov rdx, qword [rsp + 0x48]
call fcn.140069bd0
lea rcx, [r12 + 0x48]
mov r8, qword [rsp + 0x280]
cmp byte [r8 + 0x17], 0
jns 0x140036a7b
mov rdx, qword [r8]
mov r8, qword [r8 + 8]
call fcn.140061df0
lea rbx, [r12 + 0x68]
xorps xmm6, xmm6
movups xmmword [r12 + 0x68], xmm6
mov qword [r12 + 0x60], rbx
mov r13, qword [rbp]
add rbp, 8
cmp r13, rbp
je 0x1400367fc
lea r14, [r12 + 0x60]
lea r15, [rsp + 0x58]
lea r9, [r13 + 0x20]
mov qword [rsp + 0x20], r9
mov rcx, r14
mov rdx, r15
mov r8, rbx
call fcn.140038350
mov rcx, qword [r13 + 8]
test rcx, rcx
jne 0x14003696b
mov rax, qword [r13 + 0x10]
cmp qword [rax], r13
mov r13, rax
jne 0x1400367e8
mov r13, rax
cmp rax, rbp
jne 0x1400367c4
movups xmmword [r12 + 0x78], xmm6
mov qword [r12 + 0x88], 0
mov rax, qword [rsp + 0x290]
mov r15, qword [rax]
mov r13, qword [rax + 8]
mov r14, r13
sub r14, r15
je 0x1400368ac
mov rax, r14
sar rax, 3
movabs rcx, 0xaaaaaaaaaaaaaaab
imul rcx, rax
movabs rax, 0xaaaaaaaaaaaaaaa
cmp rcx, rax
ja 0x140036a6f
mov rcx, r14
call fcn.140085af8
mov rbx, rax
mov qword [r12 + 0x78], rax
mov qword [r12 + 0x80], rax
add rax, r14
mov qword [r12 + 0x88], rax
test rbx, rbx
je 0x140036a08
cmp byte [r15 + 0x17], 0
js 0x14003697c
mov rax, qword [r15 + 0x10]
mov qword [rbx + 0x10], rax
movups xmm0, xmmword [r15]
movups xmmword [rbx], xmm0
add r15, 0x18
add rbx, 0x18
cmp r15, r13
jne 0x140036874
mov qword [r12 + 0x80], rbx
xorps xmm0, xmm0
movups xmmword [r12 + 0x90], xmm0
mov qword [r12 + 0xa0], 0
mov rax, qword [rsp + reloc.SHELL32.dll_IsUserAnAdmin]
mov rbx, qword [rax]
mov r13, qword [rax + 8]
mov r15, r13
sub r15, rbx
jne 0x140036990
mov rcx, r12
add rcx, 0xa8
cmp byte [rsi + 0x17], 0
jns 0x140036a8f
mov rdx, qword [rsi]
mov r8, qword [rsi + 8]
call fcn.140063310
mov cl, byte [rsp + 0x2a0]
lea rax, [0x1400fafc8]
mov qword [r12 + 0xc0], rax
mov qword [r12 + 0xc8], rdi
mov byte [r12 + 0xd0], 0
test cl, cl
jne 0x140036af2
lea rcx, [rsp + 0x50]
mov qword [rcx], r12
call fcn.140036c10
mov edi, eax
mov rcx, qword [rsp + 0x1f8]
xor rcx, rsp
call fcn.140087020
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, rcx
mov rcx, qword [rcx]
test rcx, rcx
je 0x1400367f4
jmp 0x14003696b
mov rdx, qword [r15]
mov r8, qword [r15 + 8]
mov rcx, rbx
call fcn.140061df0
jmp 0x140036897
mov rax, r15
sar rax, 3
movabs rcx, 0xaaaaaaaaaaaaaaab
imul rcx, rax
movabs rax, 0xaaaaaaaaaaaaaaa
cmp rcx, rax
ja 0x140036ba3
mov rcx, r15
call fcn.140085af8
mov r14, rax
mov qword [r12 + 0x90], rax
mov qword [r12 + 0x98], rax
add rax, r15
mov qword [r12 + 0xa0], rax
test r14, r14
je 0x140036a08
mov rcx, r14
mov rdx, rbx
call fcn.140069bd0
add rbx, 0x18
add r14, 0x18
cmp rbx, r13
jne 0x1400369de
mov qword [r12 + 0x98], r14
jmp 0x1400368df
lea rcx, [0x1400fc149]
lea rdx, str....._third_partylibc_srcinclude__memoryconstruct_at.h:40:_assertion___location___nullptr_failed:_null_pointer_given_to_construct_at_n
call fcn.1400bcb80
call fcn.1400de690
jmp 0x140036729
call fcn.14009e900
lea rcx, [0x1400fc149]
lea rdx, str....._third_partylibc_srcinclude_string_view:314:_assertion___len___static_cast_size_type__numeric_limits_difference_type_::max____failed:_string_view::string_view__CharT___size_t_:_length_does_not_fit_in_difference_type_n
call fcn.1400bcb80
lea rcx, [0x1400fc149]
lea rdx, str....._third_partylibc_srcinclude_string_view:316:_assertion___len__0____s___nullptr_failed:_string_view::string_view__CharT___size_t_:_received_nullptr_n
call fcn.1400bcb80
mov rcx, qword [rsi]
call fcn.140085b34
jmp 0x1400365d5
mov rcx, qword [rsp + 0x198]
call fcn.140085b34
jmp 0x140036617
add r12, 0x78
mov rcx, r12
call fcn.1400bc9e0
mov rax, qword [r8 + 0x10]
mov qword [rcx + 0x10], rax
movups xmm0, xmmword [r8]
movups xmmword [rcx], xmm0
jmp 0x14003679a
mov rax, qword [rsi + 0x10]
mov qword [rcx + 0x10], rax
movups xmm0, xmmword [rsi]
movups xmmword [rcx], xmm0
jmp 0x1400368ff
lea rdx, str.CreatePipe
lea r8, str....._third_partycrashpadcrashpadclientcrashpad_client_win.cc
lea rbx, [rsp + 0x58]
mov rcx, rbx
mov r9d, 0x145
call fcn.14006dcd0
lea r12, [rsp + 0x1b0]
mov rcx, r12
mov rdx, rbx
call fcn.1400d59d0
lea rdx, str.CreateNamedPipe
mov rcx, r12
call fcn.1400d7380
mov rcx, r12
call fcn.140030240
jmp 0x140036644
lea rdi, [rsi + 0x18]
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
lea r8, [0x1400d6d80]
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.140036bc0
mov dil, 1
cmp qword [rsi + 0x20], 0
jne 0x14003693d
mov ecx, 2
call fcn.140070d70
test al, al
jne 0x140036b59
mov qword [0x140133648], 2
xor edi, edi
jmp 0x14003693d
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, 0x293
mov r9d, 2
call fcn.1400d8610
lea rcx, [rsp + 0x68]
lea rdx, [0x140101b88]
mov r8d, 0xc
call fcn.1400bc4d0
mov rcx, rsi
call fcn.1400d8690
jmp 0x140036b47
add r12, 0x90
mov rcx, r12
call fcn.1400bc9e0
int3