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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5082f8
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x565680]
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 edi, 0xffffffff
cmp dword [eax - 0xc], 0
mov dword [ebp - 4], 0
jl 0x462210
push str.chrome
push eax
call fcn.004e5f62
add esp, 8
test eax, eax
je 0x462210
mov ecx, dword [ebp + 0xc]
sub eax, ecx
sar eax, 1
test eax, eax
jle 0x462210
push 0x5c
push ecx
call fcn.004e7628
add esp, 8
test eax, eax
je 0x462210
sub eax, dword [ebp + 0xc]
sar eax, 1
test eax, eax
jle 0x462210
inc eax
push eax
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp + 0xc]
call fcn.00407270
push str.VisualElementsManifest.xml
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
mov byte [ebp - 4], 1
call fcn.00402ae0
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 0x462055
push 0
lea ecx, [ebp - 0x10]
call fcn.00407590
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 ebx, eax
test ebx, ebx
je 0x462195
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
lea ecx, [esi + 0xa]
push ecx
call fcn.004ea64b
add esp, 4
mov dword [ebp - 0x18], eax
call fcn.00464f20
push 0
lea eax, [ebp - 0x1c]
push eax
push esi
push dword [ebp - 0x18]
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.00465150
test al, al
jne 0x4620cc
mov eax, dword [0x566ac0]
test eax, eax
mov ecx, 1
cmove eax, ecx
mov dword [0x566ac0], eax
mov eax, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x18]
mov ecx, 0x13
mov byte [eax + ebx], 0
mov esi, dword [0x566ac0]
mov eax, esi
imul eax, esi
cdq
idiv ecx
cmp edx, 3
jne 0x462129
mov eax, 0x51eb851f
imul esi
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
imul ecx, ecx, 0x64
sub esi, ecx
xor ecx, ecx
lea eax, [esi + 0x2f4]
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004e3d44
push eax
call fcn.004e5e73
add esp, 8
push str.SplashScreen_Image
push ebx
call fcn.004eb950
mov esi, eax
add esp, 8
test esi, esi
je 0x462195
add esi, 0x14
push 0x5c
push esi
call fcn.004eb820
add esp, 8
test eax, eax
je 0x462195
sub esp, 0x18
mov ecx, esp
push esi
mov byte [eax], 0
call fcn.00401000
mov esi, dword [ebp + 8]
push esi
call fcn.0048c3c0
add esp, 0x1c
lea ecx, [ebp - 0x10]
call fcn.00401fd0
lea ecx, [ebp - 0x14]
call fcn.00401fd0
lea ecx, [ebp + 0xc]
call fcn.00401fd0
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 [0x566ac0]
lea ecx, [edx + 1]
lea eax, [edx + 2]
imul eax, ecx
imul eax, edx
cdq
mov ecx, 0x13
idiv ecx
cmp edx, 8
jne 0x4621d0
mov esi, 1
mov eax, esi
mov edx, 0x78
dec edx
lea ecx, [eax + esi]
lea esi, [eax]
mov eax, ecx
jns 0x4621c0
mov dword [0x566ac0], ecx
mov edx, dword [ebp - 0x10]
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 0x4621f0
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, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x462210
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ebx, dword [ebp + 8]
push 0x5225f8
mov ecx, ebx
call fcn.00401ba0
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 0x462240
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret