Function at 0x4dc718
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, 0x440
mov eax, dword [0x596ff8]
xor eax, ebp
mov dword [esp + 0x438], eax
mov dword [esp + 0xc], ecx
mov eax, dword [ecx]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x80]
mov dword [eax], 0xffffffff
mov ebx, 0x4000
mov esi, 0x14
push 0x4000
call fcn.00512923
add esp, 4
lea ecx, [esp + 0x80]
push ecx
push ebx
mov dword [esp + 0x20], eax
push eax
push 5
call fcn.004c61d0
add esp, 0x10
mov edi, eax
cmp eax, 0xc0000023
je 0x4dc78c
cmp edi, 0xc0000004
jne 0x4dc7b7
mov ebx, dword [esp + 0x80]
mov eax, 0x1000
add ebx, eax
push dword [esp + 0x18]
call fcn.0051292c
add esp, 4
push ebx
call fcn.00512923
add esp, 4
dec esi
jne 0x4dc763
jmp 0x4dc853
test edi, edi
js 0x4dc84f
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.dll_GetProcessId]
mov edi, eax
mov ecx, dword [esp + 0x18]
mov ebx, ecx
mov edx, dword [esp + 0xc]
cmp dword [ebx + 0x44], edi
je 0x4dc8a4
mov eax, dword [ebx]
add ebx, eax
test eax, eax
cmove ebx, eax
test ebx, ebx
jne 0x4dc7d5
push 2
call fcn.0042ae10
add esp, 4
test al, al
je 0x4dcfe7
lea esi, [esp + 0x130]
mov ecx, esi
push 2
push 0x6c
push str..._.._third_party_crashpad_crashpad_snapshot_win_process_reader_win.cc
call fcn.0042aea0
lea eax, [esp + 0x138]
push 8
push str.process
push eax
call fcn.00401c91
add esp, 0xc
mov ecx, eax
push edi
call fcn.0040aae0
push 0xa
push str._not_found
push eax
call fcn.00401c91
add esp, 0xc
mov ecx, esi
call fcn.0042b2a0
jmp 0x4dcfe7
mov eax, dword [esp + 0x18]
mov dword [esp + 0x18], eax
push 2
call fcn.0042ae10
add esp, 4
test al, al
je 0x4dcfe7
lea esi, [esp + 0x130]
mov ecx, esi
push edi
push 2
push 0x5a
push str..._.._third_party_crashpad_crashpad_snapshot_win_process_reader_win.cc
call fcn.004c6530
lea eax, [esp + 0x138]
push 0x18
push str.NtQuerySystemInformation
push eax
call fcn.00401c91
add esp, 0xc
mov ecx, esi
call fcn.004c655c
jmp 0x4dcfe7
cmp dword [ebx + 4], 0
je 0x4dcfeb
lea eax, [edx + 0x58]
mov dword [esp + 0x28], eax
lea eax, [edx + 0xb8]
mov dword [esp + 0x24], eax
lea eax, [edx + 0xc4]
mov dword [esp + 0x2c], eax
xor edi, edi
xor esi, esi
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], esi
push 0x308
push 0xff
lea esi, [esp + 0x138]
push esi
call fcn.00516da0
add esp, 0xc
push 0x2cc
push edi
push esi
mov esi, dword [esp + 0x1c]
call fcn.00516da0
add esp, 0xc
lea eax, [esp + 0x400]
pxor xmm0, xmm0
movdqu xmmword [eax], xmm0
movdqu xmmword [eax + 0x10], xmm0
movdqu xmmword [eax + 0x20], xmm0
mov dword [eax + 0x30], edi
mov eax, esi
shl eax, 6
mov dword [esp + 0x1c], eax
add eax, ebx
add eax, 0xd8
mov ecx, dword [eax + 4]
mov dword [esp + 0x400], ecx
mov dword [esp + 0x404], edi
xor ecx, ecx
dec ecx
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x78], ecx
mov dword [esp + 0x74], ecx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x50], 0x18
lea ecx, [esp + 0x54]
mov dword [ecx + 0x10], edi
movdqu xmmword [ecx], xmm0
push eax
lea eax, [esp + 0x54]
push eax
push 0x4a
lea eax, [esp + 0x3c]
push eax
call fcn.004c64ac
add esp, 0x10
test eax, eax
js 0x4dc986
mov edx, dword [esp + 0x30]
xor edi, edi
jmp 0x4dc9d4
mov edi, eax
push 2
call fcn.0042ae10
add esp, 4
test al, al
je 0x4dc9d0
lea ebx, [esp + 0x80]
mov ecx, ebx
push edi
push 2
push 0x7b
push str..._.._third_party_crashpad_crashpad_snapshot_win_process_reader_win.cc
call fcn.004c6530
push 0xc
push str.NtOpenThread
lea eax, [esp + 0x90]
push eax
call fcn.00401c91
add esp, 0xc
mov ecx, ebx
mov ebx, dword [esp + 0x14]
call fcn.004c655c
xor edi, edi
xor edx, edx
mov dword [esp + 0x74], 0x551f3c
mov dword [esp + 0x78], edx
mov byte [esp + 0x7c], 0
test edx, edx
je 0x4dcfd4
mov eax, dword [esp + 0xc]
mov bl, byte [eax + 0xd0]
mov eax, dword [esp + 0x400]
mov ecx, dword fs:[0x18]
xor eax, dword [ecx + 0x24]
or eax, dword [esp + 0x404]
jne 0x4dca35
mov dword [esp + 0x428], 0
lea eax, [esp + 0x130]
push eax
call fcn.00514300
add esp, 4
mov ebx, dword [esp + 0x14]
jmp 0x4dcb70
mov dword [esp + 0x20], edx
push edx
call dword [sym.imp.KERNEL32.dll_SuspendThread]
mov edi, eax
test eax, eax
je 0x4dca96
cmp edi, 0xffffffff
jne 0x4dcb12
push 2
call fcn.0042ae10
add esp, 4
test al, al
mov ebx, dword [esp + 0x14]
mov edi, 0
je 0x4dcfd4
call fcn.0042b8e0
lea edi, [esp + 0x80]
mov ecx, edi
push eax
push 2
push 0x97
push str..._.._third_party_crashpad_crashpad_snapshot_win_process_reader_win.cc
call fcn.0042ba80
push 0xd
push 0x557f5d
jmp 0x4dcf31
test bl, bl
je 0x4dcb12
xor edi, edi
push 1
call fcn.0042ae10
add esp, 4
test al, al
je 0x4dcb17
lea ebx, [esp + 0x80]
mov ecx, ebx
push 1
push 0x9c
push str..._.._third_party_crashpad_crashpad_snapshot_win_process_reader_win.cc
call fcn.0042aea0
push 7
push str.Thread
lea eax, [esp + 0x90]
push eax
call fcn.00401c91
add esp, 0xc
mov ecx, eax
push dword [esp + 0x404]
push dword [esp + 0x404]
call fcn.0040aea0
push 0x34
push str._should_be_suspended__but_previous_suspend_count_is
push eax
call fcn.00401c91
add esp, 0xc
mov ecx, eax
push 0
call fcn.0040aae0
mov ecx, ebx
call fcn.0042b2a0
jmp 0x4dcb17
movzx eax, bl
sub edi, eax
mov dword [esp + 0x428], edi
push 0x2cc
push 0
lea esi, [esp + 0x138]
push esi
call fcn.00516da0
add esp, 0xc
mov dword [esp + 0x130], 0x1003f
push esi
mov esi, dword [esp + 0x24]
push esi
call dword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
mov ebx, dword [esp + 0x14]
je 0x4dcce9
push esi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
test eax, eax
mov edi, 0
mov esi, dword [esp + 0x10]
je 0x4dcef8
mov dword [esp + 0x42c], 0x20
mov eax, dword [esp + 0x1c]
mov eax, dword [ebx + eax + 0xe0]
mov dword [esp + 0x430], eax
pcmpeqd xmm0, xmm0
movdqu xmmword [esp + 0x5c], xmm0
movdqa xmmword [esp + 0x50], xmm0
push edi
push 0x1c
lea eax, [esp + 0x58]
push eax
push edi
push dword [esp + 0x88]
call fcn.004c6252
add esp, 0x14
xor edx, edx
test eax, eax
js 0x4dcc93
pcmpeqd xmm0, xmm0
movdqu xmmword [esp + 0x3c], xmm0
movdqa xmmword [esp + 0x30], xmm0
mov eax, dword [esp + 0x54]
mov dword [esp + 0x40c], edx
mov dword [esp + 0x408], eax
mov dword [esp + 0x414], edx
mov dword [esp + 0x410], 0xf98
mov ecx, dword [esp + 0x28]
lea esi, [esp + 0x30]
push esi
push edx
push 0x1c
push edx
push eax
call fcn.004a2a28
test al, al
mov edi, dword [esp + 0xc]
je 0x4dcdef
cmp byte [ebp + 8], 0
je 0x4dcd30
pcmpeqd xmm0, xmm0
movdqu xmmword [esp + 0x8c], xmm0
movdqa xmmword [esp + 0x80], xmm0
mov eax, dword [esp + 0x30]
xor edi, edi
mov dword [esp + 0x40c], edi
mov dword [esp + 0x408], eax
mov dword [esp + 0x414], edi
mov dword [esp + 0x410], 0xf98
mov ecx, dword [esp + 0x28]
lea edx, [esp + 0x80]
push edx
push edi
push 0x1c
push edi
push eax
call fcn.004a2a28
mov esi, 0
mov ecx, 0
test al, al
je 0x4dcd3a
mov esi, dword [esp + 0x84]
mov ecx, dword [esp + 0x88]
jmp 0x4dcd3a
mov edi, eax
push 2
call fcn.0042ae10
add esp, 4
test al, al
je 0x4dcfd2
lea ebx, [esp + 0x80]
mov ecx, ebx
push edi
push 2
push 0x15b
push str..._.._third_party_crashpad_crashpad_snapshot_win_process_reader_win.cc
call fcn.004c6530
push 0x18
push str.NtQueryInformationThread
lea eax, [esp + 0x90]
push eax
call fcn.00401c91
add esp, 0xc
mov ecx, ebx
mov ebx, dword [esp + 0x14]
call fcn.004c655c
jmp 0x4dcfd2
push 2
call fcn.0042ae10
add esp, 4
test al, al
mov edi, 0
mov esi, dword [esp + 0x10]
je 0x4dcfd4
call fcn.0042b8e0
lea edi, [esp + 0x80]
mov ecx, edi
push eax
push 2
push 0xb6
push str..._.._third_party_crashpad_crashpad_snapshot_win_process_reader_win.cc
call fcn.0042ba80
push 0x10
push 0x557fa8
jmp 0x4dcf31
xor edi, edi
mov esi, dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x418], ecx
mov dword [esp + 0x41c], edi
cmp esi, ecx
mov eax, edi
sbb eax, edi
jae 0x4dcdd7
mov dword [esp + 0x20], esi
mov dword [esp + 0x1c], ecx
xor esi, esi
push 2
call fcn.0042ae10
add esp, 4
mov ecx, 0
test al, al
je 0x4dcddd
lea esi, [esp + 0x80]
mov ecx, esi
push 2
push 0x17b
push str..._.._third_party_crashpad_crashpad_snapshot_win_process_reader_win.cc
call fcn.0042aea0
push 0x15
push str.invalid_stack_range:
lea eax, [esp + 0x90]
push eax
call fcn.00401c91
add esp, 0xc
mov ecx, eax
push edi
push dword [esp + 0x24]
call fcn.0040aea0
push 3
push 0x53fd7a
push eax
call fcn.00401c91
add esp, 0xc
mov ecx, eax
push edi
push dword [esp + 0x20]
call fcn.0040aea0
mov ecx, esi
call fcn.0042b2a0
xor esi, esi
xor ecx, ecx
jmp 0x4dcddd
sub esi, ecx
sbb edi, edi
mov ecx, edi
mov dword [esp + 0x420], esi
mov dword [esp + 0x424], ecx
mov edi, dword [esp + 0xc]
mov esi, dword [edi + 0xbc]
cmp esi, dword [edi + 0xc0]
je 0x4dce2a
mov eax, 0x308
push eax
lea eax, [esp + 0x134]
push eax
push esi
call fcn.005162a0
add esp, 0xc
mov eax, 0x308
add esi, eax
mov dword [edi + 0xbc], esi
mov esi, dword [esp + 0x10]
jmp 0x4dcfd2
pcmpeqd xmm0, xmm0
movdqa xmmword [esp + 0x80], xmm0
mov dword [esp + 0x90], 0xffffffff
mov eax, dword [esp + 0x24]
sub esi, dword [eax]
sar esi, 3
imul eax, esi, 0x5f02a3a1
lea ecx, [eax + 1]
cmp ecx, 0x547420
jae 0x4dd00c
lea edx, [eax + eax]
cmp edx, ecx
cmovb edx, ecx
cmp eax, 0x2a3a0f
mov ecx, 0x54741f
cmovae edx, ecx
lea ecx, [esp + 0x80]
push dword [esp + 0x2c]
push eax
push edx
call fcn.004dd104
mov edi, dword [esp + 0x88]
mov esi, 0x308
push esi
lea eax, [esp + 0x134]
push eax
push edi
call fcn.005162a0
add esp, 0xc
add edi, esi
mov dword [esp + 0x1c], edi
mov eax, dword [esp + 0xc]
mov esi, dword [eax + 0xb8]
mov edi, dword [eax + 0xbc]
mov ebx, dword [esp + 0x84]
cmp edi, esi
je 0x4dcf4f
mov eax, 0xfffffcf8
add edi, eax
add ebx, eax
push 0x308
push edi
push ebx
call fcn.005162a0
add esp, 0xc
cmp esi, edi
jne 0x4dceca
mov esi, dword [esp + 0xc]
mov ecx, dword [esi + 0xb8]
mov edi, dword [esi + 0xbc]
jmp 0x4dcf55
push 2
call fcn.0042ae10
add esp, 4
test al, al
je 0x4dcfd4
call fcn.0042b8e0
lea edi, [esp + 0x80]
mov ecx, edi
push eax
push 2
push 0xbc
push str..._.._third_party_crashpad_crashpad_snapshot_win_process_reader_win.cc
call fcn.0042ba80
push 0xc
push 0x557fb9
lea eax, [esp + 0x90]
push eax
call fcn.00401c91
add esp, 0xc
mov ecx, edi
xor edi, edi
call fcn.0042bb30
jmp 0x4dcfd4
mov ecx, edi
mov esi, dword [esp + 0xc]
mov dword [esi + 0xb8], ebx
mov dword [esp + 0x84], ecx
mov eax, dword [esp + 0x1c]
mov dword [esi + 0xbc], eax
mov dword [esp + 0x88], edi
mov eax, dword [esi + 0xc0]
mov edx, dword [esp + 0x8c]
mov dword [esi + 0xc0], edx
mov dword [esp + 0x8c], eax
mov dword [esp + 0x80], ecx
mov eax, edi
sub eax, ecx
mov esi, dword [esp + 0x10]
je 0x4dcfc1
add eax, 0xfffffcf8
shr eax, 3
mov edx, 0x151d07eb
mul edx
shr edx, 3
not edx
imul eax, edx, 0x308
add edi, eax
mov dword [esp + 0x88], edi
test ecx, ecx
mov ebx, dword [esp + 0x14]
je 0x4dcfd2
push ecx
call fcn.005128f8
add esp, 4
xor edi, edi
lea ecx, [esp + 0x74]
call fcn.004a4552
inc esi
cmp esi, dword [ebx + 4]
jb 0x4dc8d1
mov ecx, dword [esp + 0x18]
push ecx
call fcn.0051292c
add esp, 4
mov ecx, dword [esp + 0x438]
xor ecx, ebp
call fcn.00512931
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 4
mov ecx, dword [esp + 0x24]
call fcn.00422b1c
int3