Function at 0x552ea0
Capabilities:
Resume thread
Suspend thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6c7565
mov eax, dword fs:[0]
push eax
sub esp, 0x364
push ebx
push esi
push edi
mov eax, dword [0x78efc4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], 0
mov eax, dword fs:[0x18]
mov edi, dword [ebp + 0xc]
mov eax, dword [eax + 0x24]
cmp dword [edi + 0x30], eax
jne 0x552f87
cmp dword [edi + 0x34], 0
jne 0x552f87
mov dword [edi + 0x58], 0
mov eax, dword [edi + 0xc]
mov ecx, eax
mov edx, dword [edi + 8]
sub ecx, edx
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x10], eax
cmp ecx, 0x2cc
jbe 0x552f1c
lea eax, [edx + 0x2cc]
jmp 0x552f57
jae 0x552f5a
mov eax, dword [edi + 0x10]
sub eax, edx
cmp eax, 0x2cc
jae 0x552f3d
lea eax, [ebp + 0xf]
push eax
push 0x2cc
lea ecx, [edi + 8]
call fcn.004e5450
jmp 0x552f5a
mov esi, 0x2cc
sub esi, ecx
push esi
push 0
push dword [ebp - 0x10]
call fcn.00679eb0
mov eax, dword [ebp - 0x10]
add esp, 0xc
add eax, esi
mov dword [edi + 0xc], eax
mov eax, dword [edi + 8]
add eax, dword [edi]
push eax
mov byte [edi + 4], 1
mov dword [ebp - 4], 0xffffffff
call fcn.0055d390
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 + 8]
push eax
call dword [sym.imp.KERNEL32.dll_SuspendThread]
mov esi, eax
cmp esi, 0xffffffff
jne 0x552ff5
call sub.KERNEL32.dll_GetLastError
push eax
push 2
push 0x9b
push str.C:jenkinsworkspaceext_win_buildexternals_srccrashpad_snapshotwinprocess_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 - 0xc0]
call fcn.00540930
push 0x6d1b74
push eax
mov dword [ebp - 4], 3
mov dword [ebp - 0x10], 4
call fcn.004b47f0
add esp, 8
lea ecx, [ebp - 0xc0]
call fcn.00540b80
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 + 0x10]
test esi, esi
jne 0x553073
cmp al, 1
jne 0x553073
push 1
push 0xa0
push str.C:jenkinsworkspaceext_win_buildexternals_srccrashpad_snapshotwinprocess_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 - 0x168]
call fcn.005407a0
push str.Thread
push eax
mov dword [ebp - 4], 4
mov dword [ebp - 0x10], 8
call fcn.004b47f0
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.004b2f50
push eax
call fcn.004b47f0
add esp, 8
mov ecx, eax
push esi
call fcn.00513d40
lea ecx, [ebp - 0x168]
mov dword [ebp - 4], 0xffffffff
xor ebx, ebx
call fcn.005409c0
xor esi, esi
jmp 0x55307b
mov ebx, dword [ebp - 0x10]
movzx eax, al
sub esi, eax
mov dword [edi + 0x58], esi
lea esi, [edi + 8]
mov eax, dword [esi + 4]
mov ecx, eax
mov edx, dword [esi]
sub ecx, edx
mov dword [ebp - 0x10], eax
cmp ecx, 0x2cc
jbe 0x55309d
lea eax, [edx + 0x2cc]
jmp 0x5530da
jae 0x5530dd
mov eax, dword [esi + 8]
sub eax, edx
cmp eax, 0x2cc
jae 0x5530bd
lea eax, [ebp + 0xf]
mov ecx, esi
push eax
push 0x2cc
call fcn.004e5450
jmp 0x5530dd
mov esi, 0x2cc
sub esi, ecx
push esi
push 0
push dword [ebp - 0x10]
call fcn.00679eb0
mov eax, dword [ebp - 0x10]
add esp, 0xc
add eax, esi
lea esi, [edi + 8]
mov dword [esi + 4], eax
mov byte [edi + 4], 1
test bl, bl
jns 0x5530f6
lea ecx, [ebp - 0x370]
and ebx, 0xffffff7f
call fcn.005409c0
mov ecx, dword [esi]
mov eax, dword [edi]
mov dword [ebp - 4], 0xffffffff
mov dword [ecx + eax], 0x1003f
test ebx, 0x100
je 0x553121
lea ecx, [ebp - 0xb8]
and ebx, 0xfffffeff
call fcn.005409c0
mov eax, dword [esi]
add eax, dword [edi]
mov esi, dword [ebp + 8]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
jne 0x553195
call sub.KERNEL32.dll_GetLastError
push eax
push 2
push 0xd7
push str.C:jenkinsworkspaceext_win_buildexternals_srccrashpad_snapshotwinprocess_reader_win.cc
push str.bool___thiscall_crashpad::ProcessReaderWin::ThreadContext::InitializeNative_void__
lea ecx, [ebp - 0x218]
call fcn.00540930
push 0x6d14dc
or ebx, 0x40
mov dword [ebp - 4], 7
push eax
mov dword [ebp - 0x10], ebx
call fcn.004b47f0
add esp, 8
test bl, 0x40
je 0x5531f1
lea ecx, [ebp - 0x218]
call fcn.00540b80
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 0x552f73
call sub.KERNEL32.dll_GetLastError
push eax
push 2
push 0xbf
push str.C:jenkinsworkspaceext_win_buildexternals_srccrashpad_snapshotwinprocess_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 - 0x2c8]
call fcn.00540930
push 0x6d1bc4
or ebx, 0x10
mov dword [ebp - 4], 8
push eax
mov dword [ebp - 0x10], ebx
call fcn.004b47f0
add esp, 8
test bl, 0x10
je 0x5531f1
lea ecx, [ebp - 0x2c8]
call fcn.00540b80
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