Function at 0x5053d0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x448
mov eax, dword [0x5cc9b4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
xor esi, esi
mov dword [ebp - 0x2e8], ebx
push esi
push ebx
mov dword [ebp - 0x2e0], esi
call fcn.005057c0
add esp, 8
test al, al
jne 0x50541a
xor eax, eax
xor edx, edx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00514f0c
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x2dc]
call fcn.00504e10
push ebx
lea ecx, [ebp - 0x2dc]
call fcn.00505050
test al, al
jne 0x505451
xorps xmm0, xmm0
movlpd qword [ebp - 0x2e4], xmm0
mov edi, dword [ebp - 0x2e0]
mov ebx, dword [ebp - 0x2e4]
jmp 0x505639
lea ecx, [ebp - 0x34]
call fcn.00415710
lea eax, [ebp - 0x34]
xorps xmm0, xmm0
push eax
lea ecx, [ebp - 0x2dc]
movlpd qword [ebp - 0x2e4], xmm0
call fcn.00504e70
mov edi, dword [ebp - 0x2e0]
mov ebx, dword [ebp - 0x2e4]
test eax, eax
jne 0x505631
nop word [eax + eax]
mov ecx, dword [ebp - 0x2e8]
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.0050b5d0
lea eax, [ebp - 0x1c]
push 0
push eax
call fcn.005057c0
add esp, 8
test al, al
lea eax, [ebp - 0x1c]
je 0x5054ca
push eax
call fcn.005053d0
add esp, 4
add ebx, eax
adc edi, edx
jmp 0x505612
cmp dword [ebp - 8], 8
cmovae eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x505575
sub esp, 8
lea eax, [ebp - 0x1c]
mov ecx, esp
or esi, 2
cmp dword [ebp - 8], 8
cmovae eax, dword [ebp - 0x1c]
mov dword [ecx], eax
mov eax, dword [ebp - 0xc]
mov dword [ecx + 4], eax
lea eax, [ebp - 0x4c]
push eax
call fcn.0050d0c0
add esp, 0xc
mov dword [ebp - 0x2e0], eax
push str.GetFileAttributes
call sub.KERNEL32.dll_GetLastError
push eax
push 2
push 0x75
push str..._.._.._util_file_filesystem_win.cc
push str.bool___cdecl_crashpad::IsRegularFile_const_class_base::FilePath__
lea ecx, [ebp - 0x398]
call fcn.0050c390
push eax
call fcn.00439550
mov ecx, eax
add esp, 8
mov eax, dword [ebp - 0x2e0]
cmp dword [eax + 0x14], 0x10
mov edx, dword [eax + 0x10]
jb 0x50554f
mov eax, dword [eax]
push edx
push eax
push ecx
call fcn.0049d120
add esp, 0xc
lea ecx, [ebp - 0x398]
call fcn.0050c5b0
lea ecx, [ebp - 0x4c]
and esi, 0xfffffff9
call fcn.004166b0
jmp 0x5055f7
test eax, 0x410
jne 0x5055f7
cmp dword [ebp - 8], 8
lea ecx, [ebp - 0x84]
lea eax, [ebp - 0x1c]
cmovae eax, dword [ebp - 0x1c]
push ecx
push eax
call fcn.00531bd2
add esp, 8
test eax, eax
jne 0x5055a3
mov eax, dword [ebp - 0x6c]
mov ecx, dword [ebp - 0x68]
jmp 0x50560e
push str.stat
or esi, 1
call sub.KERNEL32.dll_GetLastError
push eax
push 2
push 0xac
push str..._.._.._util_file_filesystem_win.cc
push str.unsigned___int64___cdecl_crashpad::GetFileSize_const_class_base::FilePath__
lea ecx, [ebp - 0x448]
call fcn.0050c390
push eax
call fcn.00439550
add esp, 8
mov ecx, eax
cmp dword [ebp - 8], 8
lea eax, [ebp - 0x1c]
cmovae eax, dword [ebp - 0x1c]
push eax
call fcn.004cf3b0
lea ecx, [ebp - 0x448]
and esi, 0xfffffffe
call fcn.0050c5b0
xorps xmm0, xmm0
movlpd qword [ebp - 0x2e4], xmm0
mov eax, dword [ebp - 0x2e4]
mov ecx, dword [ebp - 0x2e0]
add ebx, eax
adc edi, ecx
lea ecx, [ebp - 0x1c]
call fcn.00416700
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x2dc]
call fcn.00504e70
test eax, eax
je 0x505490
lea ecx, [ebp - 0x34]
call fcn.00416700
lea ecx, [ebp - 0x2dc]
call fcn.00504e40
mov ecx, dword [ebp - 4]
mov edx, edi
pop edi
pop esi
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.00514f0c
mov esp, ebp
pop ebp
ret