Function at 0x57a390
Capabilities:
Resume thread
Suspend thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x190
mov eax, dword [0x5c7040]
xor eax, ebp
mov dword [esp + 0x188], eax
mov dword [esp + 0x14], ecx
mov eax, dword [ecx]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x80]
mov dword [eax], 0xffffffff
mov esi, 0x4000
mov ebx, 0x14
push 0x4000
call fcn.004f50e3
add esp, 4
jmp 0x57a408
mov esi, dword [esp + 0x80]
mov eax, 0x1000
add esi, eax
mov eax, dword [esp + 0x10]
test eax, eax
je 0x57a3fc
push eax
call fcn.004f50ec
add esp, 4
push esi
call fcn.004f50e3
add esp, 4
dec ebx
je 0x57a471
lea ecx, [esp + 0x80]
push ecx
push esi
mov dword [esp + 0x18], eax
push eax
push 5
call fcn.00555300
add esp, 0x10
mov edi, eax
cmp eax, 0xc0000023
je 0x57a3dd
cmp edi, 0xc0000004
je 0x57a3dd
test edi, edi
js 0x57a46d
push dword [esp + 0x18]
call dword [sym.imp.KERNEL32.dll_GetProcessId]
mov edi, eax
mov ecx, dword [esp + 0x10]
mov ebx, ecx
cmp dword [ebx + 0x44], edi
je 0x57a4e2
mov eax, dword [ebx]
test eax, eax
je 0x57a45a
add ebx, eax
jne 0x57a447
push 2
call fcn.004b90d0
add esp, 4
test al, al
je 0x57a4b9
jmp 0x57a7f6
mov eax, dword [esp + 0x10]
mov dword [esp + 0x10], eax
push 2
call fcn.004b90d0
add esp, 4
test al, al
je 0x57a4b9
lea ebx, [esp + 0xe0]
mov ecx, ebx
push edi
push 2
push 0x5f
push str....._third_partycrashpadcrashpad_snapshotwinprocess_reader_win.cc
call fcn.00555630
lea eax, [esp + 0xe8]
push 0x18
push str.NtQuerySystemInformation
push eax
call fcn.00493c00
add esp, 0xc
mov ecx, ebx
call fcn.00555660
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x57a4ca
push ecx
call fcn.004f50ec
add esp, 4
mov ecx, dword [esp + 0x188]
xor ecx, ebp
call fcn.004f5620
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 4
test ebx, ebx
je 0x57a4bd
cmp dword [ebx + 4], 0
je 0x57a4bd
lea edi, [esp + 0x88]
mov ecx, dword [esp + 0x14]
lea eax, [ecx + 0x80]
mov dword [esp + 0x20], eax
lea eax, [ecx + 0x108]
mov dword [esp + 0x28], eax
lea ecx, [ebx + 0xd8]
xor esi, esi
jmp 0x57a687
mov dword [esp + 0xc8], 0
mov ecx, edi
push 0x2cc
call fcn.00494cf0
mov byte [esp + 0x84], 1
mov eax, dword [esp + 0x88]
add eax, dword [esp + 0x80]
push eax
call fcn.00401020
add esp, 4
mov dword [esp + 0xcc], 0x20
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 8]
mov dword [esp + 0xd0], eax
pcmpeqd xmm0, xmm0
movdqu xmmword [esp + 0x6c], xmm0
movdqa xmmword [esp + 0x60], xmm0
xor eax, eax
push eax
push 0x1c
lea ecx, [esp + 0x68]
push ecx
push eax
push esi
call fcn.00555390
add esp, 0x14
test eax, eax
jns 0x57a958
mov edi, eax
push 2
call fcn.004b90d0
add esp, 4
test al, al
je 0x57a5e4
mov dword [esp + 0xc], esi
lea esi, [esp + 0xe0]
mov ecx, esi
push edi
push 2
push 0x1ab
push str....._third_partycrashpadcrashpad_snapshotwinprocess_reader_win.cc
call fcn.00555630
push 0x18
push str.NtQueryInformationThread
lea eax, [esp + 0xf0]
push eax
call fcn.00493c00
add esp, 0xc
mov ecx, esi
mov esi, dword [esp + 0xc]
call fcn.00555660
lea edi, [esp + 0x88]
push esi
call fcn.00474320
add esp, 4
jmp 0x57a646
mov edi, eax
push 2
call fcn.004b90d0
add esp, 4
test al, al
je 0x57a63f
lea esi, [esp + 0xe0]
mov ecx, esi
push edi
push 2
push 0x80
push str....._third_partycrashpadcrashpad_snapshotwinprocess_reader_win.cc
call fcn.00555630
push 0xc
push str.NtOpenThread
lea eax, [esp + 0xf0]
push eax
call fcn.00493c00
add esp, 0xc
mov ecx, esi
call fcn.00555660
lea edi, [esp + 0x88]
cmp byte [esp + 0x9f], 0
mov esi, dword [esp + 0x2c]
jns 0x57a663
push dword [esp + 0x94]
call fcn.004f50ae
add esp, 4
mov dword [esp + 0xe0], edi
lea ecx, [esp + 0xe0]
call fcn.00494b10
inc esi
mov ecx, dword [esp + 0x18]
add ecx, 0x40
cmp esi, dword [ebx + 4]
jae 0x57a4b9
mov dword [esp + 0x2c], esi
pcmpeqd xmm0, xmm0
movdqa xmmword [esp + 0x80], xmm0
xor esi, esi
dec esi
mov dword [esp + 0xd4], esi
mov dword [esp + 0xd0], esi
movdqa xmmword [esp + 0xc0], xmm0
movdqa xmmword [esp + 0xb0], xmm0
movdqa xmmword [esp + 0xa0], xmm0
movdqa xmmword [esp + 0x90], xmm0
xor edx, edx
mov dword [esp + 0x80], edx
mov byte [esp + 0x84], 0
pxor xmm0, xmm0
movdqu xmmword [edi + 0x3c], xmm0
movdqu xmmword [edi + 0x30], xmm0
movdqu xmmword [edi + 0x20], xmm0
movdqu xmmword [edi + 0x10], xmm0
movdqu xmmword [edi], xmm0
mov eax, dword [ecx + 4]
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], edx
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 + 0x18], ecx
push ecx
lea eax, [esp + 0x64]
push eax
push 0x4a
lea eax, [esp + 0x4c]
push eax
call fcn.00555270
add esp, 0x10
test eax, eax
js 0x57a5f6
mov esi, dword [esp + 0x40]
test esi, esi
lea edi, [esp + 0x88]
je 0x57a646
mov eax, dword [esp + 0x14]
mov dl, byte [eax + 0x120]
mov eax, dword [esp + 0xa0]
mov ecx, dword fs:[0x18]
xor eax, dword [ecx + 0x24]
or eax, dword [esp + 0xa4]
je 0x57a518
mov byte [esp + 0xc], dl
push esi
call dword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
jne 0x57a848
push 2
call fcn.004b90d0
add esp, 4
test al, al
lea edi, [esp + 0x88]
je 0x57a5eb
call fcn.005427c0
mov dword [esp + 0xc], esi
lea esi, [esp + 0xe0]
mov ecx, esi
push eax
push 2
push 0x9c
push str....._third_partycrashpadcrashpad_snapshotwinprocess_reader_win.cc
call fcn.00542990
push 0xd
push 0x5b994d
lea eax, [esp + 0xf0]
push eax
call fcn.00493c00
add esp, 0xc
mov ecx, esi
mov esi, dword [esp + 0xc]
call fcn.005429f0
jmp 0x57a5eb
lea ebx, [esp + 0xe0]
mov ecx, ebx
push 2
push 0x71
push str....._third_partycrashpadcrashpad_snapshotwinprocess_reader_win.cc
call fcn.0044e430
lea eax, [esp + 0xe8]
push 8
push str.process
push eax
call fcn.00493c00
add esp, 0xc
mov ecx, eax
push edi
call fcn.00411d80
push 0xa
push str._not_found
push eax
call fcn.00493c00
add esp, 0xc
mov ecx, ebx
call fcn.0044e910
jmp 0x57a4b9
mov edi, eax
mov dl, byte [esp + 0xc]
mov eax, edx
xor al, 1
test edi, edi
setne cl
or cl, al
jne 0x57a8df
xor edi, edi
push 1
call fcn.004b90d0
add esp, 4
test al, al
je 0x57a8e4
mov dword [esp + 0xc], esi
lea esi, [esp + 0xe0]
mov ecx, esi
push 1
push 0xa1
push str....._third_partycrashpadcrashpad_snapshotwinprocess_reader_win.cc
call fcn.0044e430
push 7
push str.Thread
lea eax, [esp + 0xf0]
push eax
call fcn.00493c00
add esp, 0xc
mov ecx, eax
push dword [esp + 0xa4]
push dword [esp + 0xa4]
call fcn.00412450
push 0x34
push str._should_be_suspended__but_previous_suspend_count_is
push eax
call fcn.00493c00
add esp, 0xc
mov ecx, eax
push 0
call fcn.00411d80
mov ecx, esi
mov esi, dword [esp + 0xc]
call fcn.0044e910
jmp 0x57a8e4
movzx eax, dl
sub edi, eax
mov dword [esp + 0xc8], edi
lea ecx, [esp + 0x80]
push esi
call fcn.00579fd0
test al, al
lea edi, [esp + 0x88]
je 0x57a5eb
push esi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
test eax, eax
jne 0x57a54e
push 2
call fcn.004b90d0
add esp, 4
test al, al
je 0x57a5eb
call fcn.005427c0
mov dword [esp + 0xc], esi
lea esi, [esp + 0xe0]
mov ecx, esi
push eax
push 2
push 0xc0
push str....._third_partycrashpadcrashpad_snapshotwinprocess_reader_win.cc
call fcn.00542990
push 0xc
push 0x5b9998
jmp 0x57a7d6
mov dword [esp + 0xc], esi
pcmpeqd xmm0, xmm0
movdqu xmmword [esp + 0x4c], xmm0
movdqa xmmword [esp + 0x40], xmm0
mov eax, dword [esp + 0x64]
xor edx, edx
mov dword [esp + 0xac], edx
mov dword [esp + 0xa8], eax
mov dword [esp + 0xb4], edx
mov dword [esp + 0xb0], 0xf98
mov ecx, dword [esp + 0x20]
lea esi, [esp + 0x40]
push esi
push edx
push 0x1c
push edx
push eax
call fcn.0057b0e0
test al, al
je 0x57aae3
cmp byte [ebp + 8], 0
je 0x57aa23
pcmpeqd xmm0, xmm0
movdqu xmmword [esp + 0xec], xmm0
movdqa xmmword [esp + 0xe0], xmm0
mov eax, dword [esp + 0x40]
xor edi, edi
mov dword [esp + 0xac], edi
mov dword [esp + 0xa8], eax
mov dword [esp + 0xb4], edi
mov dword [esp + 0xb0], 0xf98
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0xe0]
push edx
push edi
push 0x1c
push edi
push eax
call fcn.0057b0e0
mov ecx, 0
mov esi, 0
test al, al
je 0x57aa2d
mov ecx, dword [esp + 0xe4]
mov esi, dword [esp + 0xe8]
jmp 0x57aa2d
xor edi, edi
mov ecx, dword [esp + 0x44]
mov esi, dword [esp + 0x48]
mov dword [esp + 0xb8], esi
mov dword [esp + 0xbc], edi
cmp ecx, esi
mov eax, edi
sbb eax, edi
jae 0x57aacd
mov dword [esp + 0x1c], ecx
push 2
call fcn.004b90d0
add esp, 4
mov ecx, 0
test al, al
mov eax, 0
je 0x57aad5
mov dword [esp + 0x24], esi
lea esi, [esp + 0xe0]
mov ecx, esi
push 2
push 0x1cb
push str....._third_partycrashpadcrashpad_snapshotwinprocess_reader_win.cc
call fcn.0044e430
push 0x15
push str.invalid_stack_range:
lea eax, [esp + 0xf0]
push eax
call fcn.00493c00
add esp, 0xc
mov ecx, eax
push edi
push dword [esp + 0x20]
call fcn.00412450
push 3
push 0x5a6101
push eax
call fcn.00493c00
add esp, 0xc
mov ecx, eax
push edi
push dword [esp + 0x28]
call fcn.00412450
mov ecx, esi
call fcn.0044e910
xor eax, eax
xor ecx, ecx
jmp 0x57aad5
sub ecx, esi
sbb edi, edi
mov eax, ecx
mov ecx, edi
mov dword [esp + 0xc0], eax
mov dword [esp + 0xc4], ecx
mov eax, dword [0x5dd6d4]
mov ecx, dword [0x5cacb4]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x57ac96
mov ecx, dword [0x5dd6d0]
test ecx, ecx
mov esi, dword [esp + 0xc]
je 0x57aba3
mov dword [esp + 0x3c], 0xffffffff
call dword [0x5c0d2c]
lea eax, [esp + 0x3c]
push eax
push esi
call ecx
test eax, eax
js 0x57abed
mov edi, dword [esp + 0x3c]
test edi, edi
je 0x57ac87
push edi
call fcn.00510ef4
add esp, 4
push eax
push edi
lea eax, [esp + 0xe8]
push eax
call fcn.004af540
add esp, 0xc
cmp byte [esp + 0x9f], 0
lea ecx, [esp + 0x88]
jns 0x57ab82
push dword [esp + 0x94]
call fcn.004f50ae
lea ecx, [esp + 0x8c]
add esp, 4
mov eax, dword [esp + 0xe8]
mov dword [ecx + 0x14], eax
movq xmm0, qword [esp + 0xe0]
movq qword [ecx + 0xc], xmm0
push edi
call fcn.004880e0
add esp, 4
mov eax, dword [esp + 0x14]
mov edi, dword [eax + 0x10c]
cmp edi, dword [eax + 0x110]
jb 0x57abca
mov ecx, dword [esp + 0x28]
lea eax, [esp + 0x80]
push eax
call fcn.0057ae90
mov edi, eax
jmp 0x57abde
lea eax, [esp + 0x80]
push eax
push edi
call fcn.0057afa0
add esp, 8
add edi, 0x58
mov eax, dword [esp + 0x14]
mov dword [eax + 0x10c], edi
jmp 0x57a5e4
mov edi, eax
push 1
call fcn.004b90d0
add esp, 4
test al, al
je 0x57aba3
lea ecx, [esp + 0xe0]
push 1
push 0x1dc
push str....._third_partycrashpadcrashpad_snapshotwinprocess_reader_win.cc
call fcn.0044e430
push 0x16
push str.GetThreadDescription:
lea eax, [esp + 0xf0]
push eax
call fcn.00493c00
add esp, 0xc
mov dword [esp + 0x1c], eax
push edi
lea esi, [esp + 0x34]
push esi
call fcn.005427d0
add esp, 8
movsx eax, byte [esp + 0x3b]
mov ecx, esi
test eax, eax
jns 0x57ac51
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
push eax
push ecx
push dword [esp + 0x24]
call fcn.00493c00
add esp, 0xc
cmp byte [esp + 0x3b], 0
jns 0x57ac72
push dword [esp + 0x30]
call fcn.004f50ae
add esp, 4
lea ecx, [esp + 0xe0]
call fcn.0044e910
mov esi, dword [esp + 0xc]
jmp 0x57aba3
push str....._third_partylibc_srcinclude_string_view:268:_assertion___s___nullptr_failed:_null_pointer_passed_to_non_null_argument_of_char_traits_..._::length_n
push 0x59f83f
call fcn.00526860
push 0x5dd6d4
call fcn.004f50f1
add esp, 4
cmp dword [0x5dd6d4], 0xffffffff
jne 0x57ab04
push 0
push str.::GetThreadDescription
push 0x5a731c
call fcn.00474be0
add esp, 0xc
mov dword [0x5dd6d0], eax
push 0x5dd6d4
call fcn.004f516b
add esp, 4
jmp 0x57ab04