Function at 0x4bf594
Capabilities:
Resume thread
Suspend thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x430
mov eax, dword [0x582e50]
mov ebx, 0x4000
xor esi, esi
xor eax, ebp
mov dword [esp + 0x428], eax
mov dword [esp + 8], ecx
mov eax, dword [ecx]
mov dword [esp], eax
push 0x4000
call fcn.004ed593
add esp, 4
lea ecx, [esp + 0x60]
push ecx
push ebx
mov dword [esp + 0xc], eax
push eax
push 5
call fcn.00497fcc
add esp, 0x10
mov edi, eax
cmp eax, 0xc0000023
je 0x4bf5f4
cmp edi, 0xc0000004
jne 0x4bf623
mov ebx, dword [esp + 0x60]
mov eax, 0x1000
add ebx, eax
push dword [esp + 4]
call fcn.004ed59c
add esp, 4
push ebx
call fcn.004ed593
add esp, 4
inc esi
cmp esi, 0x14
jb 0x4bf5ce
mov dword [esp + 4], eax
jmp 0x4bf6b3
test edi, edi
js 0x4bf6b3
push dword [esp]
call dword [sym.imp.KERNEL32.dll_GetProcessId]
mov ecx, dword [esp + 4]
mov edi, eax
mov esi, ecx
cmp dword [esi + 0x44], edi
je 0x4bf71a
mov eax, dword [esi]
add esi, eax
test eax, eax
cmove esi, eax
test esi, esi
jne 0x4bf63c
push 2
call fcn.00419f10
mov ecx, dword [esp + 8]
add esp, 4
test al, al
je 0x4bf6f9
lea esi, [esp + 0x120]
mov ecx, esi
push 2
push 0x6c
push str..._.._third_party_crashpad_crashpad_snapshot_win_process_reader_win.cc
call fcn.00419fa0
lea eax, [esp + 0x128]
push str.process
push eax
call fcn.004014ea
add esp, 8
mov ecx, eax
push edi
call fcn.00416d80
push str._not_found
push eax
call fcn.004014ea
add esp, 8
mov ecx, esi
call fcn.00419550
jmp 0x4bf6f5
push 2
call fcn.00419f10
add esp, 4
test al, al
je 0x4bf6f5
lea esi, [esp + 0x120]
mov ecx, esi
push edi
push 2
push 0x5a
push str..._.._third_party_crashpad_crashpad_snapshot_win_process_reader_win.cc
call fcn.00498318
lea eax, [esp + 0x128]
push str.NtQuerySystemInformation
push eax
call fcn.004014ea
add esp, 8
mov ecx, esi
call fcn.0049833e
mov ecx, dword [esp + 4]
push ecx
call fcn.004ed59c
add esp, 4
mov ecx, dword [esp + 0x428]
xor ecx, ebp
call fcn.004ed5a1
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 4
test esi, esi
je 0x4bf6f9
cmp dword [esi + 4], 0
je 0x4bf6f9
mov ecx, dword [esp + 8]
lea edi, [esi + 0xd8]
lea eax, [ecx + 0x68]
mov dword [esp + 0xc], eax
lea eax, [ecx + 0xd8]
mov dword [esp + 0x18], eax
xor eax, eax
mov dword [esp + 0x1c], eax
push 0x2cc
xor ebx, ebx
push ebx
lea eax, [esp + 0x128]
push eax
call fcn.0050bec0
add esp, 0xc
lea eax, [esp + 0x3f0]
mov dword [esp], edi
mov dword [eax + 4], ebx
mov dword [eax], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], ebx
mov dword [eax + 0x1c], ebx
mov dword [eax + 0x18], ebx
mov dword [eax + 0x24], ebx
mov dword [eax + 0x20], ebx
mov dword [eax + 0x30], ebx
mov dword [eax + 0x2c], ebx
mov dword [eax + 0x28], ebx
mov eax, dword [edi + 4]
mov dword [esp + 0x3f4], ebx
mov dword [esp + 0x3f0], eax
mov eax, 0x18
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x40]
mov dword [eax + 4], ebx
mov dword [eax], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0x10], ebx
push edi
lea eax, [esp + 0x40]
push eax
push 0x4a
lea eax, [esp + 0x2c]
push eax
call fcn.00498299
add esp, 0x10
test eax, eax
js 0x4bf7d8
mov ebx, dword [esp + 0x20]
jmp 0x4bf81a
mov edi, eax
xor ebx, ebx
push 2
call fcn.00419f10
add esp, 4
test al, al
je 0x4bf81a
lea ebx, [esp + 0x60]
mov ecx, ebx
push edi
push 2
push 0x7b
push str..._.._third_party_crashpad_crashpad_snapshot_win_process_reader_win.cc
call fcn.00498318
push str.NtOpenThread
lea eax, [esp + 0x6c]
push eax
call fcn.004014ea
add esp, 8
mov ecx, ebx
xor ebx, ebx
call fcn.0049833e
mov edi, dword [esp]
test ebx, ebx
mov dword [esp + 0x58], ebx
mov byte [esp + 0x5c], 0
je 0x4bfbaf
mov eax, dword [esp + 8]
mov edx, dword [esp + 0x3f0]
movzx edi, byte [eax + 0xf0]
mov ecx, dword fs:[0x18]
xor edx, dword [ecx + 0x24]
or edx, dword [esp + 0x3f4]
jne 0x4bf94e
lea eax, [esp + 0x120]
mov dword [esp + 0x418], 0
push eax
call fcn.004f3040
add esp, 4
mov edi, dword [esp]
mov dword [esp + 0x41c], 0x20
mov eax, dword [edi + 8]
xor edi, edi
mov dword [esp + 0x420], eax
push edi
push 0x1c
lea eax, [esp + 0x44]
push eax
push edi
push dword [esp + 0x68]
call fcn.00498048
add esp, 0x14
test eax, eax
js 0x4bf9e6
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0xc]
lea edx, [esp + 0x20]
mov dword [esp + 0x3fc], edi
mov dword [esp + 0x3f8], eax
mov dword [esp + 0x404], edi
mov dword [esp + 0x400], 0xf98
push edx
push edi
push 0x1c
push edi
push eax
call fcn.004a1470
mov ecx, dword [esp + 8]
test al, al
je 0x4bfb69
cmp byte [ebp + 8], 0
je 0x4bfabe
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0xc]
xor edi, edi
lea edx, [esp + 0x60]
mov dword [esp + 0x3fc], edi
mov dword [esp + 0x3f8], eax
mov dword [esp + 0x404], edi
mov dword [esp + 0x400], 0xf98
push edx
push edi
push 0x1c
push edi
push eax
call fcn.004a1470
test al, al
mov edx, 0
mov ecx, 0
je 0x4bfac8
mov edx, dword [esp + 0x64]
mov ecx, dword [esp + 0x68]
jmp 0x4bfac8
push ebx
call dword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
je 0x4bfa32
sub eax, edi
mov dword [esp + 0x418], eax
push 0x2cc
push 0
lea eax, [esp + 0x128]
mov edi, eax
push eax
call fcn.0050bec0
add esp, 0xc
mov dword [esp + 0x120], 0x1003f
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
je 0x4bfa6b
push ebx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov edi, dword [esp]
test eax, eax
jne 0x4bf875
push 2
call fcn.00419f10
add esp, 4
test al, al
je 0x4bfbaf
call fcn.0041abf0
lea edi, [esp + 0x60]
mov ecx, edi
push eax
push 2
push 0xb6
push str..._.._third_party_crashpad_crashpad_snapshot_win_process_reader_win.cc
call fcn.0041afa0
push 0x54584b
jmp 0x4bfaa2
mov ebx, eax
push 2
call fcn.00419f10
add esp, 4
test al, al
je 0x4bfbac
mov eax, ebx
lea ebx, [esp + 0x60]
mov ecx, ebx
push eax
push 2
push 0x155
push str..._.._third_party_crashpad_crashpad_snapshot_win_process_reader_win.cc
call fcn.00498318
push str.NtQueryInformationThread
lea eax, [esp + 0x6c]
push eax
call fcn.004014ea
add esp, 8
mov ecx, ebx
call fcn.0049833e
jmp 0x4bfbac
push 2
call fcn.00419f10
add esp, 4
mov edi, dword [esp]
test al, al
je 0x4bfbaf
call fcn.0041abf0
lea edi, [esp + 0x60]
mov ecx, edi
push eax
push 2
push 0x97
push str..._.._third_party_crashpad_crashpad_snapshot_win_process_reader_win.cc
call fcn.0041afa0
push 0x54582c
jmp 0x4bfaa2
push 2
call fcn.00419f10
add esp, 4
mov edi, dword [esp]
test al, al
je 0x4bfbaf
call fcn.0041abf0
lea edi, [esp + 0x60]
mov ecx, edi
push eax
push 2
push 0xb0
push str..._.._third_party_crashpad_crashpad_snapshot_win_process_reader_win.cc
call fcn.0041afa0
push 0x54583a
lea eax, [esp + 0x74]
push eax
call fcn.004014ea
add esp, 8
mov ecx, edi
mov edi, dword [esp]
call fcn.0041b0c0
jmp 0x4bfbaf
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
xor edi, edi
mov ebx, edx
mov eax, edi
mov dword [esp + 0x408], ecx
mov dword [esp + 0x40c], edi
sub ebx, ecx
sbb eax, edi
jae 0x4bfb57
xor ebx, ebx
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ecx
push 2
call fcn.00419f10
add esp, 4
test al, al
mov eax, 0
je 0x4bfb57
lea ebx, [esp + 0x60]
mov ecx, ebx
push 2
push 0x175
push str..._.._third_party_crashpad_crashpad_snapshot_win_process_reader_win.cc
call fcn.00419fa0
push str.invalid_stack_range:
lea eax, [esp + 0x6c]
push eax
call fcn.004014ea
add esp, 8
mov ecx, eax
push edi
push dword [esp + 0x14]
call fcn.0041aa80
push 0x545814
push eax
call fcn.004014ea
add esp, 8
mov ecx, eax
push edi
push dword [esp + 0x18]
call fcn.0041aa80
mov ecx, ebx
call fcn.00419550
xor ebx, ebx
xor eax, eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x410], ebx
mov dword [esp + 0x414], eax
mov eax, dword [ecx + 0xdc]
mov edx, dword [ecx + 0xe0]
cmp edx, eax
je 0x4bfb9a
mov edi, 0x308
mov ebx, ecx
push edi
lea ecx, [esp + 0x124]
push ecx
push eax
call fcn.0050b3c0
add esp, 0xc
add dword [ebx + 0xdc], edi
jmp 0x4bfbac
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x120]
push eax
push edx
call fcn.004bfd22
mov edi, dword [esp]
lea ecx, [esp + 0x58]
call fcn.0047b550
mov eax, dword [esp + 0x1c]
add edi, 0x40
inc eax
cmp eax, dword [esi + 4]
jb 0x4bf741
jmp 0x4bf6f5