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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4918e8
mov eax, dword fs:[0]
push eax
sub esp, 0x18c
mov eax, dword [0x4b04dc]
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 dword [ebp - 0x194], edi
mov ebx, edx
test eax, eax
je 0x441047
push eax
call fcn.00476c90
add esp, 4
mov eax, dword [edi + 4]
test eax, eax
je 0x441057
push eax
call fcn.00476c90
add esp, 4
mov dword [edi], 0
mov dword [edi + 4], 0
mov ecx, dword [0x4b3d18]
lea eax, [ebp - 0x54]
mov dword [ebp - 0x58], eax
push ecx
or eax, 0xffffffff
lea esi, [ebp - 0x58]
mov byte [ebp - 0x54], 0
call fcn.004543b0
mov dword [ebp - 4], 0
mov eax, dword [0x4b3d60]
cmp byte [eax], 0
jne 0x44119f
test ebx, ebx
je 0x4410a1
push ebx
mov eax, esi
call fcn.004542b0
mov edx, dword [ebp - 0x58]
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x190], eax
cmp eax, 0xffffffff
jne 0x441108
push 0x63
push str.Error_opening_file
lea eax, [edi + 0x10]
push eax
call fcn.0047792b
add esp, 0xc
push 0x31
push 0x497892
add edi, 0x74
push edi
call fcn.0047792b
mov eax, dword [ebp - 0x58]
lea ecx, [ebp - 0x54]
add esp, 0xc
cmp eax, ecx
je 0x441101
push eax
call fcn.00476c90
add esp, 4
xor al, al
jmp 0x44132c
push 0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
test esi, esi
jne 0x441124
push 0x63
push str.File_is_empty
lea edx, [edi + 0x10]
push edx
jmp 0x4410d3
cmp esi, 0x400000
jbe 0x441139
push 0x63
push str.File_too_large
lea edx, [edi + 0x10]
push edx
jmp 0x4410d3
push esi
mov dword [ebp - 0x194], 0
call fcn.00475963
add esp, 4
push 0
lea edx, [ebp - 0x194]
push edx
mov ebx, eax
mov eax, dword [ebp - 0x190]
push esi
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [ebp - 0x190]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x194], esi
je 0x4412fb
push ebx
call fcn.00476676
add esp, 4
mov esi, edi
call fcn.00441350
push 0x63
push str.Could_not_read_file
lea edx, [edi + 0x10]
push edx
jmp 0x4410d3
push eax
lea eax, [ebp - 0x58]
call fcn.004542b0
cmp byte [0x4b60e0], 0
je 0x4411be
mov eax, dword [0x4b60e4]
mov dword [ebp - 0x190], eax
jmp 0x4411d4
mov eax, dword [ebp - 0x58]
push 2
push 0
push eax
call fcn.00459750
add esp, 0xc
mov dword [ebp - 0x190], eax
test eax, eax
jne 0x44120b
push 0x63
lea ecx, [edi + 0x10]
push str.Error_opening_zip_file
push ecx
call fcn.0047792b
add esp, 0xc
push 0x31
push 0x497892
add edi, 0x74
push edi
call fcn.0047792b
mov eax, dword [ebp - 0x58]
lea edx, [ebp - 0x54]
add esp, 0xc
cmp eax, edx
jmp 0x4410f6
cmp dword [eax], 1
je 0x441226
push 0x63
mov dword [0x4b60f8], 0x80000
push str.Could_not_find_ziped_file
jmp 0x4410cf
mov ecx, dword [eax + 4]
lea eax, [ebp - 0x188]
push eax
lea edx, [ebp - 0x198]
mov eax, ebx
push edx
mov ebx, ecx
call fcn.00459570
mov dword [0x4b60f8], eax
test eax, eax
je 0x441255
push 0x63
push str.Could_not_find_ziped_file
jmp 0x4410cf
mov esi, dword [ebp - 0x60]
test esi, esi
jne 0x44126c
push 0x63
push str.File_is_empty
lea edx, [edi + 0x10]
push edx
jmp 0x4410d3
cmp esi, 0x400000
jbe 0x441284
push 0x63
push str.File_too_large
lea edx, [edi + 0x10]
push edx
jmp 0x4410d3
push esi
call fcn.00475963
mov edx, dword [ebp - 0x198]
add esp, 4
mov ebx, eax
mov eax, dword [ebp - 0x190]
push esi
push edx
mov edx, ebx
call fcn.004597c0
add esp, 8
test eax, eax
je 0x4412e1
cmp eax, 0x600
je 0x4412e1
push ebx
call fcn.00476676
add esp, 4
cmp byte [0x4b60e0], 0
jne 0x4412d5
mov edi, dword [ebp - 0x190]
call fcn.00459800
mov edi, dword [ebp - 0x194]
push 0x63
push str.Could_not_unzip_file
jmp 0x4410cf
cmp byte [0x4b60e0], 0
jne 0x4412fb
mov edi, dword [ebp - 0x190]
call fcn.00459800
mov edi, dword [ebp - 0x194]
push esi
push edi
mov eax, ebx
call fcn.00440f10
push ebx
mov byte [ebp - 0x189], al
call fcn.00476676
mov eax, dword [ebp - 0x58]
lea edx, [ebp - 0x54]
add esp, 4
cmp eax, edx
je 0x441326
push eax
call fcn.00476c90
add esp, 4
mov al, byte [ebp - 0x189]
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.00475dcc
mov esp, ebp
pop ebp
ret