Function at 0x14021dee0
Capabilities:
Resume thread
Suspend thread

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x2d8
movaps xmmword [rsp + 0x2c0], xmm7
movaps xmmword [rsp + 0x2b0], xmm6
mov byte [rsp + 0x2f], dl
mov rdi, rcx
mov rax, qword [0x140287028]
xor rax, rsp
mov qword [rsp + 0x2a8], rax
mov r14, qword [rcx]
lea r15, [rsp + 0xe8]
mov dword [r15], 0xaaaaaaaa
mov ecx, 0x4000
call fcn.140172dc0
mov rsi, rax
mov r12d, 0x4000
mov ebx, 0x14
mov r13d, 0x1000
mov ecx, 5
mov rdx, rsi
mov r8d, r12d
mov r9, r15
call fcn.140214570
mov ebp, eax
cmp eax, 0xc0000023
je 0x14021df70
cmp ebp, 0xc0000004
jne 0x14021dfea
mov r12d, dword [rsp + 0xe8]
add r12d, r13d
test rsi, rsi
je 0x14021df88
mov rcx, rsi
call fcn.140172f08
mov ecx, r12d
call fcn.140172dc0
mov rsi, rax
dec ebx
jne 0x14021df4c
mov ecx, 2
call fcn.14010ee30
test al, al
jne 0x14021e693
test rsi, rsi
je 0x14021dfb6
mov rcx, rsi
call fcn.140172f08
mov rcx, qword [rsp + 0x2a8]
xor rcx, rsp
call fcn.1401756e0
movaps xmm6, xmmword [rsp + 0x2b0]
movaps xmm7, xmmword [rsp + 0x2c0]
add rsp, 0x2d8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
test ebp, ebp
js 0x14021df97
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetProcessId]
mov ebp, eax
mov r12, rsi
cmp dword [r12 + 0x50], ebp
je 0x14021e08c
mov eax, dword [r12]
test rax, rax
je 0x14021e015
add r12, rax
jne 0x14021dffc
mov ecx, 2
call fcn.14010ee30
test al, al
je 0x14021dfa9
lea rdx, str....._third_partycrashpadcrashpad_snapshotwinprocess_reader_win.cc
lea rdi, [rsp + 0x160]
mov rcx, rdi
mov r8d, 0x70
mov r9d, 2
call fcn.140007b50
lea rcx, [rsp + 0x170]
lea rdx, str.process
mov r8d, 8
call fcn.1401af730
mov rcx, rax
mov edx, ebp
call fcn.14004efe0
lea rdx, str._not_found
mov r8d, 0xa
mov rcx, rax
call fcn.1401af730
mov rcx, rdi
call fcn.140007c40
jmp 0x14021dfa9
test r12, r12
je 0x14021dfa9
cmp dword [r12 + 4], 0
je 0x14021dfa9
movabs r13, 0xaaaaaaaaaaaaaaaa
lea r15, [rsp + 0xf0]
lea r14, [r12 + 0x128]
movaps xmm6, xmmword [0x140261350]
xorps xmm7, xmm7
xor ebx, ebx
movups xmmword [r15 + 0x60], xmm6
movups xmmword [r15 + 0x50], xmm6
movups xmmword [r15 + 0x40], xmm6
movups xmmword [r15 + 0x30], xmm6
movups xmmword [r15 + 0x20], xmm6
movups xmmword [r15 + 0x10], xmm6
movups xmmword [r15], xmm6
mov qword [rsp + 0xe8], 0
mov byte [rsp + 0xf0], 0
movups xmmword [r15 + 0x5c], xmm7
movups xmmword [r15 + 0x50], xmm7
movups xmmword [r15 + 0x40], xmm7
movups xmmword [r15 + 0x28], xmm7
movups xmmword [r15 + 0x18], xmm7
movups xmmword [r15 + 8], xmm7
mov rax, qword [r14 + 8]
mov qword [rsp + 0x128], rax
mov qword [rsp + 0xb0], r13
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, r14
call fcn.1402144d0
test eax, eax
js 0x14021e239
mov rbp, qword [rsp + 0xb0]
test rbp, rbp
je 0x14021e1ee
mov r13, rdi
mov dil, byte [rdi + 0x160]
mov rax, qword [rsp + 0x128]
mov rcx, qword gs:[0x30]
cmp rax, qword [rcx + 0x48]
mov qword [rsp + 0x30], rbp
je 0x14021e297
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
jne 0x14021e37e
mov ecx, 2
call fcn.14010ee30
test al, al
mov rdi, r13
movabs r13, 0xaaaaaaaaaaaaaaaa
mov rbp, qword [rsp + 0x30]
jne 0x14021e41d
mov rcx, rbp
call fcn.1400d2800
cmp byte [rsp + 0x127], 0
jns 0x14021e205
mov rcx, qword [rsp + 0x110]
call fcn.140172a44
mov rcx, qword [rsp + 0xf8]
test rcx, rcx
je 0x14021e21f
mov qword [rsp + 0x100], rcx
call fcn.140172a44
inc rbx
mov eax, dword [r12 + 4]
add r14, 0x50
cmp rbx, rax
jb 0x14021e0c7
jmp 0x14021dfa9
mov ebp, eax
mov ecx, 2
call fcn.14010ee30
test al, al
je 0x14021e1ee
mov dword [rsp + 0x20], ebp
lea rbp, [rsp + 0x160]
mov rcx, rbp
lea rdx, str....._third_partycrashpadcrashpad_snapshotwinprocess_reader_win.cc
mov r8d, 0x7f
mov r9d, 2
call fcn.140214910
mov r8d, 0xc
lea rcx, [rsp + 0x170]
lea rdx, str.NtOpenThread
call fcn.1401af730
mov rcx, rbp
call fcn.140214940
jmp 0x14021e1ee
mov dword [rsp + 0x150], 0
lea rcx, [rsp + 0xe8]
call fcn.14021d610
mov rdi, r13
movabs r13, 0xaaaaaaaaaaaaaaaa
mov dword [rsp + 0x154], 0x20
mov eax, dword [r14 + 0x10]
mov dword [rsp + 0x158], 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.140214610
test eax, eax
js 0x14021e475
lea rbp, [rdi + 0x90]
mov qword [rsp + 0xa0], r13
movaps xmmword [rsp + 0x90], xmm6
movaps xmmword [rsp + 0x80], xmm6
movaps xmmword [rsp + 0x70], xmm6
mov rdx, qword [rsp + 0xb8]
mov qword [rsp + 0x130], rdx
mov qword [rsp + 0x138], 0x1788
mov r8d, 0x38
mov rcx, rbp
lea r9, [rsp + 0x70]
call fcn.140202730
test al, al
je 0x14021e523
cmp byte [rsp + 0x2f], 0
je 0x14021e742
jmp 0x14021e6e1
mov ebp, eax
test dil, dil
je 0x14021e48e
test ebp, ebp
jne 0x14021e48e
mov ecx, 1
call fcn.14010ee30
xor ebp, ebp
test al, al
je 0x14021e494
lea rdi, [rsp + 0x160]
mov rcx, rdi
lea rdx, str....._third_partycrashpadcrashpad_snapshotwinprocess_reader_win.cc
mov r8d, 0xa0
mov r9d, 1
call fcn.140007b50
mov r8d, 7
lea rcx, [rsp + 0x170]
lea rdx, str.Thread
call fcn.1401af730
mov rdx, qword [rsp + 0x128]
mov rcx, rax
call fcn.1400b3400
mov r8d, 0x34
mov rcx, rax
lea rdx, str._should_be_suspended__but_previous_suspend_count_is
call fcn.1401af730
xor ebp, ebp
mov rcx, rax
xor edx, edx
call fcn.14004efe0
mov rcx, rdi
call fcn.140007c40
jmp 0x14021e494
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rbp, [rsp + 0x160]
mov rcx, rbp
lea rdx, str....._third_partycrashpadcrashpad_snapshotwinprocess_reader_win.cc
mov r8d, 0x9b
mov r9d, 2
call fcn.1401d2730
mov r8d, 0xd
lea rcx, [rsp + 0x170]
lea rdx, [0x14027580e]
call fcn.1401af730
mov rcx, rbp
mov rbp, qword [rsp + 0x30]
call fcn.1401d27b0
jmp 0x14021e1e6
mov ebp, eax
mov ecx, 2
call fcn.14010ee30
test al, al
je 0x14021e5fd
jmp 0x14021e805
movzx eax, dil
sub ebp, eax
mov dword [rsp + 0x150], ebp
cmp byte [rsp + 0x2f], 0
mov rdi, r13
je 0x14021e4d1
lea rcx, [rsp + 0xe8]
mov rbp, qword [rsp + 0x30]
mov rdx, rbp
call fcn.14021d780
test al, al
movabs r13, 0xaaaaaaaaaaaaaaaa
je 0x14021e1e6
jmp 0x14021e62a
mov ecx, 0x800
call fcn.140227700
test al, al
movabs r13, 0xaaaaaaaaaaaaaaaa
mov rbp, qword [rsp + 0x30]
lea rcx, [rsp + 0xe8]
mov rdx, rbp
je 0x14021e61d
call fcn.14021d890
jmp 0x14021e622
mov qword [rsp + 0x140], rbp
mov rax, rcx
sub rax, rbp
jb 0x14021e754
mov qword [rsp + 0x148], rax
mov eax, dword [0x1402a3bd8]
mov ecx, dword [0x140296f94]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14021e8fd
mov rax, qword [0x1402a3bd0]
test rax, rax
je 0x14021e5d2
mov qword [rsp + 0x68], r13
mov rcx, qword [rsp + 0x30]
lea rdx, [rsp + 0x68]
call qword [case.0x1401d7990.0]
test eax, eax
js 0x14021e772
mov rbp, qword [rsp + 0x68]
mov qword [rsp + 0x58], rbp
test rbp, rbp
je 0x14021e944
mov rcx, rbp
call fcn.140173694
mov qword [rsp + 0x60], rax
lea rcx, [rsp + 0x160]
lea rdx, [rsp + 0x58]
call fcn.14013c980
cmp byte [rsp + 0x127], 0
js 0x14021e7f3
mov rax, qword [rsp + 0x170]
mov qword [r15 + 0x30], rax
movups xmm0, xmmword [rsp + 0x160]
movups xmmword [r15 + 0x20], xmm0
mov rcx, rbp
call fcn.1400d8410
mov rbp, qword [rdi + 0x138]
cmp rbp, qword [rdi + 0x140]
je 0x14021e607
mov rcx, rbp
lea rdx, [rsp + 0xe8]
call fcn.1400d8e40
add rbp, 0x78
mov qword [rdi + 0x138], rbp
mov rbp, qword [rsp + 0x30]
jmp 0x14021e1e6
lea rcx, [rdi + 0x130]
lea rdx, [rsp + 0xe8]
call fcn.1400d8b30
jmp 0x14021e5fd
call fcn.14021d670
test al, al
je 0x14021e1e6
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_ResumeThread]
test eax, eax
jne 0x14021e2bc
mov ecx, 2
call fcn.14010ee30
test al, al
je 0x14021e1e6
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str....._third_partycrashpadcrashpad_snapshotwinprocess_reader_win.cc
lea rbp, [rsp + 0x160]
mov rcx, rbp
mov r8d, 0xbf
mov r9d, 2
call fcn.1401d2730
lea rdx, [0x140275859]
mov r8d, 0xc
lea rcx, [rsp + 0x170]
jmp 0x14021e45e
mov dword [rsp + 0x20], ebp
lea rdx, str....._third_partycrashpadcrashpad_snapshotwinprocess_reader_win.cc
lea rdi, [rsp + 0x160]
mov rcx, rdi
mov r8d, 0x5e
mov r9d, 2
call fcn.140214910
lea rcx, [rsp + 0x170]
lea rdx, str.NtQuerySystemInformation
mov r8d, 0x18
call fcn.1401af730
mov rcx, rdi
call fcn.140214940
jmp 0x14021dfa9
movups xmmword [rsp + 0x16c], xmm6
movaps xmmword [rsp + 0x160], xmm6
mov rdx, qword [rsp + 0x70]
mov qword [rsp + 0x130], rdx
mov qword [rsp + 0x138], 0xf98
mov r8d, 0x1c
mov rcx, rbp
lea r9, [rsp + 0x160]
call fcn.140202730
mov ecx, dword [rsp + 0x164]
mov ebp, dword [rsp + 0x168]
test al, al
mov eax, 0
cmove rcx, rax
cmove rbp, rax
jmp 0x14021e507
mov rcx, qword [rsp + 0x78]
mov rbp, qword [rsp + 0x80]
jmp 0x14021e507
mov qword [rsp + 0x38], rcx
mov ecx, 2
call fcn.14010ee30
test al, al
jne 0x14021e853
xor eax, eax
jmp 0x14021e51b
mov ebp, eax
mov ecx, 1
call fcn.14010ee30
test al, al
je 0x14021e5d2
lea rdx, str....._third_partycrashpadcrashpad_snapshotwinprocess_reader_win.cc
lea rcx, [rsp + 0x160]
mov r8d, 0x1db
mov r9d, 1
call fcn.140007b50
lea rdx, str.GetThreadDescription:
mov r8d, 0x16
lea rcx, [rsp + 0x170]
call fcn.1401af730
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x40]
mov edx, ebp
call fcn.1401d25d0
lea rdx, [rsp + 0x40]
movzx r8d, byte [rdx + 0x17]
test r8b, r8b
jns 0x14021e8cc
mov r8, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x40]
jmp 0x14021e8d0
mov rcx, qword [rsp + 0x110]
call fcn.140172a44
jmp 0x14021e5b1
mov dword [rsp + 0x20], ebp
lea rbp, [rsp + 0x160]
mov rcx, rbp
lea rdx, str....._third_partycrashpadcrashpad_snapshotwinprocess_reader_win.cc
mov r8d, 0x1aa
mov r9d, 2
call fcn.140214910
mov r8d, 0x18
lea rcx, [rsp + 0x170]
lea rdx, str.NtQueryInformationThread
call fcn.1401af730
mov rcx, rbp
call fcn.140214940
jmp 0x14021e5fd
lea rdx, str....._third_partycrashpadcrashpad_snapshotwinprocess_reader_win.cc
lea rcx, [rsp + 0x160]
mov r8d, 0x1ca
mov r9d, 2
call fcn.140007b50
lea rdx, str.invalid_stack_range:
mov r8d, 0x15
lea rcx, [rsp + 0x170]
call fcn.1401af730
mov rcx, rax
mov rdx, qword [rsp + 0x38]
call fcn.1400b3400
lea rdx, [0x140262764]
mov r8d, 3
mov rcx, rax
call fcn.1401af730
mov rcx, rax
mov rdx, rbp
call fcn.1400b3400
lea rcx, [rsp + 0x160]
call fcn.140007c40
jmp 0x14021e76b
and r8d, 0x7f
mov rcx, qword [rsp + 0x38]
call fcn.1401af730
cmp byte [rsp + 0x57], 0
jns 0x14021e8eb
mov rcx, qword [rsp + 0x40]
call fcn.140172a44
lea rcx, [rsp + 0x160]
call fcn.140007c40
jmp 0x14021e5d2
lea rcx, [0x1402a3bd8]
call fcn.140172b08
cmp dword [0x1402a3bd8], 0xffffffff
jne 0x14021e548
lea rcx, [0x140262d46]
lea rdx, str.::GetThreadDescription
xor r8d, r8d
call fcn.1400d5b80
mov qword [0x1402a3bd0], rax
lea rcx, [0x1402a3bd8]
call fcn.140172aa8
jmp 0x14021e548
mov qword [rsp + 0x60], 0
int3