Function at 0x5a00f0
Capabilities:
Resolve function by parsing pe exports
Resume thread
Suspend thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x180
mov eax, dword [0x5f3024]
xor eax, ebp
mov dword [esp + 0x178], eax
mov dword [esp + 0x10], ecx
mov eax, dword [ecx]
mov dword [esp + 8], eax
lea eax, [esp + 0x70]
mov dword [eax], 0xffffffff
mov esi, 0x4000
mov ebx, 0x14
push 0x4000
call fcn.0050d563
add esp, 4
lea ecx, [esp + 0x70]
push ecx
push esi
mov dword [esp + 0xc], eax
push eax
push 5
call fcn.005782b0
add esp, 0x10
mov edi, eax
cmp eax, 0xc0000023
je 0x5a015e
cmp edi, 0xc0000004
jne 0x5a01c5
mov esi, dword [esp + 0x70]
mov eax, 0x1000
add esi, eax
mov eax, dword [esp + 4]
test eax, eax
je 0x5a017a
push eax
call fcn.0050d56c
add esp, 4
push esi
call fcn.0050d563
add esp, 4
dec ebx
jne 0x5a0138
mov dword [esp + 4], eax
push 2
call fcn.004cfe20
add esp, 4
test al, al
jne 0x5a0753
mov ecx, dword [esp + 4]
test ecx, ecx
je 0x5a01ad
push ecx
call fcn.0050d56c
add esp, 4
mov ecx, dword [esp + 0x178]
xor ecx, ebp
call fcn.0050db32
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 4
test edi, edi
js 0x5a024e
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_GetProcessId]
mov edi, eax
mov ecx, dword [esp + 4]
mov ebx, ecx
cmp dword [ebx + 0x44], edi
je 0x5a0257
mov eax, dword [ebx]
test eax, eax
je 0x5a01ee
add ebx, eax
jne 0x5a01df
push 2
call fcn.004cfe20
add esp, 4
test al, al
je 0x5a019c
lea ebx, [esp + 0xd0]
mov ecx, ebx
push 2
push 0x70
push str....._third_partycrashpadcrashpad_snapshotwinprocess_reader_win.cc
call fcn.00458830
lea eax, [esp + 0xd8]
push 8
push str.process
push eax
call fcn.0053f210
add esp, 0xc
mov ecx, eax
push edi
call fcn.0042ad20
push 0xa
push str._not_found
push eax
call fcn.0053f210
add esp, 0xc
mov ecx, ebx
call fcn.00458c70
jmp 0x5a019c
mov eax, dword [esp + 4]
jmp 0x5a0186
test ebx, ebx
je 0x5a01a0
cmp dword [ebx + 4], 0
je 0x5a01a0
mov ecx, dword [esp + 0x10]
lea eax, [ecx + 0x98]
mov dword [esp + 0x14], eax
lea eax, [ecx + 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 + 0x70], xmm0
movdqa xmmword [esp + 0x80], xmm0
xor esi, esi
dec esi
mov dword [esp + 0xc4], esi
mov dword [esp + 0xc0], esi
movdqa xmmword [esp + 0xb0], xmm0
movdqa xmmword [esp + 0xa0], xmm0
movdqa xmmword [esp + 0x90], xmm0
mov dword [esp + 0x70], edx
mov byte [esp + 0x74], 0
mov dword [esp + 0x78], edx
mov dword [esp + 0x7c], edx
mov dword [esp + 0x80], edx
lea eax, [esp + 0x84]
mov dword [eax + 4], edx
mov dword [eax], edx
mov dword [eax + 8], edx
pxor xmm0, xmm0
movdqu xmmword [eax + 0x30], xmm0
movdqu xmmword [eax + 0x24], xmm0
movdqu xmmword [eax + 0x14], xmm0
mov eax, dword [ecx + 4]
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], edx
mov dword [esp + 0x30], esi
mov dword [esp + 0x50], 0x18
lea eax, [esp + 0x54]
mov dword [eax + 0x10], edx
movdqu xmmword [eax], xmm0
mov dword [esp + 8], ecx
push ecx
lea eax, [esp + 0x54]
push eax
push 0x4a
lea eax, [esp + 0x3c]
push eax
call fcn.00578220
add esp, 0x10
test eax, eax
js 0x5a040c
mov edi, dword [esp + 0x30]
test edi, edi
je 0x5a03b3
mov eax, dword [esp + 0x10]
mov dl, byte [eax + 0x150]
mov eax, dword [esp + 0x90]
mov ecx, dword fs:[0x18]
xor eax, dword [ecx + 0x24]
or eax, dword [esp + 0x94]
je 0x5a0457
mov byte [esp], dl
mov esi, edi
push edi
call dword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
jne 0x5a0514
push 2
call fcn.004cfe20
add esp, 4
test al, al
mov edi, esi
jne 0x5a05a8
push edi
call fcn.00492d70
add esp, 4
cmp byte [esp + 0x8f], 0
pcmpeqd xmm0, xmm0
jns 0x5a03d4
push dword [esp + 0x84]
call fcn.0050d52e
pcmpeqd xmm0, xmm0
add esp, 4
mov eax, dword [esp + 0x78]
test eax, eax
je 0x5a03ed
mov dword [esp + 0x7c], eax
push eax
call fcn.0050d52e
pcmpeqd xmm0, xmm0
add esp, 4
mov eax, dword [esp + 0x1c]
inc eax
mov ecx, dword [esp + 8]
add ecx, 0x40
cmp eax, dword [ebx + 4]
mov edx, 0
jb 0x5a028f
jmp 0x5a019c
mov edi, eax
push 2
call fcn.004cfe20
add esp, 4
test al, al
je 0x5a03b3
lea esi, [esp + 0xd0]
mov ecx, esi
push edi
push 2
push 0x7f
push str....._third_partycrashpadcrashpad_snapshotwinprocess_reader_win.cc
call fcn.005785e0
push 0xc
push str.NtOpenThread
lea eax, [esp + 0xe0]
push eax
call fcn.0053f210
add esp, 0xc
mov ecx, esi
call fcn.00578610
jmp 0x5a03b3
mov dword [esp + 0xb8], 0
lea ecx, [esp + 0x70]
call fcn.0059fcb0
mov dword [esp + 0xbc], 0x20
mov eax, dword [esp + 8]
mov eax, dword [eax + 8]
mov dword [esp + 0xc0], eax
pcmpeqd xmm0, xmm0
movdqu xmmword [esp + 0x5c], xmm0
movdqa xmmword [esp + 0x50], xmm0
mov ecx, edi
xor edi, edi
push edi
push 0x1c
lea eax, [esp + 0x58]
push eax
push edi
mov dword [esp + 0x10], ecx
push ecx
call fcn.00578340
add esp, 0x14
test eax, eax
js 0x5a05ed
pcmpeqd xmm0, xmm0
movdqu xmmword [esp + 0x3c], xmm0
movdqa xmmword [esp + 0x30], xmm0
mov eax, dword [esp + 0x54]
mov dword [esp + 0x9c], edi
mov dword [esp + 0x98], eax
mov dword [esp + 0xa4], edi
mov dword [esp + 0xa0], 0xf98
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x30]
push edx
push edi
push 0x1c
push edi
push eax
call fcn.0058f480
test al, al
je 0x5a066a
cmp byte [ebp + 8], 0
je 0x5a0805
jmp 0x5a078e
mov edi, eax
mov al, byte [esp]
test al, al
je 0x5a0609
test edi, edi
jne 0x5a0609
xor edi, edi
push 1
call fcn.004cfe20
add esp, 4
test al, al
je 0x5a060e
lea ecx, [esp + 0xd0]
push 1
push 0xa0
push str....._third_partycrashpadcrashpad_snapshotwinprocess_reader_win.cc
call fcn.00458830
push 7
push str.Thread
lea eax, [esp + 0xe0]
push eax
call fcn.0053f210
add esp, 0xc
mov ecx, eax
push dword [esp + 0x94]
push dword [esp + 0x94]
call fcn.0042b180
push 0x34
push str._should_be_suspended__but_previous_suspend_count_is
push eax
call fcn.0053f210
add esp, 0xc
mov ecx, eax
push 0
call fcn.0042ad20
lea ecx, [esp + 0xd0]
call fcn.00458c70
jmp 0x5a060e
call fcn.0055ada0
lea edi, [esp + 0xd0]
mov ecx, edi
push eax
push 2
push 0x9b
push str....._third_partycrashpadcrashpad_snapshotwinprocess_reader_win.cc
call fcn.0055aee0
push 0xd
push 0x5e9464
lea eax, [esp + 0xe0]
push eax
call fcn.0053f210
add esp, 0xc
mov ecx, edi
mov edi, esi
call fcn.0055af40
jmp 0x5a03aa
mov esi, eax
push 2
call fcn.004cfe20
add esp, 4
test al, al
mov edi, dword [esp]
je 0x5a03aa
jmp 0x5a096a
movzx eax, al
sub edi, eax
mov dword [esp + 0xb8], edi
lea ecx, [esp + 0x70]
mov edi, esi
push esi
call fcn.0059fd10
test al, al
je 0x5a03aa
push edi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
test eax, eax
jne 0x5a046b
jmp 0x5a0918
mov dword [esp + 0xa8], esi
mov dword [esp + 0xac], edi
cmp ecx, esi
mov eax, edi
sbb eax, edi
jae 0x5a089d
jmp 0x5a0814
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb4], ecx
mov eax, dword [0x609be4]
mov ecx, dword [0x5f7664]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x5a09e0
mov ecx, dword [0x609be0]
test ecx, ecx
je 0x5a0712
mov dword [esp + 0x2c], 0xffffffff
call dword [section..00cfg]
lea eax, [esp + 0x2c]
push eax
push dword [esp + 4]
call ecx
test eax, eax
js 0x5a08aa
mov edi, dword [esp + 0x2c]
test edi, edi
je 0x5a0a25
push edi
call fcn.0052a854
add esp, 4
push eax
push edi
lea eax, [esp + 0xd8]
push eax
call fcn.004d9ad0
add esp, 0xc
cmp byte [esp + 0x8f], 0
js 0x5a0956
mov eax, dword [esp + 0xd8]
lea ecx, [esp + 0x84]
mov dword [ecx + 8], eax
movq xmm0, qword [esp + 0xd0]
movq qword [ecx], xmm0
push edi
call fcn.004aa170
add esp, 4
mov esi, dword [esp + 0x10]
mov edi, dword [esi + 0x13c]
cmp edi, dword [esi + 0x140]
je 0x5a0743
lea eax, [esp + 0x70]
push eax
push edi
call fcn.004bd020
add esp, 8
add edi, 0x58
mov dword [esi + 0x13c], edi
mov edi, dword [esp]
jmp 0x5a03aa
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x70]
push eax
call fcn.004bcd60
jmp 0x5a073b
lea ebx, [esp + 0xd0]
mov ecx, ebx
push edi
push 2
push 0x5e
push str....._third_partycrashpadcrashpad_snapshotwinprocess_reader_win.cc
call fcn.005785e0
lea eax, [esp + 0xd8]
push 0x18
push str.NtQuerySystemInformation
push eax
call fcn.0053f210
add esp, 0xc
mov ecx, ebx
call fcn.00578610
jmp 0x5a019c
pcmpeqd xmm0, xmm0
movdqu xmmword [esp + 0xdc], xmm0
movdqa xmmword [esp + 0xd0], xmm0
mov eax, dword [esp + 0x30]
xor edi, edi
mov dword [esp + 0x9c], edi
mov dword [esp + 0x98], eax
mov dword [esp + 0xa4], edi
mov dword [esp + 0xa0], 0xf98
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0xd0]
push edx
push edi
push 0x1c
push edi
push eax
call fcn.0058f480
mov ecx, 0
mov esi, 0
test al, al
je 0x5a063d
mov ecx, dword [esp + 0xd4]
mov esi, dword [esp + 0xd8]
jmp 0x5a063d
xor edi, edi
mov ecx, dword [esp + 0x34]
mov esi, dword [esp + 0x38]
jmp 0x5a063d
mov dword [esp + 0xc], ecx
push 2
call fcn.004cfe20
add esp, 4
mov ecx, 0
test al, al
mov eax, 0
je 0x5a065c
lea ecx, [esp + 0xd0]
push 2
push 0x1ca
push str....._third_partycrashpadcrashpad_snapshotwinprocess_reader_win.cc
call fcn.00458830
push 0x15
push str.invalid_stack_range:
lea eax, [esp + 0xe0]
push eax
call fcn.0053f210
add esp, 0xc
mov ecx, eax
push edi
push dword [esp + 0x10]
call fcn.0042b180
push 3
push 0x5d7363
push eax
call fcn.0053f210
add esp, 0xc
mov ecx, eax
push edi
push esi
call fcn.0042b180
lea ecx, [esp + 0xd0]
call fcn.00458c70
xor eax, eax
xor ecx, ecx
jmp 0x5a065c
sub ecx, esi
sbb edi, edi
mov eax, ecx
mov ecx, edi
jmp 0x5a065c
mov edi, eax
push 1
call fcn.004cfe20
add esp, 4
test al, al
je 0x5a0712
lea ecx, [esp + 0xd0]
push 1
push 0x1db
push str....._third_partycrashpadcrashpad_snapshotwinprocess_reader_win.cc
call fcn.00458830
push 0x16
push str.GetThreadDescription:
lea eax, [esp + 0xe0]
push eax
call fcn.0053f210
add esp, 0xc
mov dword [esp + 0xc], eax
lea esi, [esp + 0x20]
push edi
push esi
call fcn.0055adb0
add esp, 8
movzx eax, byte [esi + 0xb]
test al, al
jns 0x5a09ab
mov eax, dword [esp + 0x24]
mov esi, dword [esp + 0x20]
jmp 0x5a09ae
push 2
call fcn.004cfe20
add esp, 4
test al, al
je 0x5a03aa
call fcn.0055ada0
lea edi, [esp + 0xd0]
mov ecx, edi
push eax
push 2
push 0xbf
push str....._third_partycrashpadcrashpad_snapshotwinprocess_reader_win.cc
call fcn.0055aee0
push 0xc
push 0x5e94af
jmp 0x5a05cf
push dword [esp + 0x84]
call fcn.0050d52e
add esp, 4
jmp 0x5a06eb
lea edi, [esp + 0xd0]
mov ecx, edi
push esi
push 2
push 0x1aa
push str....._third_partycrashpadcrashpad_snapshotwinprocess_reader_win.cc
call fcn.005785e0
push 0x18
push str.NtQueryInformationThread
lea eax, [esp + 0xe0]
push eax
call fcn.0053f210
add esp, 0xc
mov ecx, edi
mov edi, dword [esp]
call fcn.00578610
jmp 0x5a03aa
and eax, 0x7f
push eax
push esi
push dword [esp + 0x14]
call fcn.0053f210
add esp, 0xc
cmp byte [esp + 0x2b], 0
jns 0x5a09cf
push dword [esp + 0x20]
call fcn.0050d52e
add esp, 4
lea ecx, [esp + 0xd0]
call fcn.00458c70
jmp 0x5a0712
push 0x609be4
call fcn.0050d5a7
add esp, 4
cmp dword [0x609be4], 0xffffffff
jne 0x5a068b
push 0
push str.::GetThreadDescription
push 0x5d84fa
call fcn.004935f0
add esp, 0xc
mov dword [0x609be0], eax
push 0x609be4
call fcn.0050d61d
add esp, 4
jmp 0x5a068b
int3