Function at 0x56914e
Capabilities:
Resume thread
Suspend thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x418
mov eax, dword [0x6401e4]
xor eax, ebp
mov dword [esp + 0x410], eax
mov dword [esp + 0xc], ecx
mov eax, dword [ecx]
mov dword [esp + 0x10], eax
mov ebx, 0x4000
mov esi, 0x14
push 0x4000
call fcn.00596343
add esp, 4
lea ecx, [esp + 0x5c]
push ecx
push ebx
mov dword [esp + 0x10], eax
push eax
push 5
call fcn.0050a932
add esp, 0x10
mov edi, eax
cmp eax, 0xc0000023
je 0x5691b2
cmp edi, 0xc0000004
jne 0x5691de
mov ebx, dword [esp + 0x5c]
mov eax, 0x1000
add ebx, eax
push dword [esp + 8]
call fcn.0059634c
add esp, 4
push ebx
call fcn.00596343
add esp, 4
dec esi
jne 0x56918c
mov dword [esp + 8], eax
jmp 0x569277
test edi, edi
js 0x569277
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.dll_GetProcessId]
mov edi, eax
mov ecx, dword [esp + 8]
mov esi, ecx
mov edx, dword [esp + 0xc]
cmp dword [esi + 0x44], edi
je 0x5692e0
mov eax, dword [esi]
add esi, eax
test eax, eax
cmove esi, eax
test esi, esi
jne 0x5691fc
push 2
call fcn.00483a10
mov ecx, dword [esp + 0xc]
add esp, 4
test al, al
je 0x5692bf
lea esi, [esp + 0x108]
mov ecx, esi
push 2
push 0x6c
push str..._.._third_party_crashpad_crashpad_snapshot_win_process_reader_win.cc
call fcn.00483ab0
lea eax, [esp + 0x110]
push 8
push str.process
push eax
call fcn.00401baa
add esp, 0xc
mov ecx, eax
push edi
call fcn.00463030
push 0xa
push str._not_found
push eax
call fcn.00401baa
add esp, 0xc
mov ecx, esi
call fcn.00483e50
jmp 0x5692bb
push 2
call fcn.00483a10
add esp, 4
test al, al
je 0x5692bb
lea esi, [esp + 0x108]
mov ecx, esi
push edi
push 2
push 0x5a
push str..._.._third_party_crashpad_crashpad_snapshot_win_process_reader_win.cc
call fcn.0050ac10
lea eax, [esp + 0x110]
push 0x18
push str.NtQuerySystemInformation
push eax
call fcn.00401baa
add esp, 0xc
mov ecx, esi
call fcn.0050ac3c
mov ecx, dword [esp + 8]
push ecx
call fcn.0059634c
add esp, 4
mov ecx, dword [esp + 0x410]
xor ecx, ebp
call fcn.00596351
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 4
test esi, esi
je 0x5692bf
cmp dword [esi + 4], 0
je 0x5692bf
lea eax, [edx + 0x58]
mov dword [esp + 0x14], eax
lea eax, [edx + 0xb8]
mov dword [esp + 0x20], eax
lea ebx, [esi + 0xd8]
xor edi, edi
xor eax, eax
mov dword [esp + 0x10], eax
push 0x2cc
push edi
lea eax, [esp + 0x110]
push eax
call fcn.0059a740
add esp, 0xc
lea eax, [esp + 0x3d8]
xorps xmm0, xmm0
movups xmmword [eax], xmm0
movups xmmword [eax + 0x10], xmm0
movups xmmword [eax + 0x20], xmm0
mov dword [eax + 0x30], edi
mov eax, dword [ebx + 4]
mov dword [esp + 0x3dc], edi
mov dword [esp + 0x3d8], eax
mov dword [esp + 0x40], 0x18
lea eax, [esp + 0x44]
mov dword [eax + 0x10], edi
movups xmmword [eax], xmm0
push ebx
lea eax, [esp + 0x44]
push eax
push 0x4a
lea eax, [esp + 0x30]
push eax
call fcn.0050a8b0
add esp, 0x10
test eax, eax
js 0x5693d3
mov edx, dword [esp + 0x24]
test edx, edx
mov edi, 0
je 0x569810
mov dword [esp + 4], ebx
mov eax, dword [esp + 0xc]
mov bl, byte [eax + 0xd0]
mov eax, dword [esp + 0x3d8]
mov ecx, dword fs:[0x18]
xor eax, dword [ecx + 0x24]
or eax, dword [esp + 0x3dc]
mov dword [esp], edx
jne 0x569424
mov dword [esp + 0x400], 0
lea eax, [esp + 0x108]
push eax
call fcn.00596d60
add esp, 4
mov ebx, dword [esp + 4]
jmp 0x56954c
mov edi, eax
push 2
call fcn.00483a10
add esp, 4
test al, al
je 0x56980e
mov dword [esp + 4], ebx
lea ebx, [esp + 0x5c]
mov ecx, ebx
push edi
push 2
push 0x7b
push str..._.._third_party_crashpad_crashpad_snapshot_win_process_reader_win.cc
call fcn.0050ac10
push 0xc
push str.NtOpenThread
lea eax, [esp + 0x6c]
push eax
call fcn.00401baa
add esp, 0xc
mov ecx, ebx
mov ebx, dword [esp + 4]
call fcn.0050ac3c
jmp 0x56980e
push edx
call dword [sym.imp.KERNEL32.dll_SuspendThread]
mov edi, eax
test eax, eax
je 0x56947c
cmp edi, 0xffffffff
jne 0x5694f2
push 2
call fcn.00483a10
add esp, 4
test al, al
mov ebx, dword [esp + 4]
mov eax, dword [esp]
je 0x569805
call fcn.00484390
lea edi, [esp + 0x5c]
mov ecx, edi
push eax
push 2
push 0x97
push str..._.._third_party_crashpad_crashpad_snapshot_win_process_reader_win.cc
call fcn.004844c0
push 0xd
push 0x5e57cc
jmp 0x5697ee
test bl, bl
je 0x5694f2
xor edi, edi
push 1
call fcn.00483a10
add esp, 4
test al, al
je 0x5694f7
lea ebx, [esp + 0x5c]
mov ecx, ebx
push 1
push 0x9c
push str..._.._third_party_crashpad_crashpad_snapshot_win_process_reader_win.cc
call fcn.00483ab0
push 7
push str.Thread
lea eax, [esp + 0x6c]
push eax
call fcn.00401baa
add esp, 0xc
mov ecx, eax
push dword [esp + 0x3dc]
push dword [esp + 0x3dc]
call fcn.004633f0
push 0x34
push str._should_be_suspended__but_previous_suspend_count_is
push eax
call fcn.00401baa
add esp, 0xc
mov ecx, eax
push 0
call fcn.00463030
mov ecx, ebx
call fcn.00483e50
jmp 0x5694f7
movzx eax, bl
sub edi, eax
mov ebx, dword [esp + 4]
mov dword [esp + 0x400], edi
push 0x2cc
push 0
lea edi, [esp + 0x110]
push edi
call fcn.0059a740
add esp, 0xc
mov dword [esp + 0x108], 0x1003f
push edi
mov edi, dword [esp + 4]
push edi
call dword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
je 0x569678
push edi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
test eax, eax
mov edi, 0
je 0x5697b9
mov dword [esp + 0x404], 0x20
mov eax, dword [ebx + 8]
mov dword [esp + 0x408], eax
push edi
push 0x1c
lea eax, [esp + 0x48]
push eax
push edi
push dword [esp + 0x10]
call fcn.0050a9b4
add esp, 0x14
xor edx, edx
test eax, eax
js 0x569625
mov eax, dword [esp + 0x44]
mov dword [esp + 0x3e4], edx
mov dword [esp + 0x3e0], eax
mov dword [esp + 0x3ec], edx
mov dword [esp + 0x3e8], 0xf98
mov ecx, dword [esp + 0x14]
lea edi, [esp + 0x24]
push edi
push edx
push 0x1c
push edx
push eax
call fcn.00569aa8
test al, al
mov eax, dword [esp + 0xc]
je 0x56976e
cmp byte [ebp + 8], 0
je 0x5696b5
mov eax, dword [esp + 0x24]
xor edi, edi
mov dword [esp + 0x3e4], edi
mov dword [esp + 0x3e0], eax
mov dword [esp + 0x3ec], edi
mov dword [esp + 0x3e8], 0xf98
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x5c]
push edx
push edi
push 0x1c
push edi
push eax
call fcn.00569aa8
mov ebx, 0
mov ecx, 0
test al, al
je 0x5696bf
mov ebx, dword [esp + 0x60]
mov ecx, dword [esp + 0x64]
jmp 0x5696bf
mov edi, eax
push 2
call fcn.00483a10
add esp, 4
test al, al
mov eax, dword [esp]
je 0x569805
lea ebx, [esp + 0x5c]
mov ecx, ebx
push edi
push 2
push 0x15b
push str..._.._third_party_crashpad_crashpad_snapshot_win_process_reader_win.cc
call fcn.0050ac10
push 0x18
push str.NtQueryInformationThread
lea eax, [esp + 0x6c]
push eax
call fcn.00401baa
add esp, 0xc
mov ecx, ebx
mov ebx, dword [esp + 4]
call fcn.0050ac3c
jmp 0x569802
push 2
call fcn.00483a10
add esp, 4
test al, al
mov eax, edi
je 0x569805
call fcn.00484390
lea edi, [esp + 0x5c]
mov ecx, edi
push eax
push 2
push 0xb6
push str..._.._third_party_crashpad_crashpad_snapshot_win_process_reader_win.cc
call fcn.004844c0
push 0x10
push 0x5e5817
jmp 0x5697ee
xor edi, edi
mov ebx, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x3f0], ecx
mov dword [esp + 0x3f4], edi
cmp ebx, ecx
mov eax, edi
sbb eax, edi
jae 0x569752
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ecx
xor ebx, ebx
push 2
call fcn.00483a10
add esp, 4
mov ecx, 0
test al, al
je 0x569758
lea ebx, [esp + 0x5c]
mov ecx, ebx
push 2
push 0x17b
push str..._.._third_party_crashpad_crashpad_snapshot_win_process_reader_win.cc
call fcn.00483ab0
push 0x15
push str.invalid_stack_range:
lea eax, [esp + 0x6c]
push eax
call fcn.00401baa
add esp, 0xc
mov ecx, eax
push edi
push dword [esp + 0x1c]
call fcn.004633f0
push 3
push 0x5e57b4
push eax
call fcn.00401baa
add esp, 0xc
mov ecx, eax
push edi
push dword [esp + 0x20]
call fcn.004633f0
mov ecx, ebx
call fcn.00483e50
xor ebx, ebx
xor ecx, ecx
jmp 0x569758
sub ebx, ecx
sbb edi, edi
mov ecx, edi
mov dword [esp + 0x3f8], ebx
mov dword [esp + 0x3fc], ecx
mov eax, dword [esp + 0xc]
mov ebx, dword [esp + 4]
mov edi, dword [eax + 0xbc]
cmp edi, dword [eax + 0xc0]
je 0x5697a6
mov ecx, 0x308
push ecx
lea eax, [esp + 0x10c]
push eax
push edi
call fcn.00599c40
add esp, 0xc
mov eax, 0x308
add edi, eax
mov eax, dword [esp + 0xc]
mov dword [eax + 0xbc], edi
jmp 0x569802
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0x108]
push eax
call fcn.00569914
jmp 0x569802
push 2
call fcn.00483a10
add esp, 4
test al, al
mov eax, dword [esp]
je 0x569805
call fcn.00484390
lea edi, [esp + 0x5c]
mov ecx, edi
push eax
push 2
push 0xbc
push str..._.._third_party_crashpad_crashpad_snapshot_win_process_reader_win.cc
call fcn.004844c0
push 0xc
push 0x5e5828
lea eax, [esp + 0x6c]
push eax
call fcn.00401baa
add esp, 0xc
mov ecx, edi
call fcn.00484570
mov eax, dword [esp]
push eax
call fcn.00505932
add esp, 4
xor edi, edi
mov eax, dword [esp + 0x10]
inc eax
add ebx, 0x40
cmp eax, dword [esi + 4]
jb 0x569305
jmp 0x5692bb