Function at 0x140074bb0
Capabilities:
Resume thread
Suspend thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r15
lea rbp, [rsp - 0x360]
sub rsp, 0x460
mov rax, qword gs:[0x30]
movzx r12d, r9b
movzx r15d, r8b
mov rdi, rdx
mov rsi, rcx
mov rax, qword [rax + 0x48]
cmp qword [rdx + 0x48], rax
jne 0x140074c3f
mov dword [rdx + 0x70], 0
lea r8, [rbp + 0x388]
mov edx, 0x4d0
lea rcx, [rdi + 0x10]
call fcn.1400278b0
mov rcx, qword [rdi + 0x10]
add rcx, qword [rdi]
mov byte [rdi + 8], 1
call fcn.1400da420
mov al, 1
lea r11, [rsp + 0x460]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r12
pop rbp
ret
call qword [sym.imp.KERNEL32.dll_SuspendThread]
mov ebx, eax
cmp eax, 0xffffffff
jne 0x140074c96
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x28], eax
lea r8, str..._.._.._snapshot_win_process_reader_win.cc
mov r9d, 0x9c
mov dword [rsp + 0x20], 2
lea rdx, str.bool___cdecl_crashpad::_anonymous_namespace::FillThreadContextAndSuspendCount_struct_crashpad::process_types::internal::Traits64__void__struct_crashpad::ProcessReaderWin::Thread__enum_crashpad::ProcessSuspensionState_bool_
lea rcx, [rbp + 0x48]
call fcn.14002db60
mov rcx, rax
lea rdx, [0x1400ebb98]
call fcn.140009610
lea rcx, [rbp + 0x48]
call fcn.14002df10
xor al, al
jmp 0x140074c22
test ebx, ebx
jne 0x140074d06
cmp r15b, 1
jne 0x140074d06
mov r9d, 0xa1
mov dword [rsp + 0x20], 1
lea r8, str..._.._.._snapshot_win_process_reader_win.cc
lea rdx, str.bool___cdecl_crashpad::_anonymous_namespace::FillThreadContextAndSuspendCount_struct_crashpad::process_types::internal::Traits64__void__struct_crashpad::ProcessReaderWin::Thread__enum_crashpad::ProcessSuspensionState_bool_
lea rcx, [rbp + 0x48]
call fcn.14002d900
mov rcx, rax
lea rdx, str.Thread
call fcn.140009610
mov rdx, qword [rdi + 0x48]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_long_long_unsigned___int64_____ptr64]
mov rcx, rax
lea rdx, str._should_be_suspended__but_previous_suspend_count_is
call fcn.140009610
mov rcx, rax
mov edx, ebx
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_long_int____ptr64]
lea rcx, [rbp + 0x48]
call fcn.14002dc50
jmp 0x140074d09
sub ebx, r15d
mov dword [rdi + 0x70], ebx
test r12b, r12b
je 0x140074da7
lea r8, [rbp + 0x388]
mov edx, 0x2cc
lea rcx, [rdi + 0x10]
call fcn.1400278b0
mov rcx, qword [rdi + 0x10]
mov rax, qword [rdi]
mov byte [rdi + 8], 1
mov dword [rcx + rax], 0x10001f
mov rcx, rsi
mov rdx, qword [rdi + 0x10]
add rdx, qword [rdi]
call qword [sym.imp.KERNEL32.dll_Wow64GetThreadContext]
test eax, eax
jne 0x140074fcf
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x28], eax
lea r8, str..._.._.._snapshot_win_process_reader_win.cc
mov r9d, 0xe4
mov dword [rsp + 0x20], 2
lea rdx, str.bool___cdecl_crashpad::ProcessReaderWin::ThreadContext::InitializeWow64_void__
lea rcx, [rbp + 0x150]
call fcn.14002db60
mov rcx, rax
lea rdx, [0x1400eb468]
call fcn.140009610
lea rcx, [rbp + 0x150]
call fcn.14002df10
xor al, al
jmp 0x140074c22
mov ecx, 0x800
call fcn.14007adf0
test al, al
je 0x140074f44
mov rax, qword gs:[0x58]
mov ecx, dword [0x1401476c0]
mov edx, 0x80
mov rcx, qword [rax + rcx*8]
mov eax, dword [rdx + rcx]
cmp dword [0x140147430], eax
jg 0x140075018
mov rax, qword [0x140147428]
test rax, rax
je 0x140074fc8
lea r9, [rsp + 0x30]
mov qword [rsp + 0x38], 0
lea r8, [rsp + 0x38]
mov dword [rsp + 0x30], 0
mov edx, 0x10005f
mov qword [rsp + 0x20], 0x800
xor ecx, ecx
call rax
test eax, eax
jne 0x140074e7f
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
je 0x140074e7f
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x28], eax
lea r8, str..._.._.._snapshot_win_process_reader_win.cc
mov r9d, 0xfd
mov dword [rsp + 0x20], 2
lea rdx, str.bool___cdecl_crashpad::ProcessReaderWin::ThreadContext::InitializeXState_void__unsigned___int64_
lea rcx, [rbp + 0x150]
call fcn.14002db60
mov rcx, rax
lea rdx, str.InitializeContext2___getting_required_size
call fcn.140009610
lea rcx, [rbp + 0x150]
call fcn.14002df10
xor al, al
jmp 0x140074c22
mov edx, dword [rsp + 0x30]
lea r8, [rbp + 0x388]
lea rcx, [rdi + 0x10]
call fcn.1400278b0
mov rcx, qword [rdi + 0x10]
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x38]
mov qword [rsp + 0x20], 0x800
mov edx, 0x10005f
call qword [0x140147428]
test eax, eax
jne 0x140074f0c
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x28], eax
lea r8, str..._.._.._snapshot_win_process_reader_win.cc
mov r9d, 0x107
mov dword [rsp + 0x20], 2
lea rdx, str.bool___cdecl_crashpad::ProcessReaderWin::ThreadContext::InitializeXState_void__unsigned___int64_
lea rcx, [rbp + 0x258]
call fcn.14002db60
mov rcx, rax
lea rdx, str.InitializeContext2___initializing
call fcn.140009610
lea rcx, [rbp + 0x258]
call fcn.14002df10
xor al, al
jmp 0x140074c22
mov rdx, qword [rsp + 0x38]
mov rcx, rsi
mov rax, rdx
mov byte [rdi + 8], 1
sub rax, qword [rdi + 0x10]
mov qword [rdi], rax
call qword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
jne 0x140074fcf
call sub.KERNEL32.dll_GetLastError
mov r9d, 0x10e
lea rdx, str.bool___cdecl_crashpad::ProcessReaderWin::ThreadContext::InitializeXState_void__unsigned___int64_
jmp 0x140074f92
lea r8, [rbp + 0x388]
mov edx, 0x4d0
lea rcx, [rdi + 0x10]
call fcn.1400278b0
mov rcx, qword [rdi + 0x10]
mov rax, qword [rdi]
mov byte [rdi + 8], 1
mov dword [rcx + rax + 0x30], 0x10001f
mov rcx, rsi
mov rdx, qword [rdi + 0x10]
add rdx, qword [rdi]
call qword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
jne 0x140074fcf
call sub.KERNEL32.dll_GetLastError
mov r9d, 0xd8
lea rdx, str.bool___cdecl_crashpad::ProcessReaderWin::ThreadContext::InitializeNative_void__
mov dword [rsp + 0x28], eax
lea r8, str..._.._.._snapshot_win_process_reader_win.cc
lea rcx, [rsp + 0x40]
mov dword [rsp + 0x20], 2
call fcn.14002db60
lea rdx, [0x1400eb3c8]
mov rcx, rax
call fcn.140009610
lea rcx, [rsp + 0x40]
call fcn.14002df10
xor al, al
jmp 0x140074c22
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_ResumeThread]
test eax, eax
jne 0x140074c20
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x28], eax
lea r8, str..._.._.._snapshot_win_process_reader_win.cc
mov r9d, 0xc0
mov dword [rsp + 0x20], 2
lea rdx, str.bool___cdecl_crashpad::_anonymous_namespace::FillThreadContextAndSuspendCount_struct_crashpad::process_types::internal::Traits64__void__struct_crashpad::ProcessReaderWin::Thread__enum_crashpad::ProcessSuspensionState_bool_
lea rcx, [rsp + 0x40]
call fcn.14002db60
lea rdx, [0x1400ebbe8]
jmp 0x140074fb6
lea rcx, [0x140147430]
call fcn.1400d4f04
cmp dword [0x140147430], 0xffffffff
jne 0x140074de0
xor r8d, r8d
lea rdx, str.::InitializeContext2
lea rcx, [0x1400e1d38]
call fcn.14003e120
lea rcx, [0x140147430]
mov qword [0x140147428], rax
call fcn.1400d4ea4
jmp 0x140074de0