Function at 0x140033f10
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 0x140033f77
mov dword [r8 + 0x4f8], ebx
mov rcx, r8
call fcn.140054c50
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 0x140033fe9
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], 2
mov r9d, 0xee
lea r8, str.E:.conan7ca4bd1_sourcesexternalcrashpad_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.14005b5a0
nop
mov dword [rsp + 0x270], 4
lea rdx, [0x140143a70]
mov rcx, rax
call fcn.140001300
nop
lea rcx, [rsp + 0x138]
call fcn.14005b8e0
xor al, al
jmp 0x140033f5f
test esi, esi
jne 0x140034075
cmp r14b, 1
jne 0x140034075
mov dword [rsp + 0x20], 1
mov r9d, 0xf3
lea r8, str.E:.conan7ca4bd1_sourcesexternalcrashpad_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.14005b410
nop
mov dword [rsp + 0x270], 8
lea rdx, str.Thread
mov rcx, rax
call fcn.140001300
mov rdx, qword [rdi + 0x4d0]
mov rcx, rax
call fcn.140004300
mov rcx, rax
lea rdx, str._should_be_suspended__but_previous_suspend_count_is
call fcn.140001300
mov edx, esi
mov rcx, rax
call fcn.140031cb0
nop
lea rcx, [rsp + 0x138]
call fcn.14005b620
mov esi, ebx
jmp 0x14003407f
sub esi, r14d
mov ebx, dword [rsp + 0x270]
mov dword [rdi + 0x4f8], esi
xor edx, edx
mov r8d, 0x4d0
mov rcx, rdi
call fcn.14009ebc0
mov rdx, rdi
mov rcx, rbp
cmp byte [rsp + 0x280], 0
je 0x14003410b
mov dword [rdi], 0x10001f
call qword [sym.imp.KERNEL32.dll_Wow64GetThreadContext]
test eax, eax
jne 0x14003416b
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], 2
mov r9d, 0x105
lea r8, str.E:.conan7ca4bd1_sourcesexternalcrashpad_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.14005b5a0
nop
or ebx, 0x10
mov dword [rsp + 0x270], ebx
lea rdx, [0x140143ac0]
mov rcx, rax
call fcn.140001300
nop
test bl, 0x10
jmp 0x1400341c9
mov dword [rdi + 0x30], 0x10001f
call qword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
jne 0x14003416b
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], 2
mov r9d, 0x10d
lea r8, str.E:.conan7ca4bd1_sourcesexternalcrashpad_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.14005b5a0
nop
or ebx, 0x20
mov dword [rsp + 0x270], ebx
lea rdx, [0x140143ad8]
mov rcx, rax
call fcn.140001300
nop
test bl, 0x20
jmp 0x1400341c9
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_ResumeThread]
test eax, eax
jne 0x140033f5d
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], 2
mov r9d, 0x117
lea r8, str.E:.conan7ca4bd1_sourcesexternalcrashpad_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.14005b5a0
nop
or ebx, 0x40
mov dword [rsp + 0x270], ebx
lea rdx, [0x140143af0]
mov rcx, rax
call fcn.140001300
nop
test bl, 0x40
je 0x1400341d5
lea rcx, [rsp + 0x30]
call fcn.14005b8e0
xor al, al
jmp 0x140033f5f