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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4db408
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x52ad60]
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 dword [ebp - 0x28], 0
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
or edi, 0xffffffff
cmp dword [eax - 0xc], 0
jl 0x458120
push str.chrome
push eax
call fcn.004b44da
mov ecx, eax
add esp, 8
test ecx, ecx
je 0x458120
mov eax, dword [ebp + 8]
sub ecx, eax
sar ecx, 1
test ecx, ecx
jle 0x458120
push 0x5c
push eax
call fcn.004b513b
add esp, 8
test eax, eax
je 0x458120
sub eax, dword [ebp + 8]
sar eax, 1
test eax, eax
jle 0x458120
inc eax
push eax
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp + 8]
mov dword [ebp - 0x1c], 0
call fcn.00426880
mov byte [ebp - 4], 1
push str.VisualElementsManifest.xml
lea edx, [ebp - 0x1c]
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x18], 0
call fcn.00426910
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 0x457f68
push 0
lea ecx, [ebp - 0x18]
call fcn.0040c7b0
mov eax, dword [ebp - 0x18]
push 0
push 0x80
push 3
push 0
push 0
push SysReAllocString
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x24], eax
test eax, eax
je 0x4580e0
push 0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
lea eax, [esi + 0xa]
push eax
call fcn.004b483c
add esp, 4
lea ecx, [ebp - 0x14]
push 0
push ecx
push esi
push eax
push dword [ebp - 0x24]
mov dword [ebp - 0x20], eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [0x52f408]
lea ecx, [eax + 1]
imul eax, ecx
cdq
mov ecx, 0xc
idiv ecx
cmp edx, 0xb
jne 0x457ff0
mov esi, 1
mov eax, esi
mov edx, 0xfd
jmp 0x457fe0
dec edx
lea ecx, [eax + esi]
lea esi, [eax]
mov eax, ecx
jns 0x457fe0
mov dword [0x52f408], ecx
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x20]
mov byte [eax + ecx], 0
mov esi, dword [0x52f408]
lea ecx, [esi + 2]
lea eax, [esi + 1]
imul eax, ecx
imul eax, esi
cdq
mov ecx, 0x16
idiv ecx
cmp edx, 0xe
jne 0x45805a
mov eax, 0x51eb851f
imul esi
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
imul eax, eax, 0x64
sub esi, eax
xor ecx, ecx
lea eax, [esi + 0x63]
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004b31e0
push eax
call fcn.004b429b
add esp, 8
push str.SplashScreen_Image
push dword [ebp - 0x20]
call fcn.004b7800
mov esi, eax
add esp, 8
test esi, esi
je 0x4580b7
add esi, 0x14
push 0x5c
push esi
call fcn.004b73f0
add esp, 8
test eax, eax
je 0x4580b7
sub esp, 0x18
mov ecx, esp
push esi
mov byte [eax], 0
call fcn.00401250
mov ecx, ebx
call fcn.004312a0
add esp, 0x18
lea ecx, [ebp - 0x18]
call fcn.00403860
lea ecx, [ebp - 0x1c]
call fcn.00403860
lea ecx, [ebp + 8]
call fcn.00403860
jmp 0x45814d
mov edx, dword [0x52f408]
lea ecx, [edx + 1]
lea eax, [edx + 2]
imul eax, ecx
imul eax, edx
cdq
mov ecx, 0x14
idiv ecx
cmp edx, 9
jne 0x4580e0
call fcn.004b42bc
mov dword [0x52f408], eax
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 0x458100
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
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 0x458120
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0x519050
mov ecx, ebx
call fcn.00403720
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 0x45814d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, ebx
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.004b3a11
mov esp, ebp
pop ebp
ret