Function at 0x140157cb0
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 byte [rsp + 0x37], dl
mov rdi, rcx
mov rax, qword [0x1401b4040]
xor rax, rsp
mov qword [rsp + 0x2b8], rax
mov r14, qword [rcx]
lea r15, [rsp + 0x108]
mov dword [r15], 0xaaaaaaaa
mov ecx, 0x4000
call fcn.1400c22ec
mov rsi, rax
mov r12d, 0x4000
mov ebx, 0x14
mov r13d, 0x1000
jmp 0x140157d45
mov r12d, dword [rsp + 0x108]
add r12d, r13d
test rsi, rsi
je 0x140157d36
mov rcx, rsi
call fcn.1400c22f4
mov ecx, r12d
call fcn.1400c22ec
mov rsi, rax
dec ebx
je 0x140157da3
mov ecx, 5
mov rdx, rsi
mov r8d, r12d
mov r9, r15
call fcn.14014c7a0
mov ebp, eax
cmp eax, 0xc0000023
je 0x140157d1e
cmp ebp, 0xc0000004
je 0x140157d1e
test ebp, ebp
js 0x140157da3
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetProcessId]
mov ebp, eax
mov rbx, rsi
cmp dword [rbx + 0x50], ebp
je 0x140157e3b
mov eax, dword [rbx]
test rax, rax
je 0x140157d90
add rbx, rax
jne 0x140157d7b
mov ecx, 2
call fcn.14009abb0
test al, al
je 0x140157dfa
jmp 0x1401581a7
mov ecx, 2
call fcn.14009abb0
test al, al
je 0x140157dfa
mov dword [rsp + 0x20], ebp
lea rdx, str....._third_partycrashpadcrashpad_snapshotwinprocess_reader_win.cc
lea rdi, [rsp + 0x180]
mov rcx, rdi
mov r8d, 0x5f
mov r9d, 2
call fcn.14014cb40
lea rcx, [rsp + 0x190]
lea rdx, str.NtQuerySystemInformation
mov r8d, 0x18
call fcn.14007ee10
mov rcx, rdi
call fcn.14014cb70
test rsi, rsi
je 0x140157e07
mov rcx, rsi
call fcn.1400c22f4
mov rcx, qword [rsp + 0x2b8]
xor rcx, rsp
call fcn.1400c2d30
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 0x140157dfa
cmp dword [rbx + 4], 0
je 0x140157dfa
movabs r13, 0xaaaaaaaaaaaaaaaa
lea r14, [rsp + 0x118]
lea rax, [rdi + 0xe0]
mov qword [rsp + 0x48], rax
lea rax, [rdi + 0x1d0]
mov qword [rsp + 0x58], rax
lea r12, [rbx + 0x128]
movaps xmm6, xmmword [0x14017f960]
xorps xmm7, xmm7
xor r15d, r15d
jmp 0x140157fc5
mov dword [rsp + 0x170], 0
mov edx, 0x4d0
mov rcx, r14
call fcn.140080420
mov byte [rsp + 0x110], 1
mov rcx, qword [rsp + 0x118]
add rcx, qword [rsp + 0x108]
call fcn.1400c3880
mov rdi, r13
movabs r13, 0xaaaaaaaaaaaaaaaa
mov dword [rsp + 0x174], 0x20
mov eax, dword [r12 + 0x10]
mov dword [rsp + 0x178], eax
movaps xmmword [rsp + 0xf0], xmm6
movaps xmmword [rsp + 0xe0], xmm6
movaps xmmword [rsp + 0xd0], xmm6
mov qword [rsp + 0x20], 0
mov rcx, rbp
xor edx, edx
lea r8, [rsp + 0xd0]
mov r9d, 0x30
call fcn.14014c840
test eax, eax
jns 0x140158210
mov ebp, eax
mov ecx, 2
call fcn.14009abb0
test al, al
je 0x140157f7c
mov dword [rsp + 0x20], ebp
lea rbp, [rsp + 0x180]
mov rcx, rbp
lea rdx, str....._third_partycrashpadcrashpad_snapshotwinprocess_reader_win.cc
mov r8d, 0x1ab
mov r9d, 2
call fcn.14014cb40
mov r8d, 0x18
lea rcx, [rsp + 0x190]
lea rdx, str.NtQueryInformationThread
call fcn.14007ee10
mov rcx, rbp
call fcn.14014cb70
mov rcx, qword [rsp + 0x38]
call fcn.140078290
cmp byte [rsp + 0x147], 0
jns 0x140157f9d
mov rcx, qword [rsp + 0x130]
call fcn.1400c22b8
mov qword [rsp + 0x180], r14
lea rcx, [rsp + 0x180]
call fcn.14007fcc0
inc r15
mov eax, dword [rbx + 4]
add r12, 0x50
cmp r15, rax
jae 0x140157dfa
movups xmmword [r14 + 0x58], xmm6
movups xmmword [r14 + 0x48], xmm6
movups xmmword [r14 + 0x38], xmm6
movups xmmword [r14 + 0x28], xmm6
movups xmmword [r14 + 0x18], xmm6
movups xmmword [r14 + 8], xmm6
movups xmmword [r14 - 8], xmm6
mov qword [rsp + 0x108], 0
mov byte [rsp + 0x110], 0
xor ecx, ecx
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 [r12 + 8]
mov qword [rsp + 0x148], rax
mov qword [rsp + 0xd0], r13
movaps xmmword [rsp + 0x90], xmm6
movaps xmmword [rsp + 0xa0], xmm6
mov dword [rsp + 0x90], 0x30
lea rax, [rsp + 0x98]
mov dword [rax + 0x10], ecx
movups xmmword [rax], xmm7
movups xmmword [rax + 0x18], xmm7
lea rcx, [rsp + 0xd0]
mov edx, 0x4a
lea r8, [rsp + 0x90]
mov r9, r12
call fcn.14014c700
test eax, eax
js 0x140158145
mov rbp, qword [rsp + 0xd0]
test rbp, rbp
je 0x140157f86
mov r13, rdi
mov dil, byte [rdi + 0x200]
mov rax, qword [rsp + 0x148]
mov rcx, qword gs:[0x30]
cmp rax, qword [rcx + 0x48]
mov qword [rsp + 0x38], rbp
je 0x140157e89
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
jne 0x140158541
mov ecx, 2
call fcn.14009abb0
test al, al
mov rdi, r13
movabs r13, 0xaaaaaaaaaaaaaaaa
je 0x140157f7c
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rbp, [rsp + 0x180]
mov rcx, rbp
lea rdx, str....._third_partycrashpadcrashpad_snapshotwinprocess_reader_win.cc
mov r8d, 0x9c
mov r9d, 2
call fcn.140118ff0
mov r8d, 0xd
lea rcx, [rsp + 0x190]
lea rdx, [0x1401a1a5f]
call fcn.14007ee10
mov rcx, rbp
call fcn.140119060
jmp 0x140157f7c
mov ebp, eax
mov ecx, 2
call fcn.14009abb0
test al, al
je 0x140157f86
mov dword [rsp + 0x20], ebp
lea rbp, [rsp + 0x180]
mov rcx, rbp
lea rdx, str....._third_partycrashpadcrashpad_snapshotwinprocess_reader_win.cc
mov r8d, 0x80
mov r9d, 2
call fcn.14014cb40
mov r8d, 0xc
lea rcx, [rsp + 0x190]
lea rdx, str.NtOpenThread
call fcn.14007ee10
mov rcx, rbp
call fcn.14014cb70
jmp 0x140157f86
lea rdx, str....._third_partycrashpadcrashpad_snapshotwinprocess_reader_win.cc
lea rdi, [rsp + 0x180]
mov rcx, rdi
mov r8d, 0x71
mov r9d, 2
call fcn.140046020
lea rcx, [rsp + 0x190]
lea rdx, str.process
mov r8d, 8
call fcn.14007ee10
mov rcx, rax
mov edx, ebp
call fcn.140025360
lea rdx, str._not_found
mov r8d, 0xa
mov rcx, rax
call fcn.14007ee10
mov rcx, rdi
call fcn.140046630
jmp 0x140157dfa
mov qword [rsp + 0xc0], r13
movaps xmmword [rsp + 0xb0], xmm6
movaps xmmword [rsp + 0xa0], xmm6
movaps xmmword [rsp + 0x90], xmm6
mov rdx, qword [rsp + 0xd8]
mov qword [rsp + 0x150], rdx
mov qword [rsp + 0x158], 0x1788
mov r8d, 0x38
mov rcx, qword [rsp + 0x48]
lea r9, [rsp + 0x90]
call fcn.140151530
test al, al
je 0x140158390
cmp byte [rsp + 0x37], 0
jne 0x140158285
mov rcx, qword [rsp + 0x98]
mov rbp, qword [rsp + 0xa0]
jmp 0x1401582e6
movups xmmword [rsp + 0x18c], xmm6
movaps xmmword [rsp + 0x180], xmm6
mov rdx, qword [rsp + 0x90]
mov qword [rsp + 0x150], rdx
mov qword [rsp + 0x158], 0xf98
mov r8d, 0x1c
mov rcx, qword [rsp + 0x48]
lea r9, [rsp + 0x180]
call fcn.140151530
mov ecx, dword [rsp + 0x184]
mov ebp, dword [rsp + 0x188]
test al, al
mov eax, 0
cmove rcx, rax
cmove rbp, rax
mov qword [rsp + 0x160], rbp
mov rax, rcx
sub rax, rbp
jae 0x140158388
mov qword [rsp + 0x40], rcx
mov ecx, 2
call fcn.14009abb0
test al, al
je 0x140158386
mov qword [rsp + 0x50], rbp
lea rbp, [rsp + 0x180]
mov rcx, rbp
lea rdx, str....._third_partycrashpadcrashpad_snapshotwinprocess_reader_win.cc
mov r8d, 0x1cb
mov r9d, 2
call fcn.140046020
mov r8d, 0x15
lea rcx, [rsp + 0x190]
lea rdx, str.invalid_stack_range:
call fcn.14007ee10
mov rcx, rax
mov rdx, qword [rsp + 0x40]
call fcn.140025800
mov r8d, 3
mov rcx, rax
lea rdx, [0x1401967f8]
call fcn.14007ee10
mov rcx, rax
mov rdx, qword [rsp + 0x50]
call fcn.140025800
mov rcx, rbp
call fcn.140046630
xor eax, eax
mov qword [rsp + 0x168], rax
mov eax, dword [0x1401d0b78]
mov ecx, dword [0x1401c31d8]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1401586e1
mov rax, qword [0x1401d0b70]
test rax, rax
je 0x140158458
mov qword [rsp + 0x88], r13
mov rcx, qword [rsp + 0x38]
lea rdx, [rsp + 0x88]
call qword [0x1401a61b0]
test eax, eax
js 0x14015849f
mov rbp, qword [rsp + 0x88]
mov qword [rsp + 0x78], rbp
test rbp, rbp
je 0x1401586ce
mov rcx, rbp
call fcn.1400e0844
mov qword [rsp + 0x80], rax
lea rcx, [rsp + 0x180]
lea rdx, [rsp + 0x78]
call fcn.140092b90
cmp byte [rsp + 0x147], 0
jns 0x140158437
mov rcx, qword [rsp + 0x130]
call fcn.1400c22b8
mov rax, qword [rsp + 0x190]
mov qword [r14 + 0x28], rax
movups xmm0, xmmword [rsp + 0x180]
movups xmmword [r14 + 0x18], xmm0
mov rcx, rbp
call fcn.14007c110
mov rbp, qword [rdi + 0x1d8]
cmp rbp, qword [rdi + 0x1e0]
jb 0x14015847f
mov rcx, qword [rsp + 0x58]
lea rdx, [rsp + 0x108]
call fcn.1401588f0
mov rbp, rax
jmp 0x140158493
mov rcx, rbp
lea rdx, [rsp + 0x108]
call fcn.140158a50
add rbp, 0x78
mov qword [rdi + 0x1d8], rbp
jmp 0x140157f7c
mov ebp, eax
mov ecx, 1
call fcn.14009abb0
test al, al
je 0x140158458
lea rcx, [rsp + 0x180]
lea rdx, str....._third_partycrashpadcrashpad_snapshotwinprocess_reader_win.cc
mov r8d, 0x1dc
mov r9d, 1
call fcn.140046020
mov r8d, 0x16
lea rcx, [rsp + 0x190]
lea rdx, str.GetThreadDescription:
call fcn.14007ee10
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0x60]
mov edx, ebp
call fcn.140118d50
movsx r8, byte [rsp + 0x77]
lea rdx, [rsp + 0x60]
test r8, r8
jns 0x140158514
mov r8, qword [rsp + 0x68]
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x40]
call fcn.14007ee10
cmp byte [rsp + 0x77], 0
jns 0x14015852f
mov rcx, qword [rsp + 0x60]
call fcn.1400c22b8
lea rcx, [rsp + 0x180]
call fcn.140046630
jmp 0x140158458
mov ebp, eax
mov eax, edi
xor al, 1
test ebp, ebp
setne cl
or cl, al
jne 0x1401585dc
mov ecx, 1
call fcn.14009abb0
xor ebp, ebp
test al, al
je 0x1401585e2
lea rdi, [rsp + 0x180]
mov rcx, rdi
lea rdx, str....._third_partycrashpadcrashpad_snapshotwinprocess_reader_win.cc
mov r8d, 0xa1
mov r9d, 1
call fcn.140046020
mov r8d, 7
lea rcx, [rsp + 0x190]
lea rdx, str.Thread
call fcn.14007ee10
mov rdx, qword [rsp + 0x148]
mov rcx, rax
call fcn.140025800
mov r8d, 0x34
mov rcx, rax
lea rdx, str._should_be_suspended__but_previous_suspend_count_is
call fcn.14007ee10
xor ebp, ebp
mov rcx, rax
xor edx, edx
call fcn.140025360
mov rcx, rdi
call fcn.140046630
jmp 0x1401585e2
movzx eax, dil
sub ebp, eax
mov dword [rsp + 0x170], ebp
cmp byte [rsp + 0x37], 0
mov rdi, r13
je 0x140158619
lea rcx, [rsp + 0x108]
mov rdx, qword [rsp + 0x38]
call fcn.1401575b0
test al, al
movabs r13, 0xaaaaaaaaaaaaaaaa
je 0x140157f7c
jmp 0x140158660
mov ecx, 0x800
call fcn.140167140
test al, al
movabs r13, 0xaaaaaaaaaaaaaaaa
mov rdx, qword [rsp + 0x38]
jne 0x140158645
lea rcx, [rsp + 0x108]
call fcn.1401574d0
jmp 0x140158658
mov r8d, 0x800
lea rcx, [rsp + 0x108]
call fcn.140157690
test al, al
je 0x140157f7c
mov rbp, qword [rsp + 0x38]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_ResumeThread]
test eax, eax
jne 0x140157ecb
mov ecx, 2
call fcn.14009abb0
test al, al
je 0x140157f7c
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rbp, [rsp + 0x180]
mov rcx, rbp
lea rdx, str....._third_partycrashpadcrashpad_snapshotwinprocess_reader_win.cc
mov r8d, 0xc0
mov r9d, 2
call fcn.140118ff0
mov r8d, 0xc
lea rcx, [rsp + 0x190]
lea rdx, [0x1401a1aaa]
jmp 0x140158133
lea rcx, [0x140183d1d]
lea rdx, str....._third_partylibc_srcinclude_string_view:268:_assertion___s___nullptr_failed:_null_pointer_passed_to_non_null_argument_of_char_traits_..._::length_n
call fcn.1400fc0a0
lea rcx, [0x1401d0b78]
call fcn.1400c22fc
cmp dword [0x1401d0b78], 0xffffffff
jne 0x1401583b5
lea rcx, [0x140189e9a]
lea rdx, str.::GetThreadDescription
xor r8d, r8d
call fcn.140079960
mov qword [0x1401d0b70], rax
lea rcx, [0x1401d0b78]
call fcn.1400c23b0
jmp 0x1401583b5