Function at 0x1004758c
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x264
push dword [ebp + 8]
call fcn.101baf90
pop ecx
mov ecx, 0x100
cmp eax, ecx
jbe 0x100475c0
push str.Zip_path_name_is_too_long
push dword [sym.extension.dll_PyExc_OverflowError]
call sym.extension.dll_PyErr_SetString
pop ecx
pop ecx
xor eax, eax
jmp 0x100478eb
push edi
push dword [ebp + 8]
lea eax, [ebp - 0x15c]
push eax
call fcn.101ba1e0
push 0x1028eba4
push dword [ebp + 8]
call fcn.101be47e
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x100475fe
push dword [ebp + 8]
push str.cant_open_Zip_file:__.200s
push dword [0x10422cac]
call sym.extension.dll_PyErr_Format
add esp, 0xc
jmp 0x1004762c
push 2
push 0xffffffffffffffea
push edi
call fcn.101c35d9
add esp, 0xc
cmp eax, 0xffffffff
jne 0x10047633
push edi
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
jmp 0x100478ea
push ebx
push edi
call fcn.101c39ec
push edi
push 0x16
mov ebx, eax
lea eax, [ebp - 0x54]
push 1
push eax
call fcn.101b846c
add esp, 0x14
cmp eax, 0x16
je 0x10047662
push edi
call fcn.101be343
push dword [ebp + 8]
push str.cant_read_Zip_file:__.200s
jmp 0x10047681
lea eax, [ebp - 0x54]
push eax
call fcn.10048519
pop ecx
cmp eax, 0x6054b50
je 0x10047696
push edi
call fcn.101be343
push dword [ebp + 8]
push str.not_a_Zip_file:__.200s
push dword [0x10422cac]
call sym.extension.dll_PyErr_Format
add esp, 0x10
xor eax, eax
jmp 0x100478e9
lea eax, [ebp - 0x44]
push esi
push eax
call fcn.10048519
mov esi, eax
lea eax, [ebp - 0x48]
push eax
call fcn.10048519
sub ebx, esi
sub ebx, eax
pop ecx
add esi, ebx
mov dword [ebp - 0x3c], ebx
pop ecx
mov dword [ebp - 8], esi
call sym.extension.dll_PyDict_New
mov ebx, eax
mov dword [ebp - 0x28], ebx
test ebx, ebx
je 0x100478cf
lea eax, [ebp - 0x15c]
push eax
call fcn.101baf90
xor ecx, ecx
mov dword [ebp - 0x24], eax
push ecx
push esi
push edi
mov byte [ebp + eax - 0x15c], 0x5c
mov dword [ebp - 0xc], ecx
call fcn.101c35d9
add esp, 0x10
jmp 0x10047873
push edi
call sym.extension.dll_PyMarshal_ReadLongFromFile
pop ecx
cmp eax, 0x2014b50
jne 0x100478a7
push 0
lea eax, [esi + 0xa]
push eax
push edi
call fcn.101c35d9
add esp, 0xc
cmp eax, 0xffffffff
je 0x1004787c
push edi
call sym.extension.dll_PyMarshal_ReadShortFromFile
push edi
mov dword [ebp - 0x14], eax
call sym.extension.dll_PyMarshal_ReadShortFromFile
push edi
mov dword [ebp - 0x38], eax
call sym.extension.dll_PyMarshal_ReadShortFromFile
push edi
mov dword [ebp - 0x2c], eax
call sym.extension.dll_PyMarshal_ReadLongFromFile
push edi
mov dword [ebp - 0x1c], eax
call sym.extension.dll_PyMarshal_ReadLongFromFile
push edi
mov dword [ebp - 0x18], eax
call sym.extension.dll_PyMarshal_ReadLongFromFile
push edi
mov dword [ebp - 0x20], eax
call sym.extension.dll_PyMarshal_ReadShortFromFile
push edi
mov dword [ebp - 4], eax
call sym.extension.dll_PyMarshal_ReadShortFromFile
push edi
mov esi, eax
call sym.extension.dll_PyMarshal_ReadShortFromFile
add esi, 0x2e
add esi, dword [ebp - 4]
add eax, esi
mov esi, dword [ebp - 8]
mov dword [ebp - 0x30], eax
push 0
lea eax, [esi + 0x2a]
push eax
push edi
call fcn.101c35d9
add esp, 0x30
cmp eax, 0xffffffff
je 0x1004787c
push edi
call sym.extension.dll_PyMarshal_ReadLongFromFile
add eax, dword [ebp - 0x3c]
pop ecx
mov ecx, 0x100
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 4]
cmp eax, ecx
cmovg eax, ecx
lea ecx, [ebp - 0x264]
mov dword [ebp - 4], eax
test eax, eax
jle 0x100477df
mov esi, ecx
mov ebx, eax
push edi
call fcn.101bae90
mov byte [esi], al
pop ecx
cmp al, 0x2f
jne 0x100477cf
mov byte [esi], 0x5c
inc esi
dec ebx
jne 0x100477bf
mov ebx, dword [ebp - 0x28]
mov dword [ebp - 0x10], esi
mov esi, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
add esi, dword [ebp - 0x30]
mov eax, 0xff
sub eax, dword [ebp - 0x24]
push eax
lea eax, [ebp - 0x264]
mov byte [ecx], 0
push eax
lea eax, [ebp - 0x15b]
mov dword [ebp - 8], esi
add eax, dword [ebp - 0x24]
push eax
call fcn.101c13c0
push dword [ebp - 0x1c]
lea eax, [ebp - 0x15c]
push dword [ebp - 0x2c]
push dword [ebp - 0x38]
push dword [ebp - 0x34]
push dword [ebp - 0x20]
push dword [ebp - 0x18]
push dword [ebp - 0x14]
push eax
push str.siiiiiii
call sym.extension.dll_Py_BuildValue
add esp, 0x30
mov dword [ebp - 0x14], eax
test eax, eax
je 0x100478cf
push eax
lea eax, [ebp - 0x264]
push eax
push ebx
call sym.extension.dll_PyDict_SetItemString
mov dword [ebp - 0x18], eax
add esp, 0xc
mov eax, dword [ebp - 0x14]
dec dword [eax]
jne 0x1004785e
mov ecx, dword [eax + 4]
push eax
call dword [ecx + 0x18]
pop ecx
cmp dword [ebp - 0x18], 0
jne 0x100478cf
inc dword [ebp - 0xc]
push 0
push esi
push edi
call fcn.101c35d9
add esp, 0xc
cmp eax, 0xffffffff
jne 0x100476f7
push edi
call fcn.101be343
dec dword [ebx]
pop ecx
jne 0x1004788f
mov eax, dword [ebx + 4]
push ebx
call dword [eax + 0x18]
pop ecx
push dword [ebp + 8]
push str.cant_read_Zip_file:__s
push dword [0x10422cac]
call sym.extension.dll_PyErr_Format
add esp, 0xc
jmp 0x100478e6
push edi
call fcn.101be343
cmp dword [sym.extension.dll_Py_VerboseFlag], 0
pop ecx
je 0x100478cb
push dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
push ecx
push str._zipimport:_found__ld_names_in__s_n
call sym.extension.dll_PySys_WriteStderr
add esp, 0xc
mov eax, ebx
jmp 0x100478e8
push edi
call fcn.101be343
pop ecx
test ebx, ebx
je 0x100478e6
dec dword [ebx]
jne 0x100478e6
mov eax, dword [ebx + 4]
push ebx
call dword [eax + 0x18]
pop ecx
xor eax, eax
pop esi
pop ebx
pop edi
mov esp, ebp
pop ebp
ret