Function at 0x575320
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 [0x5c1040]
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.004f1973
add esp, 4
jmp 0x575398
mov esi, dword [esp + 0x80]
mov eax, 0x1000
add esi, eax
mov eax, dword [esp + 0x10]
test eax, eax
je 0x57538c
push eax
call fcn.004f197c
add esp, 4
push esi
call fcn.004f1973
add esp, 4
dec ebx
je 0x575401
lea ecx, [esp + 0x80]
push ecx
push esi
mov dword [esp + 0x18], eax
push eax
push 5
call fcn.00551510
add esp, 0x10
mov edi, eax
cmp eax, 0xc0000023
je 0x57536d
cmp edi, 0xc0000004
je 0x57536d
test edi, edi
js 0x5753fd
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 0x575472
mov eax, dword [ebx]
test eax, eax
je 0x5753ea
add ebx, eax
jne 0x5753d7
push 2
call fcn.004bb790
add esp, 4
test al, al
je 0x575449
jmp 0x575786
mov eax, dword [esp + 0x10]
mov dword [esp + 0x10], eax
push 2
call fcn.004bb790
add esp, 4
test al, al
je 0x575449
lea ebx, [esp + 0xe0]
mov ecx, ebx
push edi
push 2
push 0x5f
push str....._third_partycrashpadcrashpad_snapshotwinprocess_reader_win.cc
call fcn.00551840
lea eax, [esp + 0xe8]
push 0x18
push str.NtQuerySystemInformation
push eax
call fcn.00499a00
add esp, 0xc
mov ecx, ebx
call fcn.00551870
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x57545a
push ecx
call fcn.004f197c
add esp, 4
mov ecx, dword [esp + 0x188]
xor ecx, ebp
call fcn.004f1eb0
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 4
test ebx, ebx
je 0x57544d
cmp dword [ebx + 4], 0
je 0x57544d
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 0x575617
mov dword [esp + 0xc8], 0
mov ecx, edi
push 0x2cc
call fcn.0049aa30
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.005515a0
add esp, 0x14
test eax, eax
jns 0x5758e7
mov edi, eax
push 2
call fcn.004bb790
add esp, 4
test al, al
je 0x575574
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.00551840
push 0x18
push str.NtQueryInformationThread
lea eax, [esp + 0xf0]
push eax
call fcn.00499a00
add esp, 0xc
mov ecx, esi
mov esi, dword [esp + 0xc]
call fcn.00551870
lea edi, [esp + 0x88]
push esi
call fcn.00477ec0
add esp, 4
jmp 0x5755d6
mov edi, eax
push 2
call fcn.004bb790
add esp, 4
test al, al
je 0x5755cf
lea esi, [esp + 0xe0]
mov ecx, esi
push edi
push 2
push 0x80
push str....._third_partycrashpadcrashpad_snapshotwinprocess_reader_win.cc
call fcn.00551840
push 0xc
push str.NtOpenThread
lea eax, [esp + 0xf0]
push eax
call fcn.00499a00
add esp, 0xc
mov ecx, esi
call fcn.00551870
lea edi, [esp + 0x88]
cmp byte [esp + 0x9f], 0
mov esi, dword [esp + 0x2c]
jns 0x5755f3
push dword [esp + 0x94]
call fcn.004f193e
add esp, 4
mov dword [esp + 0xe0], edi
lea ecx, [esp + 0xe0]
call fcn.0049a850
inc esi
mov ecx, dword [esp + 0x18]
add ecx, 0x40
cmp esi, dword [ebx + 4]
jae 0x575449
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.00551480
add esp, 0x10
test eax, eax
js 0x575586
mov esi, dword [esp + 0x40]
test esi, esi
lea edi, [esp + 0x88]
je 0x5755d6
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 0x5754a8
mov byte [esp + 0xc], dl
push esi
call dword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
jne 0x5757d8
push 2
call fcn.004bb790
add esp, 4
test al, al
lea edi, [esp + 0x88]
je 0x57557b
call fcn.0053eb80
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.0053ed50
push 0xd
push 0x5b406d
lea eax, [esp + 0xf0]
push eax
call fcn.00499a00
add esp, 0xc
mov ecx, esi
mov esi, dword [esp + 0xc]
call fcn.0053edb0
jmp 0x57557b
lea ebx, [esp + 0xe0]
mov ecx, ebx
push 2
push 0x71
push str....._third_partycrashpadcrashpad_snapshotwinprocess_reader_win.cc
call fcn.0044fd30
lea eax, [esp + 0xe8]
push 8
push str.process
push eax
call fcn.00499a00
add esp, 0xc
mov ecx, eax
push edi
call fcn.00411b50
push 0xa
push str._not_found
push eax
call fcn.00499a00
add esp, 0xc
mov ecx, ebx
call fcn.00450200
jmp 0x575449
mov edi, eax
mov al, byte [esp + 0xc]
test al, al
je 0x57586e
test edi, edi
jne 0x57586e
xor edi, edi
push 1
call fcn.004bb790
add esp, 4
test al, al
je 0x575873
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.0044fd30
push 7
push str.Thread
lea eax, [esp + 0xf0]
push eax
call fcn.00499a00
add esp, 0xc
mov ecx, eax
push dword [esp + 0xa4]
push dword [esp + 0xa4]
call fcn.00412240
push 0x34
push str._should_be_suspended__but_previous_suspend_count_is
push eax
call fcn.00499a00
add esp, 0xc
mov ecx, eax
push 0
call fcn.00411b50
mov ecx, esi
mov esi, dword [esp + 0xc]
call fcn.00450200
jmp 0x575873
movzx eax, al
sub edi, eax
mov dword [esp + 0xc8], edi
lea ecx, [esp + 0x80]
push esi
call fcn.00574f60
test al, al
lea edi, [esp + 0x88]
je 0x57557b
push esi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
test eax, eax
jne 0x5754de
push 2
call fcn.004bb790
add esp, 4
test al, al
je 0x57557b
call fcn.0053eb80
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.0053ed50
push 0xc
push 0x5b40b8
jmp 0x575766
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.00576070
test al, al
je 0x575a72
cmp byte [ebp + 8], 0
je 0x5759b2
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.00576070
mov ecx, 0
mov esi, 0
test al, al
je 0x5759bc
mov ecx, dword [esp + 0xe4]
mov esi, dword [esp + 0xe8]
jmp 0x5759bc
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 0x575a5c
mov dword [esp + 0x1c], ecx
push 2
call fcn.004bb790
add esp, 4
mov ecx, 0
test al, al
mov eax, 0
je 0x575a64
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.0044fd30
push 0x15
push str.invalid_stack_range:
lea eax, [esp + 0xf0]
push eax
call fcn.00499a00
add esp, 0xc
mov ecx, eax
push edi
push dword [esp + 0x20]
call fcn.00412240
push 3
push 0x5a0fed
push eax
call fcn.00499a00
add esp, 0xc
mov ecx, eax
push edi
push dword [esp + 0x28]
call fcn.00412240
mov ecx, esi
call fcn.00450200
xor eax, eax
xor ecx, ecx
jmp 0x575a64
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 [0x5d7834]
mov ecx, dword [0x5c4ca4]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x575c25
mov ecx, dword [0x5d7830]
test ecx, ecx
mov esi, dword [esp + 0xc]
je 0x575b32
mov dword [esp + 0x3c], 0xffffffff
call dword [0x5bb424]
lea eax, [esp + 0x3c]
push eax
push esi
call ecx
test eax, eax
js 0x575b7c
mov edi, dword [esp + 0x3c]
test edi, edi
je 0x575c16
push edi
call fcn.0050d784
add esp, 4
push eax
push edi
lea eax, [esp + 0xe8]
push eax
call fcn.004b2ea0
add esp, 0xc
cmp byte [esp + 0x9f], 0
lea ecx, [esp + 0x88]
jns 0x575b11
push dword [esp + 0x94]
call fcn.004f193e
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.0048d480
add esp, 4
mov eax, dword [esp + 0x14]
mov edi, dword [eax + 0x10c]
cmp edi, dword [eax + 0x110]
jb 0x575b59
mov ecx, dword [esp + 0x28]
lea eax, [esp + 0x80]
push eax
call fcn.00575e20
mov edi, eax
jmp 0x575b6d
lea eax, [esp + 0x80]
push eax
push edi
call fcn.00575f30
add esp, 8
add edi, 0x58
mov eax, dword [esp + 0x14]
mov dword [eax + 0x10c], edi
jmp 0x575574
mov edi, eax
push 1
call fcn.004bb790
add esp, 4
test al, al
je 0x575b32
lea ecx, [esp + 0xe0]
push 1
push 0x1dc
push str....._third_partycrashpadcrashpad_snapshotwinprocess_reader_win.cc
call fcn.0044fd30
push 0x16
push str.GetThreadDescription:
lea eax, [esp + 0xf0]
push eax
call fcn.00499a00
add esp, 0xc
mov dword [esp + 0x1c], eax
push edi
lea esi, [esp + 0x34]
push esi
call fcn.0053eb90
add esp, 8
movsx eax, byte [esp + 0x3b]
mov ecx, esi
test eax, eax
jns 0x575be0
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
push eax
push ecx
push dword [esp + 0x24]
call fcn.00499a00
add esp, 0xc
cmp byte [esp + 0x3b], 0
jns 0x575c01
push dword [esp + 0x30]
call fcn.004f193e
add esp, 4
lea ecx, [esp + 0xe0]
call fcn.00450200
mov esi, dword [esp + 0xc]
jmp 0x575b32
push str....._third_partylibc_srcinclude_string_view:267:_assertion___s___nullptr_failed:_null_pointer_passed_to_non_null_argument_of_char_traits_..._::length_n
push 0x59a9a3
call fcn.00523170
push 0x5d7834
call fcn.004f1981
add esp, 4
cmp dword [0x5d7834], 0xffffffff
jne 0x575a93
push 0
push str.::GetThreadDescription
push 0x5a220c
call fcn.00478770
add esp, 0xc
mov dword [0x5d7830], eax
push 0x5d7834
call fcn.004f19fb
add esp, 4
jmp 0x575a93