Function at 0x140227880
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 [0x140297028]
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.140180694
mov rsi, rax
mov r12d, 0x4000
mov ebx, 0x14
mov r13d, 0x1000
jmp 0x140227915
mov r12d, dword [rsp + 0xe8]
add r12d, r13d
test rsi, rsi
je 0x140227906
mov rcx, rsi
call fcn.1401805c4
mov ecx, r12d
call fcn.140180694
mov rsi, rax
dec ebx
je 0x140227973
mov ecx, 5
mov rdx, rsi
mov r8d, r12d
mov r9, r15
call fcn.14021c9e0
mov ebp, eax
cmp eax, 0xc0000023
je 0x1402278ee
cmp ebp, 0xc0000004
je 0x1402278ee
test ebp, ebp
js 0x140227973
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetProcessId]
mov ebp, eax
mov r12, rsi
cmp dword [r12 + 0x50], ebp
je 0x1402279c2
mov eax, dword [r12]
test rax, rax
je 0x140227960
add r12, rax
jne 0x14022794b
mov ecx, 2
call fcn.1400e83b0
test al, al
je 0x140227981
jmp 0x140227a48
mov ecx, 2
call fcn.1400e83b0
test al, al
jne 0x1402279fa
test rsi, rsi
je 0x14022798e
mov rcx, rsi
call fcn.1401805c4
mov rcx, qword [rsp + 0x2a8]
xor rcx, rsp
call fcn.1401830b0
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 r12, r12
je 0x140227981
cmp dword [r12 + 4], 0
je 0x140227981
movabs r13, 0xaaaaaaaaaaaaaaaa
lea r15, [rsp + 0xf0]
lea r14, [r12 + 0x128]
movaps xmm6, xmmword [0x140268c70]
xorps xmm7, xmm7
xor ebx, ebx
jmp 0x140227b52
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.14021cd80
lea rcx, [rsp + 0x170]
lea rdx, str.NtQuerySystemInformation
mov r8d, 0x18
call fcn.1401bd290
mov rcx, rdi
call fcn.14021cdb0
jmp 0x140227981
lea rdx, str....._third_partycrashpadcrashpad_snapshotwinprocess_reader_win.cc
lea rdi, [rsp + 0x160]
mov rcx, rdi
mov r8d, 0x70
mov r9d, 2
call fcn.140004b00
lea rcx, [rsp + 0x170]
lea rdx, str.process
mov r8d, 8
call fcn.1401bd290
mov rcx, rax
mov edx, ebp
call fcn.140050fb0
lea rdx, str._not_found
mov r8d, 0xa
mov rcx, rax
call fcn.1401bd290
mov rcx, rdi
call fcn.140004bf0
jmp 0x140227981
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.14021cd80
mov r8d, 0xc
lea rcx, [rsp + 0x170]
lea rdx, str.NtOpenThread
call fcn.1401bd290
mov rcx, rbp
call fcn.14021cdb0
jmp 0x140227b0c
mov ebp, eax
mov ecx, 2
call fcn.1400e83b0
test al, al
jne 0x140227ab1
cmp byte [rsp + 0x127], 0
jns 0x140227b23
mov rcx, qword [rsp + 0x110]
call fcn.14018039c
mov rcx, qword [rsp + 0xf8]
test rcx, rcx
je 0x140227b3d
mov qword [rsp + 0x100], rcx
call fcn.14018039c
inc rbx
mov eax, dword [r12 + 4]
add r14, 0x50
cmp rbx, rax
jae 0x140227981
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.14021c940
test eax, eax
js 0x140227afc
mov rbp, qword [rsp + 0xb0]
test rbp, rbp
je 0x140227b0c
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 0x140227e4f
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
jne 0x140227cd3
mov ecx, 2
call fcn.1400e83b0
test al, al
mov rdi, r13
movabs r13, 0xaaaaaaaaaaaaaaaa
mov rbp, qword [rsp + 0x30]
jne 0x140227c7e
mov rcx, rbp
call fcn.1400c9a40
jmp 0x140227b0c
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.1401ed840
mov r8d, 0xd
lea rcx, [rsp + 0x170]
lea rdx, [0x140285a07]
call fcn.1401bd290
mov rcx, rbp
mov rbp, qword [rsp + 0x30]
call fcn.1401ed8c0
jmp 0x140227c71
mov ebp, eax
test dil, dil
je 0x140227d6e
test ebp, ebp
jne 0x140227d6e
mov ecx, 1
call fcn.1400e83b0
xor ebp, ebp
test al, al
je 0x140227d74
lea rdi, [rsp + 0x160]
mov rcx, rdi
lea rdx, str....._third_partycrashpadcrashpad_snapshotwinprocess_reader_win.cc
mov r8d, 0xa0
mov r9d, 1
call fcn.140004b00
mov r8d, 7
lea rcx, [rsp + 0x170]
lea rdx, str.Thread
call fcn.1401bd290
mov rdx, qword [rsp + 0x128]
mov rcx, rax
call fcn.1400ad760
mov r8d, 0x34
mov rcx, rax
lea rdx, str._should_be_suspended__but_previous_suspend_count_is
call fcn.1401bd290
xor ebp, ebp
mov rcx, rax
xor edx, edx
call fcn.140050fb0
mov rcx, rdi
call fcn.140004bf0
jmp 0x140227d74
movzx eax, dil
sub ebp, eax
mov dword [rsp + 0x150], ebp
cmp byte [rsp + 0x2f], 0
mov rdi, r13
je 0x140227dae
lea rcx, [rsp + 0xe8]
mov rbp, qword [rsp + 0x30]
mov rdx, rbp
call fcn.140227140
test al, al
movabs r13, 0xaaaaaaaaaaaaaaaa
je 0x140227c71
jmp 0x140227dea
mov ecx, 0x800
call fcn.140231c70
test al, al
movabs r13, 0xaaaaaaaaaaaaaaaa
mov rbp, qword [rsp + 0x30]
lea rcx, [rsp + 0xe8]
mov rdx, rbp
jne 0x140227ddd
call fcn.140227030
jmp 0x140227de2
call fcn.140227250
test al, al
je 0x140227c71
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_ResumeThread]
test eax, eax
jne 0x140227e74
mov ecx, 2
call fcn.1400e83b0
test al, al
je 0x140227c71
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.1401ed840
lea rdx, [0x140285a52]
mov r8d, 0xc
lea rcx, [rsp + 0x170]
jmp 0x140227cbf
mov dword [rsp + 0x150], 0
lea rcx, [rsp + 0xe8]
call fcn.140226fd0
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.14021ca80
test eax, eax
js 0x1402280be
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.1402204c0
test al, al
je 0x140227fc9
cmp byte [rsp + 0x2f], 0
jne 0x140227f3c
mov rcx, qword [rsp + 0x78]
mov rbp, qword [rsp + 0x80]
jmp 0x140227f98
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.1402204c0
mov ecx, dword [rsp + 0x164]
mov ebp, dword [rsp + 0x168]
test al, al
mov eax, 0
cmove rcx, rax
cmove rbp, rax
mov qword [rsp + 0x140], rbp
mov rax, rcx
sub rax, rbp
jae 0x140227fc1
mov qword [rsp + 0x38], rcx
mov ecx, 2
call fcn.1400e83b0
test al, al
jne 0x1402281da
xor eax, eax
mov qword [rsp + 0x148], rax
mov eax, dword [0x1402b5418]
mov ecx, dword [0x1402a76e4]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140228253
mov rax, qword [0x1402b5410]
test rax, rax
je 0x140228085
mov qword [rsp + 0x68], r13
mov rcx, qword [rsp + 0x30]
lea rdx, [rsp + 0x68]
call qword [case.0x1401e9be0.0]
test eax, eax
js 0x14022812f
mov rbp, qword [rsp + 0x68]
mov qword [rsp + 0x58], rbp
test rbp, rbp
je 0x14022829a
mov rcx, rbp
call fcn.140180ff4
mov qword [rsp + 0x60], rax
lea rcx, [rsp + 0x160]
lea rdx, [rsp + 0x58]
call fcn.140145eb0
cmp byte [rsp + 0x127], 0
jns 0x140228064
mov rcx, qword [rsp + 0x110]
call fcn.14018039c
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.1400cede0
mov rbp, qword [rdi + 0x138]
cmp rbp, qword [rdi + 0x140]
je 0x140228119
mov rcx, rbp
lea rdx, [rsp + 0xe8]
call fcn.1400cf810
add rbp, 0x78
mov qword [rdi + 0x138], rbp
mov rbp, qword [rsp + 0x30]
jmp 0x140227c71
mov ebp, eax
mov ecx, 2
call fcn.1400e83b0
test al, al
je 0x1402280b4
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.14021cd80
mov r8d, 0x18
lea rcx, [rsp + 0x170]
lea rdx, str.NtQueryInformationThread
call fcn.1401bd290
mov rcx, rbp
call fcn.14021cdb0
jmp 0x1402280b4
lea rcx, [rdi + 0x130]
lea rdx, [rsp + 0xe8]
call fcn.1400cf500
jmp 0x1402280b4
mov ebp, eax
mov ecx, 1
call fcn.1400e83b0
test al, al
je 0x140228085
lea rdx, str....._third_partycrashpadcrashpad_snapshotwinprocess_reader_win.cc
lea rcx, [rsp + 0x160]
mov r8d, 0x1db
mov r9d, 1
call fcn.140004b00
lea rdx, str.GetThreadDescription:
mov r8d, 0x16
lea rcx, [rsp + 0x170]
call fcn.1401bd290
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x40]
mov edx, ebp
call fcn.1401ed6e0
lea rdx, [rsp + 0x40]
movzx r8d, byte [rdx + 0x17]
test r8b, r8b
js 0x1402281a3
and r8d, 0x7f
jmp 0x1402281ad
mov r8, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x38]
call fcn.1401bd290
cmp byte [rsp + 0x57], 0
jns 0x1402281c8
mov rcx, qword [rsp + 0x40]
call fcn.14018039c
lea rcx, [rsp + 0x160]
call fcn.140004bf0
jmp 0x140228085
lea rdx, str....._third_partycrashpadcrashpad_snapshotwinprocess_reader_win.cc
lea rcx, [rsp + 0x160]
mov r8d, 0x1ca
mov r9d, 2
call fcn.140004b00
lea rdx, str.invalid_stack_range:
mov r8d, 0x15
lea rcx, [rsp + 0x170]
call fcn.1401bd290
mov rcx, rax
mov rdx, qword [rsp + 0x38]
call fcn.1400ad760
lea rdx, [0x140272ba6]
mov r8d, 3
mov rcx, rax
call fcn.1401bd290
mov rcx, rax
mov rdx, rbp
call fcn.1400ad760
lea rcx, [rsp + 0x160]
call fcn.140004bf0
jmp 0x140227fbf
lea rcx, [0x1402b5418]
call fcn.1401805cc
cmp dword [0x1402b5418], 0xffffffff
jne 0x140227fee
lea rcx, [0x140272d0a]
lea rdx, str.::GetThreadDescription
xor r8d, r8d
call fcn.1400cc920
mov qword [0x1402b5410], rax
lea rcx, [0x1402b5418]
call fcn.140180634
jmp 0x140227fee
mov qword [rsp + 0x60], 0
int3