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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c0f5e
mov eax, dword fs:[0]
push eax
sub esp, 0x1c8
mov eax, dword [0x515e20]
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, dword [ebp + 8]
mov dword [ebp - 0x1cc], esi
mov dword [ebp - 0x1d4], 0
mov dword [ebp - 4], 0
call fcn.0042f6d0
test al, al
jne 0x42c5b7
inc dword [0x517280]
mov eax, dword [ebp + 0xc]
or edi, 0xffffffff
cmp dword [eax - 0xc], 0
jl 0x42c82d
push str.chrome
push eax
call fcn.0049ef52
mov ecx, eax
add esp, 8
test ecx, ecx
je 0x42c82d
mov eax, dword [ebp + 0xc]
sub ecx, eax
sar ecx, 1
test ecx, ecx
jle 0x42c82d
push 0x5c
push eax
call fcn.004a0378
add esp, 8
test eax, eax
je 0x42c82d
sub eax, dword [ebp + 0xc]
sar eax, 1
test eax, eax
jle 0x42c82d
inc eax
push eax
lea eax, [ebp - 0x1c8]
push eax
lea ecx, [ebp + 0xc]
call fcn.004069e0
push str.VisualElementsManifest.xml
lea eax, [ebp - 0x1c8]
push eax
lea eax, [ebp - 0x1c0]
push eax
mov byte [ebp - 4], 1
call fcn.00402ae0
add esp, 0xc
mov eax, dword [ebp - 0x1c0]
mov edx, 1
sub edx, dword [eax - 4]
mov ecx, dword [eax - 8]
or ecx, edx
mov byte [ebp - 4], 2
jge 0x42c66a
push 0
lea ecx, [ebp - 0x1c0]
call fcn.00406d00
mov eax, dword [ebp - 0x1c0]
push 0
push 0x80
push 3
push 0
push 0
push SysReAllocStringLen
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
test ebx, ebx
je 0x42c7e7
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
lea eax, [esi + 0xa]
push eax
call fcn.004a1074
add esp, 4
lea ecx, [ebp - 0x1d0]
push 0
push ecx
push esi
push eax
push ebx
mov dword [ebp - 0x1c4], eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x1d0]
mov esi, dword [ebp - 0x1c4]
mov byte [eax + esi], 0
call fcn.0042f730
test al, al
jne 0x42c6fa
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push str.SplashScreen_Image
push esi
call fcn.004a12e0
mov ebx, eax
add esp, 8
mov dword [ebp - 0x1c4], ebx
test ebx, ebx
je 0x42c7e1
call fcn.0042f7f0
test al, al
jne 0x42c740
mov edi, dword [0x517280]
xor esi, esi
mov ebx, edi
jmp 0x42c730
inc esi
dec ebx
cmp esi, 0x6b
jb 0x42c730
mov ebx, dword [ebp - 0x1c4]
or edi, 0xffffffff
add ebx, 0x14
push 0x5c
push ebx
call fcn.004a11b0
add esp, 8
test eax, eax
je 0x42c7e1
sub esp, 0x18
mov ecx, esp
push ebx
mov byte [eax], 0
call fcn.00401000
mov ebx, dword [ebp - 0x1cc]
push ebx
call fcn.00445d90
mov edx, dword [ebp - 0x1c0]
add edx, 0xfffffff0
or edi, 0xffffffff
add esp, 0x1c
mov byte [ebp - 4], 1
lea ecx, [edx + 0xc]
mov eax, edi
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x42c799
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x1c8]
add edx, 0xfffffff0
mov byte [ebp - 4], 0
lea eax, [edx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x42c7bc
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp + 0xc]
add esi, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea eax, [esi + 0xc]
lock xadd dword [eax], edi
dec edi
test edi, edi
jg 0x42c7dd
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, ebx
jmp 0x42c85c
mov esi, dword [ebp - 0x1cc]
mov edx, dword [ebp - 0x1c0]
add edx, 0xfffffff0
mov byte [ebp - 4], 1
lea eax, [edx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x42c80a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x1c8]
add edx, 0xfffffff0
mov byte [ebp - 4], 0
lea eax, [edx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x42c82d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0x4d54d4
mov ecx, esi
call fcn.00401c40
mov edx, dword [ebp + 0xc]
add edx, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea eax, [edx + 0xc]
lock xadd dword [eax], edi
dec edi
test edi, edi
jg 0x42c85a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
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.0049e294
mov esp, ebp
pop ebp
ret