Function at 0x4efea0
Capabilities:
Resume thread
Suspend thread

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0x18]
sub esp, 0x160
mov eax, dword [eax + 0x24]
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
cmp dword [edi + 0x30], eax
jne 0x4efef2
cmp dword [edi + 0x34], 0
jne 0x4efef2
push 0x2cc
lea ecx, [edi + 8]
mov dword [edi + 0x58], 0
call fcn.004aa0d0
mov eax, dword [edi]
add eax, dword [edi + 8]
push eax
mov byte [edi + 4], 1
call fcn.004fd2e0
add esp, 4
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret
mov ebx, dword [ebp + 8]
push ebx
call dword [sym.imp.KERNEL32.dll_SuspendThread]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4eff47
push 0x59cd0c
call sub.KERNEL32.dll_GetLastError
push eax
push 2
push 0x9b
push str..._.._.._snapshot_win_process_reader_win.cc
push str.bool___cdecl_crashpad::_anonymous_namespace::FillThreadContextAndSuspendCount_struct_crashpad::process_types::internal::Traits32__void__struct_crashpad::ProcessReaderWin::Thread__enum_crashpad::ProcessSuspensionState_bool_
lea ecx, [ebp - 0xb0]
call fcn.0050c390
push eax
call fcn.00439550
add esp, 8
lea ecx, [ebp - 0xb0]
call fcn.0050c5b0
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
mov al, byte [ebp + 0x10]
test esi, esi
jne 0x4effae
cmp al, 1
jne 0x4effae
push str.Thread
push 1
push 0xa0
push str..._.._.._snapshot_win_process_reader_win.cc
push str.bool___cdecl_crashpad::_anonymous_namespace::FillThreadContextAndSuspendCount_struct_crashpad::process_types::internal::Traits32__void__struct_crashpad::ProcessReaderWin::Thread__enum_crashpad::ProcessSuspensionState_bool_
lea ecx, [ebp - 0xa8]
call fcn.0050c270
push eax
call fcn.00439550
add esp, 8
mov ecx, eax
push str._should_be_suspended__but_previous_suspend_count_is
push dword [edi + 0x34]
push dword [edi + 0x30]
call fcn.004e1050
push eax
call fcn.00439550
add esp, 8
mov ecx, eax
push esi
call fcn.004f1150
lea ecx, [ebp - 0xa8]
call fcn.0050c3e0
xor esi, esi
jmp 0x4effb3
movzx eax, al
sub esi, eax
push 0x2cc
lea ecx, [edi + 8]
mov dword [edi + 0x58], esi
call fcn.004aa0d0
mov eax, dword [edi + 8]
mov ecx, dword [edi]
mov byte [edi + 4], 1
mov dword [ecx + eax], 0x1003f
mov eax, dword [edi]
add eax, dword [edi + 8]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
jne 0x4f0028
push 0x59c6a8
call sub.KERNEL32.dll_GetLastError
push eax
push 2
push 0xd7
push str..._.._.._snapshot_win_process_reader_win.cc
push str.bool___thiscall_crashpad::ProcessReaderWin::ThreadContext::InitializeNative_void__
lea ecx, [ebp - 0x160]
call fcn.0050c390
push eax
call fcn.00439550
add esp, 8
lea ecx, [ebp - 0x160]
call fcn.0050c5b0
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
push ebx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
test eax, eax
jne 0x4efee9
push 0x59cd5c
call sub.KERNEL32.dll_GetLastError
push eax
push 2
push 0xbf
push str..._.._.._snapshot_win_process_reader_win.cc
push str.bool___cdecl_crashpad::_anonymous_namespace::FillThreadContextAndSuspendCount_struct_crashpad::process_types::internal::Traits32__void__struct_crashpad::ProcessReaderWin::Thread__enum_crashpad::ProcessSuspensionState_bool_
lea ecx, [ebp - 0x160]
call fcn.0050c390
push eax
call fcn.00439550
add esp, 8
lea ecx, [ebp - 0x160]
call fcn.0050c5b0
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret