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

Disassembly:
push 0x3d4
mov eax, 0x5007ab
call fcn.004d9a2f
mov edi, dword [ebp + 8]
mov dword [ebp - 0x3d4], ecx
call fcn.0046b323
call fcn.0043b2c5
push eax
lea ecx, [ebp - 0x118]
call fcn.0043a97e
xor ebx, ebx
mov dword [ebp - 4], ebx
call fcn.0043b2cb
mov ecx, eax
call fcn.0043a66a
test al, al
je 0x46beec
push edi
lea ecx, [ebp - 0x118]
call fcn.0043a703
push ebx
push 0x80
push 3
push ebx
push 1
push SysReAllocString
lea ecx, [ebp - 0x118]
call fcn.0043a556
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x3d8], eax
push ebx
cmp eax, 0xffffffff
jne 0x46be53
push str.Error_opening_file
mov ecx, dword [ebp - 0x3d4]
call fcn.0046b4fd
mov bl, al
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x118]
call fcn.0043a53c
mov al, bl
call fcn.004d9ab2
ret 8
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, ebx
jne 0x46be68
push ebx
push str.File_is_empty
jmp 0x46be2d
cmp esi, 0x400000
jbe 0x46be78
push ebx
push 0x5104fc
jmp 0x46be2d
push esi
mov dword [ebp - 0x3e0], ebx
call fcn.004d44bd
pop ecx
push ebx
mov edi, eax
lea eax, [ebp - 0x3e0]
push eax
push esi
push edi
push dword [ebp - 0x3d8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
push dword [ebp - 0x3d8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x3e0], esi
je 0x46bece
push edi
call fcn.004d6406
pop ecx
mov ecx, dword [ebp - 0x3d4]
call fcn.0046b323
push ebx
push str.Could_not_read_file
jmp 0x46be2d
push dword [ebp + 0xc]
mov ecx, dword [ebp - 0x3d4]
push esi
push edi
call fcn.0046bc54
push edi
mov bl, al
call fcn.004d6406
pop ecx
jmp 0x46be3a
call fcn.0043b2cb
push eax
lea ecx, [ebp - 0x118]
call fcn.0043a6e6
call fcn.0043b2d7
test al, al
je 0x46bf13
call fcn.0043b2dd
mov dword [ebp - 0x3d8], eax
jmp 0x46bf71
call fcn.0043b2d1
push eax
lea ecx, [ebp - 0x19c]
call fcn.0043a97e
push ebx
lea ecx, [ebp - 0x19c]
mov byte [ebp - 4], 1
call fcn.0043a556
push eax
call fcn.0046b539
pop ecx
pop ecx
mov esi, eax
push esi
lea ecx, [ebp - 0x118]
call fcn.0043a556
push eax
call fcn.00466b80
pop ecx
pop ecx
mov dword [ebp - 0x3d8], eax
cmp esi, ebx
je 0x46bf63
push esi
call fcn.004d6406
pop ecx
lea ecx, [ebp - 0x19c]
mov byte [ebp - 4], bl
call fcn.0043a53c
cmp dword [ebp - 0x3d8], ebx
jne 0x46bf84
push ebx
push str.Error_opening_zip_file
jmp 0x46be2d
push 0xffffffffffffffff
push edi
lea ecx, [ebp - 0x94]
mov dword [ebp - 0x3dc], ebx
call fcn.0043a95a
push 0x50ab0c
push 0x50ab08
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 2
call fcn.0043aade
lea eax, [ebp - 0x3cc]
push eax
lea eax, [ebp - 0x3dc]
push eax
push 1
lea ecx, [ebp - 0x94]
call fcn.0043a556
push eax
push dword [ebp - 0x3d8]
call fcn.004650fa
add esp, 0x14
test eax, eax
je 0x46c00f
push ebx
push str.Could_not_find_ziped_file
mov ecx, dword [ebp - 0x3d4]
call fcn.0046b4fd
mov byte [ebp - 0x3cd], al
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], bl
call fcn.0043a53c
mov bl, byte [ebp - 0x3cd]
jmp 0x46be3a
mov eax, dword [ebp - 0x1a0]
mov edi, eax
cmp eax, ebx
jne 0x46c023
push ebx
push str.File_is_empty
jmp 0x46bfe5
cmp eax, 0x400000
jbe 0x46c032
push ebx
push 0x5104fc
jmp 0x46bfe5
push eax
call fcn.004d44bd
push edi
mov esi, eax
push esi
push dword [ebp - 0x3dc]
push dword [ebp - 0x3d8]
call fcn.00466be7
add esp, 0x14
cmp eax, ebx
je 0x46c082
cmp eax, 0x600
je 0x46c082
push esi
call fcn.004d6406
pop ecx
call fcn.0043b2d7
test al, al
jne 0x46c077
push dword [ebp - 0x3d8]
call fcn.00466c02
pop ecx
push ebx
push str.Could_not_unzip_file
jmp 0x46bfe5
call fcn.0043b2d7
test al, al
jne 0x46c097
push dword [ebp - 0x3d8]
call fcn.00466c02
pop ecx
push dword [ebp + 0xc]
mov ecx, dword [ebp - 0x3d4]
push edi
push esi
call fcn.0046bc54
push esi
mov byte [ebp - 0x3cd], al
call fcn.004d6406
pop ecx
jmp 0x46bff6