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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c76b0
mov eax, dword fs:[0]
push eax
sub esp, 0x2c0
mov eax, dword [0x624500]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x2c4], ebx
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x494a06
push eax
call fcn.00594e3b
add esp, 4
push 0x5fcdf8
lea ecx, [ebx + 4]
call fcn.00471f00
lea eax, [ebp - 0x2cc]
mov dword [ebx + 0x20], 0
push eax
mov dword [ebx + 0x24], 0
call fcn.004748a0
add esp, 4
xor edx, edx
mov ecx, dword [eax]
mov eax, dword [eax + 4]
push eax
push ecx
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 7
mov word [ebp - 0x48], dx
call fcn.0040612d
mov dword [ebp - 0x30], 0
lea eax, [ebp - 0x2b4]
mov dword [ebp - 4], 0
push eax
call fcn.004748d0
add esp, 4
cmp dword [eax + 4], 0
jne 0x494b99
push dword [ebp + 0xc]
lea ecx, [ebp - 0x48]
push dword [ebp + 8]
call fcn.0046e6a0
cmp dword [ebp - 0x34], 8
lea eax, [ebp - 0x48]
push 0
cmovae eax, dword [ebp - 0x48]
push 0x80
push 3
push 0
push 1
push SysReAllocString
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x494abf
push 0x12
push 0x5d3844
jmp 0x494c70
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
test esi, esi
jne 0x494ada
push 0xd
push str.File_is_empty
jmp 0x494c70
cmp esi, 0x400000
jbe 0x494aee
push 0xe
push 0x5d3888
jmp 0x494c70
push esi
mov dword [ebp - 0x2b8], 0
call fcn.0053a514
add esp, 4
mov ebx, eax
lea eax, [ebp - 0x2b8]
mov dword [ebp - 0x2c0], ebx
push 0
push eax
push esi
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x2b8], esi
je 0x494b74
push ebx
call fcn.0053a51d
mov ecx, dword [ebp - 0x2c4]
add esp, 4
call fcn.004952e0
mov ecx, dword [ebp - 0x2c4]
sub esp, 8
mov eax, esp
sub esp, 8
mov dword [eax], 0x5fcdf8
mov dword [eax + 4], 0
mov eax, esp
mov dword [eax], str.Could_not_read_file
mov dword [eax + 4], 0x13
call fcn.00495310
mov bl, al
jmp 0x494f24
push dword [ebp + 0x10]
mov ecx, dword [ebp - 0x2c4]
push esi
push ebx
call fcn.00494f50
push dword [ebp - 0x2c0]
mov bl, al
call fcn.0053a51d
add esp, 4
jmp 0x494f24
lea eax, [ebp - 0x2b4]
push eax
call fcn.004748d0
add esp, 4
lea ecx, [ebp - 0x48]
push dword [eax + 4]
push dword [eax]
call fcn.0046e6a0
call fcn.00474d10
test al, al
je 0x494bd0
call fcn.00474900
mov esi, eax
mov dword [ebp - 0x2b8], esi
jmp 0x494c65
lea eax, [ebp - 0x2bc]
push eax
call fcn.00474910
add esp, 4
xor edx, edx
mov ecx, dword [eax]
mov eax, dword [eax + 4]
push eax
push ecx
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 7
mov word [ebp - 0x64], dx
call fcn.0040612d
mov dword [ebp - 0x4c], 0
cmp dword [ebp - 0x50], 8
lea eax, [ebp - 0x64]
push dword [ebp - 0x54]
cmovae eax, dword [ebp - 0x64]
push eax
lea eax, [ebp - 0x7c]
mov byte [ebp - 4], 1
push eax
call fcn.0047fc60
cmp dword [ebp - 0x68], 0x10
lea ecx, [ebp - 0x7c]
lea eax, [ebp - 0x48]
mov byte [ebp - 4], 2
cmovae ecx, dword [ebp - 0x7c]
cmp dword [ebp - 0x34], 8
push ecx
cmovae eax, dword [ebp - 0x48]
push eax
call fcn.00499200
add esp, 0x14
lea ecx, [ebp - 0x7c]
mov esi, eax
mov dword [ebp - 0x2b8], esi
call fcn.0040c779
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0
call fcn.00405f7b
test esi, esi
jne 0x494c8e
push 0x16
push str.Error_opening_zip_file
lea ecx, [ebx + 0x2c]
call fcn.0046e5f0
push 0
push 0x5fcdf8
lea ecx, [ebx + 0x48]
call fcn.0046e5f0
xor bl, bl
jmp 0x494f24
push dword [ebp + 0xc]
xor eax, eax
mov dword [ebp - 0x2c0], 0
push dword [ebp + 8]
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
call fcn.0040612d
mov dword [ebp - 0x14], 0
push 0
lea eax, [ebp - 0x2b4]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x2b4], 0x5ff854
mov dword [ebp - 0x2b0], 1
call fcn.0048ce70
mov esi, eax
cmp esi, dword [0x625120]
je 0x494dd9
nop dword [eax + eax]
push 1
push 0x60551c
push 1
push esi
lea ecx, [ebp - 0x2c]
call fcn.00429580
mov ecx, dword [ebp - 0x1c]
lea edx, [ebp - 0x2c]
add esi, 2
cmp dword [ebp - 0x18], 8
cmovae edx, dword [ebp - 0x2c]
mov dword [ebp - 0x2b0], edx
cmp ecx, 1
jb 0x494dc4
lea eax, [ecx - 1]
cmp esi, eax
ja 0x494dc4
lea eax, [edx + ecx*2]
mov dword [ebp - 0x2c8], eax
lea esi, [edx + esi*2]
nop dword [eax]
mov ecx, eax
mov edx, 0
sub ecx, esi
sar ecx, 1
je 0x494d74
cmp word [esi], 0x5c
je 0x494d72
cmp ecx, 1
je 0x494d74
add esi, 2
dec ecx
cmp word [esi], 0x5c
jne 0x494d63
mov edx, esi
mov esi, edx
test esi, esi
je 0x494dc4
movzx ecx, word [esi]
mov edi, 0x5c
mov edx, 1
mov eax, 0x5ff854
cmp ecx, edi
jb 0x494daf
mov ebx, esi
sub ebx, eax
cmp cx, di
ja 0x494daf
cmp edx, 1
je 0x494dba
movzx ecx, word [ebx + eax + 2]
add eax, 2
dec edx
movzx edi, word [eax]
cmp cx, di
jae 0x494d97
mov eax, dword [ebp - 0x2c8]
add esi, 2
jmp 0x494d50
sub esi, dword [ebp - 0x2b0]
sar esi, 1
jmp 0x494dc7
or esi, 0xffffffff
cmp esi, dword [0x625120]
jne 0x494d00
mov ebx, dword [ebp - 0x2c4]
cmp dword [ebp - 0x18], 8
lea ecx, [ebp - 0x2ac]
push ecx
lea ecx, [ebp - 0x2c0]
push ecx
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push 1
push eax
push dword [ebp - 0x2b8]
call fcn.00498920
add esp, 0x14
test eax, eax
je 0x494e10
push 0x19
push str.Could_not_find_ziped_file
jmp 0x494e1e
mov esi, dword [ebp - 0x80]
test esi, esi
jne 0x494e3c
push 0xd
push str.File_is_empty
lea ecx, [ebx + 0x2c]
call fcn.0046e5f0
push 0
push 0x5fcdf8
lea ecx, [ebx + 0x48]
call fcn.0046e5f0
xor bl, bl
jmp 0x494f1c
cmp esi, 0x400000
jbe 0x494e76
sub esp, 8
mov ecx, ebx
mov eax, esp
sub esp, 8
mov dword [eax], 0x5fcdf8
mov dword [eax + 4], 0
mov eax, esp
mov dword [eax], 0x5d3888
mov dword [eax + 4], 0xe
call fcn.00495310
mov bl, al
jmp 0x494f1c
push esi
call fcn.0053a514
push esi
mov edi, eax
push edi
push dword [ebp - 0x2c0]
push dword [ebp - 0x2b8]
call fcn.004997f0
add esp, 0x14
test eax, eax
je 0x494eee
cmp eax, 0x600
je 0x494eee
push edi
call fcn.0053a51d
add esp, 4
call fcn.00474d10
test al, al
jne 0x494ebf
push dword [ebp - 0x2b8]
call fcn.00498480
add esp, 4
sub esp, 8
mov ecx, ebx
mov eax, esp
sub esp, 8
mov dword [eax], 0x5fcdf8
mov dword [eax + 4], 0
mov eax, esp
mov dword [eax], str.Could_not_unzip_file
mov dword [eax + 4], 0x14
call fcn.00495310
mov bl, al
jmp 0x494f1c
call fcn.00474d10
test al, al
jne 0x494f05
push dword [ebp - 0x2b8]
call fcn.00498480
add esp, 4
push dword [ebp + 0x10]
mov ecx, ebx
push esi
push edi
call fcn.00494f50
push edi
mov bl, al
call fcn.0053a51d
add esp, 4
lea ecx, [ebp - 0x2c]
call fcn.00405f7b
lea ecx, [ebp - 0x48]
call fcn.00405f7b
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00539e65
mov esp, ebp
pop ebp
ret 0xc