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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x631deb
mov eax, dword fs:[0]
push eax
sub esp, 0x308
mov eax, dword [0x6bae70]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2c8], ecx
mov ecx, dword [ebp - 0x2c8]
call fcn.004e3c20
call fcn.004bcf60
push eax
lea ecx, [ebp - 0x94]
call fcn.004b8b50
mov dword [ebp - 4], 0
call fcn.004bcf70
mov ecx, eax
call fcn.004b9c50
movzx eax, al
test eax, eax
je 0x4e3687
mov ecx, dword [ebp + 8]
push ecx
lea ecx, [ebp - 0x94]
call fcn.004b91b0
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
lea ecx, [ebp - 0x94]
call fcn.004b8f40
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x2ec], eax
cmp dword [ebp - 0x2ec], 0xffffffff
jne 0x4e34c2
push 0
push str.Error_opening_file
mov ecx, dword [ebp - 0x2c8]
call fcn.004e3c70
mov byte [ebp - 0x2da], al
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.004b8d30
mov al, byte [ebp - 0x2da]
jmp 0x4e395c
push 0
mov edx, dword [ebp - 0x2ec]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x2e0], eax
cmp dword [ebp - 0x2e0], 0
jne 0x4e3515
push 0
push str.File_is_empty
mov ecx, dword [ebp - 0x2c8]
call fcn.004e3c70
mov byte [ebp - 0x2cf], al
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.004b8d30
mov al, byte [ebp - 0x2cf]
jmp 0x4e395c
cmp dword [ebp - 0x2e0], 0x400000
jbe 0x4e3556
push 0
push 0x63fe28
mov ecx, dword [ebp - 0x2c8]
call fcn.004e3c70
mov byte [ebp - 0x2d0], al
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.004b8d30
mov al, byte [ebp - 0x2d0]
jmp 0x4e395c
mov dword [ebp - 0x2f4], 0
mov eax, dword [ebp - 0x2e0]
push eax
call fcn.005d4157
add esp, 4
mov dword [ebp - 0x314], eax
mov ecx, dword [ebp - 0x314]
mov dword [ebp - 0x2f0], ecx
push 0
lea edx, [ebp - 0x2f4]
push edx
mov eax, dword [ebp - 0x2e0]
push eax
mov ecx, dword [ebp - 0x2f0]
push ecx
mov edx, dword [ebp - 0x2ec]
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [ebp - 0x2ec]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x2f4]
cmp ecx, dword [ebp - 0x2e0]
je 0x4e361b
mov edx, dword [ebp - 0x2f0]
mov dword [ebp - 0x30c], edx
mov eax, dword [ebp - 0x30c]
push eax
call fcn.005eaed6
add esp, 4
mov ecx, dword [ebp - 0x2c8]
call fcn.004e3c20
push 0
push str.Could_not_read_file
mov ecx, dword [ebp - 0x2c8]
call fcn.004e3c70
mov byte [ebp - 0x2dc], al
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.004b8d30
mov al, byte [ebp - 0x2dc]
jmp 0x4e395c
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 0x2e0]
push edx
mov eax, dword [ebp - 0x2f0]
push eax
mov ecx, dword [ebp - 0x2c8]
call fcn.004e3980
mov byte [ebp - 0x2cb], al
mov ecx, dword [ebp - 0x2f0]
mov dword [ebp - 0x2fc], ecx
mov edx, dword [ebp - 0x2fc]
push edx
call fcn.005eaed6
add esp, 4
mov al, byte [ebp - 0x2cb]
mov byte [ebp - 0x2d1], al
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.004b8d30
mov al, byte [ebp - 0x2d1]
jmp 0x4e395c
call fcn.004bcf70
push eax
lea ecx, [ebp - 0x94]
call fcn.004b90f0
mov dword [ebp - 0x2d8], 0
call fcn.004bd260
movzx ecx, al
test ecx, ecx
je 0x4e36bb
call fcn.004bcf80
mov dword [ebp - 0x2d8], eax
jmp 0x4e36d9
push 2
push 0
lea ecx, [ebp - 0x94]
call fcn.004b8f40
push eax
call fcn.004dc560
add esp, 0xc
mov dword [ebp - 0x2d8], eax
cmp dword [ebp - 0x2d8], 0
jne 0x4e3717
push 0
push str.Error_opening_zip_file
mov ecx, dword [ebp - 0x2c8]
call fcn.004e3c70
mov byte [ebp - 0x2cd], al
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.004b8d30
mov al, byte [ebp - 0x2cd]
jmp 0x4e395c
lea edx, [ebp - 0x2c4]
push edx
lea eax, [ebp - 0x308]
push eax
push 1
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x2d8]
push edx
call fcn.004db910
add esp, 0x14
test eax, eax
je 0x4e3773
push 0
push str.Could_not_find_ziped_file
mov ecx, dword [ebp - 0x2c8]
call fcn.004e3c70
mov byte [ebp - 0x2db], al
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.004b8d30
mov al, byte [ebp - 0x2db]
jmp 0x4e395c
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x2e4], eax
cmp dword [ebp - 0x2e4], 0
jne 0x4e37bd
push 0
push str.File_is_empty
mov ecx, dword [ebp - 0x2c8]
call fcn.004e3c70
mov byte [ebp - 0x2c9], al
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.004b8d30
mov al, byte [ebp - 0x2c9]
jmp 0x4e395c
cmp dword [ebp - 0x2e4], 0x400000
jbe 0x4e37fe
push 0
push 0x63fe28
mov ecx, dword [ebp - 0x2c8]
call fcn.004e3c70
mov byte [ebp - 0x2d9], al
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.004b8d30
mov al, byte [ebp - 0x2d9]
jmp 0x4e395c
mov ecx, dword [ebp - 0x2e4]
push ecx
call fcn.005d4157
add esp, 4
mov dword [ebp - 0x310], eax
mov edx, dword [ebp - 0x310]
mov dword [ebp - 0x2e8], edx
push 3
mov eax, dword [ebp - 0x2e4]
push eax
mov ecx, dword [ebp - 0x2e8]
push ecx
mov edx, dword [ebp - 0x308]
push edx
mov eax, dword [ebp - 0x2d8]
push eax
call fcn.004dcbc0
add esp, 0x14
mov dword [ebp - 0x2f8], eax
cmp dword [ebp - 0x2f8], 0
je 0x4e38cb
cmp dword [ebp - 0x2f8], 0x600
je 0x4e38cb
mov ecx, dword [ebp - 0x2e8]
mov dword [ebp - 0x300], ecx
mov edx, dword [ebp - 0x300]
push edx
call fcn.005eaed6
add esp, 4
call fcn.004bd260
movzx eax, al
test eax, eax
jne 0x4e3896
mov ecx, dword [ebp - 0x2d8]
push ecx
call fcn.004db650
add esp, 4
push 0
push str.Could_not_unzip_file
mov ecx, dword [ebp - 0x2c8]
call fcn.004e3c70
mov byte [ebp - 0x2ca], al
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.004b8d30
mov al, byte [ebp - 0x2ca]
jmp 0x4e395c
call fcn.004bd260
movzx edx, al
test edx, edx
jne 0x4e38e6
mov eax, dword [ebp - 0x2d8]
push eax
call fcn.004db650
add esp, 4
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 0x2e4]
push edx
mov eax, dword [ebp - 0x2e8]
push eax
mov ecx, dword [ebp - 0x2c8]
call fcn.004e3980
mov byte [ebp - 0x2cc], al
mov ecx, dword [ebp - 0x2e8]
mov dword [ebp - 0x304], ecx
mov edx, dword [ebp - 0x304]
push edx
call fcn.005eaed6
add esp, 4
mov al, byte [ebp - 0x2cc]
mov byte [ebp - 0x2ce], al
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.004b8d30
mov al, byte [ebp - 0x2ce]
jmp 0x4e395c
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005e9734
mov esp, ebp
pop ebp
ret 8