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

Disassembly:
push 0x3cc
mov eax, 0x518900
call fcn.004d1ec0
mov esi, ecx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x3d8], ebx
call fcn.004a374d
call fcn.00486405
push eax
lea ecx, [ebp - 0x94]
call fcn.00481662
and dword [ebp - 4], 0
call fcn.0048640b
mov ecx, eax
call fcn.00481e84
test al, al
je 0x4a343f
push ebx
lea ecx, [ebp - 0x94]
call fcn.004818f4
xor ebx, ebx
lea ecx, [ebp - 0x94]
push ebx
push 0x80
push 3
push ebx
push 1
push Ordinal_1
call fcn.00481893
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x3d0], eax
push ebx
cmp eax, 0xffffffff
jne 0x4a339b
push str.Error_opening_file
jmp 0x4a34ce
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
test edi, edi
jne 0x4a33b3
push ebx
push str.File_is_empty
jmp 0x4a34ce
cmp edi, 0x400000
jbe 0x4a33c6
push ebx
push 0x52fe54
jmp 0x4a34ce
push edi
mov dword [ebp - 0x3d4], ebx
call fcn.004d1b3b
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 0x4a3420
push ebx
call fcn.004d1b44
pop ecx
mov ecx, esi
call fcn.004a374d
push 0
push str.Could_not_read_file
jmp 0x4a34ce
push dword [ebp + 0xc]
mov ecx, esi
push edi
push ebx
call fcn.004a3600
push dword [ebp - 0x3d8]
mov bl, al
call fcn.004d1b44
pop ecx
jmp 0x4a35eb
call fcn.0048640b
push eax
lea ecx, [ebp - 0x94]
call fcn.004818d7
call fcn.00486672
test al, al
je 0x4a3462
call fcn.00486411
mov edi, eax
jmp 0x4a34c4
call fcn.00486417
push eax
lea ecx, [ebp - 0x19c]
call fcn.00481662
push 0
lea ecx, [ebp - 0x19c]
mov byte [ebp - 4], 1
call fcn.00481893
push eax
call fcn.0048b510
pop ecx
pop ecx
mov ebx, eax
lea ecx, [ebp - 0x94]
push ebx
call fcn.00481893
push eax
call fcn.004a6052
mov edi, eax
pop ecx
pop ecx
test ebx, ebx
je 0x4a34af
push ebx
call fcn.004d1b44
pop ecx
lea ecx, [ebp - 0x19c]
mov byte [ebp - 4], 0
call fcn.00481789
mov ebx, dword [ebp - 0x3d8]
test edi, edi
jne 0x4a34dc
push edi
push str.Error_opening_zip_file
mov ecx, esi
call fcn.004a3778
mov bl, al
jmp 0x4a35eb
and dword [ebp - 0x3d4], 0
lea ecx, [ebp - 0x118]
push 0xffffffffffffffff
push ebx
call fcn.00481687
push 0x543b34
push 0x52e020
lea ecx, [ebp - 0x118]
mov byte [ebp - 4], 2
call fcn.00482051
lea eax, [ebp - 0x3cc]
push eax
lea eax, [ebp - 0x3d4]
push eax
push 1
lea ecx, [ebp - 0x118]
call fcn.00481893
push eax
push edi
call fcn.004a5a29
add esp, 0x14
test eax, eax
je 0x4a353c
push 0
push str.Could_not_find_ziped_file
jmp 0x4a35aa
mov ebx, dword [ebp - 0x1a0]
test ebx, ebx
jne 0x4a354e
push ebx
push str.File_is_empty
jmp 0x4a35aa
cmp ebx, 0x400000
jbe 0x4a355f
push 0
push 0x52fe54
jmp 0x4a35aa
push ebx
call fcn.004d1b3b
push ebx
push eax
push dword [ebp - 0x3d4]
mov dword [ebp - 0x3d0], eax
push edi
call fcn.004a648c
add esp, 0x14
test eax, eax
je 0x4a35b5
cmp eax, 0x600
je 0x4a35b5
push dword [ebp - 0x3d0]
call fcn.004d1b44
pop ecx
call fcn.00486672
test al, al
jne 0x4a35a3
push edi
call fcn.004a5808
pop ecx
push 0
push str.Could_not_unzip_file
mov ecx, esi
call fcn.004a3778
mov bl, al
jmp 0x4a35e0
call fcn.00486672
test al, al
jne 0x4a35c5
push edi
call fcn.004a5808
pop ecx
push dword [ebp + 0xc]
mov edi, dword [ebp - 0x3d0]
mov ecx, esi
push ebx
push edi
call fcn.004a3600
push edi
mov bl, al
call fcn.004d1b44
pop ecx
lea ecx, [ebp - 0x118]
call fcn.00481789
lea ecx, [ebp - 0x94]
call fcn.00481789
mov al, bl
call fcn.004d1e7b
ret 8