Function at 0x14000f5f0
Capabilities:
Read file on windows

Disassembly:
push rbx
push rdi
push r14
push r15
sub rsp, 0x258
mov rax, qword [0x1400203c0]
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 0x14000f665
nop dword [rax]
cmp byte [rax], 0x2e
je 0x14000f665
lea rdx, [rsp + 0x30]
mov byte [rax], 0
dec rax
cmp rax, rdx
ja 0x14000f650
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 [0x14001d3c0]
mov word [rdi + 7], ax
movzx eax, byte [0x14001d3c2]
mov byte [rdi + 9], al
call fcn.14001ae8c
mov ebx, eax
cmp eax, 0xffffffff
jne 0x14000f6ca
call fcn.14000fa60
lea r8, [rsp + 0x30]
lea rdx, str.Cannot_open__s_n
lea rcx, [rax + 0x60]
call fcn.14000f8e8
lea eax, [rbx + 3]
jmp 0x14000f8bd
lea rdx, [rsp + 0x130]
mov r8d, 0x100
mov ecx, eax
mov qword [rsp + 0x290], rbp
call fcn.14001a518
movsxd rcx, eax
lea rdi, [rsp + rcx + 0x130]
mov ecx, ebx
call fcn.140017e58
lea rdx, [rsp + 0x130]
dec rdx
inc rdx
cmp rdx, rdi
jae 0x14000f71b
movzx eax, byte [rdx]
test al, al
je 0x14000f71b
cmp al, 0xa
je 0x14000f71b
cmp al, 0xd
jne 0x14000f704
mov byte [rdx], 0
lea rcx, [rsp + 0x130]
lea rdx, [0x14001d3a0]
mov r8d, 2
call fcn.140010540
test eax, eax
je 0x14000f761
mov rax, qword [str._python.exe]
lea rcx, [rsp + 0x130]
mov qword [rcx], rax
mov eax, dword [0x14001d398]
mov dword [rcx + 8], eax
movzx eax, byte [0x14001d39c]
mov byte [rcx + 0xc], al
lea rdx, [rsp + 0x24]
lea rcx, [rsp + 0x132]
call fcn.14000f260
lea rdx, [rsp + 0x30]
mov rdi, qword [rax]
mov rbx, rax
mov rcx, rdi
call fcn.14000f0f0
mov rbp, rax
test rax, rax
jne 0x14000f7ae
call fcn.14000fa60
lea rdx, str.Cannot_find_Python_executable__s_n
mov r8, rdi
lea rcx, [rax + 0x60]
call fcn.14000f8e8
lea eax, [rbp + 2]
jmp 0x14000f8b5
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.14000fc84
mov rcx, rbp
mov r12, rax
call fcn.14000f000
cmp esi, 1
mov qword [r12], rax
lea rdi, [r12 + 8]
jle 0x14000f81a
add rbx, 8
dec esi
nop
mov rcx, qword [rbx]
call fcn.14000f000
add rdi, 8
add rbx, 8
sub rsi, 1
mov qword [rdi - 8], rax
jne 0x14000f800
lea rcx, [rsp + 0x30]
call fcn.14000f000
mov ebx, 1
add rdi, 8
cmp rbx, r15
mov qword [rdi - 8], rax
jge 0x14000f84f
mov rcx, qword [r14 + rbx*8]
call fcn.14000f000
inc rbx
add rdi, 8
cmp rbx, r15
mov qword [rdi - 8], rax
jl 0x14000f836
cmp dword [rsp + 0x20], 0
mov rsi, qword [rsp + 0x250]
mov qword [rdi], 0
je 0x14000f88f
mov rdx, r12
mov rcx, rbp
call fcn.140019d44
call fcn.14000fa60
lea rdx, str.Could_not_exec__s
lea rcx, [rax + 0x60]
mov r8, rbp
call fcn.14000f8e8
mov eax, 2
jmp 0x14000f8a5
mov r8d, r13d
mov rdx, r12
mov rcx, rbp
call fcn.14000f510
mov rcx, rax
call fcn.14000f3e0
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.140010340
add rsp, 0x258
pop r15
pop r14
pop rdi
pop rbx
ret
xor r8d, r8d
jmp 0x14000f5f0