Function at 0x4a2b20
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x5b0008]
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 0x4a2c04
push ebx
push ebx
push dword [esi + 0x10908]
call fcn.00530da1
add esp, 0xc
push dword [esi + 0x1090c]
push dword [esi + 0x108e4]
push dword [esi + 0x10908]
call fcn.00530323
mov ecx, dword [esi + 0x1090c]
add esp, 0xc
mov dword [esi + 0x108ec], eax
cmp eax, ecx
jne 0x4a2bce
mov eax, dword [esi + 0x108e4]
add ecx, 0xffffffea
add ecx, eax
mov dword [esi + 0x108e8], ecx
cmp ecx, eax
jb 0x4a2bce
nop dword [eax]
cmp byte [ecx], 0x50
jne 0x4a2bb9
push 4
push 0x5b0bcc
push ecx
call fcn.005267e0
add esp, 0xc
test eax, eax
je 0x4a2bed
mov ecx, dword [esi + 0x108e8]
dec ecx
mov dword [esi + 0x108e8], ecx
cmp ecx, dword [esi + 0x108e4]
jae 0x4a2ba0
cmp dword [esi + 0x38], 0
jne 0x4a2f0e
cmp dword [esi + 0xc], 0
jne 0x4a2f0e
lea edi, [esi + 0x8dc]
jmp 0x4a2f39
mov eax, dword [esi + 0x108e4]
sub eax, dword [esi + 0x108e8]
add dword [esi + 0x108ec], eax
jmp 0x4a2df3
mov edi, ecx
and edi, 0x80001fff
jns 0x4a2c16
dec edi
or edi, 0xffffe000
inc edi
sub ecx, edi
cmp edi, 0x12
jle 0x4a2cf0
push 0
push ecx
push dword [esi + 0x10908]
call fcn.00530da1
add esp, 0xc
mov dword [esi + 0x10910], eax
push edi
push dword [esi + 0x108e4]
push dword [esi + 0x10908]
call fcn.00530323
add esp, 0xc
mov dword [esi + 0x108ec], eax
cmp eax, edi
jne 0x4a2bce
mov edx, dword [esi + 0x108e4]
lea eax, [edx - 0x16]
add eax, edi
mov dword [esi + 0x108e8], eax
cmp eax, edx
jb 0x4a2cbb
cmp byte [eax], 0x50
jne 0x4a2c89
push 4
push 0x5b0bcc
push eax
call fcn.005267e0
add esp, 0xc
test eax, eax
je 0x4a2ca2
mov eax, dword [esi + 0x108e8]
dec eax
mov dword [esi + 0x108e8], eax
mov edx, dword [esi + 0x108e4]
cmp eax, edx
jae 0x4a2c70
jmp 0x4a2cbb
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 0x4a2df3
jmp 0x4a2d0c
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 0x4a2bce
add dword [esi + 0x10910], 0xffffe000
push 0
push dword [esi + 0x10910]
push dword [esi + 0x10908]
call fcn.00530da1
add esp, 0xc
push 0x2000
push dword [esi + 0x108e4]
push dword [esi + 0x10908]
call fcn.00530323
add esp, 0xc
mov dword [esi + 0x108ec], eax
cmp eax, 0x2000
jne 0x4a2deb
mov edx, dword [esi + 0x108e4]
lea eax, [edx + 0x1fff]
mov dword [esi + 0x108e8], eax
cmp eax, edx
jb 0x4a2dcb
nop dword [eax]
cmp byte [eax], 0x50
jne 0x4a2d99
push 4
push 0x5b0bcc
push eax
call fcn.005267e0
add esp, 0xc
test eax, eax
je 0x4a2db2
mov eax, dword [esi + 0x108e8]
dec eax
mov dword [esi + 0x108e8], eax
mov edx, dword [esi + 0x108e4]
cmp eax, edx
jae 0x4a2d80
jmp 0x4a2dcb
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 0x4a2d11
jmp 0x4a2df3
test ebx, ebx
je 0x4a2bce
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.004a7500
add esp, 4
test eax, eax
jne 0x4a2e34
mov eax, 0x33
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00518799
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.00518799
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.004a1b90
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.004a1b90
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.00518799
mov esp, ebp
pop ebp
ret