Function at 0x1e0665c0
Capabilities:
Read file on windows
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x384
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x380], eax
push ebx
mov ebx, ecx
push esi
mov eax, ebx
push edi
mov dword [esp + 0x10], ebx
mov dword [esp + 0x18], 0
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1e0665f0
sub eax, edx
cmp eax, 0x100
jbe 0x1e06663e
mov edi, dword [sym.python27.dll_PyExc_OverflowError]
push str.Zip_path_name_is_too_long
call sym.python27.dll_PyString_FromString
add esp, 4
mov esi, eax
push esi
push edi
call sym.python27.dll_PyErr_SetObject
add esp, 8
test esi, esi
je 0x1e066aa7
add dword [esi], 0xffffffff
jne 0x1e066aa7
mov eax, dword [esi + 4]
mov ecx, dword [eax + 0x18]
push esi
call ecx
jmp 0x1e066aa4
lea edx, [esp + 0x180]
mov eax, ebx
sub edx, ebx
lea esp, [esp]
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x1e066650
push 0x1e14bb6c
push ebx
call dword [sym.imp.MSVCR90.dll_fopen]
mov edi, eax
add esp, 8
mov dword [esp + 0x14], edi
test edi, edi
jne 0x1e06669f
mov edx, dword [0x1e274094]
push ebx
push str.cant_open_Zip_file:__.200s
push edx
call sym.python27.dll_PyErr_Format
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x380]
xor ecx, esp
call fcn.1e148908
mov esp, ebp
pop ebp
ret
push 2
push 0xffffffffffffffea
push edi
call dword [sym.imp.MSVCR90.dll_fseek]
add esp, 0xc
cmp eax, 0xffffffff
je 0x1e066a69
push edi
call dword [sym.imp.MSVCR90.dll_ftell]
mov esi, eax
add esp, 4
cmp esi, 0xffffffff
je 0x1e066a69
push edi
push 0x16
lea eax, [esp + 0x50]
push 1
push eax
call dword [sym.imp.MSVCR90.dll_fread]
add esp, 0x10
cmp eax, 0x16
jne 0x1e066a69
lea ecx, [esp + 0x48]
call fcn.1e066520
cmp eax, 0x6054b50
je 0x1e066701
mov eax, str.not_a_Zip_file
jmp 0x1e066a4a
lea ecx, [esp + 0x54]
call fcn.1e066520
lea ecx, [esp + 0x58]
mov ebx, eax
call fcn.1e066520
mov dword [esp + 0x34], eax
cmp esi, ebx
jae 0x1e066727
mov eax, str.bad_central_directory_size
jmp 0x1e066a46
cmp esi, eax
jae 0x1e066735
mov eax, str.bad_central_directory_offset
jmp 0x1e066a46
sub esi, ebx
cmp esi, eax
jae 0x1e066745
mov eax, str.bad_central_directory_size_or_offset
jmp 0x1e066a46
mov ecx, esi
sub ecx, eax
mov dword [esp + 0x2c], ecx
call sym.python27.dll_PyDict_New
mov dword [esp + 0x18], eax
test eax, eax
je 0x1e066a84
lea eax, [esp + 0x180]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1e066768
push 0
sub eax, edx
push esi
push edi
mov dword [esp + 0x50], eax
mov byte [esp + eax + 0x18c], 0x5c
mov dword [esp + 0x28], 0
call dword [sym.imp.MSVCR90.dll_fseek]
add esp, 0xc
cmp eax, 0xffffffff
je 0x1e066a65
push edi
push 0x2e
lea ecx, [esp + 0x50]
push 1
push ecx
call dword [sym.imp.MSVCR90.dll_fread]
mov esi, eax
add esp, 0x10
cmp esi, 4
jb 0x1e0669d8
lea esp, [esp]
lea ecx, [esp + 0x48]
call fcn.1e066520
cmp eax, 0x2014b50
jne 0x1e0669fa
cmp esi, 0x2e
jne 0x1e0669d8
movzx edx, byte [esp + 0x53]
movzx eax, byte [esp + 0x52]
shl dx, 8
or dx, ax
movzx eax, byte [esp + 0x54]
movzx ecx, dx
movzx edx, byte [esp + 0x55]
shl dx, 8
or dx, ax
movzx eax, byte [esp + 0x56]
mov dword [esp + 0x38], ecx
movzx ecx, dx
movzx edx, byte [esp + 0x57]
shl dx, 8
mov dword [esp + 0x3c], ecx
or dx, ax
movzx ecx, dx
mov dword [esp + 0x40], ecx
lea ecx, [esp + 0x58]
call fcn.1e066520
lea ecx, [esp + 0x5c]
mov dword [esp + 0x24], eax
call fcn.1e066520
lea ecx, [esp + 0x60]
mov dword [esp + 0x30], eax
call fcn.1e066520
movzx edx, byte [esp + 0x65]
movzx cx, byte [esp + 0x67]
mov dword [esp + 0x28], eax
movzx eax, byte [esp + 0x64]
shl dx, 8
or dx, ax
movzx eax, byte [esp + 0x69]
shl cx, 8
movzx edi, dx
movzx edx, byte [esp + 0x66]
movzx esi, cx
or esi, edx
movzx edx, byte [esp + 0x68]
shl ax, 8
movzx ecx, ax
or ecx, edx
movzx eax, di
add esi, ecx
lea ecx, [esp + 0x72]
add esi, eax
call fcn.1e066520
mov ebx, eax
cmp ebx, dword [esp + 0x34]
ja 0x1e066a3d
add ebx, dword [esp + 0x2c]
mov ecx, 0x100
cmp di, cx
jbe 0x1e0668b3
mov edi, ecx
mov edx, dword [esp + 0x14]
push edx
movzx edi, di
push edi
lea eax, [esp + 0x80]
push 1
push eax
call dword [sym.imp.MSVCR90.dll_fread]
add esp, 0x10
cmp eax, edi
jne 0x1e066a61
xor eax, eax
mov byte [esp + edi + 0x78], 0
test edi, edi
jbe 0x1e0668f3
cmp byte [esp + eax + 0x78], 0x2f
jne 0x1e0668ee
mov byte [esp + eax + 0x78], 0x5c
inc eax
cmp eax, edi
jb 0x1e0668e2
mov eax, edi
mov dword [esp + 0x20], edi
cmp eax, esi
jae 0x1e066924
lea ecx, [ecx]
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.MSVCR90.dll_getc]
add esp, 4
cmp eax, 0xffffffff
je 0x1e066a61
mov eax, dword [esp + 0x20]
inc eax
mov dword [esp + 0x20], eax
cmp eax, esi
jb 0x1e066900
mov eax, dword [esp + 0x44]
inc edi
push edi
lea edx, [esp + 0x7c]
push edx
lea ecx, [esp + eax + 0x189]
push ecx
call sub.MSVCR90.dll_memcpy
mov edx, dword [esp + 0x30]
movzx eax, word [esp + 0x4c]
movzx ecx, word [esp + 0x48]
add esp, 0xc
push edx
mov edx, dword [esp + 0x2c]
push eax
mov eax, dword [esp + 0x38]
push ecx
movzx ecx, word [esp + 0x44]
push ebx
push edx
push eax
push ecx
lea edx, [esp + 0x19c]
push edx
push str.sHIIkHHI
call sym.python27.dll_Py_BuildValue
mov esi, eax
add esp, 0x24
test esi, esi
je 0x1e066a80
mov ecx, dword [esp + 0x18]
push esi
lea eax, [esp + 0x7c]
push eax
push ecx
call sym.python27.dll_PyDict_SetItemString
add esp, 0xc
add dword [esi], 0xffffffff
mov edi, eax
jne 0x1e0669a6
mov edx, dword [esi + 4]
mov eax, dword [edx + 0x18]
push esi
call eax
add esp, 4
test edi, edi
jne 0x1e066a80
mov ecx, dword [esp + 0x14]
inc dword [esp + 0x1c]
push ecx
push 0x2e
lea edx, [esp + 0x50]
push 1
push edx
call dword [sym.imp.MSVCR90.dll_fread]
mov edi, dword [esp + 0x24]
mov esi, eax
add esp, 0x10
cmp esi, 4
jae 0x1e0667c0
push edi
call dword [sym.imp.MSVCR90.dll_ferror]
mov edx, dword [esp + 0x14]
add esp, 4
neg eax
sbb eax, eax
inc eax
push eax
push edx
call fcn.1e066560
add esp, 8
jmp 0x1e066a84
push edi
call dword [sym.imp.MSVCR90.dll_fclose]
add esp, 4
cmp dword [sym.python27.dll_Py_VerboseFlag], 0
je 0x1e066a24
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x1c]
push eax
push ecx
push str._zipimport:_found__u_names_in__.200s_n
call sym.python27.dll_PySys_WriteStderr
add esp, 0xc
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x380]
xor ecx, esp
call fcn.1e148908
mov esp, ebp
pop ebp
ret
mov edi, dword [esp + 0x14]
mov eax, str.bad_local_header_offset
mov ebx, dword [esp + 0x10]
push ebx
push eax
mov eax, dword [0x1e274094]
push str._s:__.200s
push eax
call sym.python27.dll_PyErr_Format
add esp, 0x10
jmp 0x1e066a84
mov edi, dword [esp + 0x14]
mov ebx, dword [esp + 0x10]
mov ecx, dword [0x1e274094]
push ebx
push str.cant_read_Zip_file:__.200s
push ecx
call sym.python27.dll_PyErr_Format
add esp, 0xc
jmp 0x1e066a84
mov edi, dword [esp + 0x14]
push edi
call dword [sym.imp.MSVCR90.dll_fclose]
mov eax, dword [esp + 0x1c]
add esp, 4
test eax, eax
je 0x1e066aa7
add dword [eax], 0xffffffff
jne 0x1e066aa7
mov edx, dword [eax + 4]
push eax
mov eax, dword [edx + 0x18]
call eax
add esp, 4
mov ecx, dword [esp + 0x38c]
pop edi
pop esi
pop ebx
xor ecx, esp
xor eax, eax
call fcn.1e148908
mov esp, ebp
pop ebp
ret