Function at 0x140242200
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 r13, rcx
mov rax, qword [0x1402b4040]
xor rax, rsp
mov qword [rsp + 0x2a8], rax
mov r14, qword [rcx]
lea r15, [rsp + 0xf8]
mov dword [r15], 0xaaaaaaaa
mov ecx, 0x4000
call fcn.14018fd88
mov rsi, rax
mov r12d, 0x4000
mov edi, 0x14
mov ebx, 0x1000
jmp 0x140242294
mov r12d, dword [rsp + 0xf8]
add r12d, ebx
test rsi, rsi
je 0x140242285
mov rcx, rsi
call fcn.14018fbd4
mov ecx, r12d
call fcn.14018fd88
mov rsi, rax
dec edi
je 0x1402422f2
mov ecx, 5
mov rdx, rsi
mov r8d, r12d
mov r9, r15
call fcn.1402342e0
mov ebp, eax
cmp eax, 0xc0000023
je 0x14024226d
cmp ebp, 0xc0000004
je 0x14024226d
test ebp, ebp
js 0x1402422f2
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetProcessId]
mov ebp, eax
mov rbx, rsi
cmp dword [rbx + 0x50], ebp
je 0x14024238a
mov eax, dword [rbx]
test rax, rax
je 0x1402422df
add rbx, rax
jne 0x1402422ca
mov ecx, 2
call fcn.14018df00
test al, al
je 0x140242349
jmp 0x1402426ed
mov ecx, 2
call fcn.14018df00
test al, al
je 0x140242349
mov dword [rsp + 0x20], ebp
lea rdx, str....._third_partycrashpadcrashpad_snapshotwinprocess_reader_win.cc
lea rdi, [rsp + 0x170]
mov rcx, rdi
mov r8d, 0x5f
mov r9d, 2
call fcn.140234680
lea rcx, [rsp + 0x180]
lea rdx, str.NtQuerySystemInformation
mov r8d, Ordinal_26
call fcn.140172f40
mov rcx, rdi
call fcn.1402346b0
test rsi, rsi
je 0x140242356
mov rcx, rsi
call fcn.14018fbd4
mov rcx, qword [rsp + 0x2a8]
xor rcx, rsp
call fcn.140192360
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 rbx, rbx
je 0x140242349
cmp dword [rbx + 4], 0
je 0x140242349
movabs r15, 0xaaaaaaaaaaaaaaaa
lea r14, [rsp + 0x108]
lea rbp, [rbx + 0x128]
movaps xmm6, xmmword [0x140270080]
xorps xmm7, xmm7
lea rax, [r13 + 0x90]
mov qword [rsp + 0x40], rax
xor edi, edi
jmp 0x140242507
mov dword [rsp + 0x160], 0
mov edx, 0x4d0
mov rcx, r14
call fcn.140181310
mov byte [rsp + 0x100], 1
mov rcx, qword [rsp + 0x108]
add rcx, qword [rsp + 0xf8]
call fcn.140192380
mov r13, r15
movabs r15, 0xaaaaaaaaaaaaaaaa
mov dword [rsp + 0x164], Ordinal_41
mov eax, dword [rbp + 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.140234380
test eax, eax
jns 0x1402428e0
mov r12d, eax
mov ecx, 2
call fcn.14018df00
test al, al
je 0x1402424be
mov dword [rsp + 0x20], r12d
lea r12, [rsp + 0x170]
mov rcx, r12
lea rdx, str....._third_partycrashpadcrashpad_snapshotwinprocess_reader_win.cc
mov r8d, 0x1ab
mov r9d, 2
call fcn.140234680
mov r8d, Ordinal_26
lea rcx, [rsp + 0x180]
lea rdx, str.NtQueryInformationThread
call fcn.140172f40
mov rcx, r12
call fcn.1402346b0
mov rcx, qword [rsp + 0x30]
call fcn.1400f01b0
cmp byte [rsp + 0x137], 0
jns 0x1402424df
mov rcx, qword [rsp + 0x120]
call fcn.14018fb90
mov qword [rsp + 0x170], r14
lea rcx, [rsp + 0x170]
call fcn.140180ed0
inc rdi
mov eax, dword [rbx + 4]
add rbp, 0x50
cmp rdi, rax
jae 0x140242349
lea rax, [rsp + 0x100]
movups xmmword [rax + 0x60], xmm6
movups xmmword [rax + 0x50], xmm6
movups xmmword [rax + 0x40], xmm6
movups xmmword [rax + 0x30], xmm6
movups xmmword [rax + 0x20], xmm6
movups xmmword [rax + 0x10], xmm6
movups xmmword [rax], xmm6
mov qword [rsp + 0xf8], 0
mov byte [rsp + 0x100], 0
mov ecx, 0
mov dword [r14 + 0x60], ecx
movups xmmword [r14 + 0x50], xmm7
movups xmmword [r14 + 0x40], xmm7
movups xmmword [r14 + 0x30], xmm7
movups xmmword [r14 + 0x20], xmm7
movups xmmword [r14 + 0x10], xmm7
movups xmmword [r14], xmm7
mov rax, qword [rbp + 8]
mov qword [rsp + 0x138], rax
mov qword [rsp + 0xc0], r15
movaps xmmword [rsp + 0x80], xmm6
movaps xmmword [rsp + 0x90], xmm6
mov dword [rsp + 0x80], 0x30
lea rax, [rsp + 0x88]
mov dword [rax + 0x10], ecx
movups xmmword [rax], xmm7
movups xmmword [rax + 0x18], xmm7
lea rcx, [rsp + 0xc0]
mov edx, 0x4a
lea r8, [rsp + 0x80]
mov r9, rbp
call fcn.140234240
test eax, eax
js 0x140242689
mov r12, qword [rsp + 0xc0]
test r12, r12
je 0x1402424c8
mov r15, r13
mov r13b, byte [r13 + 0x160]
mov rax, qword [rsp + 0x138]
mov rcx, qword gs:[0x30]
cmp rax, qword [rcx + 0x48]
mov qword [rsp + 0x30], r12
je 0x1402423cb
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
jne 0x140242756
mov ecx, 2
call fcn.14018df00
test al, al
mov r13, r15
movabs r15, 0xaaaaaaaaaaaaaaaa
je 0x1402424be
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea r12, [rsp + 0x170]
mov rcx, r12
lea rdx, str....._third_partycrashpadcrashpad_snapshotwinprocess_reader_win.cc
mov r8d, 0x9c
mov r9d, 2
call fcn.1401f9570
mov r8d, Ordinal_14
lea rcx, [rsp + 0x180]
lea rdx, [0x14029fdf7]
call fcn.140172f40
mov rcx, r12
call fcn.1401f95e0
jmp 0x1402424be
mov r12d, eax
mov ecx, 2
call fcn.14018df00
test al, al
je 0x1402424c8
mov dword [rsp + 0x20], r12d
lea r12, [rsp + 0x170]
mov rcx, r12
lea rdx, str....._third_partycrashpadcrashpad_snapshotwinprocess_reader_win.cc
mov r8d, Ordinal_133
mov r9d, 2
call fcn.140234680
mov r8d, Ordinal_14
lea rcx, [rsp + 0x180]
lea rdx, str.NtOpenThread
call fcn.140172f40
mov rcx, r12
call fcn.1402346b0
jmp 0x1402424c8
lea rdx, str....._third_partycrashpadcrashpad_snapshotwinprocess_reader_win.cc
lea rdi, [rsp + 0x170]
mov rcx, rdi
mov r8d, Ordinal_117
mov r9d, 2
call fcn.140024610
lea rcx, [rsp + 0x180]
lea rdx, str.process
mov r8d, 8
call fcn.140172f40
mov rcx, rax
mov edx, ebp
call fcn.140047c90
lea rdx, str._not_found
mov r8d, 0xa
mov rcx, rax
call fcn.140172f40
mov rcx, rdi
call fcn.14000b670
jmp 0x140242349
mov r12d, eax
mov eax, r13d
xor al, 1
test r12d, r12d
setne cl
or cl, al
jne 0x1402427fa
mov ecx, 1
call fcn.14018df00
xor r12d, r12d
test al, al
je 0x140242801
lea r13, [rsp + 0x170]
mov rcx, r13
lea rdx, str....._third_partycrashpadcrashpad_snapshotwinprocess_reader_win.cc
mov r8d, 0xa1
mov r9d, 1
call fcn.140024610
mov r8d, 7
lea rcx, [rsp + 0x180]
lea rdx, str.Thread
call fcn.140172f40
mov rdx, qword [rsp + 0x138]
mov rcx, rax
call fcn.140047090
mov r8d, 0x34
mov rcx, rax
lea rdx, str._should_be_suspended__but_previous_suspend_count_is
call fcn.140172f40
xor r12d, r12d
mov rcx, rax
xor edx, edx
call fcn.140047c90
mov rcx, r13
call fcn.14000b670
jmp 0x140242801
movzx eax, r13b
sub r12d, eax
mov dword [rsp + 0x160], r12d
cmp byte [rsp + 0x2f], 0
mov r13, r15
je 0x140242839
lea rcx, [rsp + 0xf8]
mov rdx, qword [rsp + 0x30]
call fcn.140241b00
test al, al
movabs r15, 0xaaaaaaaaaaaaaaaa
je 0x1402424be
jmp 0x140242872
mov ecx, 0x800
call fcn.140252d30
test al, al
movabs r15, 0xaaaaaaaaaaaaaaaa
mov rdx, qword [rsp + 0x30]
lea rcx, [rsp + 0xf8]
jne 0x140242865
call fcn.140241a20
jmp 0x14024286a
call fcn.140241be0
test al, al
je 0x1402424be
mov r12, qword [rsp + 0x30]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_ResumeThread]
test eax, eax
jne 0x14024240d
mov ecx, 2
call fcn.14018df00
test al, al
je 0x1402424be
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea r12, [rsp + 0x170]
mov rcx, r12
lea rdx, str....._third_partycrashpadcrashpad_snapshotwinprocess_reader_win.cc
mov r8d, 0xc0
mov r9d, 2
call fcn.1401f9570
mov r8d, Ordinal_14
lea rcx, [rsp + 0x180]
lea rdx, [0x14029fe42]
jmp 0x140242677
mov qword [rsp + 0xb0], r15
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.140238a60
test al, al
je 0x140242a61
cmp byte [rsp + 0x2f], 0
jne 0x140242955
mov rcx, qword [rsp + 0x88]
mov r12, qword [rsp + 0x90]
jmp 0x1402429b7
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.140238a60
mov ecx, dword [rsp + 0x174]
mov r12d, dword [rsp + 0x178]
test al, al
mov eax, 0
cmove rcx, rax
cmove r12, rax
mov qword [rsp + 0x150], r12
mov rax, rcx
sub rax, r12
jae 0x140242a59
mov qword [rsp + 0x38], rcx
mov ecx, 2
call fcn.14018df00
test al, al
je 0x140242a57
mov qword [rsp + 0x48], r12
lea r12, [rsp + 0x170]
mov rcx, r12
lea rdx, str....._third_partycrashpadcrashpad_snapshotwinprocess_reader_win.cc
mov r8d, 0x1cb
mov r9d, 2
call fcn.140024610
mov r8d, Ordinal_26
lea rcx, [rsp + 0x180]
lea rdx, str.invalid_stack_range:
call fcn.140172f40
mov rcx, rax
mov rdx, qword [rsp + 0x38]
call fcn.140047090
mov r8d, 3
mov rcx, rax
lea rdx, [0x140279094]
call fcn.140172f40
mov rcx, rax
mov rdx, qword [rsp + 0x48]
call fcn.140047090
mov rcx, r12
call fcn.14000b670
xor eax, eax
mov qword [rsp + 0x158], rax
mov eax, dword [0x1402cdb38]
mov ecx, dword [0x1402c36f0]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140242c11
mov rax, qword [0x1402cdb30]
test rax, rax
je 0x140242b24
mov qword [rsp + 0x78], r15
mov rcx, qword [rsp + 0x30]
lea rdx, [rsp + 0x78]
call qword [0x1402a4f40]
test eax, eax
js 0x140242b6d
mov r12, qword [rsp + 0x78]
mov qword [rsp + 0x68], r12
test r12, r12
je 0x140242c58
mov rcx, r12
call fcn.14018ff68
mov qword [rsp + 0x70], rax
lea rcx, [rsp + 0x170]
lea rdx, [rsp + 0x68]
call fcn.140146a80
cmp byte [rsp + 0x137], 0
jns 0x140242afc
mov rcx, qword [rsp + 0x120]
call fcn.14018fb90
mov rax, qword [rsp + 0x180]
lea rcx, [rsp + 0x100]
mov qword [rcx + 0x30], rax
movups xmm0, xmmword [rsp + 0x170]
movups xmmword [rcx + 0x20], xmm0
mov rcx, r12
call fcn.1400fada0
mov r12, qword [r13 + 0x138]
cmp r12, qword [r13 + 0x140]
jae 0x140242b4a
mov rcx, r12
lea rdx, [rsp + 0xf8]
call fcn.140242f50
add r12, 0x78
jmp 0x140242b61
lea rcx, [r13 + 0x130]
lea rdx, [rsp + 0xf8]
call fcn.140242e10
mov r12, rax
mov qword [r13 + 0x138], r12
jmp 0x1402424be
mov r12d, eax
mov ecx, 1
call fcn.14018df00
test al, al
je 0x140242b24
lea rcx, [rsp + 0x170]
lea rdx, str....._third_partycrashpadcrashpad_snapshotwinprocess_reader_win.cc
mov r8d, 0x1dc
mov r9d, 1
call fcn.140024610
mov r8d, Ordinal_26
lea rcx, [rsp + 0x180]
lea rdx, str.GetThreadDescription:
call fcn.140172f40
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x50]
mov edx, r12d
call fcn.1401f92d0
movsx r8, byte [rsp + 0x67]
lea rdx, [rsp + 0x50]
test r8, r8
jns 0x140242be4
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x38]
call fcn.140172f40
cmp byte [rsp + 0x67], 0
jns 0x140242bff
mov rcx, qword [rsp + 0x50]
call fcn.14018fb90
lea rcx, [rsp + 0x170]
call fcn.14000b670
jmp 0x140242b24
lea rcx, [0x1402cdb38]
call fcn.14018fd10
cmp dword [0x1402cdb38], 0xffffffff
jne 0x140242a86
lea rcx, [0x140279368]
lea rdx, str.::GetThreadDescription
xor r8d, r8d
call fcn.1400f0230
mov qword [0x1402cdb30], rax
lea rcx, [0x1402cdb38]
call fcn.14018fca4
jmp 0x140242a86
int3