Function at 0x1400624d0
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 0x14006255f
mov dword [rdx + 0x70], 0
lea r8, [rbp + 0x388]
mov edx, 0x4d0
lea rcx, [rdi + 0x10]
call fcn.140063500
mov rcx, qword [rdi + 0x10]
add rcx, qword [rdi]
mov byte [rdi + 8], 1
call fcn.1400c3d50
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 0x1400625b6
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.140028500
mov rcx, rax
lea rdx, [0x1400d3df8]
call fcn.140007ed0
lea rcx, [rbp + 0x48]
call fcn.140028830
xor al, al
jmp 0x140062542
test ebx, ebx
jne 0x140062624
cmp r15b, 1
jne 0x140062624
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.140028380
mov rcx, rax
lea rdx, str.Thread
call fcn.140007ed0
mov rdx, qword [rdi + 0x48]
mov rcx, rax
call fcn.14000a7f0
mov rcx, rax
lea rdx, str._should_be_suspended__but_previous_suspend_count_is
call fcn.140007ed0
mov rcx, rax
mov edx, ebx
call fcn.140028e10
lea rcx, [rbp + 0x48]
call fcn.140028580
jmp 0x140062627
sub ebx, r15d
mov dword [rdi + 0x70], ebx
test r12b, r12b
je 0x1400626c5
lea r8, [rbp + 0x388]
mov edx, 0x2cc
lea rcx, [rdi + 0x10]
call fcn.140063500
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 0x1400628ed
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.140028500
mov rcx, rax
lea rdx, [0x1400d36c8]
call fcn.140007ed0
lea rcx, [rbp + 0x150]
call fcn.140028830
xor al, al
jmp 0x140062542
mov ecx, 0x800
call fcn.140068a80
test al, al
je 0x140062862
mov rax, qword gs:[0x58]
mov ecx, dword [0x140104188]
mov edx, 0x80
mov rcx, qword [rax + rcx*8]
mov eax, dword [rdx + rcx]
cmp dword [0x1401038e0], eax
jg 0x140062936
mov rax, qword [0x1401038d8]
test rax, rax
je 0x1400628e6
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 0x14006279d
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
je 0x14006279d
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.140028500
mov rcx, rax
lea rdx, str.InitializeContext2___getting_required_size
call fcn.140007ed0
lea rcx, [rbp + 0x150]
call fcn.140028830
xor al, al
jmp 0x140062542
mov edx, dword [rsp + 0x30]
lea r8, [rbp + 0x388]
lea rcx, [rdi + 0x10]
call fcn.140063500
mov rcx, qword [rdi + 0x10]
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x38]
mov qword [rsp + 0x20], 0x800
mov edx, 0x10005f
call qword [0x1401038d8]
test eax, eax
jne 0x14006282a
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.140028500
mov rcx, rax
lea rdx, str.InitializeContext2___initializing
call fcn.140007ed0
lea rcx, [rbp + 0x258]
call fcn.140028830
xor al, al
jmp 0x140062542
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 0x1400628ed
call sub.KERNEL32.dll_GetLastError
mov r9d, 0x10e
lea rdx, str.bool___cdecl_crashpad::ProcessReaderWin::ThreadContext::InitializeXState_void__unsigned___int64_
jmp 0x1400628b0
lea r8, [rbp + 0x388]
mov edx, 0x4d0
lea rcx, [rdi + 0x10]
call fcn.140063500
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 0x1400628ed
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.140028500
lea rdx, [0x1400d3628]
mov rcx, rax
call fcn.140007ed0
lea rcx, [rsp + 0x40]
call fcn.140028830
xor al, al
jmp 0x140062542
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_ResumeThread]
test eax, eax
jne 0x140062540
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.140028500
lea rdx, [0x1400d3e48]
jmp 0x1400628d4
lea rcx, [0x1401038e0]
call fcn.14008e434
cmp dword [0x1401038e0], 0xffffffff
jne 0x1400626fe
xor r8d, r8d
lea rdx, str.::InitializeContext2
lea rcx, [0x1400cac58]
call fcn.14003a1c0
lea rcx, [0x1401038e0]
mov qword [0x1401038d8], rax
call fcn.14008e3d4
jmp 0x1400626fe