Function at 0x4f6cf2
Capabilities:
Resume thread
Suspend thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x420
mov eax, dword [0x5a05c4]
mov ebx, 0x4000
mov esi, 0x14
xor eax, ebp
mov dword [esp + 0x418], eax
mov dword [esp + 0x14], ecx
mov eax, dword [ecx]
mov dword [esp + 0x18], eax
push 0x4000
call fcn.00527303
add esp, 4
lea ecx, [esp + 0x68]
push ecx
push ebx
mov dword [esp + 0x10], eax
push eax
push 5
call fcn.004b8122
add esp, 0x10
mov edi, eax
cmp eax, 0xc0000023
je 0x4f6d56
cmp edi, 0xc0000004
jne 0x4f6d82
mov ebx, dword [esp + 0x68]
mov eax, 0x1000
add ebx, eax
push dword [esp + 8]
call fcn.0052730c
add esp, 4
push ebx
call fcn.00527303
add esp, 4
dec esi
jne 0x4f6d30
mov dword [esp + 8], eax
jmp 0x4f6e1b
test edi, edi
js 0x4f6e1b
push dword [esp + 0x18]
call dword [sym.imp.KERNEL32.dll_GetProcessId]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x14]
mov edi, eax
mov esi, ecx
cmp dword [esi + 0x44], edi
je 0x4f6e84
mov eax, dword [esi]
add esi, eax
test eax, eax
cmove esi, eax
test esi, esi
jne 0x4f6da0
push 2
call fcn.0043e5e0
mov ecx, dword [esp + 0xc]
add esp, 4
test al, al
je 0x4f6e63
lea esi, [esp + 0x110]
mov ecx, esi
push 2
push 0x6c
push str..._.._third_party_crashpad_crashpad_snapshot_win_process_reader_win.cc
call fcn.0043e680
lea eax, [esp + 0x114]
push 8
push str.process
push eax
call fcn.004058b5
add esp, 0xc
mov ecx, eax
push edi
call fcn.004114f0
push 0xa
push str._not_found
push eax
call fcn.004058b5
add esp, 0xc
mov ecx, esi
call fcn.0043ea30
jmp 0x4f6e5f
push 2
call fcn.0043e5e0
add esp, 4
test al, al
je 0x4f6e5f
lea esi, [esp + 0x110]
mov ecx, esi
push edi
push 2
push 0x5a
push str..._.._third_party_crashpad_crashpad_snapshot_win_process_reader_win.cc
call fcn.004b8400
lea eax, [esp + 0x114]
push 0x18
push str.NtQuerySystemInformation
push eax
call fcn.004058b5
add esp, 0xc
mov ecx, esi
call fcn.004b8426
mov ecx, dword [esp + 8]
push ecx
call fcn.0052730c
add esp, 4
mov ecx, dword [esp + 0x418]
xor ecx, ebp
call fcn.00527311
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 4
test esi, esi
je 0x4f6e63
cmp dword [esi + 4], 0
je 0x4f6e63
mov ecx, 4
lea eax, [esp + 0x4c]
mov ebx, 8
xor edi, edi
add eax, ecx
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x68]
add ecx, eax
add ebx, eax
lea eax, [edx + 0x58]
mov dword [esp + 0x1c], eax
lea eax, [edx + 0xb8]
mov dword [esp + 0xc], ebx
lea ebx, [esi + 0xd8]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x28], eax
xor eax, eax
mov dword [esp + 0x18], eax
push 0x2cc
push edi
lea eax, [esp + 0x118]
push eax
call fcn.0052b7c0
add esp, 0xc
lea eax, [esp + 0x3e0]
mov dword [eax + 4], edi
mov dword [eax], edi
mov dword [eax + 0xc], edi
mov dword [eax + 8], edi
mov dword [eax + 0x14], edi
mov dword [eax + 0x10], edi
mov dword [eax + 0x1c], edi
mov dword [eax + 0x18], edi
mov dword [eax + 0x24], edi
mov dword [eax + 0x20], edi
mov dword [eax + 0x2c], edi
mov dword [eax + 0x28], edi
mov dword [eax + 0x30], edi
mov eax, dword [ebx + 4]
mov dword [esp + 0x3e4], edi
mov dword [esp + 0x3e0], eax
mov eax, 0x18
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x2c]
mov dword [eax + 4], edi
mov dword [eax], edi
mov dword [eax + 0xc], edi
mov dword [eax + 8], edi
mov dword [eax + 0x10], edi
push ebx
lea eax, [esp + 0x50]
push eax
push 0x4a
lea eax, [esp + 0x3c]
push eax
call fcn.004b80a0
add esp, 0x10
test eax, eax
js 0x4f7090
mov edx, dword [esp + 0x30]
mov edi, 0
test edx, edx
je 0x4f7381
mov eax, dword [esp + 0x14]
mov dword [esp], ebx
mov bl, byte [eax + 0xd0]
mov eax, dword [esp + 0x3e0]
mov ecx, dword fs:[0x18]
mov dword [esp + 4], edx
xor eax, dword [ecx + 0x24]
or eax, dword [esp + 0x3e4]
jne 0x4f70dc
lea eax, [esp + 0x110]
mov dword [esp + 0x408], 0
push eax
call fcn.00527be0
add esp, 4
mov ebx, dword [esp]
mov dword [esp + 0x40c], 0x20
mov eax, dword [ebx + 8]
mov dword [esp + 0x410], eax
push edi
push 0x1c
lea eax, [esp + 0x54]
push eax
push edi
push dword [esp + 0x14]
call fcn.004b81a4
add esp, 0x14
xor edx, edx
test eax, eax
js 0x4f7181
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x1c]
lea edi, [esp + 0x30]
mov dword [esp + 0x3ec], edx
mov dword [esp + 0x3e8], eax
mov dword [esp + 0x3f4], edx
mov dword [esp + 0x3f0], 0xf98
push edi
push edx
push 0x1c
push edx
push eax
call fcn.004cdd3c
test al, al
je 0x4f7322
cmp byte [ebp + 8], 0
je 0x4f726f
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x1c]
xor edi, edi
lea edx, [esp + 0x68]
mov dword [esp + 0x3ec], edi
mov dword [esp + 0x3e8], eax
mov dword [esp + 0x3f4], edi
mov dword [esp + 0x3f0], 0xf98
push edx
push edi
push 0x1c
push edi
push eax
call fcn.004cdd3c
test al, al
mov ebx, 0
mov ecx, 0
je 0x4f7279
mov ebx, dword [esp + 0x6c]
mov ecx, dword [esp + 0x70]
jmp 0x4f7279
mov edi, eax
push 2
call fcn.0043e5e0
add esp, 4
test al, al
je 0x4f70d5
mov dword [esp], ebx
lea ebx, [esp + 0x68]
mov ecx, ebx
push edi
push 2
push 0x7b
push str..._.._third_party_crashpad_crashpad_snapshot_win_process_reader_win.cc
call fcn.004b8400
push 0xc
push str.NtOpenThread
push dword [esp + 0x18]
call fcn.004058b5
add esp, 0xc
mov ecx, ebx
mov ebx, dword [esp]
call fcn.004b8426
xor edi, edi
jmp 0x4f7381
push edx
call dword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
je 0x4f71d7
neg bl
movsx ecx, bl
add eax, ecx
mov dword [esp + 0x408], eax
push 0x2cc
push 0
lea ebx, [esp + 0x118]
push ebx
call fcn.0052b7c0
add esp, 0xc
mov dword [esp + 0x110], 0x1003f
push ebx
mov ebx, dword [esp + 8]
push ebx
call dword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
je 0x4f7216
push ebx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
test eax, eax
jne 0x4f6fb8
push 2
call fcn.0043e5e0
add esp, 4
test al, al
mov ebx, dword [esp]
mov eax, dword [esp + 4]
je 0x4f7378
call fcn.0043ef80
lea edi, [esp + 0x68]
mov ecx, edi
push eax
push 2
push 0xb6
push str..._.._third_party_crashpad_crashpad_snapshot_win_process_reader_win.cc
call fcn.0043f140
push 0xc
push 0x573774
jmp 0x4f7251
mov edi, eax
push 2
call fcn.0043e5e0
add esp, 4
test al, al
mov eax, dword [esp + 4]
je 0x4f7376
lea ebx, [esp + 0x68]
mov ecx, ebx
push edi
push 2
push 0x155
push str..._.._third_party_crashpad_crashpad_snapshot_win_process_reader_win.cc
mov edi, eax
call fcn.004b8400
push 0x18
push str.NtQueryInformationThread
push dword [esp + 0x18]
call fcn.004058b5
add esp, 0xc
mov ecx, ebx
mov ebx, dword [esp]
call fcn.004b8426
mov eax, edi
jmp 0x4f7376
push 2
call fcn.0043e5e0
add esp, 4
test al, al
mov ebx, dword [esp]
mov eax, dword [esp + 4]
je 0x4f7378
call fcn.0043ef80
lea edi, [esp + 0x68]
mov ecx, edi
push eax
push 2
push 0x97
push str..._.._third_party_crashpad_crashpad_snapshot_win_process_reader_win.cc
call fcn.0043f140
push 0xd
push 0x573755
jmp 0x4f7251
push 2
call fcn.0043e5e0
add esp, 4
test al, al
mov eax, ebx
mov ebx, dword [esp]
je 0x4f7378
call fcn.0043ef80
lea edi, [esp + 0x68]
mov ecx, edi
push eax
push 2
push 0xb0
push str..._.._third_party_crashpad_crashpad_snapshot_win_process_reader_win.cc
call fcn.0043f140
push 0x10
push 0x573763
push dword [esp + 0x14]
call fcn.004058b5
add esp, 0xc
mov ecx, edi
xor edi, edi
call fcn.0043f200
mov eax, dword [esp + 4]
jmp 0x4f7378
mov ebx, dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
xor edi, edi
cmp ebx, ecx
mov eax, edi
mov dword [esp + 0x3f8], ecx
mov dword [esp + 0x3fc], edi
sbb eax, edi
jae 0x4f730b
mov dword [esp + 0x20], ebx
xor ebx, ebx
mov dword [esp + 0x24], ecx
push 2
call fcn.0043e5e0
add esp, 4
test al, al
mov eax, 0
je 0x4f7311
lea ebx, [esp + 0x68]
mov ecx, ebx
push 2
push 0x175
push str..._.._third_party_crashpad_crashpad_snapshot_win_process_reader_win.cc
call fcn.0043e680
push 0x15
push str.invalid_stack_range:
push dword [esp + 0x18]
call fcn.004058b5
add esp, 0xc
mov ecx, eax
push edi
push dword [esp + 0x24]
call fcn.004118b0
push 3
push 0x569bcc
push eax
call fcn.004058b5
add esp, 0xc
mov ecx, eax
push edi
push dword [esp + 0x28]
call fcn.004118b0
mov ecx, ebx
call fcn.0043ea30
xor ebx, ebx
xor eax, eax
jmp 0x4f7311
sub ebx, ecx
sbb edi, edi
mov eax, edi
mov dword [esp + 0x400], ebx
mov ebx, dword [esp]
mov dword [esp + 0x404], eax
mov edi, dword [esp + 0x14]
mov ecx, dword [edi + 0xbc]
cmp ecx, dword [edi + 0xc0]
je 0x4f7361
mov eax, 0x308
push eax
lea eax, [esp + 0x114]
push eax
push ecx
mov dword [esp + 0xc], ecx
call fcn.0052acc0
add esp, 0xc
mov ecx, dword [esp]
mov eax, 0x308
add ecx, eax
mov dword [edi + 0xbc], ecx
jmp 0x4f7372
mov ecx, dword [esp + 0x28]
lea eax, [esp + 0x110]
push eax
call fcn.004f7486
mov eax, dword [esp + 4]
xor edi, edi
push eax
call fcn.004b488a
add esp, 4
mov eax, dword [esp + 0x18]
add ebx, 0x40
inc eax
cmp eax, dword [esi + 4]
jb 0x4f6ecd
jmp 0x4f6e5f