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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x426740
mov eax, dword fs:[0]
push eax
sub esp, 0x118
mov eax, dword [0x431040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
push 0x280
call fcn.004099aa
mov ebx, eax
push str..DataInternalList.txt
push pe_nt_image_headers32
mov dword [ebp - 0x124], ebx
lea edi, [ebx + 0x180]
mov dword [ebx], vtable.CMemScript.0
push edi
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebp - 0x124], ebx
call fcn.0040cd21
add esp, 0x10
push 0
push 0x20
push 3
push 0
push 1
push connect
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x40684e
push edi
lea eax, [ebx + 0x80]
push str.__s__Could_not_open_file
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
jmp 0x406a14
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebx + 8], eax
mov eax, dword [ebx + 4]
test eax, eax
je 0x406871
push eax
call fcn.00409d63
add esp, 4
mov dword [ebx + 4], 0
push dword [ebx + 8]
call fcn.00409d68
add esp, 4
mov dword [ebx + 4], eax
lea ecx, [ebp - 0x120]
mov dword [ebp - 0x120], 0
push 0
push ecx
push dword [ebx + 8]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x4068ac
push edi
push str.__s__Could_not_read_file
jmp 0x4069fd
mov eax, dword [ebx + 4]
cmp byte [eax], 0xef
jne 0x4068c4
cmp byte [eax + 1], 0xbb
jne 0x4068c4
cmp byte [eax + 2], 0xbf
je 0x4069f7
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebx + 0xc], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebx + 0x7c], eax
mov eax, dword [0x435fe8]
cmp eax, dword [0x435fec]
je 0x4068ed
mov dword [0x435fec], eax
mov dword [ebp - 4], 0
mov ecx, ebx
call fcn.00405390
cmp eax, 2
jne 0x40692a
test ebx, ebx
je 0x40690c
mov eax, dword [ebx]
mov ecx, ebx
push 1
call dword [eax]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0040971a
mov esp, ebp
pop ebp
ret 4
cvttss2si eax, dword [ebx + 0x10]
mov dword [ebp - 0x120], eax
mov ecx, ebx
call fcn.00405390
lea esi, [ebx + 0x18]
mov eax, 0x42d0e8
mov ecx, esi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x406966
test dl, dl
je 0x406962
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x406966
add eax, 2
add ecx, 2
test dl, dl
jne 0x406946
xor eax, eax
jmp 0x40696b
sbb eax, eax
or eax, 1
test eax, eax
je 0x4068f4
push 0x104
lea eax, [ebp - 0x11b]
push 0
push eax
call fcn.0040b2a0
mov eax, dword [ebp - 0x120]
push esi
mov byte [ebp - 0x11c], al
lea eax, [ebp - 0x11b]
push 0x104
push eax
call fcn.0040cd21
mov eax, dword [0x435fec]
add esp, 0x18
cmp eax, dword [0x435ff0]
je 0x4069cf
mov ecx, 0x41
lea esi, [ebp - 0x11c]
mov edi, eax
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
add dword [0x435fec], 0x105
jmp 0x406935
lea ecx, [ebp - 0x11c]
push ecx
push eax
mov ecx, 0x435fe8
call fcn.004074c0
jmp 0x406935
push edi
push str.__s__The_file_is_codified_in_UTF_8_BOM_and_cannot_be_read._Change_it_to_UTF_8_and_try_again
lea eax, [ebx + 0x80]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, ebx
call fcn.00405380
push eax
call fcn.00409230
int3