Function at 0x140039350
Capabilities:
Create thread

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x208
movaps xmmword [rsp + 0x1f0], xmm6
mov qword [rsp + 0x40], r9
mov qword [rsp + 0x38], r8
mov qword [rsp + 0x30], rdx
mov rsi, rcx
mov rbp, qword [rsp + 0x278]
mov rax, qword [0x140136040]
xor rax, rsp
mov qword [rsp + 0x1e8], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea r12, [rsp + 0x1d0]
mov qword [r12 + 0x10], rax
movaps xmm0, xmmword [0x1401101b0]
movaps xmmword [r12], xmm0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
lea rdx, str..pipecrashpad__lu_
mov rcx, r12
mov r8d, eax
call fcn.14007eb20
mov r15d, 0xfffffffc
lea r13, [rsp + 0x188]
xorps xmm6, xmm6
lea r14, [rsp + 0x50]
lea rbx, [rsp + 0x1c0]
mov rcx, r13
call fcn.14004c780
movsx r9, byte [rsp + 0x1e7]
test r9, r9
cmovs r9, qword [rsp + 0x1d8]
mov r8, qword [rsp + 0x1d0]
cmovns r8, r12
mov rcx, r13
xor edx, edx
call fcn.140073d00
mov rcx, qword [rax + 0x10]
mov qword [rsp + 0x1b0], rcx
movups xmm0, xmmword [rax]
movaps xmmword [rsp + 0x1a0], xmm0
movups xmmword [rax], xmm6
mov qword [rax + 0x10], 0
movsx rcx, byte [rsp + 0x1b7]
test rcx, rcx
cmovs rcx, qword [rsp + 0x1a8]
mov rax, qword [rsp + 0x1a0]
lea rdx, [rsp + 0x1a0]
cmovns rax, rdx
mov qword [rsp + 0x1c0], rax
mov qword [rsp + 0x1c8], rcx
test rcx, rcx
js 0x1400398f0
sete cl
test rax, rax
setne al
or al, cl
je 0x1400398f0
mov rcx, r14
mov rdx, rbx
call fcn.1400784a0
cmp byte [rsi + 0x17], 0
js 0x140039901
mov rax, qword [rsp + 0x60]
mov qword [rsi + 0x10], rax
movups xmm0, xmmword [rsp + 0x50]
movups xmmword [rsi], xmm0
mov byte [rsp + 0x67], 0
mov word [rsp + 0x50], 0
cmp byte [rsp + 0x1b7], 0
jns 0x1400394e1
mov rcx, qword [rsp + 0x1a0]
call fcn.140091090
cmp byte [rsp + 0x19f], 0
js 0x14003990e
mov rcx, rsi
mov dl, 1
call fcn.14004c340
mov rdi, rax
cmp rax, 0xffffffffffffffff
setne al
test r15d, r15d
sete cl
or cl, al
inc r15d
cmp cl, 1
jne 0x1400393f0
cmp rdi, 0xffffffffffffffff
je 0x140039953
cmp byte [rsp + 0x1e7], 0
jns 0x140039538
mov rcx, qword [rsp + 0x1d0]
call fcn.140091090
xorps xmm0, xmm0
lea rbx, [rsp + 0x1d0]
movaps xmmword [rbx], xmm0
xor r14d, r14d
mov qword [rbx + 0x10], r14
mov dword [rbx], 0x18
mov dword [rbx + 0x10], 1
mov r15, qword [sym.imp.KERNEL32.dll_CreateEventW]
mov rcx, rbx
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call r15
mov qword [0x1401381f0], rax
mov rcx, rbx
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call r15
mov qword [0x140138204], rax
mov rcx, rbx
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call r15
mov qword [0x14013820c], rax
lea rcx, [0x140148728]
call fcn.14004c9b0
mov ecx, 8
call fcn.140091050
mov rbx, rax
mov qword [rax], r14
mov rcx, rax
call fcn.140083bd0
mov qword [0x140148750], rbx
lea rcx, [fcn.1400ef420]
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rdx, [0x14003b720]
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 0x1400398f2
test rcx, rcx
jne 0x1400398f7
mov qword [rsi + 0x38], rbx
lea rdx, [0x1400ef580]
mov ecx, 0x16
call fcn.1400b06a0
mov ecx, 0xd8
call fcn.140091050
mov r12, rax
mov rcx, rax
mov rdx, qword [rsp + 0x30]
call fcn.14007aa00
lea rcx, [r12 + 0x18]
mov rdx, qword [rsp + 0x38]
call fcn.14007aa00
lea rcx, [r12 + 0x30]
mov rdx, qword [rsp + 0x40]
call fcn.14007aa00
lea rcx, [r12 + 0x48]
mov r8, qword [rsp + 0x270]
cmp byte [r8 + 0x17], 0
jns 0x14003992c
mov rdx, qword [r8]
mov r8, qword [r8 + 8]
call fcn.140073c50
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 0x1400396e4
lea r14, [r12 + 0x60]
lea r15, [rsp + 0x50]
lea r9, [r13 + 0x20]
mov qword [rsp + 0x20], r9
mov rcx, r14
mov rdx, r15
mov r8, rbx
call fcn.14003b870
mov rcx, qword [r13 + 8]
test rcx, rcx
jne 0x140039853
mov rax, qword [r13 + 0x10]
cmp qword [rax], r13
mov r13, rax
jne 0x1400396d0
mov r13, rax
cmp rax, rbp
jne 0x1400396ac
movups xmmword [r12 + 0x78], xmm6
mov qword [r12 + 0x88], 0
mov rax, qword [rsp + 0x280]
mov r15, qword [rax]
mov r13, qword [rax + 8]
mov r14, r13
sub r14, r15
je 0x140039794
mov rax, r14
sar rax, 3
movabs rcx, 0xaaaaaaaaaaaaaaab
imul rcx, rax
movabs rax, 0xaaaaaaaaaaaaaaa
cmp rcx, rax
ja 0x140039920
mov rcx, r14
call fcn.140091050
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 0x1400398f0
cmp byte [r15 + 0x17], 0
js 0x140039864
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 0x14003975c
mov qword [r12 + 0x80], rbx
xorps xmm0, xmm0
movups xmmword [r12 + 0x90], xmm0
mov qword [r12 + 0xa0], 0
mov rax, qword [rsp + 0x298]
mov rbx, qword [rax]
mov r13, qword [rax + 8]
mov r15, r13
sub r15, rbx
jne 0x140039878
mov rcx, r12
add rcx, 0xa8
cmp byte [rsi + 0x17], 0
jns 0x140039940
mov rdx, qword [rsi]
mov r8, qword [rsi + 8]
call fcn.140074cb0
mov cl, byte [rsp + 0x290]
lea rax, [0x140111600]
mov qword [r12 + 0xc0], rax
mov qword [r12 + 0xc8], rdi
mov byte [r12 + 0xd0], 0
test cl, cl
jne 0x1400399a3
lea rcx, [rsp + 0x48]
mov qword [rcx], r12
call fcn.140039ac0
mov edi, eax
mov rcx, qword [rsp + 0x1e8]
xor rcx, rsp
call fcn.140092400
mov eax, edi
movaps xmm6, xmmword [rsp + 0x1f0]
add rsp, 0x208
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 0x1400396dc
jmp 0x140039853
mov rdx, qword [r15]
mov r8, qword [r15 + 8]
mov rcx, rbx
call fcn.140073c50
jmp 0x14003977f
mov rax, r15
sar rax, 3
movabs rcx, 0xaaaaaaaaaaaaaaab
imul rcx, rax
movabs rax, 0xaaaaaaaaaaaaaaa
cmp rcx, rax
ja 0x140039a52
mov rcx, r15
call fcn.140091050
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 0x1400398f0
mov rcx, r14
mov rdx, rbx
call fcn.14007aa00
add rbx, 0x18
add r14, 0x18
cmp rbx, r13
jne 0x1400398c6
mov qword [r12 + 0x98], r14
jmp 0x1400397c7
ud2
call fcn.1400a984c
call fcn.1400f8640
jmp 0x140039611
mov rcx, qword [rsi]
call fcn.140091090
jmp 0x1400394ad
mov rcx, qword [rsp + 0x188]
call fcn.140091090
jmp 0x1400394ef
add r12, 0x78
mov rcx, r12
call fcn.1400d1210
mov rax, qword [r8 + 0x10]
mov qword [rcx + 0x10], rax
movups xmm0, xmmword [r8]
movups xmmword [rcx], xmm0
jmp 0x140039682
mov rax, qword [rsi + 0x10]
mov qword [rcx + 0x10], rax
movups xmm0, xmmword [rsi]
movups xmmword [rcx], xmm0
jmp 0x1400397e7
lea rdx, str.CreatePipe
lea r8, str....._third_partycrashpadcrashpadclientcrashpad_client_win.cc
lea rbx, [rsp + 0x50]
mov rcx, rbx
mov r9d, 0x145
call fcn.14007a8c0
lea r12, [rsp + 0x1a0]
mov rcx, r12
mov rdx, rbx
call fcn.1400ed350
lea rdx, str.CreateNamedPipe
mov rcx, r12
call fcn.1400ef9b0
mov rcx, r12
call fcn.1400ed400
jmp 0x140039521
lea rdi, [rsi + 0x18]
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
lea r8, [0x1400ef3c0]
xor ecx, ecx
xor edx, edx
mov r9, r12
call qword [sym.imp.KERNEL32.dll_CreateThread]
lea rdx, [rsp + 0x50]
mov qword [rdx], rax
mov rcx, rdi
call fcn.140039a70
mov dil, 1
cmp qword [rsi + 0x20], 0
jne 0x140039825
mov ecx, 2
call fcn.1400795d0
test al, al
je 0x140039a40
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, 0x293
mov r9d, 2
call fcn.1400eb7f0
lea rcx, [rsp + 0x60]
lea rdx, [0x140118b38]
mov r8d, 0xc
call fcn.14001e3f0
mov rcx, rsi
call fcn.1400eb860
mov qword [0x140148758], 2
xor edi, edi
jmp 0x140039825
add r12, 0x90
mov rcx, r12
call fcn.1400d1210
int3