Function at 0x4fcf98
Capabilities:
Resume thread
Suspend thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x1a0
mov eax, dword [0x5a8564]
xor eax, ebp
mov dword [esp + 0x198], eax
mov dword [esp + 0x14], ecx
mov eax, dword [ecx]
mov dword [esp + 0xc], eax
push 0x4000
call fcn.005327e3
add esp, 4
lea ecx, [esp + 0x90]
mov dword [ecx], 0xffffffff
mov esi, 0x4000
mov ebx, 0x14
lea ecx, [esp + 0x90]
push ecx
push esi
mov dword [esp + 0xc], eax
push eax
push 5
call fcn.004f0b9e
add esp, 0x10
mov edi, eax
cmp eax, 0xc0000023
je 0x4fd010
cmp edi, 0xc0000004
jne 0x4fd0ac
mov esi, dword [esp + 0x90]
mov eax, 0x1000
add esi, eax
mov eax, dword [esp + 4]
test eax, eax
je 0x4fd02f
push eax
call fcn.005327ec
add esp, 4
push esi
call fcn.005327e3
add esp, 4
dec ebx
jne 0x4fcfe3
mov dword [esp + 4], eax
push 2
call fcn.0044f030
add esp, 4
test al, al
je 0x4fd083
lea ebx, [esp + 0xf0]
mov ecx, ebx
push edi
push 2
push 0x5e
push str....._third_partycrashpadcrashpad_snapshotwinprocess_reader_win.cc
call fcn.004f0d90
lea eax, [esp + 0xf8]
push 0x18
push str.NtQuerySystemInformation
push eax
call fcn.0040218b
add esp, 0xc
mov ecx, ebx
call fcn.004f0dbc
mov ecx, dword [esp + 4]
test ecx, ecx
je 0x4fd094
push ecx
call fcn.005327ec
add esp, 4
mov ecx, dword [esp + 0x198]
xor ecx, ebp
call fcn.005327f1
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 4
test edi, edi
js 0x4fd135
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetProcessId]
mov edi, eax
mov ecx, dword [esp + 4]
mov ebx, ecx
cmp dword [ebx + 0x44], edi
je 0x4fd13e
mov eax, dword [ebx]
test eax, eax
je 0x4fd0d5
add ebx, eax
jne 0x4fd0c6
push 2
call fcn.0044f030
add esp, 4
test al, al
je 0x4fd083
lea ebx, [esp + 0xf0]
mov ecx, ebx
push 2
push 0x70
push str....._third_partycrashpadcrashpad_snapshotwinprocess_reader_win.cc
call fcn.0044f100
lea eax, [esp + 0xf8]
push 8
push str.process
push eax
call fcn.0040218b
add esp, 0xc
mov ecx, eax
push edi
call fcn.0040e8b0
push 0xa
push str._not_found
push eax
call fcn.0040218b
add esp, 0xc
mov ecx, ebx
call fcn.0044f510
jmp 0x4fd083
mov eax, dword [esp + 4]
jmp 0x4fd03b
test ebx, ebx
je 0x4fd087
cmp dword [ebx + 4], 0
je 0x4fd087
mov ecx, dword [esp + 0x14]
lea eax, [ecx + 0x58]
mov dword [esp + 0x18], eax
lea eax, [ecx + 0xb8]
mov dword [esp + 0x10], eax
pcmpeqd xmm0, xmm0
lea eax, [ecx + 0xc4]
mov dword [esp + 0x20], eax
lea ecx, [ebx + 0xd8]
xor edx, edx
xor esi, esi
dec esi
xor eax, eax
mov dword [esp + 0x24], eax
movdqa xmmword [esp + 0x90], xmm0
mov dword [esp + 0xe4], esi
mov dword [esp + 0xe0], esi
movdqa xmmword [esp + 0xd0], xmm0
movdqa xmmword [esp + 0xc0], xmm0
movdqa xmmword [esp + 0xb0], xmm0
movdqa xmmword [esp + 0xa0], xmm0
mov dword [esp + 0x90], edx
mov byte [esp + 0x94], 0
lea eax, [esp + 0x98]
pxor xmm0, xmm0
movdqu xmmword [eax + 0x3c], xmm0
movdqu xmmword [eax + 0x30], xmm0
movdqu xmmword [eax + 0x20], xmm0
movdqu xmmword [eax + 0x10], xmm0
movdqu xmmword [eax], xmm0
mov eax, dword [ecx + 4]
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb4], edx
mov dword [esp + 0x8c], esi
mov dword [esp + 0x88], esi
mov dword [esp + 0x84], esi
mov dword [esp + 0x40], esi
mov dword [esp + 0x60], 0x18
lea eax, [esp + 0x64]
mov dword [eax + 0x10], edx
movdqu xmmword [eax], xmm0
mov dword [esp + 0xc], ecx
push ecx
lea eax, [esp + 0x64]
push eax
push 0x4a
lea eax, [esp + 0x4c]
push eax
call fcn.004f0b48
add esp, 0x10
test eax, eax
js 0x4fd403
mov edi, dword [esp + 0x40]
mov dword [esp + 0x84], 0x5747fc
mov dword [esp + 0x88], edi
mov byte [esp + 0x8c], 0
test edi, edi
je 0x4fd94e
mov eax, dword [esp + 0x14]
mov dl, byte [eax + 0xd0]
mov eax, dword [esp + 0xb0]
mov ecx, dword fs:[0x18]
xor eax, dword [ecx + 0x24]
or eax, dword [esp + 0xb4]
jne 0x4fd46f
mov dword [esp + 0xd8], 0
lea ecx, [esp + 0x98]
push 0x2cc
call fcn.00403270
mov byte [esp + 0x94], 1
mov eax, dword [esp + 0x98]
add eax, dword [esp + 0x90]
push eax
call fcn.004f0f50
add esp, 4
mov dword [esp + 0xdc], 0x20
mov eax, dword [esp + 0xc]
mov eax, dword [eax + 8]
mov dword [esp + 0xe0], eax
pcmpeqd xmm0, xmm0
movdqu xmmword [esp + 0x6c], xmm0
movdqa xmmword [esp + 0x60], xmm0
xor esi, esi
push esi
push 0x1c
lea eax, [esp + 0x68]
push eax
push esi
push dword [esp + 0x98]
call fcn.004f0bf3
add esp, 0x14
test eax, eax
js 0x4fd515
pcmpeqd xmm0, xmm0
movdqu xmmword [esp + 0x4c], xmm0
movdqa xmmword [esp + 0x40], xmm0
mov eax, dword [esp + 0x64]
mov dword [esp + 0xbc], esi
mov dword [esp + 0xb8], eax
mov dword [esp + 0xc4], esi
mov dword [esp + 0xc0], 0xf98
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x40]
push edx
push esi
push 0x1c
push esi
push eax
call fcn.004fdc90
test al, al
je 0x4fd710
cmp byte [ebp + 8], 0
je 0x4fd62f
pcmpeqd xmm0, xmm0
movdqu xmmword [esp + 0xfc], xmm0
movdqa xmmword [esp + 0xf0], xmm0
mov eax, dword [esp + 0x40]
xor edx, edx
mov dword [esp + 0xbc], edx
mov dword [esp + 0xb8], eax
mov dword [esp + 0xc4], edx
mov dword [esp + 0xc0], 0xf98
mov ecx, dword [esp + 0x18]
lea esi, [esp + 0xf0]
push esi
push edx
push 0x1c
push edx
push eax
call fcn.004fdc90
movq xmm1, qword [esp + 0xf4]
punpckldq xmm1, xmmword [0x561990]
movzx eax, al
movd xmm0, eax
pshufd xmm0, xmm0, 0x44
psllq xmm0, 0x3f
pshufd xmm0, xmm0, 0xf5
psrad xmm0, 0x1f
pand xmm0, xmm1
jmp 0x4fd63d
mov edi, eax
push 2
call fcn.0044f030
add esp, 4
test al, al
je 0x4fd44c
lea ecx, [esp + 0xf0]
push edi
push 2
push 0x7f
push str....._third_partycrashpadcrashpad_snapshotwinprocess_reader_win.cc
call fcn.004f0d90
push 0xc
push str.NtOpenThread
lea eax, [esp + 0x100]
push eax
call fcn.0040218b
add esp, 0xc
lea ecx, [esp + 0xf0]
call fcn.004f0dbc
mov dword [esp + 0x84], 0x5747fc
mov dword [esp + 0x88], 0
mov byte [esp + 0x8c], 0
jmp 0x4fd94e
mov byte [esp + 8], dl
push edi
call dword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
je 0x4fd56f
mov cl, byte [esp + 8]
test cl, cl
je 0x4fd5aa
test eax, eax
jne 0x4fd5aa
push 1
call fcn.0044f030
add esp, 4
test al, al
je 0x4fd50e
lea ecx, [esp + 0xf0]
push 1
push 0xa0
push str....._third_partycrashpadcrashpad_snapshotwinprocess_reader_win.cc
call fcn.0044f100
push 7
push str.Thread
lea eax, [esp + 0x100]
push eax
call fcn.0040218b
add esp, 0xc
mov ecx, eax
push dword [esp + 0xb4]
push dword [esp + 0xb4]
call fcn.0040ecd0
push 0x34
push str._should_be_suspended__but_previous_suspend_count_is
push eax
call fcn.0040218b
add esp, 0xc
mov ecx, eax
push 0
call fcn.0040e8b0
lea ecx, [esp + 0xf0]
call fcn.0044f510
xor eax, eax
jmp 0x4fd5af
mov edi, eax
push 2
call fcn.0044f030
add esp, 4
test al, al
mov esi, 0xffffffff
je 0x4fd94e
lea ecx, [esp + 0xf0]
push edi
push 2
push 0x1aa
push str....._third_partycrashpadcrashpad_snapshotwinprocess_reader_win.cc
call fcn.004f0d90
push 0x18
push str.NtQueryInformationThread
lea eax, [esp + 0x100]
push eax
call fcn.0040218b
add esp, 0xc
lea ecx, [esp + 0xf0]
call fcn.004f0dbc
jmp 0x4fd94e
push 2
call fcn.0044f030
add esp, 4
test al, al
je 0x4fd94e
call fcn.0044ff30
lea edi, [esp + 0xf0]
mov ecx, edi
push eax
push 2
push 0x9b
push str....._third_partycrashpadcrashpad_snapshotwinprocess_reader_win.cc
call fcn.004500d0
push 0xd
push 0x5795c0
jmp 0x4fd613
movzx ecx, cl
sub eax, ecx
mov dword [esp + 0xd8], eax
lea ecx, [esp + 0x90]
push edi
call fcn.004fcc34
test al, al
je 0x4fd94e
push edi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
test eax, eax
jne 0x4fd2d8
push 2
call fcn.0044f030
add esp, 4
test al, al
je 0x4fd94e
call fcn.0044ff30
lea edi, [esp + 0xf0]
mov ecx, edi
push eax
push 2
push 0xbf
push str....._third_partycrashpadcrashpad_snapshotwinprocess_reader_win.cc
call fcn.004500d0
push 0xc
push 0x57960b
lea eax, [esp + 0x100]
push eax
call fcn.0040218b
add esp, 0xc
mov ecx, edi
call fcn.00450180
jmp 0x4fd94e
movq xmm0, qword [esp + 0x44]
punpckldq xmm0, xmmword [0x561990]
pshufd xmm1, xmm0, 0xff
movd ecx, xmm1
pshufd xmm1, xmm0, 0xee
movd edx, xmm1
movq qword [esp + 0xc8], xmm1
pshufd xmm1, xmm0, 0x55
movd esi, xmm1
movd edi, xmm0
cmp edi, edx
mov eax, esi
sbb eax, ecx
jae 0x4fd6fa
mov dword [esp + 0x1c], edx
mov dword [esp + 8], ecx
push 2
call fcn.0044f030
add esp, 4
mov ecx, 0
test al, al
mov eax, 0
je 0x4fd702
lea ecx, [esp + 0xf0]
push 2
push 0x1ca
push str....._third_partycrashpadcrashpad_snapshotwinprocess_reader_win.cc
call fcn.0044f100
push 0x15
push str.invalid_stack_range:
lea eax, [esp + 0x100]
push eax
call fcn.0040218b
add esp, 0xc
mov ecx, eax
push esi
push edi
call fcn.0040ecd0
push 3
push 0x562b69
push eax
call fcn.0040218b
add esp, 0xc
mov ecx, eax
push dword [esp + 8]
push dword [esp + 0x20]
call fcn.0040ecd0
lea ecx, [esp + 0xf0]
call fcn.0044f510
xor eax, eax
xor ecx, ecx
jmp 0x4fd702
sub edi, edx
sbb esi, ecx
mov eax, edi
mov ecx, esi
mov dword [esp + 0xd0], eax
mov dword [esp + 0xd4], ecx
mov eax, dword [0x5ba26c]
test al, 1
je 0x4fd989
mov ecx, dword [0x5ba268]
test ecx, ecx
je 0x4fd870
mov dword [esp + 0x3c], 0xffffffff
mov esi, dword [esp + 0x88]
call dword [section..00cfg]
lea eax, [esp + 0x3c]
push eax
push esi
call ecx
test eax, eax
js 0x4fd7db
mov dword [esp + 0xf8], 0xffffffff
mov eax, dword [esp + 0x3c]
mov dword [esp + 0xf0], 0x577a3c
mov dword [esp + 0xf4], eax
mov byte [esp + 0xf8], 0
lea ecx, [esp + 0x28]
push eax
call fcn.0040aff0
push dword [esp + 0x2c]
push dword [esp + 0x2c]
lea eax, [esp + 0x38]
push eax
call fcn.00442160
add esp, 0xc
cmp byte [esp + 0xaf], 0
jns 0x4fd7b1
push dword [esp + 0xa4]
call fcn.005327b0
add esp, 4
mov eax, dword [esp + 0x38]
lea ecx, [esp + 0x98]
mov dword [ecx + 0x14], eax
movq xmm0, qword [esp + 0x30]
movq qword [ecx + 0xc], xmm0
lea ecx, [esp + 0xf0]
call fcn.004edcb6
jmp 0x4fd870
mov edi, eax
push 1
call fcn.0044f030
add esp, 4
test al, al
je 0x4fd870
lea ecx, [esp + 0xf0]
push 1
push 0x1db
push str....._third_partycrashpadcrashpad_snapshotwinprocess_reader_win.cc
call fcn.0044f100
push 0x16
push str.GetThreadDescription:
lea eax, [esp + 0x100]
push eax
call fcn.0040218b
add esp, 0xc
mov dword [esp + 8], eax
push edi
lea esi, [esp + 0x34]
push esi
call fcn.0044ff40
add esp, 8
movzx eax, byte [esp + 0x3b]
mov ecx, esi
test al, al
jns 0x4fd843
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
push eax
push ecx
push dword [esp + 0x10]
call fcn.0040218b
add esp, 0xc
cmp byte [esp + 0x3b], 0
jns 0x4fd864
push dword [esp + 0x30]
call fcn.005327b0
add esp, 4
lea ecx, [esp + 0xf0]
call fcn.0044f510
mov edi, dword [esp + 0x14]
mov esi, dword [edi + 0xbc]
cmp esi, dword [edi + 0xc0]
je 0x4fd8a1
lea eax, [esp + 0x90]
push eax
push esi
call fcn.004fdb43
add esp, 8
add esi, 0x58
mov dword [edi + 0xbc], esi
jmp 0x4fd94b
mov eax, dword [esp + 0x10]
sub esi, dword [eax]
sar esi, 3
imul esi, esi, 0xba2e8ba3
lea eax, [esi + 1]
cmp eax, 0x2e8ba2f
jae 0x4fd9b1
lea ecx, [esi + esi]
cmp ecx, eax
cmova eax, ecx
cmp esi, 0x1745d17
mov ecx, 0x2e8ba2e
cmovae eax, ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x100], ecx
test eax, eax
je 0x4fd8f1
push eax
push ecx
call fcn.004fdc68
add esp, 8
mov edi, eax
jmp 0x4fd8f5
xor edi, edi
xor edx, edx
mov dword [esp + 0xf0], edi
imul esi, esi, 0x58
lea eax, [edi + esi]
mov dword [esp + 0xf4], eax
imul ecx, edx, 0x58
add ecx, edi
mov dword [esp + 0xfc], ecx
lea ecx, [esp + 0x90]
push ecx
push eax
call fcn.004fdb43
add esp, 8
lea eax, [edi + esi]
add eax, 0x58
mov dword [esp + 0xf8], eax
mov ecx, dword [esp + 0x10]
lea esi, [esp + 0xf0]
push esi
call fcn.004fdbce
mov ecx, esi
call fcn.004fdc30
xor esi, esi
dec esi
lea ecx, [esp + 0x84]
call fcn.004ccc80
lea ecx, [esp + 0x90]
call fcn.004fdb02
mov eax, dword [esp + 0x24]
inc eax
mov ecx, dword [esp + 0xc]
add ecx, 0x40
cmp eax, dword [ebx + 4]
pcmpeqd xmm0, xmm0
mov edx, 0
jb 0x4fd180
jmp 0x4fd083
or eax, 1
mov dword [0x5ba26c], eax
push 0
push str.::GetThreadDescription
push 0x562d10
call fcn.004edd64
add esp, 0xc
mov ecx, eax
mov dword [0x5ba268], eax
jmp 0x4fd723
mov ecx, dword [esp + 0x10]
call fcn.00403480