Function at 0x140079950
Capabilities:
Delete file
Execute command
Query environment variable

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x730]
sub rsp, 0x830
mov rax, qword [0x14016f898]
xor rax, rsp
mov qword [rbp + 0x720], rax
movzx r11d, byte [0x14011132e]
movabs rax, 0x20676f6c616964
movzx ebx, word [0x14011132c]
mov r10, rdx
mov qword [rsp + 0x20], rax
mov rdi, rcx
mov r9, 0xffffffffffffffff
test rdx, rdx
je 0x140079a41
mov rax, r9
inc rax
cmp byte [rdx + rax], 0
jne 0x1400799b2
test rax, rax
je 0x140079a41
lea rcx, [rsp + 0x20]
dec rcx
nop dword [rax]
cmp byte [rcx + 1], 0
lea rcx, [rcx + 1]
jne 0x1400799d0
movsd xmm0, qword [str.__title__]
movzx eax, word [0x140111328]
movsd qword [rcx], xmm0
mov word [rcx + 8], ax
lea rcx, [rsp + 0x20]
dec rcx
nop dword [rax]
cmp byte [rcx + 1], 0
lea rcx, [rcx + 1]
jne 0x140079a00
xor edx, edx
nop dword [rax]
movzx eax, byte [r10 + rdx]
mov byte [rcx + rdx], al
lea rdx, [rdx + 1]
test al, al
jne 0x140079a10
lea rax, [rsp + 0x20]
dec rax
nop dword [rax + rax]
cmp byte [rax + 1], 0
lea rax, [rax + 1]
jne 0x140079a30
mov word [rax], bx
mov byte [rax + 2], r11b
lea rcx, [rsp + 0x20]
dec rcx
nop dword [rax]
cmp byte [rcx + 1], 0
lea rcx, [rcx + 1]
jne 0x140079a50
mov eax, dword [0x140111338]
movsd xmm0, qword [str.__backtitle__]
movsd qword [rcx], xmm0
mov dword [rcx + 8], eax
movzx eax, word [0x14011133c]
mov word [rcx + 0xc], ax
lea rcx, [rsp + 0x20]
dec rcx
cmp byte [rcx + 1], 0
lea rcx, [rcx + 1]
jne 0x140079a82
movzx eax, word [0x140111468]
movaps xmm0, xmmword [str.tab:_focus___:_populate__spacebar:_fill_text_field__ok:_TEXT_FIELD_ONLY]
movaps xmm1, xmmword [0x140111430]
movups xmmword [rcx], xmm0
movaps xmm0, xmmword [0x140111440]
movups xmmword [rcx + 0x10], xmm1
movaps xmm1, xmmword [0x140111450]
movups xmmword [rcx + 0x20], xmm0
movsd xmm0, qword [0x140111460]
movups xmmword [rcx + 0x30], xmm1
movsd qword [rcx + 0x40], xmm0
mov word [rcx + 0x48], ax
movzx eax, byte [0x14011146a]
mov byte [rcx + 0x4a], al
lea rax, [rsp + 0x20]
dec rax
cmp byte [rax + 1], 0
lea rax, [rax + 1]
jne 0x140079ae1
lea rcx, [rsp + 0x20]
mov word [rax], bx
dec rcx
mov byte [rax + 2], r11b
nop word [rax + rax]
cmp byte [rcx + 1], 0
lea rcx, [rcx + 1]
jne 0x140079b00
movsd xmm0, qword [str.__dselect__]
mov eax, dword [0x140111498]
movsd qword [rcx], xmm0
mov dword [rcx + 8], eax
test r8, r8
je 0x140079c22
mov rax, r9
nop dword [rax + rax]
inc rax
cmp byte [r8 + rax], 0
jne 0x140079b30
test rax, rax
je 0x140079c22
lea rcx, [rbp + 0x320]
sub rcx, r8
nop dword [rax]
movzx eax, byte [r8]
mov byte [rcx + r8], al
lea r8, [r8 + 1]
test al, al
jne 0x140079b50
lea rax, [rbp + 0x320]
nop word [rax + rax]
inc r9
cmp byte [rax + r9], 0
jne 0x140079b70
test r9, r9
je 0x140079bb8
lea rbx, [rbp + r9 + 0x31f]
mov r8d, 1
mov rcx, rbx
lea rdx, [0x14010fda8]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncmp]
test eax, eax
je 0x140079bb8
dec rbx
cmp byte [rbx + 1], 0
lea rbx, [rbx + 1]
jne 0x140079ba4
movzx eax, word [0x14010fda8]
mov word [rbx], ax
mov edx, 0x5c
lea rcx, [rbp + 0x320]
call sub.VCRUNTIME140.dll_strchr
test rax, rax
je 0x140079be6
nop
lea rcx, [rax + 1]
mov byte [rax], 0x2f
mov edx, 0x5c
call sub.VCRUNTIME140.dll_strchr
test rax, rax
jne 0x140079bd0
lea rcx, [rsp + 0x20]
dec rcx
nop
cmp byte [rcx + 1], 0
lea rcx, [rcx + 1]
jne 0x140079bf0
lea r8, [rbp + 0x320]
xor edx, edx
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [r8 + rdx]
mov byte [rcx + rdx], al
lea rdx, [rdx + 1]
test al, al
jne 0x140079c10
jmp 0x140079c4e
lea rcx, [rsp + 0x20]
dec rcx
nop word [rax + rax]
cmp byte [rcx + 1], 0
lea rcx, [rcx + 1]
jne 0x140079c30
movzx eax, word [0x14011147c]
mov word [rcx], ax
movzx eax, byte [0x14011147e]
mov byte [rcx + 2], al
lea rcx, [rsp + 0x20]
dec rcx
cmp byte [rcx + 1], 0
lea rcx, [rcx + 1]
jne 0x140079c56
movsd xmm0, qword [str.__0_60_2_]
movzx eax, word [0x140111488]
movsd qword [rcx], xmm0
mov word [rcx + 8], ax
lea rcx, str.TEMP
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
lea rdx, [rbp + 0x320]
sub rdx, rax
nop
movzx ecx, byte [rax]
mov byte [rdx + rax], cl
lea rax, [rax + 1]
test cl, cl
jne 0x140079c90
lea rcx, [rbp + 0x320]
dec rcx
nop dword [rax + rax]
cmp byte [rcx + 1], 0
lea rcx, [rcx + 1]
jne 0x140079cb0
movsd xmm0, qword [str._tinyfd.txt]
mov eax, dword [0x140111368]
movsd qword [rcx], xmm0
mov dword [rcx + 8], eax
lea rcx, [rsp + 0x20]
dec rcx
nop word [rax + rax]
cmp byte [rcx + 1], 0
lea rcx, [rcx + 1]
jne 0x140079ce0
lea r8, [rbp + 0x320]
xor edx, edx
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [r8 + rdx]
mov byte [rcx + rdx], al
lea rdx, [rdx + 1]
test al, al
jne 0x140079d00
lea rcx, [rsp + 0x20]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rdx, [0x14010fdb0]
lea rcx, [rbp + 0x320]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
mov rbx, rax
test rax, rax
jne 0x140079d50
lea rcx, [rbp + 0x320]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_remove]
xor eax, eax
jmp 0x140079dac
mov r8, rbx
mov edx, 0x400
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fgets]
test rax, rax
jne 0x140079d50
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
lea rcx, [rbp + 0x320]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_remove]
test rdi, rdi
je 0x140079da9
mov edx, 0x2f
mov rcx, rdi
call sub.VCRUNTIME140.dll_strchr
test rax, rax
je 0x140079da9
lea rcx, [rax + 1]
mov byte [rax], 0x5c
mov edx, 0x2f
call sub.VCRUNTIME140.dll_strchr
test rax, rax
jne 0x140079d93
mov rax, rdi
mov rcx, qword [rbp + 0x720]
xor rcx, rsp
call fcn.1400f2dc0
lea r11, [rsp + 0x830]
mov rbx, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret