Function at 0x180059970
Capabilities:
Read file on windows

Disassembly:
push rbx
push r15
sub rsp, 0x2d8
or rbx, 0xffffffffffffffff
mov r15, rcx
mov rax, rbx
inc rax
cmp byte [rcx + rax], 0
jne 0x180059985
cmp rax, 0x100
jbe 0x1800599b6
mov rcx, qword [sym.extension.dll_PyExc_OverflowError]
lea rdx, str.Zip_path_name_is_too_long
call sym.extension.dll_PyErr_SetString
xor eax, eax
add rsp, 0x2d8
pop r15
pop rbx
ret
lea rdx, [rsp + 0x90]
mov qword [rsp + 0x2c8], rdi
sub rdx, rcx
nop dword [rax]
movzx eax, byte [rcx]
lea rcx, [rcx + 1]
mov byte [rdx + rcx - 1], al
test al, al
jne 0x1800599d0
lea rdx, [0x180318c2c]
mov rcx, r15
call fcn.1802367ac
mov rdi, rax
test rax, rax
jne 0x180059a21
mov rcx, qword [0x18050e0d8]
lea rdx, str.cant_open_Zip_file:__.200s
mov r8, r15
call sym.extension.dll_PyErr_Format
mov rdi, qword [rsp + 0x2c8]
xor eax, eax
add rsp, 0x2d8
pop r15
pop rbx
ret
mov edx, 0xffffffea
mov rcx, rax
lea r8d, [rdx + 0x18]
call fcn.18023e498
mov rcx, rdi
cmp eax, 0xffffffff
jne 0x180059a6a
call fcn.18023666c
mov rcx, qword [0x18050e0d8]
lea rdx, str.cant_read_Zip_file:__s
mov r8, r15
call sym.extension.dll_PyErr_Format
mov rdi, qword [rsp + 0x2c8]
xor eax, eax
add rsp, 0x2d8
pop r15
pop rbx
ret
mov qword [rsp + 0x2d0], rsi
call fcn.18023e820
mov edx, 1
lea rcx, [rsp + 0x70]
lea r8d, [rdx + 0x15]
mov r9, rdi
mov esi, eax
call fcn.1802304fc
cmp rax, 0x16
je 0x180059aba
mov rcx, rdi
call fcn.18023666c
mov rcx, qword [0x18050e0d8]
lea rdx, str.cant_read_Zip_file:__.200s
mov r8, r15
call sym.extension.dll_PyErr_Format
xor eax, eax
jmp 0x180059dd7
lea rcx, [rsp + 0x70]
call fcn.18005afc0
cmp eax, 0x6054b50
je 0x180059af0
mov rcx, rdi
call fcn.18023666c
mov rcx, qword [0x18050e0d8]
lea rdx, str.not_a_Zip_file:__.200s
mov r8, r15
call sym.extension.dll_PyErr_Format
xor eax, eax
jmp 0x180059dd7
mov qword [rsp + 0x2f0], rbp
mov qword [rsp + 0x2c0], r12
lea rcx, [rsp + 0x80]
mov qword [rsp + 0x2b8], r13
mov qword [rsp + 0x2b0], r14
call fcn.18005afc0
lea rcx, [rsp + 0x7c]
mov r14d, eax
call fcn.18005afc0
sub esi, r14d
sub esi, eax
mov dword [rsp + 0x2f8], esi
add r14d, esi
call sym.extension.dll_PyDict_New
mov rbp, rax
test rax, rax
je 0x180059d98
lea rax, [rsp + 0x90]
inc rbx
cmp byte [rax + rbx], 0
jne 0x180059b52
movsxd rax, ebx
xor r8d, r8d
mov edx, r14d
mov rcx, rdi
xor r13d, r13d
mov byte [rsp + rax + 0x90], 0x5c
mov qword [rsp + 0x68], rax
call fcn.18023e498
cmp eax, 0xffffffff
je 0x180059d43
mov rcx, rdi
call sym.extension.dll_PyMarshal_ReadLongFromFile
mov rcx, rdi
cmp eax, 0x2014b50
jne 0x180059d73
lea edx, [r14 + 0xa]
xor r8d, r8d
call fcn.18023e498
cmp eax, 0xffffffff
je 0x180059d43
mov rcx, rdi
call sym.extension.dll_PyMarshal_ReadShortFromFile
mov rcx, rdi
mov dword [rsp + 0x50], eax
call sym.extension.dll_PyMarshal_ReadShortFromFile
mov rcx, rdi
mov dword [rsp + 0x60], eax
call sym.extension.dll_PyMarshal_ReadShortFromFile
mov rcx, rdi
mov dword [rsp + 0x54], eax
call sym.extension.dll_PyMarshal_ReadLongFromFile
mov rcx, rdi
mov dword [rsp + 0x308], eax
call sym.extension.dll_PyMarshal_ReadLongFromFile
mov rcx, rdi
mov dword [rsp + 0x58], eax
call sym.extension.dll_PyMarshal_ReadLongFromFile
mov rcx, rdi
mov dword [rsp + 0x5c], eax
call sym.extension.dll_PyMarshal_ReadShortFromFile
mov rcx, rdi
mov esi, eax
call sym.extension.dll_PyMarshal_ReadShortFromFile
mov rcx, rdi
mov ebx, eax
call sym.extension.dll_PyMarshal_ReadShortFromFile
lea ecx, [rbx + 0x2e]
add ecx, esi
lea edx, [r14 + 0x2a]
xor r8d, r8d
add eax, ecx
mov rcx, rdi
mov dword [rsp + 0x300], eax
call fcn.18023e498
cmp eax, 0xffffffff
je 0x180059d43
mov rcx, rdi
call sym.extension.dll_PyMarshal_ReadLongFromFile
lea rbx, [rsp + 0x1a0]
mov r12d, eax
mov eax, 0x100
add r12d, dword [rsp + 0x2f8]
cmp esi, eax
cmovg esi, eax
test esi, esi
jle 0x180059c7f
mov rcx, rdi
call fcn.180234ea0
mov byte [rbx], al
cmp al, 0x2f
jne 0x180059c77
mov byte [rbx], 0x5c
inc rbx
dec rsi
jne 0x180059c66
add r14d, dword [rsp + 0x300]
lea rcx, [rsp + 0x91]
mov r8d, 0xff
sub r8, qword [rsp + 0x68]
add rcx, qword [rsp + 0x68]
lea rdx, [rsp + 0x1a0]
mov byte [rbx], 0
call fcn.18023bf70
mov eax, dword [rsp + 0x308]
mov r9d, dword [rsp + 0x58]
mov r8d, dword [rsp + 0x50]
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x54]
lea rdx, [rsp + 0x90]
lea rcx, str.siiiiiii
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x60]
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x5c]
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], eax
call sym.extension.dll_Py_BuildValue
mov rbx, rax
test rax, rax
je 0x180059d98
lea rdx, [rsp + 0x1a0]
mov r8, rax
mov rcx, rbp
call sym.extension.dll_PyDict_SetItemString
dec qword [rbx]
mov esi, eax
jne 0x180059d25
mov rdx, qword [rbx + 8]
mov rcx, rbx
call qword [rdx + 0x30]
test esi, esi
jne 0x180059d98
xor r8d, r8d
mov edx, r14d
mov rcx, rdi
inc r13d
call fcn.18023e498
cmp eax, 0xffffffff
jne 0x180059b85
mov rcx, rdi
call fcn.18023666c
dec qword [rbp]
jne 0x180059d5b
mov rax, qword [rbp + 8]
mov rcx, rbp
call qword [rax + 0x30]
mov rcx, qword [0x18050e0d8]
lea rdx, str.cant_read_Zip_file:__s
mov r8, r15
call sym.extension.dll_PyErr_Format
jmp 0x180059db5
call fcn.18023666c
cmp dword [sym.extension.dll_Py_VerboseFlag], 0
je 0x180059d93
lea rcx, str._zipimport:_found__ld_names_in__s_n
mov r8, r15
mov edx, r13d
call sym.extension.dll_PySys_WriteStderr
mov rax, rbp
jmp 0x180059db7
mov rcx, rdi
call fcn.18023666c
test rbp, rbp
je 0x180059db5
dec qword [rbp]
jne 0x180059db5
mov rax, qword [rbp + 8]
mov rcx, rbp
call qword [rax + 0x30]
xor eax, eax
mov r13, qword [rsp + 0x2b8]
mov r12, qword [rsp + 0x2c0]
mov rbp, qword [rsp + 0x2f0]
mov r14, qword [rsp + 0x2b0]
mov rsi, qword [rsp + 0x2d0]
mov rdi, qword [rsp + 0x2c8]
add rsp, 0x2d8
pop r15
pop rbx
ret