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

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x730]
sub rsp, 0x830
mov rax, qword [0x140330030]
xor rax, rsp
mov qword [rbp + 0x720], rax
mov rbx, r8
mov byte [rbp + 0x320], 0
mov rsi, rdx
mov r14, rcx
xor edx, edx
lea rcx, [rbp + 0x321]
mov r8d, 0x3ff
call sub.VCRUNTIME140.dll_memset
movzx r8d, byte [0x140306b26]
movabs rax, 0x20676f6c616964
movzx r9d, word [0x140306b24]
mov rdi, 0xffffffffffffffff
mov qword [rsp + 0x20], rax
test rsi, rsi
je 0x1400888a2
mov rax, rdi
inc rax
cmp byte [rsi + rax], 0
jne 0x140088814
test rax, rax
je 0x1400888a2
lea rcx, [rsp + 0x20]
dec rcx
nop
cmp byte [rcx + 1], 0
lea rcx, [rcx + 1]
jne 0x140088830
movsd xmm0, qword [str.__title__]
movzx eax, word [0x140306b30]
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 0x140088860
xor edx, edx
nop dword [rax]
movzx eax, byte [rsi + rdx]
mov byte [rcx + rdx], al
lea rdx, [rdx + 1]
test al, al
jne 0x140088870
lea rax, [rsp + 0x20]
dec rax
nop word [rax + rax]
cmp byte [rax + 1], 0
lea rax, [rax + 1]
jne 0x140088890
mov word [rax], r9w
mov byte [rax + 2], r8b
lea rcx, [rsp + 0x20]
dec rcx
nop word [rax + rax]
cmp byte [rcx + 1], 0
lea rcx, [rcx + 1]
jne 0x1400888b0
mov eax, dword [0x140306b68]
movsd xmm0, qword [str.__backtitle__]
movsd qword [rcx], xmm0
mov dword [rcx + 8], eax
movzx eax, word [0x140306b6c]
mov word [rcx + 0xc], ax
lea rcx, [rsp + 0x20]
dec rcx
cmp byte [rcx + 1], 0
lea rcx, [rcx + 1]
jne 0x1400888e2
movzx eax, word [0x140306cf8]
movaps xmm0, xmmword [str.tab:_focus___:_populate__spacebar:_fill_text_field__ok:_TEXT_FIELD_ONLY]
movaps xmm1, xmmword [0x140306cc0]
movups xmmword [rcx], xmm0
movaps xmm0, xmmword [0x140306cd0]
movups xmmword [rcx + 0x10], xmm1
movaps xmm1, xmmword [0x140306ce0]
movups xmmword [rcx + 0x20], xmm0
movsd xmm0, qword [0x140306cf0]
movups xmmword [rcx + 0x30], xmm1
movsd qword [rcx + 0x40], xmm0
mov word [rcx + 0x48], ax
movzx eax, byte [0x140306cfa]
mov byte [rcx + 0x4a], al
lea rax, [rsp + 0x20]
dec rax
cmp byte [rax + 1], 0
lea rax, [rax + 1]
jne 0x140088941
lea rcx, [rsp + 0x20]
mov word [rax], r9w
dec rcx
mov byte [rax + 2], r8b
nop dword [rax + rax]
cmp byte [rcx + 1], 0
lea rcx, [rcx + 1]
jne 0x140088960
movsd xmm0, qword [str.__fselect__]
mov eax, dword [0x140306ca8]
movsd qword [rcx], xmm0
mov dword [rcx + 8], eax
test rbx, rbx
je 0x1400889e7
mov rax, rdi
inc rax
cmp byte [rbx + rax], 0
jne 0x140088987
test rax, rax
je 0x1400889e7
lea rcx, [rbp + 0x320]
sub rcx, rbx
nop
movzx eax, byte [rbx]
mov byte [rcx + rbx], al
lea rbx, [rbx + 1]
test al, al
jne 0x1400889a0
mov edx, 0x5c
lea rcx, [rbp + 0x320]
call qword [sym.imp.VCRUNTIME140.dll_strchr]
test rax, rax
je 0x1400889e7
nop word [rax + rax]
lea rcx, [rax + 1]
mov byte [rax], 0x2f
mov edx, 0x5c
call qword [sym.imp.VCRUNTIME140.dll_strchr]
test rax, rax
jne 0x1400889d0
mov edx, Ordinal_50
lea rcx, [rbp + 0x320]
call qword [sym.imp.VCRUNTIME140.dll_strchr]
test rax, rax
jne 0x140088a24
lea rcx, [rsp + 0x20]
dec rcx
cmp byte [rcx + 1], 0
lea rcx, [rcx + 1]
jne 0x140088a06
movzx eax, word [0x140306d5c]
mov word [rcx], ax
movzx eax, byte [0x140306d5e]
mov byte [rcx + 2], al
lea rcx, [rsp + 0x20]
dec rcx
nop dword [rax]
cmp byte [rcx + 1], 0
lea rcx, [rcx + 1]
jne 0x140088a30
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 0x140088a50
lea rcx, [rsp + 0x20]
dec rcx
nop dword [rax + rax]
cmp byte [rcx + 1], 0
lea rcx, [rcx + 1]
jne 0x140088a70
movsd xmm0, qword [str.__0_60_2_]
movzx eax, word [0x140306d58]
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 dword [rax + rax]
movzx ecx, byte [rax]
mov byte [rdx + rax], cl
lea rax, [rax + 1]
test cl, cl
jne 0x140088ab0
lea rcx, [rbp + 0x320]
dec rcx
nop dword [rax + rax]
cmp byte [rcx + 1], 0
lea rcx, [rcx + 1]
jne 0x140088ad0
movsd xmm0, qword [str._tinyfd.txt]
mov eax, dword [0x140306c20]
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 0x140088b00
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 0x140088b20
lea rcx, [rsp + 0x20]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rdx, [0x14030549c]
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 0x140088b70
lea rcx, [rbp + 0x320]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_remove]
xor eax, eax
jmp 0x140088c65
mov r8, rbx
mov edx, 0x400
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fgets]
test rax, rax
jne 0x140088b70
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 r14, r14
je 0x140088c40
mov edx, Ordinal_50
mov rcx, r14
call qword [sym.imp.VCRUNTIME140.dll_strchr]
test rax, rax
je 0x140088bd7
nop dword [rax + rax]
lea rcx, [rax + 1]
mov byte [rax], 0x5c
mov edx, Ordinal_50
call qword [sym.imp.VCRUNTIME140.dll_strchr]
test rax, rax
jne 0x140088bc0
mov edx, Ordinal_50
mov rcx, r14
call qword [sym.imp.VCRUNTIME140.dll_strrchr]
test rax, rax
jne 0x140088c20
lea edx, [rax + 0x5c]
mov rcx, r14
call qword [sym.imp.VCRUNTIME140.dll_strrchr]
test rax, rax
jne 0x140088c20
lea rdx, [rsp + 0x20]
mov rcx, r14
sub rdx, r14
nop word [rax + rax]
movzx eax, byte [rcx]
mov byte [rdx + rcx], al
lea rcx, [rcx + 1]
test al, al
jne 0x140088c10
jmp 0x140088c45
lea rcx, [rax + 1]
lea rdx, [rsp + 0x20]
sub rdx, rcx
nop dword [rax]
movzx eax, byte [rcx]
mov byte [rdx + rcx], al
lea rcx, [rcx + 1]
test al, al
jne 0x140088c30
jmp 0x140088c45
mov byte [rsp + 0x20], 0
lea rax, [rsp + 0x20]
nop word [rax + rax]
inc rdi
cmp byte [rax + rdi], 0
jne 0x140088c50
xor eax, eax
test rdi, rdi
cmove r14, rax
mov rax, r14
mov rcx, qword [rbp + 0x720]
xor rcx, rsp
call fcn.14014ce80
lea r11, [rsp + 0x830]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret