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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42fbc0
mov eax, dword fs:[0]
push eax
push ecx
push ebx
sub esp, 0xb8
mov eax, dword [0x443068]
xor eax, ebp
mov dword [ebp - 0x1c], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
push 0x318
call fcn.0040c5bc
mov edi, eax
add esp, 4
mov dword [ebp - 0xc0], edi
push pe_nt_image_headers32
lea esi, [edi + 0xc]
mov dword [edi], vtable.CMemScript.0
push 0
push esi
mov dword [edi + 4], 0
mov dword [edi + 8], 0
call fcn.0040e750
add esp, 0xc
lea eax, [edi + 0x218]
push esi
push str.__s__The_file_were_not_configured_correctly
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
mov dword [ebp - 0xc0], edi
push str.ServerList.dat
push pe_nt_image_headers32
push esi
call fcn.0041106d
add esp, 0xc
push 0
push 0x20
push 3
push 0
push 1
push closesocket
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0xbc], eax
cmp eax, 0xffffffff
jne 0x407dcd
push esi
lea eax, [edi + 0x218]
push str.__s__Could_not_open_file
push eax
mov eax, dword [sym.imp.USER32.dll_wsprintfA]
call eax
add esp, 0xc
jmp 0x408039
push 0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [edi + 8], eax
mov eax, dword [edi + 4]
test eax, eax
je 0x407df0
push eax
call fcn.0040c781
add esp, 4
mov dword [edi + 4], 0
push dword [edi + 8]
call fcn.0040c786
add esp, 4
mov dword [edi + 4], eax
test eax, eax
jne 0x407e0d
push esi
push str.__s__Could_not_alloc_file_buffer
jmp 0x40801c
push 0
lea ecx, [ebp - 0xc4]
mov dword [ebp - 0xc4], 0
push ecx
push dword [edi + 8]
push eax
push dword [ebp - 0xbc]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x408016
push dword [ebp - 0xbc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi + 0x10c], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, 0x448618
mov dword [edi + 0x214], eax
call fcn.00408050
mov dword [ebp - 4], 0
nop dword [eax + eax]
mov ecx, edi
call fcn.00404a50
cmp eax, 2
je 0x407fc3
lea esi, [edi + 0x114]
mov eax, 0x43ef64
mov ecx, esi
nop dword [eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x407eb0
test dl, dl
je 0x407eac
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x407eb0
add eax, 2
add ecx, 2
test dl, dl
jne 0x407e90
xor eax, eax
jmp 0x407eb5
sbb eax, eax
or eax, 1
test eax, eax
je 0x407fc3
cvttss2si eax, dword [edi + 0x110]
mov ecx, edi
mov word [ebp - 0x68], ax
call fcn.00404a50
push esi
lea eax, [ebp - 0x66]
push 0x20
push eax
call fcn.0041106d
add esp, 0xc
mov ecx, edi
call fcn.00404a50
push esi
lea eax, [ebp - 0x46]
push 0x10
push eax
call fcn.0041106d
add esp, 0xc
mov ecx, edi
call fcn.00404a50
cvttss2si eax, dword [edi + 0x110]
mov ecx, edi
mov word [ebp - 0x36], ax
call fcn.00404a50
mov eax, str.SHOW
mov cl, byte [esi]
cmp cl, byte [eax]
jne 0x407f34
test cl, cl
je 0x407f30
mov cl, byte [esi + 1]
cmp cl, byte [eax + 1]
jne 0x407f34
add esi, 2
add eax, 2
test cl, cl
jne 0x407f14
xor eax, eax
jmp 0x407f39
sbb eax, eax
or eax, 1
movups xmm0, xmmword [ebp - 0x68]
test eax, eax
mov byte [ebp - 0x33], 0
mov dword [ebp - 0x30], 0
mov ecx, 0x448618
movups xmmword [ebp - 0xb4], xmm0
mov byte [ebp - 0x2c], 0
movups xmm0, xmmword [ebp - 0x58]
sete byte [ebp - 0x34]
xor eax, eax
movups xmmword [ebp - 0xa4], xmm0
mov dword [ebp - 0x2a], eax
movups xmm0, xmmword [ebp - 0x48]
mov dword [ebp - 0x26], eax
movzx eax, word [ebp - 0x68]
movups xmmword [ebp - 0x94], xmm0
mov dword [ebp - 0xb8], eax
lea eax, [ebp - 0xb8]
movups xmm0, xmmword [ebp - 0x38]
push eax
movups xmmword [ebp - 0x84], xmm0
movq xmm0, qword [ebp - 0x28]
movq qword [ebp - 0x74], xmm0
call fcn.00408140
push eax
add eax, 0x10
push eax
push ecx
lea eax, [ebp - 0xc8]
mov ecx, 0x448618
push eax
call fcn.00408190
jmp 0x407e70
push str._ServerList__ServerList_loaded_successfully
push 0xff0000
push 0x443a80
call fcn.004075c0
mov eax, dword [edi]
add esp, 0xc
mov ecx, edi
push 1
call dword [eax]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.0040c303
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4
push esi
push str.__s__Could_not_read_file
lea eax, [edi + 0x218]
push eax
mov eax, dword [sym.imp.USER32.dll_wsprintfA]
call eax
add esp, 0xc
push dword [ebp - 0xbc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, edi
call fcn.00404e70
push eax
call fcn.00409dc0
int3