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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c2d2b
mov eax, dword fs:[0]
push eax
sub esp, 0x2cc
mov eax, dword [0x4f4214]
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 edi, ecx
mov eax, dword [edi]
mov ebx, edx
mov dword [ebp - 0x2d4], edi
mov dword [ebp - 0x2d8], ebx
test eax, eax
je 0x44478d
push eax
call fcn.0049c78c
add esp, 4
mov eax, dword [edi + 4]
test eax, eax
je 0x44479d
push eax
call fcn.0049c78c
add esp, 4
mov dword [edi], 0
mov dword [edi + 4], 0
mov edx, dword [0x4f5cc8]
lea eax, [ebp - 0x94]
mov dword [ebp - 0x98], eax
xor ecx, ecx
push edx
or eax, 0xffffffff
lea esi, [ebp - 0x98]
mov word [ebp - 0x94], cx
call fcn.00451c40
mov dword [ebp - 4], 0
mov eax, dword [0x4f5d50]
cmp word [eax], 0
jne 0x4449a5
test ebx, ebx
je 0x4447f6
push ebx
mov ebx, esi
call fcn.00451af0
mov eax, dword [ebp - 0x98]
push 0
push 0x80
push 3
push 0
push 1
push closesocket
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
or ebx, 0xffffffff
mov dword [ebp - 0x2cc], eax
cmp eax, ebx
jne 0x44486e
push 0x63
lea ecx, [edi + 0x10]
push 0x4dbe28
push ecx
call fcn.0049f0ec
add esp, 0xc
push 0x31
add edi, 0xd8
push 0x4d4e80
push edi
call fcn.0049f0ec
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 0x98]
lea edx, [ebp - 0x94]
add esp, 0xc
cmp eax, edx
je 0x444867
push eax
call fcn.0049c78c
add esp, 4
xor al, al
jmp 0x444b20
push 0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
test esi, esi
jne 0x4448b9
push 0x63
push str.File_is_empty
lea eax, [edi + 0x10]
push eax
call fcn.0049f0ec
add esp, 0xc
push 0x31
push 0x4d4e80
add edi, 0xd8
push edi
call fcn.0049f0ec
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 0x98]
lea ecx, [ebp - 0x94]
add esp, 0xc
cmp eax, ecx
jmp 0x44485c
cmp esi, 0x400000
jbe 0x4448ce
push 0x63
push str.File_too_large
lea edx, [edi + 0x10]
push edx
jmp 0x444888
push esi
mov dword [ebp - 0x2d4], 0
call fcn.0049c139
add esp, 4
push 0
lea edx, [ebp - 0x2d4]
push edx
mov ebx, eax
mov eax, dword [ebp - 0x2cc]
push esi
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [ebp - 0x2cc]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x2d4], esi
je 0x444963
push ebx
call fcn.0049ca2e
add esp, 4
mov esi, edi
call fcn.004445c0
push 0x63
push str.Could_not_read_file
lea edx, [edi + 0x10]
push edx
call fcn.0049f0ec
add esp, 0xc
push 0x31
push 0x4d4e80
add edi, 0xd8
push edi
call fcn.0049f0ec
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x98]
lea ecx, [ebp - 0x94]
add esp, 0xc
cmp eax, ecx
jmp 0x44485c
push esi
mov eax, ebx
call fcn.00444690
push ebx
mov byte [ebp - 0x2cd], al
call fcn.0049ca2e
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x98]
lea edx, [ebp - 0x94]
add esp, 4
cmp eax, edx
je 0x44499a
push eax
call fcn.0049c78c
add esp, 4
mov al, byte [ebp - 0x2cd]
jmp 0x444b20
push eax
lea ebx, [ebp - 0x98]
call fcn.00451af0
cmp byte [0x4f966f], 0
je 0x4449c7
mov eax, dword [0x4f9ab0]
mov dword [ebp - 0x2cc], eax
jmp 0x4449e3
mov eax, dword [ebp - 0x98]
push 0
push eax
mov ebx, 2
call fcn.0046c8b0
add esp, 8
mov dword [ebp - 0x2cc], eax
test eax, eax
jne 0x444a19
push 0x63
lea ecx, [edi + 0x10]
push str.Error_opening_zip_file
push ecx
call fcn.0049f0ec
add esp, 0xc
push 0x31
add edi, 0xd8
push 0x4d4e80
push edi
call fcn.0049f0ec
mov dword [ebp - 4], 0xffffffff
jmp 0x44484b
lea ecx, [ebp - 0x2c8]
push ecx
mov ecx, dword [ebp - 0x2d8]
push eax
lea edx, [ebp - 0x2d8]
call fcn.0046c920
add esp, 8
test eax, eax
je 0x444a45
push 0x63
push str.Could_not_find_ziped_file
jmp 0x444927
mov eax, dword [ebp - 0x9c]
mov ebx, eax
test eax, eax
jne 0x444a5d
push 0x63
push str.File_is_empty
jmp 0x444927
cmp eax, 0x400000
jbe 0x444a70
push 0x63
push str.File_too_large
jmp 0x444927
push eax
call fcn.0049c139
mov edx, dword [ebp - 0x2d8]
add esp, 4
mov esi, eax
mov eax, dword [ebp - 0x2cc]
push ebx
push edx
mov edx, esi
call fcn.0046ca40
add esp, 8
test eax, eax
je 0x444ad1
cmp eax, 0x600
je 0x444ad1
push esi
call fcn.0049ca2e
add esp, 4
cmp byte [0x4f966f], 0
jne 0x444ac1
mov edi, dword [ebp - 0x2cc]
call fcn.0046ca80
mov edi, dword [ebp - 0x2d4]
push 0x63
push str.Could_not_unzip_file
lea eax, [edi + 0x10]
push eax
jmp 0x44492b
cmp byte [0x4f966f], 0
jne 0x444aeb
mov edi, dword [ebp - 0x2cc]
call fcn.0046ca80
mov edi, dword [ebp - 0x2d4]
push ebx
mov eax, esi
call fcn.00444690
push esi
mov bl, al
call fcn.0049ca2e
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x98]
lea edx, [ebp - 0x94]
add esp, 4
cmp eax, edx
je 0x444b1e
push eax
call fcn.0049c78c
add esp, 4
mov al, bl
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.0049c72a
mov esp, ebp
pop ebp
ret