Function at 0x14022c2d0
Capabilities:
Resume thread
Suspend thread

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x2e8
movaps xmmword [rsp + 0x2d0], xmm7
movaps xmmword [rsp + 0x2c0], xmm6
mov r13d, edx
mov rax, qword [0x14029c028]
xor rax, rsp
mov qword [rsp + 0x2b8], rax
mov qword [rsp + 0x38], rcx
mov r14, qword [rcx]
lea r15, [rsp + 0xf8]
mov dword [r15], 0xaaaaaaaa
mov ecx, 0x4000
call fcn.140185028
mov rsi, rax
mov r12d, 0x4000
mov edi, 0x14
mov ebx, 0x1000
jmp 0x14022c365
mov r12d, dword [rsp + 0xf8]
add r12d, ebx
test rsi, rsi
je 0x14022c356
mov rcx, rsi
call fcn.140185020
mov ecx, r12d
call fcn.140185028
mov rsi, rax
dec edi
je 0x14022c3c4
mov ecx, 5
mov rdx, rsi
mov r8d, r12d
mov r9, r15
call fcn.1402212e0
mov ebp, eax
cmp eax, 0xc0000023
je 0x14022c33e
cmp ebp, 0xc0000004
je 0x14022c33e
test ebp, ebp
js 0x14022c3c4
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetProcessId]
mov ebp, eax
mov rbx, rsi
mov rcx, qword [rsp + 0x38]
cmp dword [rbx + 0x50], ebp
je 0x14022c417
mov eax, dword [rbx]
test rax, rax
je 0x14022c3b1
add rbx, rax
jne 0x14022c3a0
mov ecx, 2
call fcn.1400ee5f0
test al, al
je 0x14022c3d6
jmp 0x14022ccc0
mov ecx, 2
call fcn.1400ee5f0
test al, al
jne 0x14022c468
test rsi, rsi
je 0x14022c3e3
mov rcx, rsi
call fcn.140185020
mov rcx, qword [rsp + 0x2b8]
xor rcx, rsp
call fcn.1401879f0
movaps xmm6, xmmword [rsp + 0x2c0]
movaps xmm7, xmmword [rsp + 0x2d0]
add rsp, 0x2e8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
test rbx, rbx
je 0x14022c3d6
cmp dword [rbx + 4], 0
je 0x14022c3d6
mov byte [rsp + 0x37], r13b
lea rdi, [rsp + 0x100]
lea r15, [rsp + 0x108]
lea rax, [rcx + 0x90]
mov qword [rsp + 0x40], rax
lea rax, [rcx + 0x130]
mov qword [rsp + 0x48], rax
lea r13, [rbx + 0x128]
movaps xmm6, xmmword [0x14026dc70]
xorps xmm7, xmm7
xor r14d, r14d
jmp 0x14022c639
mov dword [rsp + 0x20], ebp
lea rdx, str....._third_partycrashpadcrashpad_snapshotwinprocess_reader_win.cc
lea rdi, [rsp + 0x170]
mov rcx, rdi
mov r8d, 0x5e
mov r9d, 2
call fcn.140221680
lea rcx, [rsp + 0x180]
lea rdx, str.NtQuerySystemInformation
mov r8d, 0x18
call fcn.1401c2dd0
mov rcx, rdi
call fcn.1402216b0
jmp 0x14022c3d6
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rbp, [rsp + 0x170]
mov rcx, rbp
lea rdx, str....._third_partycrashpadcrashpad_snapshotwinprocess_reader_win.cc
mov r8d, 0x9b
mov r9d, 2
call fcn.1401fa650
mov r8d, 0xd
lea rcx, [rsp + 0x180]
lea rdx, [0x14028aec7]
call fcn.1401c2dd0
mov rcx, rbp
call fcn.1401fa6d0
jmp 0x14022c5f2
mov ebp, eax
mov ecx, 2
call fcn.1400ee5f0
test al, al
je 0x14022c5f2
mov dword [rsp + 0x20], ebp
lea rbp, [rsp + 0x170]
mov rcx, rbp
lea rdx, str....._third_partycrashpadcrashpad_snapshotwinprocess_reader_win.cc
mov r8d, 0x1aa
mov r9d, 2
call fcn.140221680
mov r8d, 0x18
lea rcx, [rsp + 0x180]
lea rdx, str.NtQueryInformationThread
call fcn.1401c2dd0
mov rcx, rbp
call fcn.1402216b0
jmp 0x14022c5f2
mov ebp, eax
mov ecx, 2
call fcn.1400ee5f0
test al, al
je 0x14022c5fa
mov dword [rsp + 0x20], ebp
lea r12, [rsp + 0x170]
mov rcx, r12
lea rdx, str....._third_partycrashpadcrashpad_snapshotwinprocess_reader_win.cc
mov r8d, 0x7f
mov r9d, 2
call fcn.140221680
mov r8d, 0xc
lea rcx, [rsp + 0x180]
lea rdx, str.NtOpenThread
call fcn.1401c2dd0
mov rcx, r12
call fcn.1402216b0
jmp 0x14022c5fa
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
jne 0x14022cafe
mov ecx, 2
call fcn.1400ee5f0
test al, al
lea r15, [rsp + 0x108]
jne 0x14022c4b6
mov rcx, r12
call fcn.1400cec10
cmp byte [rsp + 0x137], 0
jns 0x14022c611
mov rcx, qword [rsp + 0x120]
call fcn.140184dbc
mov qword [rsp + 0x170], r15
lea rcx, [rsp + 0x170]
call fcn.140171b50
inc r14
mov eax, dword [rbx + 4]
add r13, 0x50
cmp r14, rax
jae 0x14022c3d6
movups xmmword [rdi + 0x60], xmm6
movups xmmword [rdi + 0x50], xmm6
movups xmmword [rdi + 0x40], xmm6
movups xmmword [rdi + 0x30], xmm6
movups xmmword [rdi + 0x20], xmm6
movups xmmword [rdi + 0x10], xmm6
movups xmmword [rdi], xmm6
mov qword [rsp + 0xf8], 0
mov byte [rsp + 0x100], 0
movups xmmword [rdi + 0x5c], xmm7
movups xmmword [rdi + 0x50], xmm7
movups xmmword [rdi + 0x40], xmm7
movups xmmword [r15 + 0x20], xmm7
movups xmmword [r15 + 0x10], xmm7
movups xmmword [r15], xmm7
mov rax, qword [r13 + 8]
mov qword [rsp + 0x138], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0xc0], rax
movaps xmmword [rsp + 0x80], xmm6
movaps xmmword [rsp + 0x90], xmm6
mov dword [rsp + 0x80], 0x30
lea rax, [rsp + 0x88]
movups xmmword [rax], xmm7
mov dword [rax + 0x10], 0
movups xmmword [rax + 0x18], xmm7
lea rcx, [rsp + 0xc0]
mov edx, 0x4a
lea r8, [rsp + 0x80]
mov r9, r13
call fcn.140221240
test eax, eax
js 0x14022c56b
mov r12, qword [rsp + 0xc0]
test r12, r12
je 0x14022c5fa
mov rax, qword [rsp + 0x38]
mov r15b, byte [rax + 0x160]
mov rax, qword [rsp + 0x138]
mov rcx, qword gs:[0x30]
cmp rax, qword [rcx + 0x48]
jne 0x14022c5c6
mov dword [rsp + 0x160], 0
mov edx, 0x4d0
lea r15, [rsp + 0x108]
mov rcx, r15
call fcn.14016be60
mov byte [rsp + 0x100], 1
mov rcx, qword [rsp + 0x108]
add rcx, qword [rsp + 0xf8]
call fcn.1401876b0
mov dword [rsp + 0x164], 0x20
mov eax, dword [r13 + 0x10]
mov dword [rsp + 0x168], eax
movaps xmmword [rsp + 0xe0], xmm6
movaps xmmword [rsp + 0xd0], xmm6
movaps xmmword [rsp + 0xc0], xmm6
mov qword [rsp + 0x20], 0
mov rcx, r12
xor edx, edx
lea r8, [rsp + 0xc0]
mov r9d, 0x30
call fcn.140221380
test eax, eax
js 0x14022c509
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0xb0], rax
movaps xmmword [rsp + 0xa0], xmm6
movaps xmmword [rsp + 0x90], xmm6
movaps xmmword [rsp + 0x80], xmm6
mov rdx, qword [rsp + 0xc8]
mov qword [rsp + 0x140], rdx
mov qword [rsp + 0x148], 0x1788
mov r8d, 0x38
mov rcx, qword [rsp + 0x40]
lea r9, [rsp + 0x80]
call fcn.140224f90
test al, al
je 0x14022c8cf
cmp byte [rsp + 0x37], 0
jne 0x14022c841
mov rbp, qword [rsp + 0x88]
mov r15, qword [rsp + 0x90]
jmp 0x14022c8a3
movups xmmword [rsp + 0x17c], xmm6
movaps xmmword [rsp + 0x170], xmm6
mov rdx, qword [rsp + 0x80]
mov qword [rsp + 0x140], rdx
mov qword [rsp + 0x148], 0xf98
mov r8d, 0x1c
mov rcx, qword [rsp + 0x40]
lea r9, [rsp + 0x170]
call fcn.140224f90
mov ebp, dword [rsp + 0x174]
mov r15d, dword [rsp + 0x178]
test al, al
mov eax, 0
cmove rbp, rax
cmove r15, rax
mov qword [rsp + 0x150], r15
mov rax, rbp
sub rax, r15
jae 0x14022c8c7
mov ecx, 2
call fcn.1400ee5f0
test al, al
jne 0x14022ca87
xor eax, eax
mov qword [rsp + 0x158], rax
mov eax, dword [0x1402ba3f8]
mov ecx, dword [0x1402ac5e0]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14022cc76
mov rax, qword [0x1402ba3f0]
test rax, rax
je 0x14022c992
movabs rcx, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x78], rcx
mov rcx, r12
lea rdx, [rsp + 0x78]
call qword [0x1402ca008]
test eax, eax
js 0x14022c9e3
mov r15, qword [rsp + 0x78]
mov qword [rsp + 0x68], r15
test r15, r15
je 0x14022ccbd
mov rcx, r15
call fcn.140185998
mov qword [rsp + 0x70], rax
lea rcx, [rsp + 0x170]
lea rdx, [rsp + 0x68]
call fcn.1401482e0
cmp byte [rsp + 0x137], 0
jns 0x14022c972
mov rcx, qword [rsp + 0x120]
call fcn.140184dbc
mov rax, qword [rsp + 0x180]
mov qword [rdi + 0x30], rax
movups xmm0, xmmword [rsp + 0x170]
movups xmmword [rdi + 0x20], xmm0
mov rcx, r15
call fcn.1400d45e0
mov rbp, qword [rsp + 0x38]
mov r15, qword [rbp + 0x138]
cmp r15, qword [rbp + 0x140]
je 0x14022c9cf
mov rcx, r15
lea rdx, [rsp + 0xf8]
call fcn.1400d5030
add r15, 0x78
mov qword [rbp + 0x138], r15
lea r15, [rsp + 0x108]
jmp 0x14022c5f2
mov rcx, qword [rsp + 0x48]
lea rdx, [rsp + 0xf8]
call fcn.1400d4d00
jmp 0x14022c9c2
mov ebp, eax
mov ecx, 1
call fcn.1400ee5f0
test al, al
je 0x14022c992
lea rcx, [rsp + 0x170]
lea rdx, str....._third_partycrashpadcrashpad_snapshotwinprocess_reader_win.cc
mov r8d, 0x1db
mov r9d, 1
call fcn.1400078c0
mov r8d, 0x16
lea rcx, [rsp + 0x180]
lea rdx, str.GetThreadDescription:
call fcn.1401c2dd0
mov r15, rax
lea rcx, [rsp + 0x50]
mov edx, ebp
call fcn.1401fa4f0
movzx r8d, byte [rsp + 0x67]
test r8b, r8b
js 0x14022ca52
and r8d, 0x7f
lea rdx, [rsp + 0x50]
jmp 0x14022ca5c
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x50]
mov rcx, r15
call fcn.1401c2dd0
cmp byte [rsp + 0x67], 0
jns 0x14022ca75
mov rcx, qword [rsp + 0x50]
call fcn.140184dbc
lea rcx, [rsp + 0x170]
call fcn.1400079b0
jmp 0x14022c992
lea rcx, [rsp + 0x170]
lea rdx, str....._third_partycrashpadcrashpad_snapshotwinprocess_reader_win.cc
mov r8d, 0x1ca
mov r9d, 2
call fcn.1400078c0
mov r8d, 0x15
lea rcx, [rsp + 0x180]
lea rdx, str.invalid_stack_range:
call fcn.1401c2dd0
mov rcx, rax
mov rdx, rbp
call fcn.1400afd20
mov r8d, 3
mov rcx, rax
lea rdx, [0x140278441]
call fcn.1401c2dd0
mov rcx, rax
mov rdx, r15
call fcn.1400afd20
lea rcx, [rsp + 0x170]
call fcn.1400079b0
jmp 0x14022c8c5
mov ebp, eax
test r15b, r15b
je 0x14022cba7
test ebp, ebp
jne 0x14022cba7
mov ecx, 1
call fcn.1400ee5f0
xor ebp, ebp
test al, al
lea r15, [rsp + 0x108]
je 0x14022cbb5
lea rcx, [rsp + 0x170]
lea rdx, str....._third_partycrashpadcrashpad_snapshotwinprocess_reader_win.cc
mov r8d, 0xa0
mov r9d, 1
call fcn.1400078c0
mov r8d, 7
lea rcx, [rsp + 0x180]
lea rdx, str.Thread
call fcn.1401c2dd0
mov rdx, qword [rsp + 0x138]
mov rcx, rax
call fcn.1400afd20
mov r8d, 0x34
mov rcx, rax
lea rdx, str._should_be_suspended__but_previous_suspend_count_is
call fcn.1401c2dd0
xor ebp, ebp
mov rcx, rax
xor edx, edx
call fcn.14004e220
lea rcx, [rsp + 0x170]
call fcn.1400079b0
jmp 0x14022cbb5
movzx eax, r15b
sub ebp, eax
lea r15, [rsp + 0x108]
mov dword [rsp + 0x160], ebp
cmp byte [rsp + 0x37], 0
jne 0x14022cbea
mov ecx, 0x800
call fcn.140236720
lea rcx, [rsp + 0xf8]
mov rdx, r12
test al, al
je 0x14022cbe3
call fcn.14022bcb0
jmp 0x14022cbfa
call fcn.14022baf0
jmp 0x14022cbfa
lea rcx, [rsp + 0xf8]
mov rdx, r12
call fcn.14022bbd0
test al, al
je 0x14022c5f2
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_ResumeThread]
test eax, eax
jne 0x14022c76b
mov ecx, 2
call fcn.1400ee5f0
test al, al
je 0x14022c5f2
lea r15, [rsp + 0x180]
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str....._third_partycrashpadcrashpad_snapshotwinprocess_reader_win.cc
lea rbp, [rsp + 0x170]
mov rcx, rbp
mov r8d, 0xbf
mov r9d, 2
call fcn.1401fa650
lea rdx, [0x14028af12]
mov r8d, 0xc
mov rcx, r15
lea r15, [rsp + 0x108]
jmp 0x14022c4f7
lea rcx, [0x1402ba3f8]
call fcn.140184f58
cmp dword [0x1402ba3f8], 0xffffffff
jne 0x14022c8f4
lea rcx, [0x140278570]
lea rdx, str.::GetThreadDescription
xor r8d, r8d
call fcn.1400d1ca0
mov qword [0x1402ba3f0], rax
lea rcx, [0x1402ba3f8]
call fcn.140184fc0
jmp 0x14022c8f4
int3
lea rdx, str....._third_partycrashpadcrashpad_snapshotwinprocess_reader_win.cc
lea rdi, [rsp + 0x170]
mov rcx, rdi
mov r8d, 0x70
mov r9d, 2
call fcn.1400078c0
lea rcx, [rsp + 0x180]
lea rdx, str.process
mov r8d, 8
call fcn.1401c2dd0
mov rcx, rax
mov edx, ebp
call fcn.14004e220
lea rdx, str._not_found
mov r8d, 0xa
mov rcx, rax
call fcn.1401c2dd0
mov rcx, rdi
call fcn.1400079b0
jmp 0x14022c3d6