Function at 0x100478ef
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
and dword [ebp - 0x14], 0
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x28]
push eax
push str.slllllll
push dword [ebp + 0xc]
call sym.extension.dll_PyArg_ParseTuple
add esp, 0x28
test eax, eax
je 0x10047b07
push ebx
mov ebx, dword [ebp + 8]
push edi
push 0x1028eba4
push ebx
call fcn.101be47e
mov edi, eax
pop ecx
pop ecx
test edi, edi
jne 0x1004795f
push ebx
push str.zipimport:_can_not_open_file__s
push dword [sym.extension.dll_PyExc_IOError]
call sym.extension.dll_PyErr_Format
add esp, 0xc
jmp 0x100479ca
push 0
push dword [ebp - 4]
push edi
call fcn.101c35d9
add esp, 0xc
push edi
cmp eax, 0xffffffff
je 0x100479b1
call sym.extension.dll_PyMarshal_ReadLongFromFile
pop ecx
cmp eax, 0x4034b50
je 0x10047999
push ebx
push str.bad_local_file_header_in__s
push dword [0x10422cac]
call sym.extension.dll_PyErr_Format
push edi
call fcn.101be343
jmp 0x100479c7
mov eax, dword [ebp - 4]
push 0
add eax, 0x1a
push eax
push edi
call fcn.101c35d9
add esp, 0xc
cmp eax, 0xffffffff
jne 0x100479d1
push edi
call fcn.101be343
push ebx
push str.cant_read_Zip_file:__s
push dword [0x10422cac]
call sym.extension.dll_PyErr_Format
add esp, 0x10
xor eax, eax
jmp 0x10047b05
push esi
push edi
call sym.extension.dll_PyMarshal_ReadShortFromFile
push edi
mov esi, eax
call sym.extension.dll_PyMarshal_ReadShortFromFile
add eax, 0x1e
add eax, esi
add dword [ebp - 4], eax
mov eax, dword [ebp - 8]
cmp dword [ebp - 0xc], 0
lea ecx, [eax + 1]
cmove ecx, eax
push ecx
push 0
call sym.extension.dll_PyString_FromStringAndSize
mov ebx, eax
add esp, 0x10
test ebx, ebx
jne 0x10047a12
push edi
call fcn.101be343
pop ecx
jmp 0x10047b02
push ebx
call sym.extension.dll_PyString_AsString
push 0
push dword [ebp - 4]
mov esi, eax
push edi
mov dword [ebp - 0x10], esi
call fcn.101c35d9
add esp, 0x10
push edi
test eax, eax
jne 0x10047ae7
push dword [ebp - 8]
push 1
push esi
call fcn.101b846c
push edi
mov esi, eax
call fcn.101be343
mov eax, dword [ebp - 8]
add esp, 0x14
cmp esi, eax
jne 0x10047ac5
cmp dword [ebp - 0xc], 0
mov ecx, dword [ebp - 0x10]
je 0x10047a65
mov byte [ecx + eax], 0x5a
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
mov byte [ecx + eax], 0
cmp dword [ebp - 0xc], 0
jne 0x10047a76
mov eax, ebx
jmp 0x10047b04
call fcn.1004853f
mov esi, eax
test esi, esi
jne 0x10047a94
push str.cant_decompress_data__zlib_not_available
push dword [0x10422cac]
call sym.extension.dll_PyErr_SetString
pop ecx
jmp 0x10047ab3
push 0xfffffffffffffff1
push ebx
push 0x101e83ec
push esi
call sym.extension.dll_PyObject_CallFunction
add esp, 0x10
mov dword [ebp - 0x14], eax
dec dword [esi]
jne 0x10047ab4
mov ecx, dword [esi + 4]
push esi
call dword [ecx + 0x18]
pop ecx
dec dword [ebx]
jne 0x10047ac0
mov eax, dword [ebx + 4]
push ebx
call dword [eax + 0x18]
pop ecx
mov eax, dword [ebp - 0x14]
jmp 0x10047b04
push str.zipimport:_cant_read_data
push dword [sym.extension.dll_PyExc_IOError]
call sym.extension.dll_PyErr_SetString
dec dword [ebx]
pop ecx
pop ecx
jne 0x10047b02
mov eax, dword [ebx + 4]
push ebx
call dword [eax + 0x18]
jmp 0x10047a0c
call fcn.101be343
push dword [ebp + 8]
push str.cant_read_Zip_file:__s
push dword [0x10422cac]
call sym.extension.dll_PyErr_Format
add esp, 0x10
xor eax, eax
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret