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

Disassembly:
push 0x3cc
mov eax, 0x6a15d3
call fcn.00635544
mov esi, ecx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x3d8], ebx
call fcn.00606d9f
call fcn.005dd9f4
push eax
lea ecx, [ebp - 0x94]
call fcn.005e5851
and dword [ebp - 4], 0
call fcn.005dd9fa
mov ecx, eax
call fcn.005e60cf
test al, al
je 0x606a93
push ebx
lea ecx, [ebp - 0x94]
call fcn.005e5b4c
xor ebx, ebx
lea ecx, [ebp - 0x94]
push ebx
push 0x80
push 3
push ebx
push 1
push SysReAllocString
call fcn.00405e20
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x3d0], eax
push ebx
cmp eax, 0xffffffff
jne 0x6069ef
push str.Error_opening_file
jmp 0x606b22
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
test edi, edi
jne 0x606a07
push ebx
push str.File_is_empty
jmp 0x606b22
cmp edi, 0x400000
jbe 0x606a1a
push ebx
push str.File_too_large
jmp 0x606b22
push edi
mov dword [ebp - 0x3d4], ebx
call fcn.006354e1
pop ecx
mov ebx, eax
lea eax, [ebp - 0x3d4]
push 0
push eax
push edi
push ebx
push dword [ebp - 0x3d0]
mov dword [ebp - 0x3d8], ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
push dword [ebp - 0x3d0]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x3d4], edi
je 0x606a74
push ebx
call fcn.00634f16
pop ecx
mov ecx, esi
call fcn.00606d9f
push 0
push str.Could_not_read_file
jmp 0x606b22
push dword [ebp + 0xc]
mov ecx, esi
push edi
push ebx
call fcn.00606c54
push dword [ebp - 0x3d8]
mov bl, al
call fcn.00634f16
pop ecx
jmp 0x606c3f
call fcn.005dd9fa
push eax
lea ecx, [ebp - 0x94]
call fcn.005e5b2f
call fcn.005ddc63
test al, al
je 0x606ab6
call fcn.005dda00
mov edi, eax
jmp 0x606b18
call fcn.005dda06
push eax
lea ecx, [ebp - 0x19c]
call fcn.005e5851
push 0
lea ecx, [ebp - 0x19c]
mov byte [ebp - 4], 1
call fcn.00405e20
push eax
call fcn.005e287d
pop ecx
pop ecx
mov ebx, eax
lea ecx, [ebp - 0x94]
push ebx
call fcn.00405e20
push eax
call fcn.005e7304
mov edi, eax
pop ecx
pop ecx
test ebx, ebx
je 0x606b03
push ebx
call fcn.00634f16
pop ecx
lea ecx, [ebp - 0x19c]
mov byte [ebp - 4], 0
call fcn.005e5978
mov ebx, dword [ebp - 0x3d8]
test edi, edi
jne 0x606b30
push edi
push str.Error_opening_zip_file
mov ecx, esi
call fcn.00606dca
mov bl, al
jmp 0x606c3f
and dword [ebp - 0x3d4], 0
lea ecx, [ebp - 0x118]
push 0xffffffffffffffff
push ebx
call fcn.005e5876
push 0x6d79b0
push 0x6d24c0
lea ecx, [ebp - 0x118]
mov byte [ebp - 4], 2
call fcn.005e6283
lea eax, [ebp - 0x3cc]
push eax
lea eax, [ebp - 0x3d4]
push eax
push 1
lea ecx, [ebp - 0x118]
call fcn.00405e20
push eax
push edi
call fcn.005e6cea
add esp, 0x14
test eax, eax
je 0x606b90
push 0
push str.Could_not_find_ziped_file
jmp 0x606bfe
mov ebx, dword [ebp - 0x1a0]
test ebx, ebx
jne 0x606ba2
push ebx
push str.File_is_empty
jmp 0x606bfe
cmp ebx, 0x400000
jbe 0x606bb3
push 0
push str.File_too_large
jmp 0x606bfe
push ebx
call fcn.006354e1
push ebx
push eax
push dword [ebp - 0x3d4]
mov dword [ebp - 0x3d0], eax
push edi
call fcn.005e7743
add esp, 0x14
test eax, eax
je 0x606c09
cmp eax, 0x600
je 0x606c09
push dword [ebp - 0x3d0]
call fcn.00634f16
pop ecx
call fcn.005ddc63
test al, al
jne 0x606bf7
push edi
call fcn.005e6acd
pop ecx
push 0
push str.Could_not_unzip_file
mov ecx, esi
call fcn.00606dca
mov bl, al
jmp 0x606c34
call fcn.005ddc63
test al, al
jne 0x606c19
push edi
call fcn.005e6acd
pop ecx
push dword [ebp + 0xc]
mov edi, dword [ebp - 0x3d0]
mov ecx, esi
push ebx
push edi
call fcn.00606c54
push edi
mov bl, al
call fcn.00634f16
pop ecx
lea ecx, [ebp - 0x118]
call fcn.005e5978
lea ecx, [ebp - 0x94]
call fcn.005e5978
mov al, bl
call fcn.006354ff
ret 8