Function at 0x5a01d0
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.0050d643
add esp, 4
lea ecx, [esp + 0x70]
push ecx
push esi
mov dword [esp + 0xc], eax
push eax
push 5
call fcn.00578390
add esp, 0x10
mov edi, eax
cmp eax, 0xc0000023
je 0x5a023e
cmp edi, 0xc0000004
jne 0x5a02a5
mov esi, dword [esp + 0x70]
mov eax, 0x1000
add esi, eax
mov eax, dword [esp + 4]
test eax, eax
je 0x5a025a
push eax
call fcn.0050d64c
add esp, 4
push esi
call fcn.0050d643
add esp, 4
dec ebx
jne 0x5a0218
mov dword [esp + 4], eax
push 2
call fcn.004cff00
add esp, 4
test al, al
jne 0x5a0833
mov ecx, dword [esp + 4]
test ecx, ecx
je 0x5a028d
push ecx
call fcn.0050d64c
add esp, 4
mov ecx, dword [esp + 0x178]
xor ecx, ebp
call fcn.0050dc12
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 4
test edi, edi
js 0x5a032e
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 0x5a0337
mov eax, dword [ebx]
test eax, eax
je 0x5a02ce
add ebx, eax
jne 0x5a02bf
push 2
call fcn.004cff00
add esp, 4
test al, al
je 0x5a027c
lea ebx, [esp + 0xd0]
mov ecx, ebx
push 2
push 0x70
push str....._third_partycrashpadcrashpad_snapshotwinprocess_reader_win.cc
call fcn.00458910
lea eax, [esp + 0xd8]
push 8
push str.process
push eax
call fcn.0053f2f0
add esp, 0xc
mov ecx, eax
push edi
call fcn.0042ad20
push 0xa
push str._not_found
push eax
call fcn.0053f2f0
add esp, 0xc
mov ecx, ebx
call fcn.00458d50
jmp 0x5a027c
mov eax, dword [esp + 4]
jmp 0x5a0266
test ebx, ebx
je 0x5a0280
cmp dword [ebx + 4], 0
je 0x5a0280
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.00578300
add esp, 0x10
test eax, eax
js 0x5a04ec
mov edi, dword [esp + 0x30]
test edi, edi
je 0x5a0493
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 0x5a0537
mov byte [esp], dl
mov esi, edi
push edi
call dword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
jne 0x5a05f4
push 2
call fcn.004cff00
add esp, 4
test al, al
mov edi, esi
jne 0x5a0688
push edi
call fcn.00492e50
add esp, 4
cmp byte [esp + 0x8f], 0
pcmpeqd xmm0, xmm0
jns 0x5a04b4
push dword [esp + 0x84]
call fcn.0050d60e
pcmpeqd xmm0, xmm0
add esp, 4
mov eax, dword [esp + 0x78]
test eax, eax
je 0x5a04cd
mov dword [esp + 0x7c], eax
push eax
call fcn.0050d60e
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 0x5a036f
jmp 0x5a027c
mov edi, eax
push 2
call fcn.004cff00
add esp, 4
test al, al
je 0x5a0493
lea esi, [esp + 0xd0]
mov ecx, esi
push edi
push 2
push 0x7f
push str....._third_partycrashpadcrashpad_snapshotwinprocess_reader_win.cc
call fcn.005786c0
push 0xc
push str.NtOpenThread
lea eax, [esp + 0xe0]
push eax
call fcn.0053f2f0
add esp, 0xc
mov ecx, esi
call fcn.005786f0
jmp 0x5a0493
mov dword [esp + 0xb8], 0
lea ecx, [esp + 0x70]
call fcn.0059fd90
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.00578420
add esp, 0x14
test eax, eax
js 0x5a06cd
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.0058f560
test al, al
je 0x5a074a
cmp byte [ebp + 8], 0
je 0x5a08e5
jmp 0x5a086e
mov edi, eax
mov al, byte [esp]
test al, al
je 0x5a06e9
test edi, edi
jne 0x5a06e9
xor edi, edi
push 1
call fcn.004cff00
add esp, 4
test al, al
je 0x5a06ee
lea ecx, [esp + 0xd0]
push 1
push 0xa0
push str....._third_partycrashpadcrashpad_snapshotwinprocess_reader_win.cc
call fcn.00458910
push 7
push str.Thread
lea eax, [esp + 0xe0]
push eax
call fcn.0053f2f0
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.0053f2f0
add esp, 0xc
mov ecx, eax
push 0
call fcn.0042ad20
lea ecx, [esp + 0xd0]
call fcn.00458d50
jmp 0x5a06ee
call fcn.0055ae80
lea edi, [esp + 0xd0]
mov ecx, edi
push eax
push 2
push 0x9b
push str....._third_partycrashpadcrashpad_snapshotwinprocess_reader_win.cc
call fcn.0055afc0
push 0xd
push 0x5e94e4
lea eax, [esp + 0xe0]
push eax
call fcn.0053f2f0
add esp, 0xc
mov ecx, edi
mov edi, esi
call fcn.0055b020
jmp 0x5a048a
mov esi, eax
push 2
call fcn.004cff00
add esp, 4
test al, al
mov edi, dword [esp]
je 0x5a048a
jmp 0x5a0a4a
movzx eax, al
sub edi, eax
mov dword [esp + 0xb8], edi
lea ecx, [esp + 0x70]
mov edi, esi
push esi
call fcn.0059fdf0
test al, al
je 0x5a048a
push edi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
test eax, eax
jne 0x5a054b
jmp 0x5a09f8
mov dword [esp + 0xa8], esi
mov dword [esp + 0xac], edi
cmp ecx, esi
mov eax, edi
sbb eax, edi
jae 0x5a097d
jmp 0x5a08f4
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 0x5a0ac0
mov ecx, dword [0x609be0]
test ecx, ecx
je 0x5a07f2
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 0x5a098a
mov edi, dword [esp + 0x2c]
test edi, edi
je 0x5a0b05
push edi
call fcn.0052a934
add esp, 4
push eax
push edi
lea eax, [esp + 0xd8]
push eax
call fcn.004d9bb0
add esp, 0xc
cmp byte [esp + 0x8f], 0
js 0x5a0a36
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.004aa250
add esp, 4
mov esi, dword [esp + 0x10]
mov edi, dword [esi + 0x13c]
cmp edi, dword [esi + 0x140]
je 0x5a0823
lea eax, [esp + 0x70]
push eax
push edi
call fcn.004bd100
add esp, 8
add edi, 0x58
mov dword [esi + 0x13c], edi
mov edi, dword [esp]
jmp 0x5a048a
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x70]
push eax
call fcn.004bce40
jmp 0x5a081b
lea ebx, [esp + 0xd0]
mov ecx, ebx
push edi
push 2
push 0x5e
push str....._third_partycrashpadcrashpad_snapshotwinprocess_reader_win.cc
call fcn.005786c0
lea eax, [esp + 0xd8]
push 0x18
push str.NtQuerySystemInformation
push eax
call fcn.0053f2f0
add esp, 0xc
mov ecx, ebx
call fcn.005786f0
jmp 0x5a027c
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.0058f560
mov ecx, 0
mov esi, 0
test al, al
je 0x5a071d
mov ecx, dword [esp + 0xd4]
mov esi, dword [esp + 0xd8]
jmp 0x5a071d
xor edi, edi
mov ecx, dword [esp + 0x34]
mov esi, dword [esp + 0x38]
jmp 0x5a071d
mov dword [esp + 0xc], ecx
push 2
call fcn.004cff00
add esp, 4
mov ecx, 0
test al, al
mov eax, 0
je 0x5a073c
lea ecx, [esp + 0xd0]
push 2
push 0x1ca
push str....._third_partycrashpadcrashpad_snapshotwinprocess_reader_win.cc
call fcn.00458910
push 0x15
push str.invalid_stack_range:
lea eax, [esp + 0xe0]
push eax
call fcn.0053f2f0
add esp, 0xc
mov ecx, eax
push edi
push dword [esp + 0x10]
call fcn.0042b180
push 3
push 0x5d73e3
push eax
call fcn.0053f2f0
add esp, 0xc
mov ecx, eax
push edi
push esi
call fcn.0042b180
lea ecx, [esp + 0xd0]
call fcn.00458d50
xor eax, eax
xor ecx, ecx
jmp 0x5a073c
sub ecx, esi
sbb edi, edi
mov eax, ecx
mov ecx, edi
jmp 0x5a073c
mov edi, eax
push 1
call fcn.004cff00
add esp, 4
test al, al
je 0x5a07f2
lea ecx, [esp + 0xd0]
push 1
push 0x1db
push str....._third_partycrashpadcrashpad_snapshotwinprocess_reader_win.cc
call fcn.00458910
push 0x16
push str.GetThreadDescription:
lea eax, [esp + 0xe0]
push eax
call fcn.0053f2f0
add esp, 0xc
mov dword [esp + 0xc], eax
lea esi, [esp + 0x20]
push edi
push esi
call fcn.0055ae90
add esp, 8
movzx eax, byte [esi + 0xb]
test al, al
jns 0x5a0a8b
mov eax, dword [esp + 0x24]
mov esi, dword [esp + 0x20]
jmp 0x5a0a8e
push 2
call fcn.004cff00
add esp, 4
test al, al
je 0x5a048a
call fcn.0055ae80
lea edi, [esp + 0xd0]
mov ecx, edi
push eax
push 2
push 0xbf
push str....._third_partycrashpadcrashpad_snapshotwinprocess_reader_win.cc
call fcn.0055afc0
push 0xc
push 0x5e952f
jmp 0x5a06af
push dword [esp + 0x84]
call fcn.0050d60e
add esp, 4
jmp 0x5a07cb
lea edi, [esp + 0xd0]
mov ecx, edi
push esi
push 2
push 0x1aa
push str....._third_partycrashpadcrashpad_snapshotwinprocess_reader_win.cc
call fcn.005786c0
push 0x18
push str.NtQueryInformationThread
lea eax, [esp + 0xe0]
push eax
call fcn.0053f2f0
add esp, 0xc
mov ecx, edi
mov edi, dword [esp]
call fcn.005786f0
jmp 0x5a048a
and eax, 0x7f
push eax
push esi
push dword [esp + 0x14]
call fcn.0053f2f0
add esp, 0xc
cmp byte [esp + 0x2b], 0
jns 0x5a0aaf
push dword [esp + 0x20]
call fcn.0050d60e
add esp, 4
lea ecx, [esp + 0xd0]
call fcn.00458d50
jmp 0x5a07f2
push 0x609be4
call fcn.0050d687
add esp, 4
cmp dword [0x609be4], 0xffffffff
jne 0x5a076b
push 0
push str.::GetThreadDescription
push 0x5d857a
call fcn.004936d0
add esp, 0xc
mov dword [0x609be0], eax
push 0x609be4
call fcn.0050d6fd
add esp, 4
jmp 0x5a076b
int3