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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b666d
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x6218c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x34], ecx
mov ecx, dword [ebp - 0x34]
call fcn.0042c1d0
lea eax, [ebp - 0x28]
push eax
call fcn.0041cf70
add esp, 4
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathIsRelativeW]
test eax, eax
je 0x42c012
mov edx, dword [ebp + 8]
push edx
lea ecx, [ebp - 0x28]
call fcn.0042ceb0
jmp 0x42c01e
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x28]
call fcn.00409780
push 0
push 0x80
push 3
push 0
push 1
push connect
lea ecx, [ebp - 0x28]
call fcn.00406a40
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0xffffffff
jne 0x42c071
push 0
push 0x5fa300
mov ecx, dword [ebp - 0x34]
call fcn.0042ce50
mov byte [ebp - 0x29], al
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00406c10
mov al, byte [ebp - 0x29]
jmp 0x42c1a8
push 0
mov ecx, dword [ebp - 0x3c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
jne 0x42c0af
push 0
push str.File_is_empty
mov ecx, dword [ebp - 0x34]
call fcn.0042ce50
mov byte [ebp - 0x2a], al
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00406c10
mov al, byte [ebp - 0x2a]
jmp 0x42c1a8
cmp dword [ebp - 0x38], 0x400000
jbe 0x42c0e1
push 0
push str.File_too_large
mov ecx, dword [ebp - 0x34]
call fcn.0042ce50
mov byte [ebp - 0x2b], al
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00406c10
mov al, byte [ebp - 0x2b]
jmp 0x42c1a8
mov dword [ebp - 0x44], 0
mov edx, dword [ebp - 0x38]
push edx
call fcn.005702e7
add esp, 4
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x40], eax
push 0
lea ecx, [ebp - 0x44]
push ecx
mov edx, dword [ebp - 0x38]
push edx
mov eax, dword [ebp - 0x40]
push eax
mov ecx, dword [ebp - 0x3c]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov edx, dword [ebp - 0x3c]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x44]
cmp eax, dword [ebp - 0x38]
je 0x42c167
mov ecx, dword [ebp - 0x40]
mov dword [ebp - 0x4c], ecx
mov edx, dword [ebp - 0x4c]
push edx
call fcn.005702f0
add esp, 4
mov ecx, dword [ebp - 0x34]
call fcn.0042c1d0
push 0
push str.Could_not_read_file
mov ecx, dword [ebp - 0x34]
call fcn.0042ce50
mov byte [ebp - 0x2c], al
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00406c10
mov al, byte [ebp - 0x2c]
jmp 0x42c1a8
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x38]
push ecx
mov edx, dword [ebp - 0x40]
push edx
mov ecx, dword [ebp - 0x34]
call fcn.0042bd10
mov byte [ebp - 0x2d], al
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x50], eax
mov ecx, dword [ebp - 0x50]
push ecx
call fcn.005702f0
add esp, 4
mov dl, byte [ebp - 0x2d]
mov byte [ebp - 0x2e], dl
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00406c10
mov al, byte [ebp - 0x2e]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0057029b
mov esp, ebp
pop ebp
ret 8