Function at 0x1400015f0
Capabilities:
Read file on windows

Disassembly:
push rbx
push rdi
push r14
push r15
sub rsp, 0x258
mov rax, qword [0x1400123c0]
xor rax, rsp
mov qword [rsp + 0x230], rax
mov r14, rdx
mov dword [rsp + 0x20], r8d
movsxd r15, ecx
lea rdx, [rsp + 0x30]
mov r8d, 0x100
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
or rcx, 0xffffffffffffffff
xor eax, eax
lea rdi, [rsp + 0x30]
repne scasb al, byte [rdi]
not rcx
lea rax, [rsp + rcx + 0x2f]
lea rcx, [rsp + 0x30]
cmp rax, rcx
jbe 0x140001665
nop dword [rax]
cmp byte [rax], 0x2e
je 0x140001665
lea rdx, [rsp + 0x30]
mov byte [rax], 0
dec rax
cmp rax, rdx
ja 0x140001650
mov byte [rax], 0
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x30]
xor edx, edx
repne scasb al, byte [rdi]
mov rax, qword [str._script.pyw]
lea rcx, [rsp + 0x30]
mov qword [rdi - 1], rax
mov eax, dword [0x14000f3c0]
mov dword [rdi + 7], eax
call fcn.14000cf6c
mov ebx, eax
cmp eax, 0xffffffff
jne 0x1400016be
call fcn.140001a70
lea r8, [rsp + 0x30]
lea rdx, str.Cannot_open__s_n
lea rcx, [rax + 0x60]
call fcn.1400018f8
lea eax, [rbx + 3]
jmp 0x1400018b7
lea rdx, [rsp + 0x130]
mov r8d, 0x100
mov ecx, eax
mov qword [rsp + 0x290], rbp
call fcn.14000c5f8
movsxd rcx, eax
lea rdi, [rsp + rcx + 0x130]
mov ecx, ebx
call fcn.140009f38
lea rdx, [rsp + 0x130]
dec rdx
inc rdx
cmp rdx, rdi
jae 0x14000170f
movzx eax, byte [rdx]
test al, al
je 0x14000170f
cmp al, 0xa
je 0x14000170f
cmp al, 0xd
jne 0x1400016f8
mov byte [rdx], 0
lea rcx, [rsp + 0x130]
lea rdx, [0x14000f3a0]
mov r8d, 2
call fcn.140002550
test eax, eax
je 0x140001755
mov rax, qword [str._python.exe]
lea rcx, [rsp + 0x130]
mov qword [rcx], rax
mov eax, dword [0x14000f398]
mov dword [rcx + 8], eax
movzx eax, byte [0x14000f39c]
mov byte [rcx + 0xc], al
lea rdx, [rsp + 0x24]
lea rcx, [rsp + 0x132]
call fcn.140001260
lea rdx, [rsp + 0x30]
mov rdi, qword [rax]
mov rbx, rax
mov rcx, rdi
call fcn.1400010f0
mov rbp, rax
test rax, rax
jne 0x1400017a2
call fcn.140001a70
lea rdx, str.Cannot_find_Python_executable__s_n
mov r8, rdi
lea rcx, [rax + 0x60]
call fcn.1400018f8
lea eax, [rbp + 2]
jmp 0x1400018af
mov qword [rsp + 0x250], rsi
mov esi, dword [rsp + 0x24]
mov qword [rsp + 0x248], r12
mov qword [rsp + 0x240], r13
lea r13d, [r15 + rsi]
mov edx, 8
lea eax, [r13 + 1]
movsxd rcx, eax
call fcn.140001c94
mov rcx, rbp
mov r12, rax
call section..text
cmp esi, 1
mov qword [r12], rax
lea rdi, [r12 + 8]
jle 0x14000180c
add rbx, 8
dec esi
mov rcx, qword [rbx]
call section..text
add rdi, 8
add rbx, 8
sub rsi, 1
mov qword [rdi - 8], rax
jne 0x1400017f2
lea rcx, [rsp + 0x30]
call section..text
mov ebx, 1
add rdi, 8
cmp rbx, r15
mov qword [rdi - 8], rax
jge 0x140001849
nop dword [rax + rax]
mov rcx, qword [r14 + rbx*8]
call section..text
inc rbx
add rdi, 8
cmp rbx, r15
mov qword [rdi - 8], rax
jl 0x140001830
cmp dword [rsp + 0x20], 0
mov rsi, qword [rsp + 0x250]
mov qword [rdi], 0
je 0x140001889
mov rdx, r12
mov rcx, rbp
call fcn.14000be24
call fcn.140001a70
lea rdx, str.Could_not_exec__s
lea rcx, [rax + 0x60]
mov r8, rbp
call fcn.1400018f8
mov eax, 2
jmp 0x14000189f
mov r8d, r13d
mov rdx, r12
mov rcx, rbp
call fcn.140001510
mov rcx, rax
call fcn.1400013e0
mov r12, qword [rsp + 0x248]
mov r13, qword [rsp + 0x240]
mov rbp, qword [rsp + 0x290]
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.140002350
add rsp, 0x258
pop r15
pop r14
pop rdi
pop rbx
ret
mov rdx, qword [0x140013550]
mov ecx, dword [0x14001354c]
mov r8d, 1
invalid