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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b94e8
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x504e20]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x20], 0
mov eax, dword [ebp + 0xc]
or ebx, 0xffffffff
cmp dword [eax - 0xc], 0
mov dword [ebp - 4], 0
jl 0x42771e
push str.chrome
push eax
call fcn.00497a22
add esp, 8
test eax, eax
je 0x42771e
mov ecx, dword [ebp + 0xc]
sub eax, ecx
sar eax, 1
test eax, eax
jle 0x42771e
push 0x5c
push ecx
call fcn.00498dd8
add esp, 8
test eax, eax
je 0x42771e
sub eax, dword [ebp + 0xc]
sar eax, 1
test eax, eax
jle 0x42771e
inc eax
push eax
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp + 0xc]
call fcn.004067d0
push str.VisualElementsManifest.xml
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
mov byte [ebp - 4], 1
call fcn.00402930
add esp, 0xc
mov eax, dword [ebp - 0x10]
mov edx, 1
sub edx, dword [eax - 4]
mov ecx, dword [eax - 8]
or ecx, edx
mov byte [ebp - 4], 2
jge 0x427615
push 0
lea ecx, [ebp - 0x10]
call fcn.00406af0
mov eax, dword [ebp - 0x10]
push 0
push 0x80
push 3
push 0
push 0
push SysReAllocStringLen
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x18], eax
test eax, eax
je 0x4276de
push 0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
lea ecx, [esi + 0xa]
push ecx
call fcn.00499b23
add esp, 4
mov edi, eax
push 0
lea eax, [ebp - 0x1c]
push eax
push esi
mov esi, dword [ebp - 0x18]
push edi
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x1c]
push str.SplashScreen_Image
push edi
mov byte [eax + edi], 0
call fcn.00499d90
mov esi, eax
add esp, 8
test esi, esi
je 0x4276de
add esi, 0x14
push 0x5c
push esi
call fcn.00499c60
add esp, 8
test eax, eax
je 0x4276de
sub esp, 0x18
mov ecx, esp
push esi
mov byte [eax], 0
call fcn.00401000
mov esi, dword [ebp + 8]
push esi
call fcn.0043f130
add esp, 0x1c
lea ecx, [ebp - 0x10]
call fcn.00401fa0
lea ecx, [ebp - 0x14]
call fcn.00401fa0
lea ecx, [ebp + 0xc]
call fcn.00401fa0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 0x10]
add edx, 0xfffffff0
mov byte [ebp - 4], 1
lea eax, [edx + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4276fe
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
mov byte [ebp - 4], 0
lea eax, [edx + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x42771e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [ebp + 8]
push 0x4c422c
mov ecx, edi
call fcn.00401b70
mov esi, dword [ebp + 0xc]
add esi, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea eax, [esi + 0xc]
lock xadd dword [eax], ebx
dec ebx
test ebx, ebx
jg 0x42774e
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret