Function at 0x40b6f0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x682078
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x783760]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
mov esi, dword [edi + 0x30]
xor eax, eax
mov dword [ebp - 0x28], vtable.CZipAutoBuffer.0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], eax
test esi, esi
je 0x40b746
push esi
call fcn.0056e306
add esp, 4
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], eax
cmp dword [ebp + 0x1c], 0
mov ebx, dword [ebp + 0x18]
mov dword [ebp - 4], 0
ja 0x40b760
jb 0x40b75d
cmp ebx, dword [ebp + 0xc]
jae 0x40b760
mov dword [ebp + 0xc], ebx
mov ecx, dword [edi + 4]
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
mov edx, dword [ebp + 0xc]
mov ecx, ebx
sub ecx, eax
xor ebx, ebx
mov eax, dword [edi + 0x30]
mov dword [ebp - 0x10], eax
cmp ecx, edx
jae 0x40b8b6
mov edi, dword [ebp + 0x10]
add ecx, eax
mov dword [ebp + 0x10], ecx
cmp ecx, edx
jbe 0x40b79b
mov ebx, ecx
mov dword [ebp + 0x10], edx
sub ebx, edx
mov ecx, edx
sub eax, ebx
mov dword [ebp - 0x10], eax
mov esi, dword [ebp - 0x14]
push 1
push 0
push ecx
mov ecx, esi
call fcn.0040bc80
mov ecx, dword [esi + 4]
mov edx, dword [ebp - 0x24]
add edx, ebx
mov dword [ebp - 0x18], ecx
mov eax, dword [ecx]
mov esi, dword [eax + 0x2c]
mov dword [ebp - 0x1c], esi
mov esi, dword [ebp + 0x14]
cmp eax, vtable.CZipFile.0
jne 0x40b806
cmp dword [ebp - 0x10], 0
je 0x40b816
call fcn.0064c8d9
push dword [ebp - 0x10]
mov dword [eax], 0
mov eax, dword [ebp - 0x24]
add eax, ebx
push eax
mov eax, dword [ebp - 0x18]
push dword [eax + 4]
call fcn.00659eaf
add esp, 0xc
mov dword [ebp - 0x1c], eax
cmp eax, dword [ebp - 0x10]
jge 0x40b810
call fcn.0064c8d9
cmp dword [eax], 0
jne 0x40b869
mov eax, dword [ebp - 0x1c]
jmp 0x40b80d
push dword [ebp - 0x10]
push edx
call dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x10]
jne 0x40b8a9
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx + 0x30]
dec eax
cmp eax, ebx
jl 0x40b847
mov ecx, dword [ebp - 0x24]
mov edx, dword [edi]
mov cl, byte [ecx + eax]
cmp cl, byte [edx + 0x786510]
jne 0x40b859
test edx, edx
je 0x40b871
cmp byte [esi], 0
jne 0x40b83d
mov byte [esi], 1
lea ecx, [edx - 1]
mov dword [edi], ecx
dec eax
cmp eax, ebx
jge 0x40b821
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
cmp ecx, edx
jae 0x40b8b6
mov eax, dword [ebp - 0x10]
jmp 0x40b784
cmp byte [esi], 0
je 0x40b842
mov dword [edi], 3
mov byte [esi], 0
jmp 0x40b843
mov ecx, dword [ebp - 0x18]
call fcn.0040fc60
mov esi, dword [ebp + 0x18]
sub ebx, eax
add ebx, dword [ebp + 0x10]
mov edi, dword [ebp + 0x1c]
sub esi, ebx
mov eax, dword [ebp - 0x24]
sbb edi, 0
test eax, eax
je 0x40b891
push eax
call fcn.0056e30f
add esp, 4
mov eax, esi
mov edx, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
mov ecx, dword [ebp - 0x14]
push 0xc9
call fcn.0040a3d0
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x40b8c6
push eax
call fcn.0056e30f
add esp, 4
or eax, 0xffffffff
or edx, 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18