Function at 0x140256d10
Capabilities:
Set environment variable

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x98
lea rsi, str.NUITKA_ONEFILE_BINARY
mov ebx, ecx
mov rcx, rsi
call fcn.14022d1f0
test rax, rax
je 0x140256e68
mov rcx, rax
mov rdx, 0xffffffffffffffff
lea r14, [rsp + 0x40]
call qword [sym.imp.python311.dll_PyUnicode_FromWideChar]
xor ecx, ecx
mov r15, r14
lea r12, [rsi + 0x28]
mov word [rsp + 0x40], cx
mov r13, rax
lea rbp, [rsp + 0x3a]
mov eax, 0x4e
lea rdi, [rsp + 0x3c]
nop word [rax + rax]
mov rbx, r12
mov r8d, 2
mov rdx, rbp
mov rcx, rdi
sub rbx, rsi
mov byte [rsp + 0x3a], al
mov byte [rsp + 0x3b], 0
call sub.msvcrt.dll_mbstowcs
cmp rax, 1
jne 0x1402a883a
cmp word [r15], 0
movzx edx, word [rsp + 0x3c]
mov rax, r15
je 0x140256dc6
nop dword [rax]
add rax, 2
sub rbx, 1
cmp word [rax], 0
jne 0x140256db8
test rbx, rbx
je 0x1402a883a
mov word [rax], dx
add rsi, 1
xor edx, edx
add r15, 2
mov word [rax + 2], dx
movzx eax, byte [rsi]
test al, al
jne 0x140256d78
mov rcx, r14
xor edx, edx
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov rax, qword [sym.imp.python311.dll__PyRuntime]
mov rcx, qword [0x1402f4c60]
mov rsi, qword [rax + 0x1f8]
mov rax, qword [0x1402bd9c0]
mov rbx, qword [rax + 0x1c0]
test rcx, rcx
je 0x140256ec0
mov rdx, rbx
call fcn.140213d00
mov r8, r13
mov rcx, rsi
mov rbx, rax
mov rdx, rax
call fcn.14024a600
sub qword [rbx], 1
jne 0x140256e51
mov rdx, qword [rbx + 8]
mov qword [rsp + 0x28], rax
mov rcx, rbx
call qword [rdx + 0x30]
mov rax, qword [rsp + 0x28]
add rsp, 0x98
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov rax, qword [0x1402f4518]
lea rsi, [0x1402f4518]
test bl, bl
je 0x140256e88
mov rax, qword [0x1402f4520]
lea rsi, [0x1402f4520]
test rax, rax
jne 0x140256e51
cmp byte [0x1402f4742], 0
jne 0x140256e9e
movzx ecx, bl
call fcn.140215c60
mov rdx, 0xffffffffffffffff
lea rcx, [0x1402f4540]
call qword [sym.imp.python311.dll_PyUnicode_FromWideChar]
mov qword [rsi], rax
test rax, rax
je 0x140256eea
add qword [rax], 1
jmp 0x140256e51
mov rcx, qword [0x1402f4bd8]
mov rdi, qword [rax + 0x1b0]
test rcx, rcx
je 0x140256ef5
mov rdx, rdi
call fcn.140213d00
mov qword [0x1402f4c60], rax
mov rcx, rax
jmp 0x140256e1e
call qword [sym.imp.python311.dll_PyErr_Print]
call sub.msvcrt.dll_abort
lea rcx, [0x1402b5e03]
call qword [sym.imp.python311.dll_PyImport_ImportModule]
mov qword [0x1402f4bd8], rax
mov rcx, rax
test rax, rax
je 0x1402a883a
jmp 0x140256ed3
call sub.msvcrt.dll_abort
nop
call sub.msvcrt.dll_abort
nop
call sub.msvcrt.dll_abort
nop
call sub.msvcrt.dll_abort
nop
call sub.msvcrt.dll_abort
nop
call sub.msvcrt.dll_abort
nop
call sub.msvcrt.dll_abort
nop
call sub.msvcrt.dll_abort
nop
call sub.msvcrt.dll_abort
nop
call sub.msvcrt.dll_abort
nop
call sub.msvcrt.dll_abort
nop
call sub.msvcrt.dll_abort
nop
call sub.msvcrt.dll_abort
nop
call sub.msvcrt.dll_abort
nop
call sub.msvcrt.dll_abort
nop
call sub.msvcrt.dll_abort
nop
call sub.msvcrt.dll_abort
nop
call sub.msvcrt.dll_abort
nop
call sub.msvcrt.dll_abort
nop
call sub.msvcrt.dll_abort
nop
call sub.msvcrt.dll_abort
nop
call sub.msvcrt.dll_abort
nop
call qword [sym.imp.python311.dll_PyErr_NoMemory]
call sub.msvcrt.dll_abort
nop