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

Disassembly:
push 0xffffffffffffffff
push 0x4660bb
mov eax, dword fs:[0]
push eax
sub esp, 0x2c8
mov eax, dword [0x47a060]
xor eax, esp
mov dword [esp + 0x2c0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x47a060]
xor eax, esp
push eax
lea eax, [esp + 0x2dc]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x2ec]
mov eax, dword [ebp]
xor edi, edi
cmp eax, edi
mov ebx, ecx
mov dword [esp + 0x18], ebx
je 0x4164fa
push eax
call fcn.0044f1f9
add esp, 4
mov eax, dword [ebp + 4]
cmp eax, edi
je 0x41650a
push eax
call fcn.0044f1f9
add esp, 4
mov dword [ebp], edi
mov dword [ebp + 4], edi
mov ecx, dword [0x47b848]
lea eax, [esp + 0x20]
mov dword [esp + 0x1c], eax
push ecx
or eax, 0xffffffff
lea esi, [esp + 0x20]
mov word [esp + 0x24], di
call fcn.0041aea0
mov dword [esp + 0x2e4], edi
mov eax, dword [0x47b8d0]
cmp word [eax], di
jne 0x416642
cmp ebx, edi
je 0x416553
push ebx
mov ebx, esi
call fcn.0041ad60
xor edi, edi
mov edx, dword [esp + 0x1c]
push edi
push 0x80
push 3
push edi
push 1
push SysReAllocString
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x4165ba
push 0x63
push 0x46ce64
lea eax, [ebp + 0x10]
push eax
call fcn.00452d5c
add esp, 0xc
push 0x31
push 0x469acc
add ebp, 0xd8
push ebp
call fcn.00452d5c
mov eax, dword [esp + 0x28]
lea ecx, [esp + 0x2c]
add esp, 0xc
cmp eax, ecx
je 0x4165b3
push eax
call fcn.0044f1f9
add esp, 4
xor al, al
jmp 0x4167b8
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, edi
jne 0x4165d5
push 0x63
push str.File_is_empty
lea edx, [ebp + 0x10]
push edx
jmp 0x416580
cmp esi, 0x400000
jbe 0x4165ea
push 0x63
push str.File_too_large
lea edx, [ebp + 0x10]
push edx
jmp 0x416580
push esi
mov dword [esp + 0x1c], edi
call fcn.0044ea80
add esp, 4
push 0
lea edx, [esp + 0x1c]
push edx
push esi
mov edi, eax
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esp + 0x18], esi
je 0x416632
push edi
call fcn.0044eea2
add esp, 4
mov esi, ebp
call fcn.004167f0
push 0x63
push str.Could_not_read_file
jmp 0x41657c
push esi
mov eax, edi
mov ecx, ebp
call fcn.004163f0
push edi
jmp 0x416797
push eax
lea ebx, [esp + 0x20]
call fcn.0041ad60
cmp byte [0x47d2fc], 0
je 0x41665d
mov edi, dword [0x47d300]
jmp 0x416670
mov eax, dword [esp + 0x1c]
push 0
push 0
push eax
call fcn.004143b0
add esp, 0xc
mov edi, eax
test edi, edi
jne 0x4166ac
push 0x63
lea ecx, [ebp + 0x10]
push str.Error_opening_zip_file
push ecx
call fcn.00452d5c
add esp, 0xc
push 0x31
push 0x469acc
add ebp, 0xd8
push ebp
call fcn.00452d5c
mov eax, dword [esp + 0x28]
lea edx, [esp + 0x2c]
add esp, 0xc
cmp eax, edx
jmp 0x4165a8
cmp dword [edi], 1
je 0x4166cb
push 0x63
push str.Could_not_find_ziped_file
lea edx, [ebp + 0x10]
mov dword [0x47d2e8], 0x80000
push edx
jmp 0x416580
mov ecx, dword [esp + 0x18]
mov esi, dword [edi + 4]
lea eax, [esp + 0xa4]
push eax
push ecx
lea ebx, [esp + 0x20]
call fcn.00413d40
test eax, eax
mov dword [0x47d2e8], eax
je 0x4166fd
push 0x63
push str.Could_not_find_ziped_file
lea edx, [ebp + 0x10]
push edx
jmp 0x416580
mov eax, dword [esp + 0x2d0]
test eax, eax
mov ebx, eax
jne 0x41671a
push 0x63
push str.File_is_empty
lea edx, [ebp + 0x10]
push edx
jmp 0x416580
cmp eax, 0x400000
jbe 0x416731
push 0x63
push str.File_too_large
lea edx, [ebp + 0x10]
push edx
jmp 0x416580
push eax
call fcn.0044ea80
mov edx, dword [esp + 0x1c]
add esp, 4
mov esi, eax
push ebx
push esi
mov eax, edi
call fcn.00414800
add esp, 8
test eax, eax
je 0x41677e
cmp eax, 0x600
je 0x41677e
push esi
call fcn.0044eea2
add esp, 4
cmp byte [0x47d2fc], 0
jne 0x41676e
call fcn.00414840
push 0x63
push str.Could_not_unzip_file
lea edx, [ebp + 0x10]
push edx
jmp 0x416580
cmp byte [0x47d2fc], 0
jne 0x41678c
call fcn.00414840
push ebx
mov eax, esi
mov ecx, ebp
call fcn.004163f0
push esi
mov bl, al
call fcn.0044eea2
mov eax, dword [esp + 0x20]
lea edx, [esp + 0x24]
add esp, 4
cmp eax, edx
je 0x4167b6
push eax
call fcn.0044f1f9
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.0044eeec
add esp, 0x2d4
ret 4