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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa4
mov eax, dword [0x6fb448]
xor eax, ebp
mov dword [ebp - 0x1c], eax
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0xc], 0
mov eax, dword [ebp + 8]
push eax
call fcn.00401389
add esp, 4
test eax, eax
je 0x44852f
xor eax, eax
jmp 0x448763
call fcn.0040323d
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
push 0
push 0x80
push 3
push 0
push 7
push closesocket
mov eax, dword [ebp + 8]
push eax
call fcn.004020c2
add esp, 0x24
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x44864f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x10], eax
cmp dword [ebp + 0x10], 0
je 0x448585
mov ecx, dword [ebp + 0x10]
cmp dword [ecx], 0
jne 0x44863e
cmp dword [ebp + 0xc], 0
je 0x44859c
call fcn.0040323d
sub eax, dword [ebp - 0xc]
cmp eax, dword [ebp + 0xc]
jae 0x44863e
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
push 0
push 0x80
push 3
push 0
push 7
push 0x2000000
mov ecx, dword [ebp + 8]
push ecx
call fcn.004020c2
add esp, 0x24
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x44863c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x14], eax
cmp dword [ebp + 0x10], 0
je 0x4485e2
mov edx, dword [ebp + 0x10]
cmp dword [edx], 0
jne 0x44862b
cmp dword [ebp + 0xc], 0
je 0x4485f5
call fcn.0040323d
sub eax, dword [ebp - 0xc]
cmp eax, dword [ebp + 0xc]
jae 0x44862b
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00401f05
add esp, 8
test eax, eax
je 0x44862b
mov edx, dword [ebp - 0x14]
push edx
push 0x65a40c
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp + 8]
push edx
push str.:8:GetFileSizeTimeOut___Seems_to_have_failed_because_of_an_access_rights_problem_:___s_:__u:_u:__s_ld
call fcn.00401014
add esp, 0x18
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x448763
jmp 0x44864f
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x448763
push 0
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x4486bd
mov dword [ebp - 0x18], 0
cmp dword [ebp + 0x10], 0
je 0x448679
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
mov dword [ebp - 0x18], ecx
push 0x65a488
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
push str.:7:GetFileSizeTimeOut___s____ld___d__FAILED:__s
call fcn.004018ca
add esp, 0x14
push 0x104f
push 0x65a4c8
push 0x65a4d4
mov edx, dword [ebp - 8]
push edx
call fcn.00401f5a
mov dword [ebp - 8], 0
xor eax, eax
jmp 0x448763
cmp dword [ebp - 4], 0
jbe 0x448741
mov dword [ebp - 0xa4], 0
push 0
lea eax, [ebp - 0xa4]
push eax
push 0x80
lea ecx, [ebp - 0xa0]
push ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4486f9
cmp dword [ebp - 0xa4], 0
jne 0x448741
push 0x65a4e8
mov eax, dword [ebp - 0xa4]
push eax
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
push str.:7:GetFileSizeTimeOut___s____ld__FAILED:_GetFileSize___returned__ld_but_ReadFile_____ldBytesRead__FAILED:__s
call fcn.00401014
add esp, 0x18
push 0x105b
push 0x65a568
push 0x65a574
mov ecx, dword [ebp - 8]
push ecx
call fcn.00401f5a
mov dword [ebp - 8], 0
xor eax, eax
jmp 0x448763
push 0x1060
push 0x65a588
push str.GetFileSizeTimeOut
mov edx, dword [ebp - 8]
push edx
call fcn.00401f5a
mov dword [ebp - 8], 0
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.005b0290
mov esp, ebp
pop ebp
ret