Function at 0x49b6c0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x5a6008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
mov eax, edx
xor ebx, ebx
mov dword [ebp - 0x20], eax
push edi
mov ecx, dword [esi + 0x1090c]
cmp ecx, 0x2000
jg 0x49b7a4
push ebx
push ebx
push dword [esi + 0x10908]
call fcn.005283ea
add esp, 0xc
push dword [esi + 0x1090c]
push dword [esi + 0x108e4]
push dword [esi + 0x10908]
call fcn.0052796c
mov ecx, dword [esi + 0x1090c]
add esp, 0xc
mov dword [esi + 0x108ec], eax
cmp eax, ecx
jne 0x49b76e
mov eax, dword [esi + 0x108e4]
add ecx, 0xffffffea
add ecx, eax
mov dword [esi + 0x108e8], ecx
cmp ecx, eax
jb 0x49b76e
nop dword [eax]
cmp byte [ecx], 0x50
jne 0x49b759
push 4
push 0x5a6ad4
push ecx
call fcn.0051ddd0
add esp, 0xc
test eax, eax
je 0x49b78d
mov ecx, dword [esi + 0x108e8]
dec ecx
mov dword [esi + 0x108e8], ecx
cmp ecx, dword [esi + 0x108e4]
jae 0x49b740
cmp dword [esi + 0x38], 0
jne 0x49baae
cmp dword [esi + 0xc], 0
jne 0x49baae
lea edi, [esi + 0x8dc]
jmp 0x49bad9
mov eax, dword [esi + 0x108e4]
sub eax, dword [esi + 0x108e8]
add dword [esi + 0x108ec], eax
jmp 0x49b993
mov edi, ecx
and edi, 0x80001fff
jns 0x49b7b6
dec edi
or edi, 0xffffe000
inc edi
sub ecx, edi
cmp edi, 0x12
jle 0x49b890
push 0
push ecx
push dword [esi + 0x10908]
call fcn.005283ea
add esp, 0xc
mov dword [esi + 0x10910], eax
push edi
push dword [esi + 0x108e4]
push dword [esi + 0x10908]
call fcn.0052796c
add esp, 0xc
mov dword [esi + 0x108ec], eax
cmp eax, edi
jne 0x49b76e
mov edx, dword [esi + 0x108e4]
lea eax, [edx - 0x16]
add eax, edi
mov dword [esi + 0x108e8], eax
cmp eax, edx
jb 0x49b85b
cmp byte [eax], 0x50
jne 0x49b829
push 4
push 0x5a6ad4
push eax
call fcn.0051ddd0
add esp, 0xc
test eax, eax
je 0x49b842
mov eax, dword [esi + 0x108e8]
dec eax
mov dword [esi + 0x108e8], eax
mov edx, dword [esi + 0x108e4]
cmp eax, edx
jae 0x49b810
jmp 0x49b85b
mov edx, dword [esi + 0x108e4]
mov ebx, 1
mov eax, edx
sub eax, dword [esi + 0x108e8]
add dword [esi + 0x108ec], eax
mov ax, word [edx]
mov ecx, dword [esi + 0x1091c]
mov word [ecx], ax
mov al, byte [edx + 2]
mov byte [ecx + 2], al
mov eax, dword [ebp - 0x20]
sub eax, edi
add eax, 0x1fff
cdq
and edx, 0x1fff
add eax, edx
sar eax, 0xd
mov dword [ebp - 0x20], eax
test ebx, ebx
jne 0x49b993
jmp 0x49b8ac
sub eax, edi
mov dword [esi + 0x10910], ecx
add eax, 0x1fff
cdq
and edx, 0x1fff
add eax, edx
sar eax, 0xd
mov dword [ebp - 0x20], eax
mov edi, 1
cmp edi, eax
jg 0x49b76e
add dword [esi + 0x10910], 0xffffe000
push 0
push dword [esi + 0x10910]
push dword [esi + 0x10908]
call fcn.005283ea
add esp, 0xc
push 0x2000
push dword [esi + 0x108e4]
push dword [esi + 0x10908]
call fcn.0052796c
add esp, 0xc
mov dword [esi + 0x108ec], eax
cmp eax, 0x2000
jne 0x49b98b
mov edx, dword [esi + 0x108e4]
lea eax, [edx + 0x1fff]
mov dword [esi + 0x108e8], eax
cmp eax, edx
jb 0x49b96b
nop dword [eax]
cmp byte [eax], 0x50
jne 0x49b939
push 4
push 0x5a6ad4
push eax
call fcn.0051ddd0
add esp, 0xc
test eax, eax
je 0x49b952
mov eax, dword [esi + 0x108e8]
dec eax
mov dword [esi + 0x108e8], eax
mov edx, dword [esi + 0x108e4]
cmp eax, edx
jae 0x49b920
jmp 0x49b96b
mov edx, dword [esi + 0x108e4]
mov ebx, 1
mov eax, edx
sub eax, dword [esi + 0x108e8]
add dword [esi + 0x108ec], eax
mov ecx, dword [esi + 0x1091c]
inc edi
mov ax, word [edx]
mov word [ecx], ax
mov al, byte [edx + 2]
mov byte [ecx + 2], al
mov eax, dword [ebp - 0x20]
test ebx, ebx
je 0x49b8b1
jmp 0x49b993
test ebx, ebx
je 0x49b76e
mov eax, dword [esi + 0x10910]
lea edx, [ebp - 0x1c]
sub eax, dword [esi + 0x108e4]
mov ecx, esi
add eax, dword [esi + 0x108e8]
push 0x16
mov dword [esi + 0x88], eax
call fcn.004a00a0
add esp, 4
test eax, eax
jne 0x49b9d4
mov eax, 0x33
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00511339
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 0x17]
movzx eax, byte [ebp - 0x18]
mov ebx, dword [ebp - 0x15]
movzx ecx, dl
shl cx, 8
or cx, ax
movzx eax, dh
mov edx, dword [ebp - 0x13]
mov word [esi + 0x10968], cx
movzx ecx, bl
shl cx, 8
or cx, ax
movzx eax, bh
mov ebx, dword [ebp - 0x11]
mov word [esi + 0x1096a], cx
movzx ecx, dl
shl cx, 8
or cx, ax
movzx eax, dh
mov edx, dword [ebp - 0xd]
mov word [esi + 0x1096c], cx
movzx ecx, bl
shl cx, 8
or cx, ax
movzx edi, dl
movzx eax, byte [ebp - 0xe]
shl edi, 8
add edi, eax
mov word [esi + 0x1096e], cx
movzx eax, byte [ebp - 0xf]
shl edi, 8
add edi, eax
movzx edx, dh
shl edi, 8
movzx eax, bh
add edi, eax
mov eax, dword [ebp - 0xa]
movzx ecx, ah
shl ecx, 8
movzx eax, al
add ecx, eax
mov dword [esi + 0x10970], edi
movzx eax, byte [ebp - 0xb]
shl ecx, 8
add ecx, eax
movzx eax, byte [ebp - 8]
shl ecx, 8
add edx, ecx
movzx ecx, byte [ebp - 7]
shl cx, 8
or cx, ax
mov dword [esi + 0x10974], edx
mov word [esi + 0x10978], cx
lea eax, [edx + edi]
mov dword [esi + 0x8c], eax
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00511339
mov esp, ebp
pop ebp
ret
push 0x401
push ecx
push dword [esi + 0x10904]
lea edi, [esi + 0x8dc]
push str.__s__n
push edi
call fcn.0047daf0
add esp, 0x10
push eax
mov eax, dword [esi + 0x10b54]
push edi
push esi
call eax
push 0x401
push ecx
push str.__End_of_central_directory_signature_not_found.__Either_this_file_is_not_n__a_zipfile__or_it_constitutes_one_disk_of_a_multi_part_archive.__In_the_n__latter_case_the_central_directory_and_zipfile_comment_will_be_found_on_n__the_last_disk_s__of_this_archive._n
push edi
call fcn.0047daf0
add esp, 0xc
push eax
mov eax, dword [esi + 0x10b54]
push edi
push esi
call eax
mov ecx, dword [ebp - 4]
mov eax, 2
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00511339
mov esp, ebp
pop ebp
ret