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

Disassembly:
push 0xffffffffffffffff
push 0x52d23b
mov eax, dword fs:[0]
push eax
sub esp, 0x2c8
mov eax, dword [0x55c4c8]
xor eax, esp
mov dword [esp + 0x2c0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x55c4c8]
xor eax, esp
push eax
lea eax, [esp + 0x2dc]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x2ec]
mov edi, ecx
mov eax, dword [edi]
xor ebp, ebp
cmp eax, ebp
je 0x4aad05
push eax
call fcn.0050a8b9
add esp, 4
mov eax, dword [edi + 4]
cmp eax, ebp
je 0x4aad15
push eax
call fcn.0050a8b9
add esp, 4
mov dword [edi], ebp
mov dword [edi + 4], ebp
mov edx, dword [0x61c338]
push 0xffffffffffffffff
lea eax, [esp + 0x24]
xor ecx, ecx
push edx
lea esi, [esp + 0x24]
mov dword [esp + 0x24], eax
mov word [esp + 0x28], cx
call fcn.004b50c0
mov dword [esp + 0x2e4], ebp
mov eax, dword [0x61c3c0]
cmp word [eax], bp
jne 0x4aae4c
cmp ebx, ebp
je 0x4aad5d
push ebx
mov eax, esi
push eax
call fcn.004b4f80
mov ecx, dword [esp + 0x1c]
push ebp
push 0x80
push 3
push ebp
push 1
push SysReAllocString
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x4aadc4
push 0x63
push str.Error_opening_file
lea edx, [edi + 0x10]
push edx
call fcn.00512000
add esp, 0xc
push 0x31
push 0x533194
add edi, 0xd8
push edi
call fcn.00512000
mov eax, dword [esp + 0x28]
lea ecx, [esp + 0x2c]
add esp, 0xc
cmp eax, ecx
je 0x4aadbd
push eax
call fcn.0050a8b9
add esp, 4
xor al, al
jmp 0x4aaf71
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
test esi, esi
jne 0x4aaddc
push 0x63
push str.File_is_empty
jmp 0x4aad86
cmp esi, 0x400000
jbe 0x4aaded
push 0x63
push str.File_too_large
jmp 0x4aad86
push esi
mov dword [esp + 0x1c], 0
call fcn.005095f9
add esp, 4
push 0
lea edx, [esp + 0x1c]
push edx
push esi
mov ebp, eax
push ebp
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esp + 0x18], esi
je 0x4aae3d
push ebp
call fcn.0050a8ae
add esp, 4
mov esi, edi
call fcn.00401d90
push 0x63
push str.Could_not_read_file
lea eax, [edi + 0x10]
push eax
jmp 0x4aad8a
push esi
push ebp
mov eax, edi
call fcn.004aac00
push ebp
jmp 0x4aaf50
push eax
lea eax, [esp + 0x20]
push eax
call fcn.004b4f80
cmp byte [0x61fd47], 0
je 0x4aae68
mov ebp, dword [0x626d08]
jmp 0x4aae7a
mov ecx, dword [esp + 0x1c]
push 2
push ebp
push ecx
call fcn.004e1c30
add esp, 0xc
mov ebp, eax
test ebp, ebp
jne 0x4aae8a
push 0x63
push str.Error_opening_zip_file
jmp 0x4aad86
lea edx, [esp + 0xa4]
push edx
push ebp
lea edx, [esp + 0x20]
mov ecx, ebx
call fcn.004e1ca0
add esp, 8
test eax, eax
je 0x4aaeb5
push 0x63
push str.Could_not_find_ziped_file
lea eax, [edi + 0x10]
push eax
jmp 0x4aad8a
mov eax, dword [esp + 0x2d0]
mov ebx, eax
test eax, eax
jne 0x4aaece
push 0x63
push str.File_is_empty
jmp 0x4aad86
cmp eax, 0x400000
jbe 0x4aaee1
push 0x63
push str.File_too_large
jmp 0x4aad86
push eax
call fcn.005095f9
mov edx, dword [esp + 0x1c]
mov esi, eax
add esp, 4
push esi
push edx
mov ecx, ebx
mov eax, ebp
call fcn.004e1df0
add esp, 8
test eax, eax
je 0x4aaf34
cmp eax, 0x600
je 0x4aaf34
push esi
call fcn.0050a8ae
add esp, 4
cmp byte [0x61fd47], 0
jne 0x4aaf24
push ebp
call fcn.004e1e30
add esp, 4
push 0x63
push str.Could_not_unzip_file
lea eax, [edi + 0x10]
push eax
jmp 0x4aad8a
cmp byte [0x61fd47], 0
jne 0x4aaf46
push ebp
call fcn.004e1e30
add esp, 4
push ebx
push esi
mov eax, edi
call fcn.004aac00
push esi
mov bl, al
call fcn.0050a8ae
mov eax, dword [esp + 0x20]
lea edx, [esp + 0x24]
add esp, 4
cmp eax, edx
je 0x4aaf6f
push eax
call fcn.0050a8b9
add esp, 4
mov al, bl
mov ecx, dword [esp + 0x2dc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2c0]
xor ecx, esp
call fcn.0050a231
add esp, 0x2d4
ret 4