Function at 0x1402a6e5c
Capabilities:
Resume thread
Suspend thread

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x2f8
movaps xmmword [rsp + 0x2e0], xmm7
movaps xmmword [rsp + 0x2d0], xmm6
mov byte [rsp + 0x2f], dl
mov rdi, rcx
mov rax, qword [0x14033f038]
xor rax, rsp
mov qword [rsp + 0x2c8], rax
mov r14, qword [rcx]
lea r15, [rsp + 0xe8]
mov dword [r15], 0xaaaaaaaa
mov ecx, 0x4000
call fcn.14016f248
mov rsi, rax
mov r12d, 0x4000
mov r13d, 0x14
mov ebx, 0x1000
mov ecx, 5
mov rdx, rsi
mov r8d, r12d
mov r9, r15
call fcn.14022eab9
mov ebp, eax
cmp eax, 0xc0000023
je 0x1402a6ef0
cmp ebp, 0xc0000004
jne 0x1402a6fb7
mov r12d, dword [rsp + 0xe8]
add r12d, ebx
test rsi, rsi
je 0x1402a6f08
mov rcx, rsi
call fcn.14016efec
mov ecx, r12d
call fcn.14016f248
mov rsi, rax
dec r13d
jne 0x1402a6ec8
cmp dword [0x140352b00], 2
jg 0x1402a6f76
lea rdx, str....._third_partycrashpadcrashpad_snapshotwinprocess_reader_win.cc
lea rdi, [rsp + 0x180]
mov rcx, rdi
mov r8d, 0x66
mov r9d, 2
call fcn.1400d3710
lea rax, [0x1402fe600]
mov qword [rdi], rax
mov dword [rdi + 0x138], ebp
lea rcx, [rsp + 0x190]
lea rdx, str.NtQuerySystemInformation
mov r8d, 0x18
call fcn.14015f6d6
mov rcx, rdi
call fcn.140260c14
test rsi, rsi
je 0x1402a6f83
mov rcx, rsi
call fcn.14016efec
mov rcx, qword [rsp + 0x2c8]
xor rcx, rsp
call fcn.140171860
movaps xmm6, xmmword [rsp + 0x2d0]
movaps xmm7, xmmword [rsp + 0x2e0]
add rsp, 0x2f8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
test ebp, ebp
js 0x1402a6f18
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetProcessId]
mov ebp, eax
mov r13, rsi
cmp dword [r13 + 0x50], ebp
je 0x1402a7057
mov eax, dword [r13]
test rax, rax
je 0x1402a6fe5
add r13, rax
jne 0x1402a6fcd
cmp dword [0x140352b00], 2
jg 0x1402a6f76
lea rdx, str....._third_partycrashpadcrashpad_snapshotwinprocess_reader_win.cc
lea rdi, [rsp + 0x180]
mov rcx, rdi
mov r8d, pe_nt_image_headers64
mov r9d, 2
call fcn.1400d3710
lea rcx, [rsp + 0x190]
lea rdx, str.process
mov r8d, 8
call fcn.14015f6d6
mov rcx, rax
mov edx, ebp
call fcn.1401235d4
lea rdx, str._not_found
mov r8d, 0xa
mov rcx, rax
call fcn.14015f6d6
mov rcx, rdi
call fcn.140169410
jmp 0x1402a6f76
test r13, r13
je 0x1402a6f76
cmp dword [r13 + 4], 0
je 0x1402a6f76
movabs rbx, 0xaaaaaaaaaaaaaaaa
lea r12, [rsp + 0xf0]
lea r15, [r13 + 0x128]
movaps xmm6, xmmword [0x140301d60]
xorps xmm7, xmm7
xor r14d, r14d
mov qword [r12 + 0x50], rbx
movups xmmword [r12 + 0x40], xmm6
movups xmmword [r12 + 0x30], xmm6
movups xmmword [r12 + 0x20], xmm6
movups xmmword [r12 + 0x10], xmm6
movups xmmword [r12], xmm6
xor eax, eax
mov qword [rsp + 0xe8], rax
mov byte [rsp + 0xf0], 0
movups xmmword [r12 + 0x44], xmm7
movups xmmword [r12 + 0x38], xmm7
movups xmmword [r12 + 0x28], xmm7
movups xmmword [r12 + 0x18], xmm7
movups xmmword [r12 + 8], xmm7
mov qword [r12 + 0x88], rax
movups xmmword [r12 + 0x78], xmm7
movups xmmword [r12 + 0x68], xmm7
movups xmmword [r12 + 0x58], xmm7
mov rax, qword [r15 + 8]
mov qword [rsp + 0x110], rax
mov qword [rsp + 0xb0], rbx
movaps xmmword [rsp + 0x70], xmm6
movaps xmmword [rsp + 0x80], xmm6
mov dword [rsp + 0x70], 0x30
lea rax, [rsp + 0x78]
movups xmmword [rax], xmm7
mov dword [rax + 0x10], 0
movups xmmword [rax + 0x18], xmm7
lea rcx, [rsp + 0xb0]
mov edx, 0x4a
lea r8, [rsp + 0x70]
mov r9, r15
call fcn.14022ea1f
test eax, eax
js 0x1402a71c9
mov rbp, qword [rsp + 0xb0]
test rbp, rbp
jne 0x1402a7250
lea rcx, str.Microsoft.ProcessSnapshotInitMilestone
mov edx, 0xc
mov r8d, 0xf
call fcn.14014a1d0
cmp byte [rsp + 0x17f], 0
jns 0x1402a7196
mov rcx, qword [rsp + 0x168]
call fcn.14016eccc
mov rcx, qword [rsp + 0xf8]
test rcx, rcx
je 0x1402a71b0
mov qword [rsp + 0x100], rcx
call fcn.14016eccc
inc r14
mov eax, dword [r13 + 4]
add r15, 0x50
cmp r14, rax
jb 0x1402a7091
jmp 0x1402a6f76
mov qword [rsp + 0x30], r15
mov r15, r14
mov r14, r12
mov r12, rbx
cmp dword [0x140352b00], 2
jg 0x1402a723d
mov ebp, eax
lea rbx, [rsp + 0x180]
mov rcx, rbx
lea rdx, str....._third_partycrashpadcrashpad_snapshotwinprocess_reader_win.cc
mov r8d, 0x87
mov r9d, 2
call fcn.1400d3710
lea rax, [0x1402fe600]
mov qword [rsp + 0x180], rax
mov dword [rsp + 0x2b8], ebp
mov r8d, 0xc
lea rcx, [rsp + 0x190]
lea rdx, str.NtOpenThread
call fcn.14015f6d6
mov rcx, rbx
call fcn.140260c14
mov rbx, r12
mov r12, r14
mov r14, r15
mov r15, qword [rsp + 0x30]
jmp 0x1402a7168
mov bl, byte [rdi + 0x160]
mov rax, qword [rsp + 0x110]
mov rcx, qword gs:[0x30]
cmp rax, qword [rcx + 0x48]
jne 0x1402a73a9
mov dword [rsp + 0x138], 0
lea rcx, [rsp + 0xe8]
call fcn.1402a65f6
movabs rbx, 0xaaaaaaaaaaaaaaaa
mov dword [rsp + 0x13c], 0x20
mov eax, dword [r15 + 0x10]
mov dword [rsp + 0x140], eax
movaps xmmword [rsp + 0xd0], xmm6
movaps xmmword [rsp + 0xc0], xmm6
movaps xmmword [rsp + 0xb0], xmm6
mov qword [rsp + 0x20], 0
mov rcx, rbp
xor edx, edx
lea r8, [rsp + 0xb0]
mov r9d, 0x30
call fcn.14022eb51
test eax, eax
js 0x1402a745d
lea rcx, [rdi + 0x90]
mov qword [rsp + 0xa0], rbx
movaps xmmword [rsp + 0x90], xmm6
movaps xmmword [rsp + 0x80], xmm6
movaps xmmword [rsp + 0x70], xmm6
mov rdx, qword [rsp + 0xb8]
mov qword [rsp + 0x118], rdx
mov qword [rsp + 0x120], 0x1788
mov r8d, 0x38
mov qword [rsp + 0x38], rcx
lea r9, [rsp + 0x70]
call fcn.14025bb98
test al, al
je 0x1402a7716
mov qword [rsp + 0x30], r15
cmp byte [rsp + 0x2f], 0
je 0x1402a765e
lea rbx, [rsp + 0x180]
movups xmmword [rbx + 0xc], xmm6
movaps xmmword [rbx], xmm6
mov rdx, qword [rsp + 0x70]
mov qword [rsp + 0x118], rdx
mov qword [rsp + 0x120], 0x1788
mov r8d, 0x1c
mov rcx, qword [rsp + 0x38]
mov r9, rbx
call fcn.14025bb98
mov edx, dword [rbx + 4]
mov ebx, dword [rbx + 8]
xor ecx, ecx
test al, al
cmove rdx, rcx
cmove rbx, rcx
jmp 0x1402a766b
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
jne 0x1402a74ef
cmp dword [0x140352b00], 2
movabs rbx, 0xaaaaaaaaaaaaaaaa
jg 0x1402a7439
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x20], eax
mov qword [rsp + 0x30], r15
mov r15, r14
mov r14, r12
mov r12, rbx
lea rbx, [rsp + 0x180]
mov rcx, rbx
lea rdx, str....._third_partycrashpadcrashpad_snapshotwinprocess_reader_win.cc
mov r8d, 0xa3
mov r9d, 2
call fcn.14020a880
mov r8d, 0xd
lea rcx, [rsp + 0x190]
lea rdx, [0x140326bde]
call fcn.14015f6d6
mov rcx, rbx
mov rbx, r12
mov r12, r14
mov r14, r15
mov r15, qword [rsp + 0x30]
call fcn.14020a900
lea rcx, str.Microsoft.ProcessSnapshotInitMilestone
mov edx, 0xd
mov r8d, 0xf
call fcn.14014a1d0
mov rcx, rbp
call fcn.1400d0a94
jmp 0x1402a717f
mov dword [rsp + 0x30], eax
cmp dword [0x140352b00], 2
jg 0x1402a74c9
lea rbx, [rsp + 0x180]
mov rcx, rbx
lea rdx, str....._third_partycrashpadcrashpad_snapshotwinprocess_reader_win.cc
mov r8d, 0x1c9
mov r9d, 2
call fcn.1400d3710
lea rax, [0x1402fe600]
mov qword [rsp + 0x180], rax
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x2b8], eax
mov r8d, 0x18
lea rcx, [rsp + 0x190]
lea rdx, str.NtQueryInformationThread
call fcn.14015f6d6
mov rcx, rbx
call fcn.140260c14
lea rcx, str.Microsoft.ProcessSnapshotInitMilestone
mov edx, 0xe
mov r8d, 0xf
call fcn.14014a1d0
movabs rbx, 0xaaaaaaaaaaaaaaaa
jmp 0x1402a7450
test bl, bl
je 0x1402a758f
test eax, eax
jne 0x1402a758f
xor eax, eax
cmp dword [0x140352b00], 1
jg 0x1402a7594
cmp dword [0x1403411a8], 0
je 0x1402a7594
lea rdx, str....._third_partycrashpadcrashpad_snapshotwinprocess_reader_win.cc
lea rbx, [rsp + 0x180]
mov rcx, rbx
mov r8d, 0xa8
mov r9d, 1
call fcn.1400d3710
lea rdx, str.Thread
mov r8d, 7
lea rcx, [rsp + 0x190]
call fcn.14015f6d6
mov rdx, qword [rsp + 0x110]
mov rcx, rax
call fcn.1400edca0
lea rdx, str._should_be_suspended__but_previous_suspend_count_is
mov r8d, 0x34
mov rcx, rax
call fcn.14015f6d6
mov rcx, rax
xor edx, edx
call fcn.1401235d4
mov rcx, rbx
call fcn.140169410
xor eax, eax
jmp 0x1402a7594
movzx ecx, bl
sub eax, ecx
mov dword [rsp + 0x138], eax
cmp byte [rsp + 0x2f], 0
je 0x1402a7637
lea rcx, [rsp + 0xe8]
mov rdx, rbp
call fcn.1402a6758
test al, al
movabs rbx, 0xaaaaaaaaaaaaaaaa
je 0x1402a7439
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_ResumeThread]
test eax, eax
jne 0x1402a7293
cmp dword [0x140352b00], 2
jg 0x1402a7439
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x20], eax
lea rdx, str....._third_partycrashpadcrashpad_snapshotwinprocess_reader_win.cc
lea rcx, [rsp + 0x180]
mov r8d, 0xc7
mov r9d, 2
call fcn.14020a880
lea rdx, [0x140326c29]
mov r8d, 0xc
lea rcx, [rsp + 0x190]
call fcn.14015f6d6
lea rcx, [rsp + 0x180]
jmp 0x1402a7434
mov ecx, 0x800
call fcn.1402bdf90
lea rcx, [rsp + 0xe8]
mov rdx, rbp
test al, al
je 0x1402a7800
call fcn.1402a685e
jmp 0x1402a75b6
mov rdx, qword [rsp + 0x78]
mov rbx, qword [rsp + 0x80]
mov qword [rsp + 0x128], rbx
mov rax, rdx
sub rax, rbx
jae 0x1402a76ff
cmp dword [0x140352b00], 2
jg 0x1402a76fd
mov r15, rdx
lea rdx, str....._third_partycrashpadcrashpad_snapshotwinprocess_reader_win.cc
lea rcx, [rsp + 0x180]
mov r8d, 0x1ec
mov r9d, 2
call fcn.1400d3710
lea rdx, str.invalid_stack_range:
mov r8d, 0x15
lea rcx, [rsp + 0x190]
call fcn.14015f6d6
mov rcx, rax
mov rdx, r15
call fcn.1400edca0
lea rdx, [0x1403063e6]
mov r8d, 3
mov rcx, rax
call fcn.14015f6d6
mov rcx, rax
mov rdx, rbx
call fcn.1400edca0
lea rcx, [rsp + 0x180]
call fcn.140169410
xor eax, eax
mov qword [rsp + 0x130], rax
movabs rbx, 0xaaaaaaaaaaaaaaaa
mov r15, qword [rsp + 0x30]
mov eax, dword [0x14035d598]
mov ecx, dword [0x14034fed0]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1402a78e8
mov rax, qword [0x14035d590]
test rax, rax
je 0x1402a78ad
mov qword [rsp + 0x68], rbx
mov rcx, rbp
lea rdx, [rsp + 0x68]
call qword [case.0x140211850.0]
test eax, eax
js 0x1402a777c
mov rbx, qword [rsp + 0x68]
mov qword [rsp + 0x58], rbx
test rbx, rbx
jne 0x1402a780a
xor eax, eax
jmp 0x1402a7812
cmp dword [0x140352b00], 1
jg 0x1402a78a3
cmp dword [0x1403411a8], 0
je 0x1402a78a3
mov ebx, eax
lea r12, [rsp + 0x190]
lea rdx, str....._third_partycrashpadcrashpad_snapshotwinprocess_reader_win.cc
lea rcx, [rsp + 0x180]
mov r8d, 0x1fd
mov r9d, 1
call fcn.1400d3710
lea rdx, str.GetThreadDescription:
mov r8d, 0x16
mov rcx, r12
call fcn.14015f6d6
mov qword [rsp + 0x30], rax
lea r12, [rsp + 0x40]
mov rcx, r12
mov edx, ebx
call fcn.14020a720
movzx r8d, byte [r12 + 0x17]
test r8b, r8b
jns 0x1402a786c
mov r8, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x40]
jmp 0x1402a7873
call fcn.1402a6650
jmp 0x1402a75b6
mov rcx, rbx
call fcn.14016f5e8
lea rdx, [rsp + 0x58]
mov qword [rdx + 8], rax
lea rcx, [rsp + 0x180]
call fcn.1400673e0
cmp byte [rsp + 0x17f], 0
jns 0x1402a783f
mov rcx, qword [rsp + 0x168]
call fcn.14016eccc
mov rax, qword [rsp + 0x190]
mov qword [r12 + 0x88], rax
movups xmm0, xmmword [rsp + 0x180]
movups xmmword [r12 + 0x78], xmm0
test rbx, rbx
je 0x1402a78a3
mov rcx, rbx
call fcn.1402a55d6
jmp 0x1402a78a3
mov rdx, r12
and r8d, 0x7f
mov rcx, qword [rsp + 0x30]
call fcn.14015f6d6
cmp byte [rsp + 0x57], 0
jns 0x1402a788e
mov rcx, qword [rsp + 0x40]
call fcn.14016eccc
lea rcx, [rsp + 0x180]
call fcn.140169410
lea r12, [rsp + 0xf0]
movabs rbx, 0xaaaaaaaaaaaaaaaa
lea rcx, [rdi + 0x130]
mov rax, qword [rdi + 0x138]
cmp rax, qword [rdi + 0x140]
jne 0x1402a78d6
lea rdx, [rsp + 0xe8]
call fcn.1402a7b5a
jmp 0x1402a7450
lea rdx, [rsp + 0xe8]
call fcn.1402a7b00
jmp 0x1402a7450
lea rcx, [0x14035d598]
call fcn.14016f8b4
cmp dword [0x14035d598], 0xffffffff
jne 0x1402a773b
lea rcx, [0x140302266]
lea rdx, str.::GetThreadDescription
xor r8d, r8d
call fcn.140108be3
mov qword [0x14035d590], rax
lea rcx, [0x14035d598]
call fcn.14016ef8c
jmp 0x1402a773b