Function at 0x101c1990
Capabilities:
Check if file exists
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1024224d
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x102e91c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov edi, dword [ebp + 8]
mov eax, edi
cmp dword [edi + 0x14], 8
jb 0x101c19ca
mov eax, dword [edi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x101c1b02
cmp dword [ebx + 4], 0
je 0x101c1b02
cmp dword [edi + 0x14], 8
xorps xmm0, xmm0
movlpd qword [ebp - 0x34], xmm0
mov eax, edi
jb 0x101c19f5
mov eax, dword [edi]
push 0
push 0x80
push 3
push 0
push 1
push connect
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x101c1a31
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push esi
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x38], 0
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x101c1a3d
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x30], eax
mov eax, dword [ebx]
mov esi, dword [eax + 0x1c]
mov ecx, esi
call dword [0x1024852c]
mov ecx, ebx
call esi
cmp dword [ebp - 0x30], eax
jne 0x101c1b02
cmp dword [ebp - 0x38], edx
jne 0x101c1b02
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x101c1a6a
mov eax, dword [edi]
push 0x102acd84
lea esi, [ebx + 0x34]
push eax
push esi
mov dword [ebp - 0x38], esi
call fcn.101eb336
add esp, 0xc
cmp dword [esi], 0
jne 0x101c1b22
mov eax, dword [ebx + 0x38]
test eax, eax
jne 0x101c1ad5
mov esi, dword [0x102eec44]
test esi, esi
je 0x101c1acc
cmp dword [edi + 0x14], 8
jb 0x101c1aa1
mov edi, dword [edi]
push edi
push 0x102ba538
push str.isAssetValid
push 0x1025b044
push str.Validator
push str.OOBEUtils
push 0x32
mov ecx, esi
call dword [0x1024852c]
call esi
add esp, 0x1c
jmp 0x101c1b02
mov eax, dword [0x102eec48]
test eax, eax
je 0x101c1b02
cmp dword [edi + 0x14], 8
jb 0x101c1add
mov edi, dword [edi]
mov esi, dword [eax]
push edi
push 0x102ba538
push str.Validator
mov esi, dword [esi + 0x34]
mov ecx, esi
push str.isAssetValid
push 0x32
push eax
call dword [0x1024852c]
call esi
add esp, 0x18
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.101cff65
mov esp, ebp
pop ebp
ret 4
push dword [ebx + 4]
mov byte [ebp - 0x29], 1
call fcn.101d062a
xor edi, edi
mov dword [ebp - 0x14], 7
mov ecx, eax
mov dword [ebp - 0x28], edi
add esp, 4
mov dword [ebp - 0x30], ecx
xor eax, eax
mov dword [ebp - 0x18], edi
mov word [ebp - 0x28], ax
mov dword [ebp - 4], eax
nop
mov eax, dword [esi]
test eax, eax
je 0x101c1b96
push eax
push dword [ebx + 4]
push 1
push ecx
call fcn.101ead90
add esp, 0x10
test eax, eax
je 0x101c1b93
mov ecx, dword [ebx]
push edi
push eax
push dword [ebp - 0x30]
mov esi, dword [ecx + 0x10]
mov ecx, esi
call dword [0x1024852c]
mov ecx, ebx
call esi
mov ecx, dword [ebp - 0x30]
test al, al
je 0x101c1b8c
inc edi
lea esi, [ebx + 0x34]
jmp 0x101c1b50
mov esi, dword [ebp - 0x38]
xor bl, bl
jmp 0x101c1b99
mov ecx, dword [ebp - 0x30]
mov bl, byte [ebp - 0x29]
push ecx
call fcn.101d0625
push dword [esi]
call fcn.101ea32d
add esp, 8
test eax, eax
jne 0x101c1baf
mov dword [esi], eax
lea ecx, [ebp - 0x28]
call fcn.1000ae90
mov al, bl
jmp 0x101c1b04