Function at 0x42ea40
Capabilities:
Resume thread
Suspend thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f5f25
mov eax, dword fs:[0]
push eax
sub esp, 0x210
push ebx
push esi
push edi
mov eax, dword [0x53602c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 0x10]
mov dword [ebp + 0x10], 0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x24]
cmp dword [esi + 0x2d0], eax
jne 0x42eabd
cmp dword [esi + 0x2d4], 0
jne 0x42eabd
push esi
mov dword [esi + 0x2f8], 0
mov dword [ebp - 4], 0xffffffff
call fcn.0044c780
add esp, 4
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_SuspendThread]
mov edi, eax
cmp edi, 0xffffffff
jne 0x42eb2b
call sub.KERNEL32.dll_GetLastError
push eax
push 2
push 0xee
push str.E:.conan709e391_sourcesexternalcrashpad_snapshotwinprocess_reader_win.cc
push str.bool___cdecl_crashpad::_anonymous_namespace::FillThreadContextAndSuspendCount_struct_crashpad::process_types::internal::Traits32__void__void__struct_crashpad::ProcessReaderWin::Thread__enum_crashpad::ProcessSuspensionState_bool_
lea ecx, [ebp - 0xbc]
call fcn.00452ce0
push 0x507e64
push eax
mov dword [ebp - 4], 2
mov dword [ebp + 0x10], 4
call fcn.004012f0
add esp, 8
lea ecx, [ebp - 0xbc]
call fcn.00452fa0
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov al, byte [ebp + 0x14]
test edi, edi
jne 0x42ebaf
cmp al, 1
jne 0x42ebaf
push 1
push 0xf3
push str.E:.conan709e391_sourcesexternalcrashpad_snapshotwinprocess_reader_win.cc
push str.bool___cdecl_crashpad::_anonymous_namespace::FillThreadContextAndSuspendCount_struct_crashpad::process_types::internal::Traits32__void__void__struct_crashpad::ProcessReaderWin::Thread__enum_crashpad::ProcessSuspensionState_bool_
lea ecx, [ebp - 0xb4]
call fcn.00452b50
push str.Thread
push eax
mov dword [ebp - 4], 3
mov dword [ebp + 0x10], 8
call fcn.004012f0
add esp, 8
mov ecx, eax
push str._should_be_suspended__but_previous_suspend_count_is
push dword [esi + 0x2d4]
push dword [esi + 0x2d0]
call fcn.0042fa10
push eax
call fcn.004012f0
add esp, 8
mov ecx, eax
push edi
call fcn.0042f910
lea ecx, [ebp - 0xb4]
mov dword [ebp - 4], 0xffffffff
xor ebx, ebx
call fcn.00452d70
xor edi, edi
jmp 0x42ebb7
mov ebx, dword [ebp + 0x10]
movzx eax, al
sub edi, eax
push 0x2c8
lea eax, [esi + 4]
mov dword [esi + 0x2f8], edi
push 0
push eax
call fcn.0047fb50
add esp, 0xc
mov dword [esi], 0x1003f
push esi
mov esi, dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
jne 0x42ec46
call sub.KERNEL32.dll_GetLastError
push eax
push 2
push 0x10d
push str.E:.conan709e391_sourcesexternalcrashpad_snapshotwinprocess_reader_win.cc
push str.bool___cdecl_crashpad::_anonymous_namespace::FillThreadContextAndSuspendCount_struct_crashpad::process_types::internal::Traits32__void__void__struct_crashpad::ProcessReaderWin::Thread__enum_crashpad::ProcessSuspensionState_bool_
lea ecx, [ebp - 0x16c]
call fcn.00452ce0
push 0x507eb4
or ebx, 0x10
mov dword [ebp - 4], 4
push eax
mov dword [ebp + 0x10], ebx
call fcn.004012f0
add esp, 8
test bl, 0x10
je 0x42eca2
lea ecx, [ebp - 0x16c]
call fcn.00452fa0
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
test eax, eax
jne 0x42eaa9
call sub.KERNEL32.dll_GetLastError
push eax
push 2
push 0x117
push str.E:.conan709e391_sourcesexternalcrashpad_snapshotwinprocess_reader_win.cc
push str.bool___cdecl_crashpad::_anonymous_namespace::FillThreadContextAndSuspendCount_struct_crashpad::process_types::internal::Traits32__void__void__struct_crashpad::ProcessReaderWin::Thread__enum_crashpad::ProcessSuspensionState_bool_
lea ecx, [ebp - 0x21c]
call fcn.00452ce0
push 0x507ec8
or ebx, 0x20
mov dword [ebp - 4], 5
push eax
mov dword [ebp + 0x10], ebx
call fcn.004012f0
add esp, 8
test bl, 0x20
je 0x42eca2
lea ecx, [ebp - 0x21c]
call fcn.00452fa0
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret