Function at 0x57f498
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x430
mov eax, dword [0x655248]
xor eax, ebp
mov dword [esp + 0x428], eax
mov dword [esp + 0xc], ecx
mov eax, dword [ecx]
mov dword [esp + 8], eax
lea eax, [esp + 0x70]
mov dword [eax], 0xffffffff
mov esi, 0x4000
mov ebx, 0x14
push 0x4000
call fcn.005aae13
add esp, 4
lea ecx, [esp + 0x70]
push ecx
push esi
mov dword [esp + 0x18], eax
push eax
push 5
call fcn.0051a722
add esp, 0x10
mov edi, eax
cmp eax, 0xc0000023
je 0x57f50a
cmp edi, 0xc0000004
jne 0x57f59a
mov esi, dword [esp + 0x70]
mov eax, 0x1000
add esi, eax
push dword [esp + 0x10]
call fcn.005aae1c
add esp, 4
push esi
call fcn.005aae13
add esp, 4
dec ebx
jne 0x57f4e0
mov dword [esp + 0x10], eax
push 2
call fcn.0048b7d0
add esp, 4
test al, al
je 0x57f575
lea ebx, [esp + 0x120]
mov ecx, ebx
push edi
push 2
push 0x5a
push str..._.._third_party_crashpad_crashpad_snapshot_win_process_reader_win.cc
call fcn.0051aa00
lea eax, [esp + 0x128]
push 0x18
push 0x5e3214
push eax
call fcn.00401c4a
add esp, 0xc
mov ecx, ebx
call fcn.0051aa2c
mov ecx, dword [esp + 0x10]
push ecx
call fcn.005aae1c
add esp, 4
mov ecx, dword [esp + 0x428]
xor ecx, ebp
call fcn.005aae21
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 4
test edi, edi
js 0x57f626
push dword [esp + 8]
call dword [0x64daf8]
mov edi, eax
mov ecx, dword [esp + 0x10]
mov ebx, ecx
cmp dword [ebx + 0x44], edi
je 0x57f62f
mov eax, dword [ebx]
add ebx, eax
test eax, eax
cmove ebx, eax
test ebx, ebx
jne 0x57f5b4
push 2
call fcn.0048b7d0
add esp, 4
test al, al
je 0x57f575
lea ebx, [esp + 0x120]
mov ecx, ebx
push 2
push 0x6c
push str..._.._third_party_crashpad_crashpad_snapshot_win_process_reader_win.cc
call fcn.0048b870
lea eax, [esp + 0x128]
push 8
push str.process
push eax
call fcn.00401c4a
add esp, 0xc
mov ecx, eax
push edi
call fcn.00469680
push 0xa
push str._not_found
push eax
call fcn.00401c4a
add esp, 0xc
mov ecx, ebx
call fcn.0048bc40
jmp 0x57f575
mov eax, dword [esp + 0x10]
jmp 0x57f52d
cmp dword [ebx + 4], 0
je 0x57f579
mov ecx, dword [esp + 0xc]
lea eax, [ecx + 0x58]
mov dword [esp + 0x24], eax
lea eax, [ecx + 0xb8]
mov dword [esp + 0x20], eax
lea eax, [ecx + 0xc4]
mov dword [esp + 0x2c], eax
xor edi, edi
xor esi, esi
mov dword [esp + 0x28], ebx
mov dword [esp + 8], esi
push 0x308
push 0xff
lea esi, [esp + 0x128]
push esi
call fcn.005af210
add esp, 0xc
push 0x2cc
push edi
push esi
mov esi, dword [esp + 0x14]
call fcn.005af210
add esp, 0xc
pxor xmm0, xmm0
lea eax, [esp + 0x3f0]
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 + 0x14], eax
add eax, ebx
add eax, 0xd8
mov ecx, dword [eax + 4]
mov dword [esp + 0x3f0], ecx
mov dword [esp + 0x3f4], edi
mov dword [esp + 0x30], 0xffffffff
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.0051a6a0
add esp, 0x10
test eax, eax
js 0x57f75f
mov edx, dword [esp + 0x30]
test edx, edx
mov edi, 0
je 0x57fd0a
mov eax, dword [esp + 0xc]
mov al, byte [eax + 0xd0]
mov byte [esp + 0x18], al
mov eax, dword [esp + 0x3f0]
mov ecx, dword fs:[0x18]
xor eax, dword [ecx + 0x24]
or eax, dword [esp + 0x3f4]
mov dword [esp + 0x1c], edx
jne 0x57f7ad
mov dword [esp + 0x418], 0
lea eax, [esp + 0x120]
push eax
call fcn.005ab830
add esp, 4
jmp 0x57f8db
mov edi, eax
push 2
call fcn.0048b7d0
add esp, 4
test al, al
je 0x57f7a6
lea esi, [esp + 0x70]
mov ecx, esi
push edi
push 2
push 0x7b
push str..._.._third_party_crashpad_crashpad_snapshot_win_process_reader_win.cc
call fcn.0051aa00
push 0xc
push 0x5f5012
lea eax, [esp + 0x80]
push eax
call fcn.00401c4a
add esp, 0xc
mov ecx, esi
mov esi, dword [esp + 8]
call fcn.0051aa2c
xor edi, edi
jmp 0x57fd0a
push edx
call dword [0x64dccc]
mov edi, eax
test eax, eax
je 0x57f803
cmp edi, 0xffffffff
jne 0x57f87f
push 2
call fcn.0048b7d0
add esp, 4
test al, al
mov edi, 0
je 0x57fcfe
call fcn.0048c0d0
lea esi, [esp + 0x70]
mov ecx, esi
push eax
push 2
push 0x97
push str..._.._third_party_crashpad_crashpad_snapshot_win_process_reader_win.cc
call fcn.0048c270
push 0xd
push 0x5fa0dc
jmp 0x57fc70
cmp byte [esp + 0x18], 0
je 0x57f87f
xor edi, edi
push 1
call fcn.0048b7d0
add esp, 4
test al, al
je 0x57f886
lea esi, [esp + 0x70]
mov ecx, esi
push 1
push 0x9c
push str..._.._third_party_crashpad_crashpad_snapshot_win_process_reader_win.cc
call fcn.0048b870
push 7
push str.Thread
lea eax, [esp + 0x80]
push eax
call fcn.00401c4a
add esp, 0xc
mov ecx, eax
push dword [esp + 0x3f4]
push dword [esp + 0x3f4]
call fcn.00469a40
push 0x34
push str._should_be_suspended__but_previous_suspend_count_is
push eax
call fcn.00401c4a
add esp, 0xc
mov ecx, eax
push 0
call fcn.00469680
mov ecx, esi
call fcn.0048bc40
jmp 0x57f886
movzx eax, byte [esp + 0x18]
sub edi, eax
mov dword [esp + 0x418], edi
push 0x2cc
push 0
lea esi, [esp + 0x128]
push esi
call fcn.005af210
add esp, 0xc
mov dword [esp + 0x120], 0x1003f
push esi
mov esi, dword [esp + 0x20]
push esi
call dword [0x64db30]
test eax, eax
je 0x57fa39
push esi
call dword [0x64dc58]
test eax, eax
mov edi, 0
mov esi, dword [esp + 8]
je 0x57fc3a
mov dword [esp + 0x41c], 0x20
mov eax, dword [esp + 0x14]
mov eax, dword [ebx + eax + 0xe0]
mov dword [esp + 0x420], 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 + 0x2c]
call fcn.0051a7a4
add esp, 0x14
xor edx, edx
test eax, eax
js 0x57f9e8
pcmpeqd xmm0, xmm0
movdqu xmmword [esp + 0x3c], xmm0
movdqa xmmword [esp + 0x30], xmm0
mov eax, dword [esp + 0x54]
mov dword [esp + 0x3fc], edx
mov dword [esp + 0x3f8], eax
mov dword [esp + 0x404], edx
mov dword [esp + 0x400], 0xf98
mov ecx, dword [esp + 0x24]
lea esi, [esp + 0x30]
push esi
push edx
push 0x1c
push edx
push eax
call fcn.0057fe74
test al, al
je 0x57fb35
cmp byte [ebp + 8], 0
je 0x57fa7d
pcmpeqd xmm0, xmm0
movdqu xmmword [esp + 0x7c], xmm0
movdqa xmmword [esp + 0x70], xmm0
mov eax, dword [esp + 0x30]
xor edi, edi
mov dword [esp + 0x3fc], edi
mov dword [esp + 0x3f8], eax
mov dword [esp + 0x404], edi
mov dword [esp + 0x400], 0xf98
mov ecx, dword [esp + 0x24]
lea edx, [esp + 0x70]
push edx
push edi
push 0x1c
push edi
push eax
call fcn.0057fe74
mov esi, 0
mov ecx, 0
test al, al
je 0x57fa87
mov esi, dword [esp + 0x74]
mov ecx, dword [esp + 0x78]
jmp 0x57fa87
mov edi, eax
push 2
call fcn.0048b7d0
add esp, 4
test al, al
je 0x57fa32
lea esi, [esp + 0x70]
mov ecx, esi
push edi
push 2
push 0x15b
push str..._.._third_party_crashpad_crashpad_snapshot_win_process_reader_win.cc
call fcn.0051aa00
push 0x18
push 0x5fa095
lea eax, [esp + 0x80]
push eax
call fcn.00401c4a
add esp, 0xc
mov ecx, esi
mov esi, dword [esp + 8]
call fcn.0051aa2c
xor edi, edi
jmp 0x57fcfe
push 2
call fcn.0048b7d0
add esp, 4
test al, al
mov edi, 0
mov esi, dword [esp + 8]
je 0x57fcfe
call fcn.0048c0d0
lea esi, [esp + 0x70]
mov ecx, esi
push eax
push 2
push 0xb6
push str..._.._third_party_crashpad_crashpad_snapshot_win_process_reader_win.cc
call fcn.0048c270
push 0x10
push 0x5fa127
jmp 0x57fc70
xor edi, edi
mov esi, dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x408], ecx
mov dword [esp + 0x40c], edi
cmp esi, ecx
mov eax, edi
sbb eax, edi
jae 0x57fb21
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], ecx
xor esi, esi
push 2
call fcn.0048b7d0
add esp, 4
mov ecx, 0
test al, al
je 0x57fb27
lea esi, [esp + 0x70]
mov ecx, esi
push 2
push 0x17b
push str..._.._third_party_crashpad_crashpad_snapshot_win_process_reader_win.cc
call fcn.0048b870
push 0x15
push str.invalid_stack_range:
lea eax, [esp + 0x80]
push eax
call fcn.00401c4a
add esp, 0xc
mov ecx, eax
push edi
push dword [esp + 0x1c]
call fcn.00469a40
push 3
push 0x5fa0c4
push eax
call fcn.00401c4a
add esp, 0xc
mov ecx, eax
push edi
push dword [esp + 0x18]
call fcn.00469a40
mov ecx, esi
call fcn.0048bc40
xor esi, esi
xor ecx, ecx
jmp 0x57fb27
sub esi, ecx
sbb edi, edi
mov ecx, edi
mov dword [esp + 0x410], esi
mov dword [esp + 0x414], ecx
mov edi, dword [esp + 0xc]
mov esi, dword [edi + 0xbc]
cmp esi, dword [edi + 0xc0]
je 0x57fb70
mov eax, 0x308
push eax
lea eax, [esp + 0x124]
push eax
push esi
call fcn.005ae710
add esp, 0xc
mov eax, 0x308
add esi, eax
mov dword [edi + 0xbc], esi
jmp 0x57fcf8
pcmpeqd xmm0, xmm0
movdqa xmmword [esp + 0x70], xmm0
mov dword [esp + 0x80], 0xffffffff
mov eax, dword [esp + 0x20]
sub esi, dword [eax]
sar esi, 3
imul eax, esi, 0x5f02a3a1
lea ecx, [eax + 1]
cmp ecx, 0x547420
jae 0x57fd19
lea edx, [eax + eax]
cmp edx, ecx
cmovb edx, ecx
cmp eax, 0x2a3a0f
mov ecx, 0x54741f
cmovae edx, ecx
lea ecx, [esp + 0x70]
push dword [esp + 0x2c]
push eax
push edx
call fcn.0057fe10
mov edi, dword [esp + 0x78]
mov esi, 0x308
push esi
lea eax, [esp + 0x124]
push eax
push edi
call fcn.005ae710
add esp, 0xc
add edi, esi
mov dword [esp + 0x14], edi
mov eax, dword [esp + 0xc]
mov ecx, dword [eax + 0xb8]
mov edi, dword [eax + 0xbc]
mov esi, dword [esp + 0x74]
cmp edi, ecx
je 0x57fc8d
mov eax, 0xfffffcf8
add edi, eax
add esi, eax
push 0x308
push edi
push esi
mov ebx, ecx
call fcn.005ae710
mov ecx, ebx
add esp, 0xc
cmp ebx, edi
jne 0x57fc04
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx + 0xb8]
mov edi, dword [ecx + 0xbc]
mov ebx, dword [esp + 0x28]
jmp 0x57fc93
push 2
call fcn.0048b7d0
add esp, 4
test al, al
je 0x57fcfe
call fcn.0048c0d0
lea esi, [esp + 0x70]
mov ecx, esi
push eax
push 2
push 0xbc
push str..._.._third_party_crashpad_crashpad_snapshot_win_process_reader_win.cc
call fcn.0048c270
push 0xc
push 0x5fa138
lea eax, [esp + 0x80]
push eax
call fcn.00401c4a
add esp, 0xc
mov ecx, esi
mov esi, dword [esp + 8]
call fcn.0048c320
jmp 0x57fcfe
mov eax, edi
mov ecx, dword [esp + 0xc]
mov dword [ecx + 0xb8], esi
mov dword [esp + 0x74], eax
mov esi, eax
mov eax, dword [esp + 0x14]
mov dword [ecx + 0xbc], eax
mov dword [esp + 0x78], edi
mov eax, dword [ecx + 0xc0]
mov edx, dword [esp + 0x7c]
mov dword [ecx + 0xc0], edx
mov dword [esp + 0x7c], eax
mov dword [esp + 0x70], esi
mov eax, edi
sub eax, esi
je 0x57fceb
add eax, 0xfffffcf8
shr eax, 3
mov ecx, 0x151d07eb
mul ecx
shr edx, 3
not edx
imul eax, edx, 0x308
add edi, eax
mov dword [esp + 0x78], edi
test esi, esi
je 0x57fcf8
push esi
call fcn.005aade6
add esp, 4
xor edi, edi
mov esi, dword [esp + 8]
push dword [esp + 0x1c]
call fcn.00515572
add esp, 4
inc esi
cmp esi, dword [ebx + 4]
jb 0x57f660
jmp 0x57f575
mov ecx, dword [esp + 0x20]
call fcn.0048178c