Function at 0x1e0337a7
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x260
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 0x1e0337bb
sub eax, edx
cmp eax, 0x100
ja 0x1e056beb
lea edx, [ebp - 0x158]
mov eax, edi
sub edx, edi
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x1e0337d9
push 0x1e18f280
push edi
call dword [sym.imp.MSVCR90.dll_fopen]
pop ecx
pop ecx
test eax, eax
je 0x1e056c01
push 2
mov esi, eax
push 0xffffffffffffffea
push esi
call dword [sym.imp.MSVCR90.dll_fseek]
add esp, 0xc
push esi
call dword [sym.imp.MSVCR90.dll_ftell]
pop ecx
push esi
push 0x16
mov ebx, eax
lea eax, [ebp - 0x2c]
push 1
push eax
call dword [sym.imp.MSVCR90.dll_fread]
add esp, 0x10
cmp eax, 0x16
jne 0x1e056c0c
movzx eax, byte [ebp - 0x29]
movzx ecx, byte [ebp - 0x2a]
shl eax, 8
or eax, ecx
movzx ecx, byte [ebp - 0x2b]
shl eax, 8
or eax, ecx
movzx ecx, byte [ebp - 0x2c]
shl eax, 8
or eax, ecx
cmp eax, 0x6054b50
je 0x1e056c1f
push esi
call dword [sym.imp.MSVCR90.dll_fclose]
pop ecx
push edi
push str.not_a_Zip_file:__.200s
push dword [0x1e1f9584]
call sym.python31.dll_PyErr_Format
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
push str.Zip_path_name_is_too_long
push dword [sym.python31.dll_PyExc_OverflowError]
call sym.python31.dll_PyErr_SetString
pop ecx
jmp 0x1e056e56
push edi
push str.cant_open_Zip_file:__.200s
jmp 0x1e033866
push esi
call dword [sym.imp.MSVCR90.dll_fclose]
pop ecx
push edi
push str.cant_read_Zip_file:__.200s
jmp 0x1e033866
movzx edi, byte [ebp - 0x19]
movzx eax, byte [ebp - 0x1a]
movzx ecx, byte [ebp - 0x1e]
shl edi, 8
or edi, eax
movzx eax, byte [ebp - 0x1b]
shl edi, 8
or edi, eax
movzx eax, byte [ebp - 0x1c]
shl edi, 8
or edi, eax
movzx eax, byte [ebp - 0x1d]
shl eax, 8
or eax, ecx
movzx ecx, byte [ebp - 0x1f]
shl eax, 8
or eax, ecx
movzx ecx, byte [ebp - 0x20]
shl eax, 8
or eax, ecx
sub ebx, eax
sub ebx, edi
mov dword [ebp - 0x38], ebx
add edi, ebx
call sym.python31.dll_PyDict_New
mov ebx, eax
test ebx, ebx
je 0x1e056e37
lea eax, [ebp - 0x158]
mov dword [ebp - 8], ebx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1e056c81
sub eax, edx
and dword [ebp - 0x14], 0
mov dword [ebp - 0x3c], eax
mov byte [ebp + eax - 0x158], 0x5c
mov ebx, dword [sym.imp.MSVCR90.dll_fseek]
push 0
push edi
push esi
call ebx
add esp, 0xc
push esi
call sym.python31.dll_PyMarshal_ReadLongFromFile
pop ecx
cmp eax, 0x2014b50
jne 0x1e056e08
push 0
lea eax, [edi + 0xa]
push eax
push esi
call ebx
add esp, 0xc
push esi
call sym.python31.dll_PyMarshal_ReadShortFromFile
pop ecx
push esi
mov dword [ebp - 0x34], eax
call sym.python31.dll_PyMarshal_ReadShortFromFile
pop ecx
push esi
mov dword [ebp - 0x48], eax
call sym.python31.dll_PyMarshal_ReadShortFromFile
pop ecx
push esi
mov dword [ebp - 0x30], eax
call sym.python31.dll_PyMarshal_ReadLongFromFile
pop ecx
push esi
mov dword [ebp - 0x44], eax
call sym.python31.dll_PyMarshal_ReadLongFromFile
pop ecx
push esi
mov dword [ebp - 0x4c], eax
call sym.python31.dll_PyMarshal_ReadLongFromFile
pop ecx
push esi
mov dword [ebp - 0x40], eax
call sym.python31.dll_PyMarshal_ReadShortFromFile
pop ecx
push esi
mov dword [ebp - 4], eax
call sym.python31.dll_PyMarshal_ReadShortFromFile
pop ecx
push esi
mov ebx, eax
call sym.python31.dll_PyMarshal_ReadShortFromFile
add ebx, dword [ebp - 4]
pop ecx
lea eax, [eax + ebx + 0x2e]
mov dword [ebp - 0x10], eax
push 0
lea eax, [edi + 0x2a]
push eax
push esi
call dword [sym.imp.MSVCR90.dll_fseek]
add esp, 0xc
push esi
call sym.python31.dll_PyMarshal_ReadLongFromFile
mov ebx, eax
add ebx, dword [ebp - 0x38]
mov eax, 0x100
cmp dword [ebp - 4], eax
pop ecx
jle 0x1e056d4f
mov dword [ebp - 4], eax
lea eax, [ebp - 0x260]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
test eax, eax
jle 0x1e056d7f
mov dword [ebp - 4], eax
push esi
call dword [sym.imp.MSVCR90.dll_getc]
pop ecx
mov ecx, dword [ebp - 0xc]
mov byte [ecx], al
cmp al, 0x2f
jne 0x1e056d76
mov byte [ecx], 0x5c
inc ecx
dec dword [ebp - 4]
mov dword [ebp - 0xc], ecx
jne 0x1e056d62
mov eax, dword [ebp - 0xc]
mov byte [eax], 0
mov eax, dword [ebp - 0x3c]
mov ecx, 0xff
sub ecx, eax
push ecx
lea ecx, [ebp - 0x260]
push ecx
lea eax, [ebp + eax - 0x157]
push eax
call dword [sym.imp.MSVCR90.dll_strncpy]
add esp, 0xc
push dword [ebp - 0x44]
lea eax, [ebp - 0x158]
push dword [ebp - 0x30]
push dword [ebp - 0x48]
push ebx
push dword [ebp - 0x40]
push dword [ebp - 0x4c]
push dword [ebp - 0x34]
push eax
push str.siiiiiii
call sym.python31.dll_Py_BuildValue
add esp, 0x24
test eax, eax
je 0x1e056e34
add edi, dword [ebp - 0x10]
mov ebx, eax
push ebx
lea eax, [ebp - 0x260]
push eax
push dword [ebp - 8]
call sym.python31.dll_PyDict_SetItemString
add esp, 0xc
dec dword [ebx]
mov dword [ebp - 0x10], eax
jne 0x1e056dfa
mov eax, dword [ebx + 4]
push ebx
call dword [eax + 0x18]
pop ecx
cmp dword [ebp - 0x10], 0
jne 0x1e056e34
inc dword [ebp - 0x14]
jmp 0x1e056c99
push esi
call dword [sym.imp.MSVCR90.dll_fclose]
cmp dword [sym.python31.dll_Py_VerboseFlag], 0
pop ecx
je 0x1e056e2c
push dword [ebp + 8]
push dword [ebp - 0x14]
push str._zipimport:_found__ld_names_in__s_n
call sym.python31.dll_PySys_WriteStderr
add esp, 0xc
mov eax, dword [ebp - 8]
jmp 0x1e033876
mov ebx, dword [ebp - 8]
push esi
call dword [sym.imp.MSVCR90.dll_fclose]
pop ecx
test ebx, ebx
je 0x1e033874
dec dword [ebx]
jne 0x1e033874
mov eax, dword [ebx + 4]
push ebx
call dword [eax + 0x18]
pop ecx
jmp 0x1e033874