Function at 0x14022d370
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 [0x14029a038]
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.14017b5a0
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.1402225e0
mov ebp, eax
cmp eax, 0xc0000023
je 0x14022d400
cmp ebp, 0xc0000004
jne 0x14022d47a
mov r12d, dword [rsp + 0xe8]
add r12d, r13d
test rsi, rsi
je 0x14022d418
mov rcx, rsi
call fcn.14017b598
mov ecx, r12d
call fcn.14017b5a0
mov rsi, rax
dec ebx
jne 0x14022d3dc
mov ecx, 2
call fcn.140109210
test al, al
jne 0x14022db23
test rsi, rsi
je 0x14022d446
mov rcx, rsi
call fcn.14017b598
mov rcx, qword [rsp + 0x2a8]
xor rcx, rsp
call fcn.14017e7b0
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 0x14022d427
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetProcessId]
mov ebp, eax
mov r12, rsi
cmp dword [r12 + 0x50], ebp
je 0x14022d51c
mov eax, dword [r12]
test rax, rax
je 0x14022d4a5
add r12, rax
jne 0x14022d48c
mov ecx, 2
call fcn.140109210
test al, al
je 0x14022d439
lea rdx, str....._third_partycrashpadcrashpad_snapshotwinprocess_reader_win.cc
lea rdi, [rsp + 0x160]
mov rcx, rdi
mov r8d, 0x70
mov r9d, 2
call fcn.140001120
lea rcx, [rsp + 0x170]
lea rdx, str.process
mov r8d, 8
call fcn.1401b98e0
mov rcx, rax
mov edx, ebp
call fcn.1400496c0
lea rdx, str._not_found
mov r8d, 0xa
mov rcx, rax
call fcn.1401b98e0
mov rcx, rdi
call fcn.140001210
jmp 0x14022d439
test r12, r12
je 0x14022d439
cmp dword [r12 + 4], 0
je 0x14022d439
movabs r13, 0xaaaaaaaaaaaaaaaa
lea r15, [rsp + 0xf0]
lea r14, [r12 + 0x128]
movaps xmm6, xmmword [0x140270690]
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.140222540
test eax, eax
js 0x14022d6c9
mov rbp, qword [rsp + 0xb0]
test rbp, rbp
je 0x14022d67e
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 0x14022d727
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
jne 0x14022d80e
mov ecx, 2
call fcn.140109210
test al, al
mov rdi, r13
movabs r13, 0xaaaaaaaaaaaaaaaa
mov rbp, qword [rsp + 0x30]
jne 0x14022d8ad
mov rcx, rbp
call fcn.1400e77c0
cmp byte [rsp + 0x127], 0
jns 0x14022d695
mov rcx, qword [rsp + 0x110]
call fcn.14017b254
mov rcx, qword [rsp + 0xf8]
test rcx, rcx
je 0x14022d6af
mov qword [rsp + 0x100], rcx
call fcn.14017b254
inc rbx
mov eax, dword [r12 + 4]
add r14, 0x50
cmp rbx, rax
jb 0x14022d557
jmp 0x14022d439
mov ebp, eax
mov ecx, 2
call fcn.140109210
test al, al
je 0x14022d67e
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.140222980
mov r8d, 0xc
lea rcx, [rsp + 0x170]
lea rdx, str.NtOpenThread
call fcn.1401b98e0
mov rcx, rbp
call fcn.1402229b0
jmp 0x14022d67e
mov dword [rsp + 0x150], 0
lea rcx, [rsp + 0xe8]
call fcn.14022caa0
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.140222680
test eax, eax
js 0x14022d905
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.140212a60
test al, al
je 0x14022d9b3
cmp byte [rsp + 0x2f], 0
je 0x14022dbd2
jmp 0x14022db71
mov ebp, eax
test dil, dil
je 0x14022d91e
test ebp, ebp
jne 0x14022d91e
mov ecx, 1
call fcn.140109210
xor ebp, ebp
test al, al
je 0x14022d924
lea rdi, [rsp + 0x160]
mov rcx, rdi
lea rdx, str....._third_partycrashpadcrashpad_snapshotwinprocess_reader_win.cc
mov r8d, 0xa0
mov r9d, 1
call fcn.140001120
mov r8d, 7
lea rcx, [rsp + 0x170]
lea rdx, str.Thread
call fcn.1401b98e0
mov rdx, qword [rsp + 0x128]
mov rcx, rax
call fcn.1400b3280
mov r8d, 0x34
mov rcx, rax
lea rdx, str._should_be_suspended__but_previous_suspend_count_is
call fcn.1401b98e0
xor ebp, ebp
mov rcx, rax
xor edx, edx
call fcn.1400496c0
mov rcx, rdi
call fcn.140001210
jmp 0x14022d924
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.1401dfc50
mov r8d, 0xd
lea rcx, [rsp + 0x170]
lea rdx, [0x14028916e]
call fcn.1401b98e0
mov rcx, rbp
mov rbp, qword [rsp + 0x30]
call fcn.1401dfcd0
jmp 0x14022d676
mov ebp, eax
mov ecx, 2
call fcn.140109210
test al, al
je 0x14022da8d
jmp 0x14022dc95
movzx eax, dil
sub ebp, eax
mov dword [rsp + 0x150], ebp
cmp byte [rsp + 0x2f], 0
mov rdi, r13
je 0x14022d961
lea rcx, [rsp + 0xe8]
mov rbp, qword [rsp + 0x30]
mov rdx, rbp
call fcn.14022cc10
test al, al
movabs r13, 0xaaaaaaaaaaaaaaaa
je 0x14022d676
jmp 0x14022daba
mov ecx, 0x800
call fcn.140236b90
test al, al
movabs r13, 0xaaaaaaaaaaaaaaaa
mov rbp, qword [rsp + 0x30]
lea rcx, [rsp + 0xe8]
mov rdx, rbp
je 0x14022daad
call fcn.14022cd20
jmp 0x14022dab2
mov qword [rsp + 0x140], rbp
mov rax, rcx
sub rax, rbp
jb 0x14022dbe4
mov qword [rsp + 0x148], rax
mov eax, dword [0x1402a6418]
mov ecx, dword [0x14029dfe4]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14022dd8d
mov rax, qword [0x1402a6410]
test rax, rax
je 0x14022da62
mov qword [rsp + 0x68], r13
mov rcx, qword [rsp + 0x30]
lea rdx, [rsp + 0x68]
call qword [case.0x1401e7f70.0]
test eax, eax
js 0x14022dc02
mov rbp, qword [rsp + 0x68]
mov qword [rsp + 0x58], rbp
test rbp, rbp
je 0x14022ddd4
mov rcx, rbp
call fcn.14017bd98
mov qword [rsp + 0x60], rax
lea rcx, [rsp + 0x160]
lea rdx, [rsp + 0x58]
call fcn.14014f5a0
cmp byte [rsp + 0x127], 0
js 0x14022dc83
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.1400ece40
mov rbp, qword [rdi + 0x138]
cmp rbp, qword [rdi + 0x140]
je 0x14022da97
mov rcx, rbp
lea rdx, [rsp + 0xe8]
call fcn.1400ed870
add rbp, 0x78
mov qword [rdi + 0x138], rbp
mov rbp, qword [rsp + 0x30]
jmp 0x14022d676
lea rcx, [rdi + 0x130]
lea rdx, [rsp + 0xe8]
call fcn.1400ed560
jmp 0x14022da8d
call fcn.14022cb00
test al, al
je 0x14022d676
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_ResumeThread]
test eax, eax
jne 0x14022d74c
mov ecx, 2
call fcn.140109210
test al, al
je 0x14022d676
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.1401dfc50
lea rdx, [0x1402891b9]
mov r8d, 0xc
lea rcx, [rsp + 0x170]
jmp 0x14022d8ee
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.140222980
lea rcx, [rsp + 0x170]
lea rdx, str.NtQuerySystemInformation
mov r8d, 0x18
call fcn.1401b98e0
mov rcx, rdi
call fcn.1402229b0
jmp 0x14022d439
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.140212a60
mov ecx, dword [rsp + 0x164]
mov ebp, dword [rsp + 0x168]
test al, al
mov eax, 0
cmove rcx, rax
cmove rbp, rax
jmp 0x14022d997
mov rcx, qword [rsp + 0x78]
mov rbp, qword [rsp + 0x80]
jmp 0x14022d997
mov qword [rsp + 0x38], rcx
mov ecx, 2
call fcn.140109210
test al, al
jne 0x14022dce3
xor eax, eax
jmp 0x14022d9ab
mov ebp, eax
mov ecx, 1
call fcn.140109210
test al, al
je 0x14022da62
lea rdx, str....._third_partycrashpadcrashpad_snapshotwinprocess_reader_win.cc
lea rcx, [rsp + 0x160]
mov r8d, 0x1db
mov r9d, 1
call fcn.140001120
lea rdx, str.GetThreadDescription:
mov r8d, 0x16
lea rcx, [rsp + 0x170]
call fcn.1401b98e0
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x40]
mov edx, ebp
call fcn.1401dfaf0
lea rdx, [rsp + 0x40]
movzx r8d, byte [rdx + 0x17]
test r8b, r8b
jns 0x14022dd5c
mov r8, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x40]
jmp 0x14022dd60
mov rcx, qword [rsp + 0x110]
call fcn.14017b254
jmp 0x14022da41
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.140222980
mov r8d, 0x18
lea rcx, [rsp + 0x170]
lea rdx, str.NtQueryInformationThread
call fcn.1401b98e0
mov rcx, rbp
call fcn.1402229b0
jmp 0x14022da8d
lea rdx, str....._third_partycrashpadcrashpad_snapshotwinprocess_reader_win.cc
lea rcx, [rsp + 0x160]
mov r8d, 0x1ca
mov r9d, 2
call fcn.140001120
lea rdx, str.invalid_stack_range:
mov r8d, 0x15
lea rcx, [rsp + 0x170]
call fcn.1401b98e0
mov rcx, rax
mov rdx, qword [rsp + 0x38]
call fcn.1400b3280
lea rdx, [0x1402725f3]
mov r8d, 3
mov rcx, rax
call fcn.1401b98e0
mov rcx, rax
mov rdx, rbp
call fcn.1400b3280
lea rcx, [rsp + 0x160]
call fcn.140001210
jmp 0x14022dbfb
and r8d, 0x7f
mov rcx, qword [rsp + 0x38]
call fcn.1401b98e0
cmp byte [rsp + 0x57], 0
jns 0x14022dd7b
mov rcx, qword [rsp + 0x40]
call fcn.14017b254
lea rcx, [rsp + 0x160]
call fcn.140001210
jmp 0x14022da62
lea rcx, [0x1402a6418]
call fcn.14017b2bc
cmp dword [0x1402a6418], 0xffffffff
jne 0x14022d9d8
lea rcx, [0x1402726da]
lea rdx, str.::GetThreadDescription
xor r8d, r8d
call fcn.1400eab40
mov qword [0x1402a6410], rax
lea rcx, [0x1402a6418]
call fcn.14017b25c
jmp 0x14022d9d8
mov qword [rsp + 0x60], 0
int3