Function at 0x4c8c56
Capabilities:
Resume thread
Suspend thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x428
mov eax, dword [0x5599f4]
mov esi, 0x4000
xor ebx, ebx
xor eax, ebp
mov dword [esp + 0x420], eax
mov dword [esp + 0x10], ecx
mov eax, dword [ecx]
mov dword [esp + 0xc], eax
push 0x4000
call fcn.004d4c0e
add esp, 4
lea ecx, [esp + 0x60]
push ecx
push esi
mov dword [esp + 0x10], eax
push eax
push 5
call fcn.004af510
add esp, 0x10
mov edi, eax
cmp edi, 0xc0000023
je 0x4c8cb8
cmp edi, 0xc0000004
jne 0x4c8ce6
mov esi, dword [esp + 0x60]
add esi, 0x1000
push dword [esp + 8]
call fcn.004d4c17
add esp, 4
push esi
call fcn.004d4c0e
add esp, 4
inc ebx
cmp ebx, 0x14
jb 0x4c8c91
mov dword [esp + 8], eax
jmp 0x4c91b0
test edi, edi
js 0x4c91b0
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetProcessId]
mov ecx, dword [esp + 8]
mov edi, eax
cmp dword [ecx + 0x44], edi
mov esi, ecx
je 0x4c8d1e
mov esi, ecx
mov eax, dword [esi]
test eax, eax
je 0x4c9217
add esi, eax
je 0x4c9217
cmp dword [esi + 0x44], edi
jne 0x4c8d07
test esi, esi
je 0x4c91f6
cmp dword [esi + 4], 0
je 0x4c91f6
mov eax, dword [esp + 0x10]
lea edi, [esi + 0xd8]
xor ebx, ebx
mov dword [esp + 4], esi
lea eax, [eax + 0x68]
mov dword [esp + 0x20], eax
xor eax, eax
mov dword [esp + 0x24], eax
push 0x2cc
push ebx
lea eax, [esp + 0x120]
push eax
call fcn.004d7460
add esp, 0xc
lea eax, [esp + 0x3e8]
mov dword [esp + 0xc], edi
mov dword [eax + 4], ebx
mov dword [eax], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], ebx
mov dword [eax + 0x1c], ebx
mov dword [eax + 0x18], ebx
mov dword [eax + 0x24], ebx
mov dword [eax + 0x20], ebx
mov dword [eax + 0x30], ebx
mov dword [eax + 0x2c], ebx
mov dword [eax + 0x28], ebx
mov eax, dword [edi + 4]
mov dword [esp + 0x3ec], ebx
mov dword [esp + 0x3e8], eax
mov eax, 0x18
mov dword [esp + 0x44], eax
lea eax, [esp + 0x48]
mov dword [eax + 4], ebx
mov dword [eax], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0x10], ebx
push edi
lea eax, [esp + 0x48]
push eax
push 0x4a
lea eax, [esp + 0x34]
push eax
call fcn.004af7dd
add esp, 0x10
mov edi, eax
test edi, edi
js 0x4c8f06
mov edx, dword [esp + 0x28]
mov edi, dword [esp + 0xc]
test edx, edx
je 0x4c919d
mov eax, dword [esp + 0x10]
movzx esi, byte [eax + 0x80]
mov eax, dword [esp + 0x3e8]
mov ecx, dword fs:[0x18]
mov dword [esp + 0x14], edx
xor eax, dword [ecx + 0x24]
or eax, dword [esp + 0x3ec]
jne 0x4c8f4f
lea eax, [esp + 0x118]
mov dword [esp + 0x410], 0
push eax
call fcn.004f9d80
add esp, 4
mov eax, dword [edi + 8]
mov dword [esp + 0x414], 0x20
mov dword [esp + 0x418], eax
push ebx
push 0x1c
lea eax, [esp + 0x4c]
push eax
push ebx
push dword [esp + 0x24]
call fcn.004af58c
add esp, 0x14
mov edi, eax
test edi, edi
js 0x4c8fec
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x28]
mov dword [esp + 0x3f4], ebx
mov dword [esp + 0x3f0], eax
mov dword [esp + 0x3fc], ebx
mov dword [esp + 0x3f8], 0xf98
push edx
push ebx
push 0x1c
push ebx
push eax
call fcn.004c87fc
mov esi, dword [esp + 4]
test al, al
je 0x4c917c
cmp byte [ebp + 8], 0
je 0x4c90cb
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x10]
xor edi, edi
lea edx, [esp + 0x60]
mov dword [esp + 0x3f4], edi
mov dword [esp + 0x3f0], eax
mov dword [esp + 0x3fc], edi
mov dword [esp + 0x3f8], 0xf98
push edx
push edi
push 0x1c
push edi
push eax
call fcn.004c87fc
mov esi, dword [esp + 0x64]
mov ecx, dword [esp + 0x68]
test al, al
cmove esi, edi
cmove ecx, edi
jmp 0x4c90d5
push 2
call fcn.004180d0
add esp, 4
test al, al
je 0x4c8f46
lea esi, [esp + 0x60]
mov ecx, esi
push edi
push 2
push 0x7b
push str..._.._third_party_crashpad_crashpad_snapshot_win_process_reader_win.cc
call fcn.004af85c
push str.NtOpenThread
lea eax, [esp + 0x6c]
push eax
call fcn.004015c0
add esp, 8
mov ecx, esi
mov esi, dword [esp + 4]
call fcn.004af882
mov edi, dword [esp + 0xc]
jmp 0x4c919d
push edx
call dword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
je 0x4c903c
sub eax, esi
mov dword [esp + 0x410], eax
push 0x2cc
push 0
lea eax, [esp + 0x120]
mov esi, eax
push esi
call fcn.004d7460
add esp, 0xc
mov dword [esp + 0x118], 0x1003f
push esi
mov esi, dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
je 0x4c9076
push esi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
test eax, eax
jne 0x4c8e37
push 2
call fcn.004180d0
add esp, 4
mov esi, dword [esp + 4]
test al, al
je 0x4c9191
call sub.KERNEL32.dll_GetLastError
lea esi, [esp + 0x60]
mov ecx, esi
push eax
push 2
push 0xb6
push str..._.._third_party_crashpad_crashpad_snapshot_win_process_reader_win.cc
call fcn.00419440
push 0x552720
jmp 0x4c90ae
push 2
call fcn.004180d0
add esp, 4
mov esi, dword [esp + 4]
test al, al
je 0x4c918d
lea esi, [esp + 0x60]
mov ecx, esi
push edi
push 2
push 0x188
push str..._.._third_party_crashpad_crashpad_snapshot_win_process_reader_win.cc
call fcn.004af85c
push str.NtQueryInformationThread
lea eax, [esp + 0x6c]
push eax
call fcn.004015c0
add esp, 8
mov ecx, esi
mov esi, dword [esp + 4]
call fcn.004af882
jmp 0x4c918d
push 2
call fcn.004180d0
add esp, 4
mov esi, dword [esp + 4]
test al, al
je 0x4c9191
call sub.KERNEL32.dll_GetLastError
lea esi, [esp + 0x60]
mov ecx, esi
push eax
push 2
push 0x97
push str..._.._third_party_crashpad_crashpad_snapshot_win_process_reader_win.cc
call fcn.00419440
push 0x552701
jmp 0x4c90ae
push 2
call fcn.004180d0
add esp, 4
mov esi, dword [esp + 4]
test al, al
je 0x4c9191
call sub.KERNEL32.dll_GetLastError
lea esi, [esp + 0x60]
mov ecx, esi
push eax
push 2
push 0xb0
push str..._.._third_party_crashpad_crashpad_snapshot_win_process_reader_win.cc
call fcn.00419440
push 0x55270f
lea eax, [esp + 0x74]
push eax
call fcn.004015c0
add esp, 8
mov ecx, esi
mov esi, dword [esp + 4]
call fcn.00419560
jmp 0x4c9191
mov esi, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
xor edi, edi
cmp esi, ecx
mov eax, edi
mov dword [esp + 0x400], ecx
mov dword [esp + 0x404], edi
sbb eax, edi
jae 0x4c9164
mov dword [esp + 0x18], esi
xor esi, esi
mov dword [esp + 0x1c], ecx
push 2
call fcn.004180d0
add esp, 4
test al, al
mov eax, 0
je 0x4c916a
lea esi, [esp + 0x60]
mov ecx, esi
push 2
push 0x1a8
push str..._.._third_party_crashpad_crashpad_snapshot_win_process_reader_win.cc
call fcn.00418160
push str.invalid_stack_range:
lea eax, [esp + 0x6c]
push eax
call fcn.004015c0
add esp, 8
mov ecx, eax
push edi
push dword [esp + 0x1c]
call fcn.00418f00
push 0x5526d0
push eax
call fcn.004015c0
add esp, 8
mov ecx, eax
push edi
push dword [esp + 0x20]
call fcn.00418f00
mov ecx, esi
call fcn.00417750
xor esi, esi
xor eax, eax
jmp 0x4c916a
sub esi, ecx
sbb edi, edi
mov eax, edi
mov dword [esp + 0x408], esi
mov esi, dword [esp + 4]
mov dword [esp + 0x40c], eax
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0x118]
push eax
call fcn.004c93b8
mov edi, dword [esp + 0xc]
push dword [esp + 0x14]
call fcn.00482bde
add esp, 4
mov eax, dword [esp + 0x24]
add edi, 0x40
inc eax
cmp eax, dword [esi + 4]
jb 0x4c8d49
jmp 0x4c91f2
push 2
call fcn.004180d0
add esp, 4
test al, al
je 0x4c91f2
lea ebx, [esp + 0x118]
mov ecx, ebx
push edi
push 2
push 0x5a
push str..._.._third_party_crashpad_crashpad_snapshot_win_process_reader_win.cc
call fcn.004af85c
lea eax, [esp + 0x120]
push str.NtQuerySystemInformation
push eax
call fcn.004015c0
add esp, 8
mov ecx, ebx
call fcn.004af882
mov ecx, dword [esp + 8]
push ecx
call fcn.004d4c17
add esp, 4
mov ecx, dword [esp + 0x420]
xor ecx, ebp
call fcn.004d4bc8
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 4
push 2
call fcn.004180d0
mov ecx, dword [esp + 0xc]
add esp, 4
test al, al
je 0x4c91f6
lea ebx, [esp + 0x118]
mov ecx, ebx
push 2
push 0x6c
push str..._.._third_party_crashpad_crashpad_snapshot_win_process_reader_win.cc
call fcn.00418160
lea eax, [esp + 0x120]
push str.process
push eax
call fcn.004015c0
add esp, 8
mov ecx, eax
push edi
call fcn.00418c30
push str._not_found
push eax
call fcn.004015c0
add esp, 8
mov ecx, ebx
call fcn.00417750
jmp 0x4c91f2