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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x514629
mov eax, dword fs:[0]
push eax
sub esp, 0xd90
mov eax, dword [0x577680]
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 - 0xd80], esi
mov dword [ebp - 0xd98], esi
mov dword [ebp - 0xd9c], 0
mov eax, dword [ebp + 0xc]
or ebx, 0xffffffff
cmp dword [eax - 0xc], 0
mov dword [ebp - 4], 0
jl 0x4694c8
push str.chrome
push eax
call fcn.004f19aa
mov ecx, eax
add esp, 8
test ecx, ecx
je 0x4694c8
mov eax, dword [ebp + 0xc]
sub ecx, eax
sar ecx, 1
test ecx, ecx
jle 0x4694c8
push 0x5c
push eax
call fcn.004f2e19
add esp, 8
test eax, eax
je 0x4694c8
sub eax, dword [ebp + 0xc]
sar eax, 1
test eax, eax
jle 0x4694c8
inc eax
push eax
lea eax, [ebp - 0xd84]
push eax
lea ecx, [ebp + 0xc]
call fcn.00408550
mov ebx, dword [0x578ad4]
mov byte [ebp - 4], 1
lea ecx, [ebx + 2]
lea eax, [ebx + 1]
imul eax, ecx
imul eax, ebx
cdq
mov ecx, 0x15
idiv ecx
cmp edx, 0xb
jne 0x469227
xor esi, esi
mov edi, ebx
lea ecx, [ecx]
inc esi
dec edi
cmp esi, 0x4e
jb 0x469220
push str.VisualElementsManifest.xml
lea eax, [ebp - 0xd84]
push eax
lea eax, [ebp - 0xd7c]
push eax
call fcn.00402b40
add esp, 0xc
mov eax, dword [ebp - 0xd7c]
mov edx, 1
sub edx, dword [eax - 4]
mov ecx, dword [eax - 8]
or ecx, edx
mov byte [ebp - 4], 2
jge 0x46926e
push 0
lea ecx, [ebp - 0xd7c]
call fcn.00408cf0
mov eax, dword [ebp - 0xd7c]
push 0
push 0x80
push 3
push 0
push 0
push SysReAllocStringLen
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
test edi, edi
je 0x469479
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
lea eax, [esi + 0xa]
push eax
call fcn.004f602b
add esp, 4
mov ebx, eax
push 0
lea eax, [ebp - 0xd90]
push eax
push esi
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0xd90]
mov esi, 0x13
mov byte [eax + ebx], 0
mov ecx, dword [0x578ad4]
mov eax, ecx
imul eax, ecx
cdq
idiv esi
cmp edx, 0xd
jne 0x46930e
mov eax, ecx
sub eax, 0
je 0x469304
dec eax
je 0x4692f8
inc ecx
mov dword [0x578ad4], ecx
jmp 0x46930e
mov dword [0x578ad4], 0
jmp 0x46930e
mov dword [0x578ad4], 2
push str.SplashScreen_Image
push ebx
call fcn.004f7260
mov edi, dword [0x578ad4]
mov ebx, eax
mov eax, edi
imul eax, edi
cdq
mov ecx, 0x14
idiv ecx
add esp, 8
mov dword [ebp - 0xd94], ebx
cmp edx, 0xe
jne 0x4693cd
xor ebx, ebx
lea eax, [ebp - 0xd78]
jmp 0x469350
xor ecx, ecx
mov dword [ebp - 0xd8c], ecx
mov dword [ebp - 0xd88], eax
mov edi, edi
lea esi, [ecx + 1]
mov eax, edi
cdq
lea ecx, [ebx + 1]
idiv ecx
mov eax, edi
sub eax, ebx
mov ecx, edx
imul ecx, eax
mov eax, edi
cdq
idiv esi
mov edi, dword [ebp - 0xd88]
add ecx, eax
sub ecx, dword [ebp - 0xd8c]
push ecx
push 0x52a4e0
call fcn.004f20c4
mov ecx, esi
add edi, 4
add esp, 8
mov dword [ebp - 0xd8c], ecx
mov dword [ebp - 0xd88], edi
cmp ecx, 0x1a
jge 0x4693b3
mov edi, dword [0x578ad4]
jmp 0x469360
inc ebx
cmp ebx, 0x1e
jge 0x4693c7
mov edi, dword [0x578ad4]
mov eax, dword [ebp - 0xd88]
jmp 0x469350
mov ebx, dword [ebp - 0xd94]
test ebx, ebx
je 0x469479
add ebx, 0x14
push 0x5c
push ebx
call fcn.004f7130
add esp, 8
test eax, eax
je 0x469479
sub esp, 0x18
mov ecx, esp
push ebx
mov byte [eax], 0
call fcn.00401010
mov edi, dword [ebp - 0xd80]
push edi
call fcn.0049ac00
mov edx, dword [ebp - 0xd7c]
add edx, 0xfffffff0
or ebx, 0xffffffff
add esp, 0x1c
mov byte [ebp - 4], 1
lea ecx, [edx + 0xc]
mov eax, ebx
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x46942e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0xd84]
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 0x469451
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], ebx
dec ebx
test ebx, ebx
jg 0x469472
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, edi
jmp 0x469538
mov edx, dword [ebp - 0xd7c]
add edx, 0xfffffff0
or ebx, 0xffffffff
mov byte [ebp - 4], 1
lea eax, [edx + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x46949f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0xd84]
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 0x4694c2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0xd80]
mov eax, dword [0x5771f0]
mov ecx, 0x5771f0
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
mov eax, 0x532ad4
mov byte [ebp - 4], 3
test eax, 0xffff0000
jne 0x469507
movzx edi, ax
push 0
push edi
call fcn.00403070
add esp, 8
test eax, eax
je 0x469515
push edi
push eax
mov ecx, esi
call fcn.00408b00
jmp 0x469515
push 3
push 0x532ad4
mov ecx, esi
call fcn.0040c730
mov edx, dword [ebp + 0xc]
add edx, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea eax, [edx + 0xc]
lock xadd dword [eax], ebx
dec ebx
test ebx, ebx
jg 0x469536
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.004f0cd4
mov esp, ebp
pop ebp
ret