Function at 0x5c6570
Capabilities:
Resume thread
Suspend thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x160
mov eax, dword [0x7aa024]
xor eax, ebp
mov dword [esp + 0x158], eax
mov dword [esp + 0xc], ecx
mov eax, dword [ecx]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x60]
mov dword [eax], 0xffffffff
mov esi, 0x4000
mov ebx, 0x14
push 0x4000
call fcn.0064cda3
add esp, 4
lea ecx, [esp + 0x60]
push ecx
push esi
mov dword [esp + 8], eax
push eax
push 5
call fcn.006e2270
add esp, 0x10
mov edi, eax
cmp eax, 0xc0000023
je 0x5c65de
cmp edi, 0xc0000004
jne 0x5c6642
mov esi, dword [esp + 0x60]
mov eax, 0x1000
add esi, eax
mov eax, dword [esp]
test eax, eax
je 0x5c65f9
push eax
call fcn.0064cdac
add esp, 4
push esi
call fcn.0064cda3
add esp, 4
dec ebx
jne 0x5c65b8
mov dword [esp], eax
push 2
call fcn.005e42f0
add esp, 4
test al, al
jne 0x5c6ce2
mov ecx, dword [esp]
test ecx, ecx
je 0x5c662a
push ecx
call fcn.0064cdac
add esp, 4
mov ecx, dword [esp + 0x158]
xor ecx, ebp
call fcn.0064d372
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 4
test edi, edi
js 0x5c66ce
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.dll_GetProcessId]
mov edi, eax
mov ecx, dword [esp]
mov ebx, ecx
mov esi, dword [esp + 0xc]
cmp dword [ebx + 0x44], edi
je 0x5c66d6
mov eax, dword [ebx]
test eax, eax
je 0x5c666e
add ebx, eax
jne 0x5c665f
push 2
call fcn.005e42f0
add esp, 4
test al, al
je 0x5c661a
lea ebx, [esp + 0xb0]
mov ecx, ebx
push 2
push 0x6d
push str....._third_partycrashpadcrashpad_snapshotwinprocess_reader_win.cc
call fcn.005417e0
lea eax, [esp + 0xb8]
push 8
push str.process
push eax
call fcn.0067fe70
add esp, 0xc
mov ecx, eax
push edi
call fcn.004a3270
push 0xa
push str._not_found
push eax
call fcn.0067fe70
add esp, 0xc
mov ecx, ebx
call fcn.00541c20
jmp 0x5c661a
mov eax, dword [esp]
jmp 0x5c6605
test ebx, ebx
je 0x5c661d
cmp dword [ebx + 4], 0
je 0x5c661d
lea eax, [esi + 0x98]
mov dword [esp + 0x14], eax
lea eax, [esi + 0x138]
mov dword [esp + 0x18], eax
pcmpeqd xmm0, xmm0
lea ecx, [ebx + 0xd8]
xor edx, edx
xor eax, eax
mov dword [esp + 0x1c], eax
movdqa xmmword [esp + 0x60], xmm0
movdqa xmmword [esp + 0x70], xmm0
movdqa xmmword [esp + 0xa0], xmm0
movdqa xmmword [esp + 0x90], xmm0
movdqa xmmword [esp + 0x80], xmm0
mov dword [esp + 0x60], edx
mov byte [esp + 0x64], 0
mov dword [esp + 0x68], edx
mov dword [esp + 0x6c], edx
mov dword [esp + 0x70], edx
lea eax, [esp + 0x78]
pxor xmm0, xmm0
movdqu xmmword [eax + 0x24], xmm0
movdqu xmmword [eax + 0x18], xmm0
movdqu xmmword [eax + 8], xmm0
mov eax, dword [ecx + 4]
mov dword [esp + 0x7c], edx
mov dword [esp + 0x78], eax
mov dword [esp + 0x20], 0xffffffff
mov dword [esp + 0x40], 0x18
lea eax, [esp + 0x44]
mov dword [eax + 0x10], edx
movdqu xmmword [eax], xmm0
mov dword [esp + 0x10], ecx
push ecx
lea eax, [esp + 0x44]
push eax
push 0x4a
lea eax, [esp + 0x2c]
push eax
call fcn.006e21e0
add esp, 0x10
test eax, eax
js 0x5c6803
mov edi, dword [esp + 0x20]
test edi, edi
je 0x5c6813
mov dl, byte [esi + 0x150]
mov eax, dword [esp + 0x78]
mov ecx, dword fs:[0x18]
xor eax, dword [ecx + 0x24]
or eax, dword [esp + 0x7c]
je 0x5c684b
mov byte [esp + 8], dl
mov esi, edi
push edi
call dword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
jne 0x5c68a2
push 2
call fcn.005e42f0
add esp, 4
test al, al
mov edi, esi
jne 0x5c6931
push edi
call fcn.0058e370
add esp, 4
mov esi, dword [esp + 0xc]
jmp 0x5c6813
mov edi, eax
push 2
call fcn.005e42f0
add esp, 4
test al, al
jne 0x5c6864
mov eax, dword [esp + 0x68]
test eax, eax
je 0x5c6828
mov dword [esp + 0x6c], eax
push eax
call fcn.0064cd6e
add esp, 4
mov eax, dword [esp + 0x1c]
inc eax
mov ecx, dword [esp + 0x10]
add ecx, 0x40
cmp eax, dword [ebx + 4]
pcmpeqd xmm0, xmm0
mov edx, 0
jb 0x5c670a
jmp 0x5c661a
mov dword [esp + 0xa0], 0
lea ecx, [esp + 0x60]
call fcn.0070dfb0
jmp 0x5c69a5
lea ecx, [esp + 0xb0]
push edi
push 2
push 0x7c
push str....._third_partycrashpadcrashpad_snapshotwinprocess_reader_win.cc
call fcn.006e25a0
push 0xc
push str.NtOpenThread
lea eax, [esp + 0xc0]
push eax
call fcn.0067fe70
add esp, 0xc
lea ecx, [esp + 0xb0]
call fcn.006e25d0
jmp 0x5c6813
mov edi, eax
mov al, byte [esp + 8]
test al, al
je 0x5c6976
test edi, edi
jne 0x5c6976
xor edi, edi
push 1
call fcn.005e42f0
add esp, 4
test al, al
je 0x5c697b
lea ecx, [esp + 0xb0]
push 1
push 0x9d
push str....._third_partycrashpadcrashpad_snapshotwinprocess_reader_win.cc
call fcn.005417e0
push 7
push str.Thread
lea eax, [esp + 0xc0]
push eax
call fcn.0067fe70
add esp, 0xc
mov ecx, eax
push dword [esp + 0x7c]
push dword [esp + 0x7c]
call fcn.004a36d0
push 0x34
push str._should_be_suspended__but_previous_suspend_count_is
push eax
call fcn.0067fe70
add esp, 0xc
mov ecx, eax
push 0
call fcn.004a3270
lea ecx, [esp + 0xb0]
call fcn.00541c20
jmp 0x5c697b
call fcn.006a2ff0
lea edi, [esp + 0xb0]
mov ecx, edi
push eax
push 2
push 0x98
push str....._third_partycrashpadcrashpad_snapshotwinprocess_reader_win.cc
call fcn.006a3120
push 0xd
push 0x79f22b
lea eax, [esp + 0xc0]
push eax
call fcn.0067fe70
add esp, 0xc
mov ecx, edi
mov edi, esi
call fcn.006a3180
jmp 0x5c67f4
movzx eax, al
sub edi, eax
mov dword [esp + 0xa0], edi
lea ecx, [esp + 0x60]
mov edi, esi
push esi
call fcn.0070e000
test al, al
je 0x5c67f4
push edi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
test eax, eax
je 0x5c6c44
mov dword [esp + 0xa4], 0x20
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 8]
mov dword [esp + 0xa8], eax
pcmpeqd xmm0, xmm0
movdqu xmmword [esp + 0x4c], xmm0
movdqa xmmword [esp + 0x40], xmm0
mov ecx, edi
xor edi, edi
push edi
push 0x1c
lea eax, [esp + 0x48]
push eax
push edi
mov dword [esp + 0x18], ecx
push ecx
call fcn.006e2300
add esp, 0x14
test eax, eax
js 0x5c6abd
pcmpeqd xmm0, xmm0
movdqu xmmword [esp + 0x2c], xmm0
movdqa xmmword [esp + 0x20], xmm0
mov eax, dword [esp + 0x44]
mov dword [esp + 0x84], edi
mov dword [esp + 0x80], eax
mov dword [esp + 0x8c], edi
mov dword [esp + 0x88], 0xf98
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x20]
push edx
push edi
push 0x1c
push edi
push eax
call fcn.006fdba0
test al, al
mov esi, dword [esp + 0xc]
je 0x5c6bd7
cmp byte [ebp + 8], 0
je 0x5c6b17
pcmpeqd xmm0, xmm0
movdqu xmmword [esp + 0xbc], xmm0
movdqa xmmword [esp + 0xb0], xmm0
mov eax, dword [esp + 0x20]
xor edi, edi
mov dword [esp + 0x84], edi
mov dword [esp + 0x80], eax
mov dword [esp + 0x8c], edi
mov dword [esp + 0x88], 0xf98
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0xb0]
push edx
push edi
push 0x1c
push edi
push eax
call fcn.006fdba0
mov ecx, 0
mov esi, 0
test al, al
je 0x5c6b21
mov ecx, dword [esp + 0xb4]
mov esi, dword [esp + 0xb8]
jmp 0x5c6b21
mov esi, eax
push 2
call fcn.005e42f0
add esp, 4
test al, al
mov edi, dword [esp + 8]
je 0x5c67f4
lea edi, [esp + 0xb0]
mov ecx, edi
push esi
push 2
push 0x1a9
push str....._third_partycrashpadcrashpad_snapshotwinprocess_reader_win.cc
call fcn.006e25a0
push 0x18
push str.NtQueryInformationThread
lea eax, [esp + 0xc0]
push eax
call fcn.0067fe70
add esp, 0xc
mov ecx, edi
mov edi, dword [esp + 8]
call fcn.006e25d0
jmp 0x5c67f4
xor edi, edi
mov ecx, dword [esp + 0x24]
mov esi, dword [esp + 0x28]
mov dword [esp + 0x90], esi
mov dword [esp + 0x94], edi
cmp ecx, esi
mov eax, edi
sbb eax, edi
jae 0x5c6bbd
mov dword [esp + 4], ecx
push 2
call fcn.005e42f0
add esp, 4
mov ecx, 0
test al, al
mov eax, 0
je 0x5c6bc5
lea ecx, [esp + 0xb0]
push 2
push 0x1c9
push str....._third_partycrashpadcrashpad_snapshotwinprocess_reader_win.cc
call fcn.005417e0
push 0x15
push str.invalid_stack_range:
lea eax, [esp + 0xc0]
push eax
call fcn.0067fe70
add esp, 0xc
mov ecx, eax
push edi
push dword [esp + 8]
call fcn.004a36d0
push 3
push 0x74b3b3
push eax
call fcn.0067fe70
add esp, 0xc
mov ecx, eax
push edi
push esi
call fcn.004a36d0
lea ecx, [esp + 0xb0]
call fcn.00541c20
xor eax, eax
xor ecx, ecx
jmp 0x5c6bc5
sub ecx, esi
sbb edi, edi
mov eax, ecx
mov ecx, edi
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], ecx
mov esi, dword [esp + 0xc]
mov edi, dword [esi + 0x13c]
cmp edi, dword [esi + 0x140]
je 0x5c6ccf
mov al, byte [esp + 0x64]
mov byte [edi + 4], al
mov eax, dword [esp + 0x60]
mov dword [edi], eax
xor eax, eax
mov dword [edi + 8], eax
mov dword [edi + 0xc], eax
mov dword [edi + 0x10], eax
mov eax, dword [esp + 0x6c]
sub eax, dword [esp + 0x68]
jne 0x5c6c82
lea ecx, [esp + 0x78]
mov eax, dword [ecx + 0x30]
mov dword [edi + 0x48], eax
movups xmm0, xmmword [ecx + 0x20]
movups xmmword [edi + 0x38], xmm0
movdqu xmm0, xmmword [ecx]
movups xmm1, xmmword [ecx + 0x10]
movups xmmword [edi + 0x28], xmm1
movdqu xmmword [edi + 0x18], xmm0
add edi, 0x50
mov esi, dword [esp + 0xc]
mov dword [esi + 0x13c], edi
mov edi, dword [esp + 8]
jmp 0x5c67f4
push 2
call fcn.005e42f0
add esp, 4
test al, al
je 0x5c67f4
call fcn.006a2ff0
lea edi, [esp + 0xb0]
mov ecx, edi
push eax
push 2
push 0xbc
push str....._third_partycrashpadcrashpad_snapshotwinprocess_reader_win.cc
call fcn.006a3120
push 0xc
push 0x79f276
jmp 0x5c6958
js 0x5c6d1d
push eax
mov dword [esp + 8], eax
call fcn.0064cd3e
add esp, 4
mov esi, eax
mov dword [edi + 0xc], eax
mov dword [edi + 8], eax
mov eax, dword [esp + 4]
add eax, esi
mov dword [edi + 0x10], eax
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x6c]
sub ecx, eax
test ecx, ecx
jle 0x5c6cc7
push ecx
push eax
push esi
mov dword [esp + 0x10], ecx
call fcn.00650080
add esp, 0xc
add esi, dword [esp + 4]
mov dword [edi + 0xc], esi
jmp 0x5c6c0b
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x60]
push eax
call fcn.0070e500
jmp 0x5c6c3b
lea ebx, [esp + 0xb0]
mov ecx, ebx
push edi
push 2
push 0x5b
push str....._third_partycrashpadcrashpad_snapshotwinprocess_reader_win.cc
call fcn.006e25a0
lea eax, [esp + 0xb8]
push 0x18
push str.NtQuerySystemInformation
push eax
call fcn.0067fe70
add esp, 0xc
mov ecx, ebx
call fcn.006e25d0
jmp 0x5c661a
call fcn.006626d0
int3