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.py]
lea rcx, [rsp + 0x30]
mov qword [rdi - 1], rax
movzx eax, word [0x14000f3c0]
mov word [rdi + 7], ax
movzx eax, byte [0x14000f3c2]
mov byte [rdi + 9], al
call fcn.14000ce8c
mov ebx, eax
cmp eax, 0xffffffff
jne 0x1400016ca
call fcn.140001a60
lea r8, [rsp + 0x30]
lea rdx, str.Cannot_open__s_n
lea rcx, [rax + 0x60]
call fcn.1400018e8
lea eax, [rbx + 3]
jmp 0x1400018bd
lea rdx, [rsp + 0x130]
mov r8d, 0x100
mov ecx, eax
mov qword [rsp + 0x290], rbp
call fcn.14000c518
movsxd rcx, eax
lea rdi, [rsp + rcx + 0x130]
mov ecx, ebx
call fcn.140009e58
lea rdx, [rsp + 0x130]
dec rdx
inc rdx
cmp rdx, rdi
jae 0x14000171b
movzx eax, byte [rdx]
test al, al
je 0x14000171b
cmp al, 0xa
je 0x14000171b
cmp al, 0xd
jne 0x140001704
mov byte [rdx], 0
lea rcx, [rsp + 0x130]
lea rdx, [0x14000f3a0]
mov r8d, 2
call fcn.140002540
test eax, eax
je 0x140001761
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 0x1400017ae
call fcn.140001a60
lea rdx, str.Cannot_find_Python_executable__s_n
mov r8, rdi
lea rcx, [rax + 0x60]
call fcn.1400018e8
lea eax, [rbp + 2]
jmp 0x1400018b5
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.140001c84
mov rcx, rbp
mov r12, rax
call section..text
cmp esi, 1
mov qword [r12], rax
lea rdi, [r12 + 8]
jle 0x14000181a
add rbx, 8
dec esi
nop
mov rcx, qword [rbx]
call section..text
add rdi, 8
add rbx, 8
sub rsi, 1
mov qword [rdi - 8], rax
jne 0x140001800
lea rcx, [rsp + 0x30]
call section..text
mov ebx, 1
add rdi, 8
cmp rbx, r15
mov qword [rdi - 8], rax
jge 0x14000184f
mov rcx, qword [r14 + rbx*8]
call section..text
inc rbx
add rdi, 8
cmp rbx, r15
mov qword [rdi - 8], rax
jl 0x140001836
cmp dword [rsp + 0x20], 0
mov rsi, qword [rsp + 0x250]
mov qword [rdi], 0
je 0x14000188f
mov rdx, r12
mov rcx, rbp
call fcn.14000bd44
call fcn.140001a60
lea rdx, str.Could_not_exec__s
lea rcx, [rax + 0x60]
mov r8, rbp
call fcn.1400018e8
mov eax, 2
jmp 0x1400018a5
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.140002340
add rsp, 0x258
pop r15
pop r14
pop rdi
pop rbx
ret
xor r8d, r8d
jmp 0x1400015f0