Function at 0x14002d710
Capabilities:
Resume thread
Suspend thread

Disassembly:
mov rax, rsp
push rsi
push rdi
push r14
sub rsp, 0x560
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
movzx r14d, r9b
mov rdi, r8
mov rsi, rdx
xor ebp, ebp
mov dword [rax + 0x18], ebp
mov rax, qword gs:[0x30]
mov rax, qword [rax + 0x48]
cmp qword [r8 + 0x48], rax
jne 0x14002d78d
mov dword [r8 + 0x70], ebp
mov edx, 0x4d0
lea rcx, [r8 + 0x10]
call fcn.14002c540
mov byte [rdi + 8], 1
mov rcx, qword [rdi + 0x10]
add rcx, qword [rdi]
call fcn.14004ade0
mov al, 1
lea r11, [rsp + 0x560]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_SuspendThread]
mov ebx, eax
cmp eax, 0xffffffff
jne 0x14002d7ff
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], 2
mov r9d, 0xf3
lea r8, str.D:JenkinsworkspaceN_SentryNativeSDKexternalcrashpad_snapshotwinprocess_reader_win.cc
lea rdx, str.bool___cdecl_crashpad::_anonymous_namespace::FillThreadContextAndSuspendCount_struct_crashpad::process_types::internal::Traits64__void__void__struct_crashpad::ProcessReaderWin::Thread__enum_crashpad::ProcessSuspensionState_bool_
lea rcx, [rsp + 0x138]
call fcn.14004fc20
nop
mov dword [rsp + 0x590], 4
lea rdx, [0x1400a2170]
mov rcx, rax
call fcn.140001300
nop
lea rcx, [rsp + 0x138]
call fcn.14004ff50
xor al, al
jmp 0x14002d775
test ebx, ebx
jne 0x14002d87f
cmp r14b, 1
jne 0x14002d883
mov dword [rsp + 0x20], 1
mov r9d, 0xf8
lea r8, str.D:JenkinsworkspaceN_SentryNativeSDKexternalcrashpad_snapshotwinprocess_reader_win.cc
lea rdx, str.bool___cdecl_crashpad::_anonymous_namespace::FillThreadContextAndSuspendCount_struct_crashpad::process_types::internal::Traits64__void__void__struct_crashpad::ProcessReaderWin::Thread__enum_crashpad::ProcessSuspensionState_bool_
lea rcx, [rsp + 0x38]
call fcn.14004fa70
nop
mov dword [rsp + 0x590], 8
lea rdx, str.Thread
mov rcx, rax
call fcn.140001300
mov rdx, qword [rdi + 0x48]
mov rcx, rax
call fcn.140003f20
mov rcx, rax
lea rdx, str._should_be_suspended__but_previous_suspend_count_is
call fcn.140001300
mov edx, ebx
mov rcx, rax
call fcn.14000eb90
nop
lea rcx, [rsp + 0x38]
call fcn.14004fcb0
mov dword [rdi + 0x70], ebp
jmp 0x14002d88c
cmp r14b, 1
sete bpl
sub ebx, ebp
mov dword [rdi + 0x70], ebx
cmp byte [rsp + 0x5a0], 0
je 0x14002d934
mov edx, 0x2cc
lea rcx, [rdi + 0x10]
call fcn.14002c540
mov byte [rdi + 8], 1
mov rcx, qword [rdi + 0x10]
mov rax, qword [rdi]
mov dword [rcx + rax], 0x10001f
mov rdx, qword [rdi + 0x10]
add rdx, qword [rdi]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_Wow64GetThreadContext]
test eax, eax
jne 0x14002d95f
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], 2
mov r9d, 0x13f
lea r8, str.D:JenkinsworkspaceN_SentryNativeSDKexternalcrashpad_snapshotwinprocess_reader_win.cc
lea rdx, str.bool___cdecl_crashpad::ProcessReaderWin::ThreadContext::InitializeWow64_void__
lea rcx, [rsp + 0x240]
call fcn.14004fc20
nop
mov dword [rsp + 0x590], 0x40
lea rdx, [0x1400a1a18]
mov rcx, rax
call fcn.140001300
nop
lea rcx, [rsp + 0x240]
call fcn.14004ff50
xor al, al
jmp 0x14002d775
mov ecx, 0x800
call fcn.140036290
test al, al
je 0x14002d9d2
mov r8d, 0x800
mov rdx, rsi
mov rcx, rdi
call fcn.14002ed90
test al, al
je 0x14002d775
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_ResumeThread]
test eax, eax
jne 0x14002d773
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], 2
mov r9d, 0x11b
lea r8, str.D:JenkinsworkspaceN_SentryNativeSDKexternalcrashpad_snapshotwinprocess_reader_win.cc
lea rdx, str.bool___cdecl_crashpad::_anonymous_namespace::FillThreadContextAndSuspendCount_struct_crashpad::process_types::internal::Traits64__void__void__struct_crashpad::ProcessReaderWin::Thread__enum_crashpad::ProcessSuspensionState_bool_
lea rcx, [rsp + 0x450]
call fcn.14004fc20
nop
mov dword [rsp + 0x590], 0x10
lea rdx, [0x1400a21c0]
mov rcx, rax
call fcn.140001300
nop
lea rcx, [rsp + 0x450]
call fcn.14004ff50
xor al, al
jmp 0x14002d775
mov edx, 0x4d0
lea rcx, [rdi + 0x10]
call fcn.14002c540
mov byte [rdi + 8], 1
mov rcx, qword [rdi + 0x10]
mov rax, qword [rdi]
mov dword [rax + rcx + 0x30], 0x10001f
mov rdx, qword [rdi + 0x10]
add rdx, qword [rdi]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
jne 0x14002d95f
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], 2
mov r9d, 0x133
lea r8, str.D:JenkinsworkspaceN_SentryNativeSDKexternalcrashpad_snapshotwinprocess_reader_win.cc
lea rdx, str.bool___cdecl_crashpad::ProcessReaderWin::ThreadContext::InitializeNative_void__
lea rcx, [rsp + 0x348]
call fcn.14004fc20
nop
mov dword [rsp + 0x590], 0x200
lea rdx, [0x1400a1940]
mov rcx, rax
call fcn.140001300
nop
lea rcx, [rsp + 0x348]
call fcn.14004ff50
xor al, al
jmp 0x14002d775