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

Disassembly:
push 0x3d4
mov eax, 0x500784
call fcn.004d998f
mov edi, dword [ebp + 8]
mov dword [ebp - 0x3d4], ecx
call fcn.0046b32f
call fcn.0043b257
push eax
lea ecx, [ebp - 0x118]
call fcn.0043a8df
xor ebx, ebx
mov dword [ebp - 4], ebx
call fcn.0043b25d
mov ecx, eax
call fcn.0043a5cb
test al, al
je 0x46bef8
push edi
lea ecx, [ebp - 0x118]
call fcn.0043a664
push ebx
push 0x80
push 3
push ebx
push 1
push SysReAllocString
lea ecx, [ebp - 0x118]
call fcn.0043a4b7
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x3d8], eax
push ebx
cmp eax, 0xffffffff
jne 0x46be5f
push str.Error_opening_file
mov ecx, dword [ebp - 0x3d4]
call fcn.0046b509
mov bl, al
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x118]
call fcn.0043a49d
mov al, bl
call fcn.004d9a12
ret 8
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, ebx
jne 0x46be74
push ebx
push str.File_is_empty
jmp 0x46be39
cmp esi, 0x400000
jbe 0x46be84
push ebx
push 0x510504
jmp 0x46be39
push esi
mov dword [ebp - 0x3e0], ebx
call fcn.004d4432
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 0x46beda
push edi
call fcn.004d6376
pop ecx
mov ecx, dword [ebp - 0x3d4]
call fcn.0046b32f
push ebx
push str.Could_not_read_file
jmp 0x46be39
push dword [ebp + 0xc]
mov ecx, dword [ebp - 0x3d4]
push esi
push edi
call fcn.0046bc60
push edi
mov bl, al
call fcn.004d6376
pop ecx
jmp 0x46be46
call fcn.0043b25d
push eax
lea ecx, [ebp - 0x118]
call fcn.0043a647
call fcn.0043b269
test al, al
je 0x46bf1f
call fcn.0043b26f
mov dword [ebp - 0x3d8], eax
jmp 0x46bf7d
call fcn.0043b263
push eax
lea ecx, [ebp - 0x19c]
call fcn.0043a8df
push ebx
lea ecx, [ebp - 0x19c]
mov byte [ebp - 4], 1
call fcn.0043a4b7
push eax
call fcn.0046b545
pop ecx
pop ecx
mov esi, eax
push esi
lea ecx, [ebp - 0x118]
call fcn.0043a4b7
push eax
call fcn.00466b8a
pop ecx
pop ecx
mov dword [ebp - 0x3d8], eax
cmp esi, ebx
je 0x46bf6f
push esi
call fcn.004d6376
pop ecx
lea ecx, [ebp - 0x19c]
mov byte [ebp - 4], bl
call fcn.0043a49d
cmp dword [ebp - 0x3d8], ebx
jne 0x46bf90
push ebx
push str.Error_opening_zip_file
jmp 0x46be39
push 0xffffffffffffffff
push edi
lea ecx, [ebp - 0x94]
mov dword [ebp - 0x3dc], ebx
call fcn.0043a8bb
push 0x50ab28
push 0x50ab24
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 2
call fcn.0043aa3f
lea eax, [ebp - 0x3cc]
push eax
lea eax, [ebp - 0x3dc]
push eax
push 1
lea ecx, [ebp - 0x94]
call fcn.0043a4b7
push eax
push dword [ebp - 0x3d8]
call fcn.00465104
add esp, 0x14
test eax, eax
je 0x46c01b
push ebx
push str.Could_not_find_ziped_file
mov ecx, dword [ebp - 0x3d4]
call fcn.0046b509
mov byte [ebp - 0x3cd], al
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], bl
call fcn.0043a49d
mov bl, byte [ebp - 0x3cd]
jmp 0x46be46
mov eax, dword [ebp - 0x1a0]
mov edi, eax
cmp eax, ebx
jne 0x46c02f
push ebx
push str.File_is_empty
jmp 0x46bff1
cmp eax, 0x400000
jbe 0x46c03e
push ebx
push 0x510504
jmp 0x46bff1
push eax
call fcn.004d4432
push edi
mov esi, eax
push esi
push dword [ebp - 0x3dc]
push dword [ebp - 0x3d8]
call fcn.00466bf1
add esp, 0x14
cmp eax, ebx
je 0x46c08e
cmp eax, 0x600
je 0x46c08e
push esi
call fcn.004d6376
pop ecx
call fcn.0043b269
test al, al
jne 0x46c083
push dword [ebp - 0x3d8]
call fcn.00466c0c
pop ecx
push ebx
push str.Could_not_unzip_file
jmp 0x46bff1
call fcn.0043b269
test al, al
jne 0x46c0a3
push dword [ebp - 0x3d8]
call fcn.00466c0c
pop ecx
push dword [ebp + 0xc]
mov ecx, dword [ebp - 0x3d4]
push edi
push esi
call fcn.0046bc60
push esi
mov byte [ebp - 0x3cd], al
call fcn.004d6376
pop ecx
jmp 0x46c002