Function at 0x1e066b50
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov eax, dword [ebp + 8]
push esi
push edi
mov ebx, ecx
lea ecx, [ebp - 0x40]
push ecx
lea edx, [ebp - 0x38]
push edx
lea ecx, [ebp - 0x3c]
push ecx
lea edx, [ebp - 0x30]
push edx
lea ecx, [ebp - 0x48]
push ecx
lea edx, [ebp - 0x28]
push edx
lea ecx, [ebp - 0x2c]
push ecx
lea edx, [ebp - 0x44]
push edx
push str.sHnnlHHI
push eax
mov dword [ebp - 0x34], ebx
xor edi, edi
call sym.python27.dll_PyArg_ParseTuple
add esp, 0x28
test eax, eax
je 0x1e066bb7
cmp dword [ebp - 0x28], edi
jge 0x1e066bca
mov eax, dword [0x1e274094]
push str.negative_data_size
push eax
call sym.python27.dll_PyErr_Format
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1e148908
mov esp, ebp
pop ebp
ret
push 0x1e14bb6c
push ebx
call dword [sym.imp.MSVCR90.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
jne 0x1e066c07
mov ecx, dword [sym.python27.dll_PyExc_IOError]
push ebx
push str.zipimport:_can_not_open_file__s
push ecx
call sym.python27.dll_PyErr_Format
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1e148908
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 0x30]
push 0
push edx
push esi
call dword [sym.imp.MSVCR90.dll_fseek]
add esp, 0xc
cmp eax, 0xffffffff
je 0x1e066d57
push esi
push 0x1e
lea eax, [ebp - 0x24]
push 1
push eax
call dword [sym.imp.MSVCR90.dll_fread]
add esp, 0x10
cmp eax, 0x1e
je 0x1e066c82
push esi
call dword [sym.imp.MSVCR90.dll_ferror]
add esp, 4
neg eax
sbb eax, eax
inc eax
push eax
push ebx
call fcn.1e066560
add esp, 8
push esi
call dword [sym.imp.MSVCR90.dll_fclose]
add esp, 4
test edi, edi
je 0x1e066c6f
add dword [edi], 0xffffffff
jne 0x1e066c6f
mov edx, dword [edi + 4]
mov eax, dword [edx + 0x18]
push edi
call eax
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1e148908
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x24]
call fcn.1e066520
cmp eax, 0x4034b50
je 0x1e066c98
mov eax, str.bad_local_file_header
jmp 0x1e066ccf
movzx ecx, byte [ebp - 9]
movzx eax, byte [ebp - 0xa]
shl cx, 8
movzx edx, cx
movzx ecx, byte [ebp - 7]
or edx, eax
shl cx, 8
movzx eax, cx
movzx ecx, byte [ebp - 8]
or eax, ecx
lea eax, [edx + eax + 0x1e]
mov edx, 0x7fffffff
sub edx, eax
cmp dword [ebp - 0x30], edx
jle 0x1e066ce9
mov eax, str.bad_local_file_header_size
push ebx
push eax
mov eax, dword [0x1e274094]
push str._s:__.200s
push eax
call sym.python27.dll_PyErr_Format
add esp, 0x10
jmp 0x1e066c50
add dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x28]
cmp eax, 0x7ffffffe
jle 0x1e066d18
push esi
call dword [sym.imp.MSVCR90.dll_fclose]
add esp, 4
call sym.python27.dll_PyErr_NoMemory
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1e148908
mov esp, ebp
pop ebp
ret
cmp word [ebp - 0x2c], di
je 0x1e066d1f
inc eax
push eax
push 0
call sym.python27.dll_PyString_FromStringAndSize
mov edi, eax
add esp, 8
test edi, edi
je 0x1e066c50
push edi
call sym.python27.dll_PyString_AsString
mov ecx, dword [ebp - 0x30]
add esp, 4
push 0
push ecx
push esi
mov ebx, eax
call dword [sym.imp.MSVCR90.dll_fseek]
add esp, 0xc
cmp eax, 0xffffffff
jne 0x1e066d71
mov ebx, dword [ebp - 0x34]
mov edx, dword [0x1e274094]
push ebx
push str.cant_read_Zip_file:__.200s
push edx
call sym.python27.dll_PyErr_Format
add esp, 0xc
jmp 0x1e066c50
mov eax, dword [ebp - 0x28]
push esi
push eax
push 1
push ebx
call dword [sym.imp.MSVCR90.dll_fread]
add esp, 0x10
cmp eax, dword [ebp - 0x28]
je 0x1e066d9d
mov ecx, dword [sym.python27.dll_PyExc_IOError]
push str.zipimport:_cant_read_data
push ecx
call sym.python27.dll_PyErr_SetString
jmp 0x1e066c4d
push esi
call dword [sym.imp.MSVCR90.dll_fclose]
add esp, 4
cmp word [ebp - 0x2c], 0
je 0x1e066db8
mov edx, dword [ebp - 0x28]
mov byte [ebx + edx], 0x5a
inc dword [ebp - 0x28]
mov eax, dword [ebp - 0x28]
mov byte [ebx + eax], 0
cmp word [ebp - 0x2c], 0
jne 0x1e066dd9
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1e148908
mov esp, ebp
pop ebp
ret
call fcn.1e066ac0
mov esi, eax
test esi, esi
jne 0x1e066dfd
mov ecx, dword [0x1e274094]
push str.cant_decompress_data__zlib_not_available
push ecx
call sym.python27.dll_PyErr_SetString
add esp, 8
jmp 0x1e066c5a
push 0xfffffffffffffff1
push edi
push 0x1e14af08
push esi
call sym.python27.dll_PyObject_CallFunction
add esp, 0x10
add dword [esi], 0xffffffff
mov ebx, eax
jne 0x1e066e21
mov ecx, dword [esi + 4]
mov edx, dword [ecx + 0x18]
push esi
call edx
add esp, 4
add dword [edi], 0xffffffff
jne 0x1e066e32
mov eax, dword [edi + 4]
mov ecx, dword [eax + 0x18]
push edi
call ecx
add esp, 4
mov ecx, dword [ebp - 4]
pop edi
pop esi
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.1e148908
mov esp, ebp
pop ebp
ret