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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45feab
mov eax, dword fs:[0]
push eax
sub esp, 0x2cc
mov eax, dword [0x47201c]
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 0x41336d
push eax
call fcn.00450199
add esp, 4
mov eax, dword [edi + 4]
test eax, eax
je 0x41337d
push eax
call fcn.00450199
add esp, 4
mov dword [edi], 0
mov dword [edi + 4], 0
mov edx, dword [0x473af8]
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.00418a20
mov dword [ebp - 4], 0
mov eax, dword [0x473b80]
cmp word [eax], 0
jne 0x41353f
push ebx
mov ebx, esi
call fcn.004188d0
mov eax, dword [ebp - 0x98]
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x2cc], eax
cmp eax, 0xffffffff
jne 0x413445
push 0x63
push 0x46531c
lea ecx, [edi + 0x10]
push ecx
call fcn.00459158
add esp, 0xc
push 0x31
push 0x463b38
add edi, 0xd8
push edi
call fcn.00459158
mov eax, dword [ebp - 0x98]
lea edx, [ebp - 0x94]
add esp, 0xc
cmp eax, edx
je 0x41343e
push eax
call fcn.00450199
add esp, 4
xor al, al
jmp 0x413695
push 0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
test esi, esi
jne 0x41348d
push 0x63
push str.File_is_empty
lea eax, [edi + 0x10]
push eax
call fcn.00459158
add esp, 0xc
push 0x31
push 0x463b38
add edi, 0xd8
push edi
call fcn.00459158
mov eax, dword [ebp - 0x98]
lea ecx, [ebp - 0x94]
add esp, 0xc
cmp eax, ecx
jmp 0x413433
cmp esi, 0x400000
jbe 0x4134a2
push 0x63
push str.File_too_large
lea edx, [edi + 0x10]
push edx
jmp 0x41345f
push esi
mov dword [ebp - 0x2d4], 0
call fcn.0044f611
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 0x413504
push ebx
call fcn.0044f726
add esp, 4
mov esi, edi
call fcn.00408750
push 0x63
push str.Could_not_read_file
lea edx, [edi + 0x10]
push edx
jmp 0x41345f
push esi
mov eax, ebx
call fcn.00413270
push ebx
mov byte [ebp - 0x2cd], al
call fcn.0044f726
mov eax, dword [ebp - 0x98]
lea edx, [ebp - 0x94]
add esp, 4
cmp eax, edx
je 0x413534
push eax
call fcn.00450199
add esp, 4
mov al, byte [ebp - 0x2cd]
jmp 0x413695
push eax
lea ebx, [ebp - 0x98]
call fcn.004188d0
cmp byte [0x47a4eb], 0
je 0x413561
mov eax, dword [0x47a4fc]
mov dword [ebp - 0x2cc], eax
jmp 0x41357d
mov eax, dword [ebp - 0x98]
push 0
push eax
mov ebx, 2
call fcn.0043ebe0
add esp, 8
mov dword [ebp - 0x2cc], eax
test eax, eax
jne 0x41358d
push 0x63
push str.Error_opening_zip_file
jmp 0x413403
lea ecx, [ebp - 0x2c8]
push ecx
mov ecx, dword [ebp - 0x2d8]
push eax
lea edx, [ebp - 0x2d8]
call fcn.0043ec50
add esp, 8
test eax, eax
je 0x4135bd
push 0x63
push str.Could_not_find_ziped_file
lea edx, [edi + 0x10]
push edx
jmp 0x41345f
mov eax, dword [ebp - 0x9c]
mov ebx, eax
test eax, eax
jne 0x4135d9
push 0x63
push str.File_is_empty
lea edx, [edi + 0x10]
push edx
jmp 0x41345f
cmp eax, 0x400000
jbe 0x4135f0
push 0x63
push str.File_too_large
lea edx, [edi + 0x10]
push edx
jmp 0x41345f
push eax
call fcn.0044f611
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.0043ed70
add esp, 8
test eax, eax
je 0x41364d
cmp eax, 0x600
je 0x41364d
push esi
call fcn.0044f726
add esp, 4
cmp byte [0x47a4eb], 0
jne 0x413641
mov edi, dword [ebp - 0x2cc]
call fcn.0043edb0
mov edi, dword [ebp - 0x2d4]
push 0x63
push str.Could_not_unzip_file
jmp 0x41345b
cmp byte [0x47a4eb], 0
jne 0x413667
mov edi, dword [ebp - 0x2cc]
call fcn.0043edb0
mov edi, dword [ebp - 0x2d4]
push ebx
mov eax, esi
call fcn.00413270
push esi
mov bl, al
call fcn.0044f726
mov eax, dword [ebp - 0x98]
lea edx, [ebp - 0x94]
add esp, 4
cmp eax, edx
je 0x413693
push eax
call fcn.00450199
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.0044eeef
mov esp, ebp
pop ebp
ret