Function at 0x1400293c0
Capabilities:
Resume thread
Suspend thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r14
sub rsp, 0x240
movzx r14d, r9b
mov rdi, r8
mov rbp, rdx
xor ebx, ebx
mov dword [rsp + 0x270], ebx
mov rax, qword gs:[0x30]
mov rax, qword [rax + 0x48]
cmp qword [r8 + 0x4d0], rax
jne 0x140029427
mov dword [r8 + 0x4f8], ebx
mov rcx, r8
call fcn.140044e90
mov al, 1
lea r11, [rsp + 0x240]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_SuspendThread]
mov esi, eax
cmp eax, 0xffffffff
jne 0x140029499
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], 2
mov r9d, 0xee
lea r8, str.T:p4depotLoL__MAIN__codeExternal_sentry_tmp_sentry_nativeexternalcrashpad_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.140049da0
nop
mov dword [rsp + 0x270], 4
lea rdx, [0x14009a9f0]
mov rcx, rax
call fcn.1400012e0
nop
lea rcx, [rsp + 0x138]
call fcn.14004a080
xor al, al
jmp 0x14002940f
test esi, esi
jne 0x140029525
cmp r14b, 1
jne 0x140029525
mov dword [rsp + 0x20], 1
mov r9d, 0xf3
lea r8, str.T:p4depotLoL__MAIN__codeExternal_sentry_tmp_sentry_nativeexternalcrashpad_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.140049c10
nop
mov dword [rsp + 0x270], 8
lea rdx, str.Thread
mov rcx, rax
call fcn.1400012e0
mov rdx, qword [rdi + 0x4d0]
mov rcx, rax
call fcn.140003b20
mov rcx, rax
lea rdx, str._should_be_suspended__but_previous_suspend_count_is
call fcn.1400012e0
mov edx, esi
mov rcx, rax
call fcn.14000dea0
nop
lea rcx, [rsp + 0x138]
call fcn.140049e20
mov esi, ebx
jmp 0x14002952f
sub esi, r14d
mov ebx, dword [rsp + 0x270]
mov dword [rdi + 0x4f8], esi
xor edx, edx
mov r8d, 0x4d0
mov rcx, rdi
call fcn.1400559b0
mov rdx, rdi
mov rcx, rbp
cmp byte [rsp + 0x280], 0
je 0x1400295bb
mov dword [rdi], 0x10001f
call qword [sym.imp.KERNEL32.dll_Wow64GetThreadContext]
test eax, eax
jne 0x14002961b
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], 2
mov r9d, 0x105
lea r8, str.T:p4depotLoL__MAIN__codeExternal_sentry_tmp_sentry_nativeexternalcrashpad_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 + 0x30]
call fcn.140049da0
nop
or ebx, 0x10
mov dword [rsp + 0x270], ebx
lea rdx, [0x14009aa40]
mov rcx, rax
call fcn.1400012e0
nop
test bl, 0x10
jmp 0x140029679
mov dword [rdi + 0x30], 0x10001f
call qword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
jne 0x14002961b
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], 2
mov r9d, 0x10d
lea r8, str.T:p4depotLoL__MAIN__codeExternal_sentry_tmp_sentry_nativeexternalcrashpad_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 + 0x30]
call fcn.140049da0
nop
or ebx, 0x20
mov dword [rsp + 0x270], ebx
lea rdx, [0x14009aa58]
mov rcx, rax
call fcn.1400012e0
nop
test bl, 0x20
jmp 0x140029679
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_ResumeThread]
test eax, eax
jne 0x14002940d
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], 2
mov r9d, 0x117
lea r8, str.T:p4depotLoL__MAIN__codeExternal_sentry_tmp_sentry_nativeexternalcrashpad_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 + 0x30]
call fcn.140049da0
nop
or ebx, 0x40
mov dword [rsp + 0x270], ebx
lea rdx, [0x14009aa70]
mov rcx, rax
call fcn.1400012e0
nop
test bl, 0x40
je 0x140029685
lea rcx, [rsp + 0x30]
call fcn.14004a080
xor al, al
jmp 0x14002940f