Function at 0x1400198e0
Capabilities:
Read file on windows

Disassembly:
push rbx
push rdi
push r14
push r15
sub rsp, 0x258
mov rax, qword [0x14002a3c0]
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 0x140019665
nop dword [rax]
cmp byte [rax], 0x2e
je 0x140019665
lea rdx, [rsp + 0x30]
mov byte [rax], 0
dec rax
cmp rax, rdx
ja 0x140019650
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 [0x1400273c0]
mov dword [rdi + 7], eax
call fcn.140024f6c
mov ebx, eax
cmp eax, 0xffffffff
jne 0x1400196be
call fcn.140019a70
lea r8, [rsp + 0x30]
lea rdx, str.Cannot_open__s_n
lea rcx, [rax + 0x60]
call fcn.1400198f8
lea eax, [rbx + 3]
jmp 0x1400198b7
lea rdx, [rsp + 0x130]
mov r8d, 0x100
mov ecx, eax
mov qword [rsp + 0x290], rbp
call fcn.1400245f8
movsxd rcx, eax
lea rdi, [rsp + rcx + 0x130]
mov ecx, ebx
call fcn.140021f38
lea rdx, [rsp + 0x130]
dec rdx
inc rdx
cmp rdx, rdi
jae 0x14001970f
movzx eax, byte [rdx]
test al, al
je 0x14001970f
cmp al, 0xa
je 0x14001970f
cmp al, 0xd
jne 0x1400196f8
mov byte [rdx], 0
lea rcx, [rsp + 0x130]
lea rdx, [0x1400273a0]
mov r8d, 2
call fcn.14001a550
test eax, eax
je 0x140019755
mov rax, qword [str._python.exe]
lea rcx, [rsp + 0x130]
mov qword [rcx], rax
mov eax, dword [0x140027398]
mov dword [rcx + 8], eax
movzx eax, byte [0x14002739c]
mov byte [rcx + 0xc], al
lea rdx, [rsp + 0x24]
lea rcx, [rsp + 0x132]
call fcn.140019260
lea rdx, [rsp + 0x30]
mov rdi, qword [rax]
mov rbx, rax
mov rcx, rdi
call fcn.1400190f0
mov rbp, rax
test rax, rax
jne 0x1400197a2
call fcn.140019a70
lea rdx, str.Cannot_find_Python_executable__s_n
mov r8, rdi
lea rcx, [rax + 0x60]
call fcn.1400198f8
lea eax, [rbp + 2]
jmp 0x1400198af
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.140019c94
mov rcx, rbp
mov r12, rax
call fcn.140019000
cmp esi, 1
mov qword [r12], rax
lea rdi, [r12 + 8]
jle 0x14001980c
add rbx, 8
dec esi
mov rcx, qword [rbx]
call fcn.140019000
add rdi, 8
add rbx, 8
sub rsi, 1
mov qword [rdi - 8], rax
jne 0x1400197f2
lea rcx, [rsp + 0x30]
call fcn.140019000
mov ebx, 1
add rdi, 8
cmp rbx, r15
mov qword [rdi - 8], rax
jge 0x140019849
nop dword [rax + rax]
mov rcx, qword [r14 + rbx*8]
call fcn.140019000
inc rbx
add rdi, 8
cmp rbx, r15
mov qword [rdi - 8], rax
jl 0x140019830
cmp dword [rsp + 0x20], 0
mov rsi, qword [rsp + 0x250]
mov qword [rdi], 0
je 0x140019889
mov rdx, r12
mov rcx, rbp
call fcn.140023e24
call fcn.140019a70
lea rdx, str.Could_not_exec__s
lea rcx, [rax + 0x60]
mov r8, rbp
call fcn.1400198f8
mov eax, 2
jmp 0x14001989f
mov r8d, r13d
mov rdx, r12
mov rcx, rbp
call fcn.140019510
mov rcx, rax
call fcn.1400193e0
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.14001a350
add rsp, 0x258
pop r15
pop r14
pop rdi
pop rbx
ret
mov rdx, qword [0x14002b550]
mov ecx, dword [0x14002b54c]
mov r8d, 1
jmp 0x1400195f0