Function at 0x1e04b118
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x268
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1e04b12c
sub eax, edx
cmp eax, 0x100
jbe 0x1e04b152
push str.Zip_path_name_is_too_long
push dword [sym.python27.dll_PyExc_OverflowError]
call sym.python27.dll_PyErr_SetString
pop ecx
jmp 0x1e04b419
lea edx, [ebp - 0x160]
mov eax, edi
sub edx, edi
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x1e04b15c
push 0x1e0e8aa8
push edi
call dword [sym.imp.MSVCR90.dll_fopen]
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x1e04b193
push edi
push str.cant_open_Zip_file:__.200s
push dword [0x1e20ceb4]
call sym.python27.dll_PyErr_Format
add esp, 0xc
jmp 0x1e04b41a
mov edi, dword [sym.imp.MSVCR90.dll_fseek]
push 2
push 0xffffffffffffffea
push esi
call edi
add esp, 0xc
push esi
call dword [sym.imp.MSVCR90.dll_ftell]
pop ecx
push esi
push 0x16
mov ebx, eax
lea eax, [ebp - 0x54]
push 1
push eax
call dword [sym.imp.MSVCR90.dll_fread]
add esp, 0x10
cmp eax, 0x16
je 0x1e04b1d6
push esi
call dword [sym.imp.MSVCR90.dll_fclose]
pop ecx
push dword [ebp + 8]
push str.cant_read_Zip_file:__.200s
jmp 0x1e04b180
lea ecx, [ebp - 0x54]
call fcn.1e04b0f9
cmp eax, 0x6054b50
je 0x1e04b1f7
push esi
call dword [sym.imp.MSVCR90.dll_fclose]
pop ecx
push dword [ebp + 8]
push str.not_a_Zip_file:__.200s
jmp 0x1e04b180
lea ecx, [ebp - 0x44]
call fcn.1e04b0f9
lea ecx, [ebp - 0x48]
mov dword [ebp - 4], eax
call fcn.1e04b0f9
sub ebx, dword [ebp - 4]
sub ebx, eax
add dword [ebp - 4], ebx
mov dword [ebp - 0x3c], ebx
call sym.python27.dll_PyDict_New
mov ebx, eax
mov dword [ebp - 0xc], ebx
test ebx, ebx
je 0x1e04b402
lea eax, [ebp - 0x160]
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x1e04b230
and dword [ebp - 0x14], 0
push 0
push dword [ebp - 4]
sub eax, ecx
mov ebx, eax
push esi
mov byte [ebp + ebx - 0x160], 0x5c
call edi
add esp, 0xc
push esi
call sym.python27.dll_PyMarshal_ReadLongFromFile
pop ecx
cmp eax, 0x2014b50
jne 0x1e04b3d6
mov dword [ebp - 0x18], 0xff
sub dword [ebp - 0x18], ebx
lea eax, [ebp + ebx - 0x15f]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 4]
push 0
add eax, 0xa
push eax
push esi
call edi
add esp, 0xc
push esi
call sym.python27.dll_PyMarshal_ReadShortFromFile
pop ecx
push esi
mov dword [ebp - 0x1c], eax
call sym.python27.dll_PyMarshal_ReadShortFromFile
pop ecx
push esi
mov dword [ebp - 0x34], eax
call sym.python27.dll_PyMarshal_ReadShortFromFile
pop ecx
push esi
mov dword [ebp - 0x38], eax
call sym.python27.dll_PyMarshal_ReadLongFromFile
pop ecx
push esi
mov dword [ebp - 0x2c], eax
call sym.python27.dll_PyMarshal_ReadLongFromFile
pop ecx
push esi
mov dword [ebp - 0x28], eax
call sym.python27.dll_PyMarshal_ReadLongFromFile
pop ecx
push esi
mov dword [ebp - 0x24], eax
call sym.python27.dll_PyMarshal_ReadShortFromFile
pop ecx
push esi
mov dword [ebp - 8], eax
call sym.python27.dll_PyMarshal_ReadShortFromFile
pop ecx
push esi
mov ebx, eax
call sym.python27.dll_PyMarshal_ReadShortFromFile
add ebx, dword [ebp - 8]
pop ecx
lea eax, [eax + ebx + 0x2e]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 4]
push 0
add eax, 0x2a
push eax
push esi
call edi
add esp, 0xc
push esi
call sym.python27.dll_PyMarshal_ReadLongFromFile
mov ebx, eax
add ebx, dword [ebp - 0x3c]
mov eax, 0x100
cmp dword [ebp - 8], eax
pop ecx
jle 0x1e04b30f
mov dword [ebp - 8], eax
lea eax, [ebp - 0x268]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 8]
test eax, eax
jle 0x1e04b33f
mov dword [ebp - 8], eax
push esi
call dword [sym.imp.MSVCR90.dll_getc]
pop ecx
mov ecx, dword [ebp - 0x10]
mov byte [ecx], al
cmp al, 0x2f
jne 0x1e04b336
mov byte [ecx], 0x5c
inc ecx
dec dword [ebp - 8]
mov dword [ebp - 0x10], ecx
jne 0x1e04b322
mov eax, dword [ebp - 0x10]
push dword [ebp - 0x18]
mov byte [eax], 0
mov eax, dword [ebp - 0x30]
add dword [ebp - 4], eax
lea eax, [ebp - 0x268]
push eax
push dword [ebp - 0x20]
call dword [sym.imp.MSVCR90.dll_strncpy]
add esp, 0xc
push dword [ebp - 0x2c]
lea eax, [ebp - 0x160]
push dword [ebp - 0x38]
push dword [ebp - 0x34]
push ebx
push dword [ebp - 0x24]
push dword [ebp - 0x28]
push dword [ebp - 0x1c]
push eax
push str.siiiiiii
call sym.python27.dll_Py_BuildValue
mov ebx, eax
add esp, 0x24
test ebx, ebx
je 0x1e04b3ff
push ebx
lea eax, [ebp - 0x268]
push eax
push dword [ebp - 0xc]
call sym.python27.dll_PyDict_SetItemString
add esp, 0xc
dec dword [ebx]
mov dword [ebp - 0x1c], eax
jne 0x1e04b3b0
mov eax, dword [ebx + 4]
push ebx
call dword [eax + 0x18]
pop ecx
cmp dword [ebp - 0x1c], 0
jne 0x1e04b3ff
inc dword [ebp - 0x14]
push 0
push dword [ebp - 4]
push esi
call edi
add esp, 0xc
push esi
call sym.python27.dll_PyMarshal_ReadLongFromFile
pop ecx
cmp eax, 0x2014b50
je 0x1e04b278
push esi
call dword [sym.imp.MSVCR90.dll_fclose]
cmp dword [sym.python27.dll_Py_VerboseFlag], 0
pop ecx
je 0x1e04b3fa
push dword [ebp + 8]
push dword [ebp - 0x14]
push str._zipimport:_found__ld_names_in__s_n
call sym.python27.dll_PySys_WriteStderr
add esp, 0xc
mov eax, dword [ebp - 0xc]
jmp 0x1e04b41c
mov ebx, dword [ebp - 0xc]
push esi
call dword [sym.imp.MSVCR90.dll_fclose]
pop ecx
test ebx, ebx
je 0x1e04b41a
dec dword [ebx]
jne 0x1e04b41a
mov eax, dword [ebx + 4]
push ebx
call dword [eax + 0x18]
pop ecx
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret