Function at 0x458970
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push reloc.kernel32.dll_FileTimeToLocalFileTime
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x52bd60]
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 esi, ecx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x28], 0
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
or edi, 0xffffffff
cmp dword [eax - 0xc], 0
jl 0x458b86
push str.chrome
push eax
call fcn.004b5027
mov ecx, eax
add esp, 8
test ecx, ecx
je 0x458b86
mov eax, dword [ebp + 8]
sub ecx, eax
sar ecx, 1
test ecx, ecx
jle 0x458b86
push reloc.kernel32.dll_GetCurrentDirectoryA
push eax
call fcn.004b5cbb
add esp, 8
test eax, eax
je 0x458b86
sub eax, dword [ebp + 8]
sar eax, 1
test eax, eax
jle 0x458b86
inc eax
push eax
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp + 8]
mov dword [ebp - 0x1c], 0
call fcn.00426c30
mov byte [ebp - 4], 1
push str.VisualElementsManifest.xml
lea edx, [ebp - 0x1c]
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x18], 0
call fcn.00426ca0
add esp, 4
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x18]
mov edx, 1
sub edx, dword [eax - 4]
mov ecx, dword [eax - 8]
or ecx, edx
jge 0x458a5b
push 0
lea ecx, [ebp - 0x18]
call fcn.0040c760
mov eax, dword [ebp - 0x18]
push 0
push reloc.kernel32.dll_WaitForMultipleObjectsEx
push 3
push 0
push 0
push SysReAllocStringLen
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
test ebx, ebx
je 0x458b46
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
mov eax, dword [0x530408]
mov dword [ebp - 0x24], esi
lea ecx, [eax + 1]
imul eax, ecx
cdq
mov ecx, reloc.kernel32.dll_UnmapViewOfFile
idiv ecx
cmp edx, 0xd
jne 0x458aba
call dword [sym.imp.KERNEL32.dll_GetTickCount]
xor edx, edx
mov ecx, reloc.kernel32.dll_ReleaseSRWLockExclusive
div ecx
inc edx
mov dword [0x530408], edx
lea eax, [esi + 0xa]
push eax
call fcn.004b5389
add esp, 4
mov esi, eax
push 0
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x24]
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x14]
push str.SplashScreen_Image
push esi
mov byte [eax + esi], 0
call fcn.004b8380
mov esi, eax
add esp, 8
test esi, esi
je 0x458b43
add esi, 0x14
push reloc.kernel32.dll_GetCurrentDirectoryA
push esi
call fcn.004b7f70
add esp, 8
test eax, eax
je 0x458b43
sub esp, 0x18
mov ecx, esp
push esi
mov byte [eax], 0
call fcn.00401250
mov ecx, dword [ebp - 0x20]
call fcn.004319e0
add esp, 0x18
lea ecx, [ebp - 0x18]
call fcn.00403820
lea ecx, [ebp - 0x1c]
call fcn.00403820
lea ecx, [ebp + 8]
call fcn.00403820
mov eax, dword [ebp - 0x20]
jmp 0x458bb5
mov esi, dword [ebp - 0x20]
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x18]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x458b66
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + reloc.kernel32.dll_IsBadStringPtrA]
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x1c]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x458b86
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + reloc.kernel32.dll_IsBadStringPtrA]
push reloc.kernel32.dll_FileTimeToSystemTime
mov ecx, esi
call fcn.004036e0
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp + 8]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], edi
dec edi
test edi, edi
jg 0x458bb3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + reloc.kernel32.dll_IsBadStringPtrA]
mov eax, esi
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.004b4591
mov esp, ebp
pop ebp
ret