Function at 0x5ab83a
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, 0x170
mov eax, dword [0x674014]
xor eax, ebp
mov dword [esp + 0x168], eax
mov dword [esp + 0x10], ecx
mov eax, dword [ecx]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x70]
mov dword [eax], 0xffffffff
mov esi, 0x4000
mov edi, 0x14
push 0x4000
call fcn.005dc783
add esp, 4
lea ecx, [esp + 0x70]
push ecx
push esi
mov dword [esp + 0x10], eax
push eax
push 5
call fcn.0054559f
add esp, 0x10
mov ebx, eax
cmp eax, 0xc0000023
je 0x5ab8ac
cmp ebx, 0xc0000004
jne 0x5ab945
mov esi, dword [esp + 0x70]
mov eax, 0x1000
add esi, eax
mov eax, dword [esp + 8]
test eax, eax
je 0x5ab8c8
push eax
call fcn.005dc78c
add esp, 4
push esi
call fcn.005dc783
add esp, 4
dec edi
jne 0x5ab882
mov dword [esp + 8], eax
push 2
call fcn.004b68d0
add esp, 4
test al, al
je 0x5ab91c
lea edi, [esp + 0xc0]
mov ecx, edi
push ebx
push 2
push 0x5b
push str....._third_partycrashpadcrashpad_snapshotwinprocess_reader_win.cc
call fcn.00545898
lea eax, [esp + 0xc8]
push 0x18
push str.NtQuerySystemInformation
push eax
call fcn.0041482a
add esp, 0xc
mov ecx, edi
call fcn.005458c4
mov ecx, dword [esp + 8]
test ecx, ecx
je 0x5ab92d
push ecx
call fcn.005dc78c
add esp, 4
mov ecx, dword [esp + 0x168]
xor ecx, ebp
call fcn.005dd6f3
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 4
test ebx, ebx
js 0x5ab9d2
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_GetProcessId]
mov ebx, eax
mov ecx, dword [esp + 8]
mov edi, ecx
mov edx, dword [esp + 0x10]
cmp dword [edi + 0x44], ebx
je 0x5ab9db
mov eax, dword [edi]
test eax, eax
je 0x5ab972
add edi, eax
jne 0x5ab963
push 2
call fcn.004b68d0
add esp, 4
test al, al
je 0x5ab91c
lea edi, [esp + 0xc0]
mov ecx, edi
push 2
push 0x6d
push str....._third_partycrashpadcrashpad_snapshotwinprocess_reader_win.cc
call fcn.004b6940
lea eax, [esp + 0xc8]
push 8
push str.process
push eax
call fcn.0041482a
add esp, 0xc
mov ecx, eax
push ebx
call fcn.00411240
push 0xa
push str._not_found
push eax
call fcn.0041482a
add esp, 0xc
mov ecx, edi
call fcn.004b6d50
jmp 0x5ab91c
mov eax, dword [esp + 8]
jmp 0x5ab8d4
test edi, edi
je 0x5ab920
cmp dword [edi + 4], 0
je 0x5ab920
lea eax, [edx + 0x58]
mov dword [esp + 0x1c], eax
lea eax, [edx + 0xb8]
mov dword [esp + 0x2c], eax
pcmpeqd xmm0, xmm0
lea eax, [edx + 0xc4]
mov dword [esp + 0x28], eax
lea ecx, [edi + 0xd8]
xor edx, edx
xor esi, esi
movdqa xmmword [esp + 0x70], xmm0
movdqa xmmword [esp + 0x80], xmm0
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 + 0x88]
pxor xmm0, xmm0
movdqu xmmword [eax + 0x24], xmm0
movdqu xmmword [eax + 0x18], xmm0
movdqu xmmword [eax + 8], xmm0
mov eax, dword [ecx + 4]
mov dword [esp + 0x8c], edx
mov dword [esp + 0x88], eax
mov dword [esp + 0x30], 0xffffffff
mov dword [esp + 0x50], 0x18
lea eax, [esp + 0x54]
mov dword [eax + 0x10], edx
movdqu xmmword [eax], xmm0
mov dword [esp + 0x14], ecx
push ecx
lea eax, [esp + 0x54]
push eax
push 0x4a
lea eax, [esp + 0x3c]
push eax
call fcn.0054551c
add esp, 0x10
test eax, eax
js 0x5abc2b
mov eax, dword [esp + 0x30]
mov dword [esp + 0xc], eax
test eax, eax
je 0x5ac028
mov dword [esp + 0x18], esi
mov eax, dword [esp + 0x10]
mov bl, byte [eax + 0xd0]
mov eax, dword [esp + 0x88]
mov ecx, dword fs:[0x18]
xor eax, dword [ecx + 0x24]
or eax, dword [esp + 0x8c]
jne 0x5abc82
mov dword [esp + 0xb0], 0
lea ecx, [esp + 0x70]
call fcn.005ab468
mov dword [esp + 0xb4], 0x20
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 8]
mov dword [esp + 0xb8], eax
pcmpeqd xmm0, xmm0
movdqu xmmword [esp + 0x5c], xmm0
movdqa xmmword [esp + 0x50], xmm0
xor esi, esi
push esi
push 0x1c
lea eax, [esp + 0x58]
push eax
push esi
push dword [esp + 0x1c]
call fcn.00545622
add esp, 0x14
test eax, eax
js 0x5abd26
pcmpeqd xmm0, xmm0
movdqu xmmword [esp + 0x3c], xmm0
movdqa xmmword [esp + 0x30], xmm0
mov eax, dword [esp + 0x54]
mov dword [esp + 0x94], esi
mov dword [esp + 0x90], eax
mov dword [esp + 0x9c], esi
mov dword [esp + 0x98], 0xf98
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x30]
push edx
push esi
push 0x1c
push esi
push eax
call fcn.005ac26c
test al, al
mov ebx, dword [esp + 0x10]
je 0x5abefa
cmp byte [ebp + 8], 0
je 0x5abe3b
pcmpeqd xmm0, xmm0
movdqu xmmword [esp + 0xcc], xmm0
movdqa xmmword [esp + 0xc0], xmm0
mov eax, dword [esp + 0x30]
xor ebx, ebx
mov dword [esp + 0x94], ebx
mov dword [esp + 0x90], eax
mov dword [esp + 0x9c], ebx
mov dword [esp + 0x98], 0xf98
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0xc0]
push edx
push ebx
push 0x1c
push ebx
push eax
call fcn.005ac26c
mov esi, 0
mov ecx, 0
test al, al
je 0x5abe45
mov esi, dword [esp + 0xc4]
mov ecx, dword [esp + 0xc8]
jmp 0x5abe45
mov ebx, eax
push 2
call fcn.004b68d0
add esp, 4
test al, al
je 0x5ac028
mov dword [esp + 0x18], esi
lea esi, [esp + 0xc0]
mov ecx, esi
push ebx
push 2
push 0x7c
push str....._third_partycrashpadcrashpad_snapshotwinprocess_reader_win.cc
call fcn.00545898
push 0xc
push str.NtOpenThread
lea eax, [esp + 0xd0]
push eax
call fcn.0041482a
add esp, 0xc
mov ecx, esi
mov esi, dword [esp + 0x18]
call fcn.005458c4
jmp 0x5ac028
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
je 0x5abd78
mov esi, eax
test bl, bl
je 0x5abdb3
test esi, esi
jne 0x5abdb3
xor esi, esi
push 1
call fcn.004b68d0
add esp, 4
test al, al
je 0x5abdb8
lea ebx, [esp + 0xc0]
mov ecx, ebx
push 1
push 0x9d
push str....._third_partycrashpadcrashpad_snapshotwinprocess_reader_win.cc
call fcn.004b6940
push 7
push str.Thread
lea eax, [esp + 0xd0]
push eax
call fcn.0041482a
add esp, 0xc
mov ecx, eax
push dword [esp + 0x8c]
push dword [esp + 0x8c]
call fcn.00411660
push 0x34
push str._should_be_suspended__but_previous_suspend_count_is
push eax
call fcn.0041482a
add esp, 0xc
mov ecx, eax
push 0
call fcn.00411240
mov ecx, ebx
call fcn.004b6d50
jmp 0x5abdb8
mov ebx, eax
push 2
call fcn.004b68d0
add esp, 4
test al, al
je 0x5ac018
lea esi, [esp + 0xc0]
mov ecx, esi
push ebx
push 2
push 0x1a9
push str....._third_partycrashpadcrashpad_snapshotwinprocess_reader_win.cc
call fcn.00545898
push 0x18
push str.NtQueryInformationThread
lea eax, [esp + 0xd0]
push eax
call fcn.0041482a
add esp, 0xc
mov ecx, esi
call fcn.005458c4
jmp 0x5ac018
push 2
call fcn.004b68d0
add esp, 4
test al, al
je 0x5ac018
call fcn.004b7210
lea esi, [esp + 0xc0]
mov ecx, esi
push eax
push 2
push 0x98
push str....._third_partycrashpadcrashpad_snapshotwinprocess_reader_win.cc
call fcn.004b73b0
push 0xd
push 0x6369ad
jmp 0x5abe1f
movzx eax, bl
sub esi, eax
mov dword [esp + 0xb0], esi
lea ecx, [esp + 0x70]
push dword [esp + 0xc]
call fcn.005ab4b6
test al, al
je 0x5ac018
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
test eax, eax
jne 0x5abb0f
push 2
call fcn.004b68d0
add esp, 4
test al, al
je 0x5ac018
call fcn.004b7210
lea esi, [esp + 0xc0]
mov ecx, esi
push eax
push 2
push 0xbc
push str....._third_partycrashpadcrashpad_snapshotwinprocess_reader_win.cc
call fcn.004b73b0
push 0xc
push 0x6369f8
lea eax, [esp + 0xd0]
push eax
call fcn.0041482a
add esp, 0xc
mov ecx, esi
call fcn.004b7460
jmp 0x5ac018
xor ebx, ebx
mov esi, dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
mov dword [esp + 0xa0], ecx
mov dword [esp + 0xa4], ebx
cmp esi, ecx
mov eax, ebx
sbb eax, ebx
jae 0x5abee2
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], ecx
xor esi, esi
push 2
call fcn.004b68d0
add esp, 4
mov ecx, 0
test al, al
je 0x5abee8
lea esi, [esp + 0xc0]
mov ecx, esi
push 2
push 0x1c9
push str....._third_partycrashpadcrashpad_snapshotwinprocess_reader_win.cc
call fcn.004b6940
push 0x15
push str.invalid_stack_range:
lea eax, [esp + 0xd0]
push eax
call fcn.0041482a
add esp, 0xc
mov ecx, eax
push ebx
push dword [esp + 0x24]
call fcn.00411660
push 3
push 0x636995
push eax
call fcn.0041482a
add esp, 0xc
mov ecx, eax
push ebx
push dword [esp + 0x28]
call fcn.00411660
mov ecx, esi
call fcn.004b6d50
xor esi, esi
xor ecx, ecx
jmp 0x5abee8
sub esi, ecx
sbb ebx, ebx
mov ecx, ebx
mov dword [esp + 0xa8], esi
mov dword [esp + 0xac], ecx
mov ebx, dword [esp + 0x10]
mov esi, dword [ebx + 0xbc]
cmp esi, dword [ebx + 0xc0]
je 0x5abf56
mov al, byte [esp + 0x74]
mov byte [esi + 4], al
mov eax, dword [esp + 0x70]
mov dword [esi], eax
lea ecx, [esi + 8]
lea eax, [esp + 0x78]
push eax
call fcn.0045245e
lea eax, [esp + 0x88]
movups xmm0, xmmword [eax]
movups xmm1, xmmword [eax + 0x10]
movups xmmword [esi + 0x18], xmm0
movups xmmword [esi + 0x28], xmm1
movdqu xmm0, xmmword [eax + 0x20]
movdqu xmmword [esi + 0x38], xmm0
mov eax, dword [eax + 0x30]
mov dword [esi + 0x48], eax
add esi, 0x50
mov dword [ebx + 0xbc], esi
jmp 0x5ac018
pcmpeqd xmm0, xmm0
movdqa xmmword [esp + 0xc0], xmm0
mov dword [esp + 0xd0], 0xffffffff
mov ebx, dword [esp + 0x2c]
sub esi, dword [ebx]
sar esi, 4
imul eax, esi, 0xcccccccd
lea edx, [eax + 1]
cmp edx, 0x3333334
jae 0x5ac05c
lea ecx, [eax + eax]
cmp ecx, edx
cmova edx, ecx
cmp eax, 0x1999999
mov ecx, 0x3333333
cmovae edx, ecx
lea ecx, [esp + 0xc0]
push dword [esp + 0x28]
push eax
push edx
call fcn.00415e84
mov esi, dword [esp + 0xc8]
mov eax, dword [esp + 0x70]
mov dword [esi], eax
mov al, byte [esp + 0x74]
mov byte [esi + 4], al
lea ecx, [esi + 8]
lea eax, [esp + 0x78]
push eax
call fcn.0045245e
lea eax, [esp + 0x88]
movups xmm0, xmmword [eax]
movups xmm1, xmmword [eax + 0x10]
movups xmmword [esi + 0x18], xmm0
movups xmmword [esi + 0x28], xmm1
movdqu xmm0, xmmword [eax + 0x20]
movdqu xmmword [esi + 0x38], xmm0
mov eax, dword [eax + 0x30]
mov dword [esi + 0x48], eax
add dword [esp + 0xc8], 0x50
mov ecx, ebx
lea esi, [esp + 0xc0]
push esi
call fcn.005ac172
mov ecx, esi
call fcn.005ac212
push dword [esp + 0xc]
call fcn.00545a8a
add esp, 4
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x78]
test eax, eax
je 0x5ac03d
mov dword [esp + 0x7c], eax
push eax
call fcn.005dc756
add esp, 4
inc esi
mov ecx, dword [esp + 0x14]
add ecx, 0x40
cmp esi, dword [edi + 4]
pcmpeqd xmm0, xmm0
mov edx, 0
jb 0x5aba16
jmp 0x5ab91c
call fcn.005f1440
int3