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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x502288
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x559680]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x20], 0
mov dword [ebp - 4], 0
call fcn.00462040
test al, al
jne 0x45f904
mov eax, dword [0x55aac0]
xor esi, esi
test eax, eax
je 0x45f8fe
lea ebx, [ebx]
mov ecx, eax
cdq
and ecx, 1
sub eax, edx
add esi, ecx
sar eax, 1
jne 0x45f8f0
mov dword [0x55aac0], esi
mov eax, dword [ebp + 0xc]
or ebx, 0xffffffff
cmp dword [eax - 0xc], 0
jl 0x45faac
push str.chrome
push eax
call fcn.004e01b2
add esp, 8
test eax, eax
je 0x45faac
mov ecx, dword [ebp + 0xc]
sub eax, ecx
sar eax, 1
test eax, eax
jle 0x45faac
push 0x5c
push ecx
call fcn.004e1878
add esp, 8
test eax, eax
je 0x45faac
sub eax, dword [ebp + 0xc]
sar eax, 1
test eax, eax
jle 0x45faac
inc eax
push eax
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp + 0xc]
call fcn.00406960
push str.VisualElementsManifest.xml
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
mov byte [ebp - 4], 1
call fcn.004029e0
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 0x45f9a3
push 0
lea ecx, [ebp - 0x10]
call fcn.00406c80
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 0x45fa6c
push 0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
lea ecx, [esi + 0xa]
push ecx
call fcn.004e489b
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.004e5ba0
mov esi, eax
add esp, 8
test esi, esi
je 0x45fa6c
add esi, 0x14
push 0x5c
push esi
call fcn.004e5a70
add esp, 8
test eax, eax
je 0x45fa6c
sub esp, 0x18
mov ecx, esp
push esi
mov byte [eax], 0
call fcn.00401000
mov esi, dword [ebp + 8]
push esi
call fcn.00486e10
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 0x45fa8c
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 0x45faac
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [ebp + 8]
push 0x516b98
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 0x45fadc
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