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

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x768]
sub rsp, 0x868
mov rax, qword [0x14016f898]
xor rax, rsp
mov qword [rbp + 0x750], rax
mov rsi, rcx
mov r15, r9
lea rcx, str.TEMP
mov rdi, r8
mov rbx, rdx
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
lea r9, [rbp + 0x350]
sub r9, rax
nop dword [rax]
movzx ecx, byte [rax]
mov byte [r9 + rax], cl
lea rax, [rax + 1]
test cl, cl
jne 0x1400789a0
lea rcx, [rbp + 0x350]
dec rcx
nop dword [rax]
cmp byte [rcx + 1], 0
lea rcx, [rcx + 1]
jne 0x1400789c0
movsd xmm0, qword [str._tinyfd.txt]
mov eax, dword [0x140111368]
movsd qword [rcx], xmm0
movups xmm0, xmmword [str.echoset__p1__]
mov dword [rcx + 8], eax
lea rcx, [rsp + 0x50]
dec rcx
movaps xmmword [rsp + 0x50], xmm0
cmp byte [rcx + 1], 0
lea rcx, [rcx + 1]
jne 0x1400789f3
lea r8, [rbp + 0x350]
xor edx, edx
nop word [rax + rax]
movzx eax, byte [r8 + rdx]
mov byte [rcx + rdx], al
lea rdx, [rdx + 1]
test al, al
jne 0x140078a10
lea rcx, [rsp + 0x50]
dec rcx
nop dword [rax + rax]
cmp byte [rcx + 1], 0
lea rcx, [rcx + 1]
jne 0x140078a30
mov eax, dword [0x140111380]
mov dword [rcx], eax
lea rax, [rsp + 0x50]
dec rax
nop word [rax + rax]
cmp byte [rax + 1], 0
lea rax, [rax + 1]
jne 0x140078a50
movsd xmm0, qword [0x140111318]
mov r14, 0xffffffffffffffff
movzx r8d, byte [0x14011132e]
movzx r9d, word [0x14011132c]
movsd qword [rax], xmm0
test rbx, rbx
je 0x140078b12
mov rax, r14
nop dword [rax]
inc rax
cmp byte [rbx + rax], 0
jne 0x140078a90
test rax, rax
je 0x140078b12
lea rcx, [rsp + 0x50]
dec rcx
cmp byte [rcx + 1], 0
lea rcx, [rcx + 1]
jne 0x140078aa6
movsd xmm0, qword [str.__title__]
movzx eax, word [0x140111328]
movsd qword [rcx], xmm0
mov word [rcx + 8], ax
lea rcx, [rsp + 0x50]
dec rcx
nop
cmp byte [rcx + 1], 0
lea rcx, [rcx + 1]
jne 0x140078ad0
xor edx, edx
nop dword [rax]
movzx eax, byte [rbx + rdx]
mov byte [rcx + rdx], al
lea rdx, [rdx + 1]
test al, al
jne 0x140078ae0
lea rax, [rsp + 0x50]
dec rax
nop word [rax + rax]
cmp byte [rax + 1], 0
lea rax, [rax + 1]
jne 0x140078b00
mov word [rax], r9w
mov byte [rax + 2], r8b
lea rcx, [rsp + 0x50]
dec rcx
nop word [rax + rax]
cmp byte [rcx + 1], 0
lea rcx, [rcx + 1]
jne 0x140078b20
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 rax, [rsp + 0x50]
dec rax
cmp byte [rax + 1], 0
lea rax, [rax + 1]
jne 0x140078b52
movups xmm0, xmmword [str.tab:_move_focus]
movups xmmword [rax], xmm0
lea rax, [rsp + 0x50]
dec rax
test r15, r15
jne 0x140078c10
nop word [rax + rax]
cmp byte [rax + 1], 0
lea rax, [rax + 1]
jne 0x140078b80
movaps xmm0, xmmword [str.__sometimes_nothing__no_blink_nor_star__is_shown_in_text_field_]
movaps xmm1, xmmword [0x1401113a0]
movups xmmword [rax], xmm0
movaps xmm0, xmmword [0x1401113b0]
movups xmmword [rax + 0x10], xmm1
movaps xmm1, xmmword [0x1401113c0]
movups xmmword [rax + 0x20], xmm0
movups xmmword [rax + 0x30], xmm1
lea rax, [rsp + 0x50]
dec rax
nop dword [rax]
cmp byte [rax + 1], 0
lea rax, [rax + 1]
jne 0x140078bc0
lea rcx, [rsp + 0x50]
mov word [rax], r9w
dec rcx
mov byte [rax + 2], r8b
nop word [rax + rax]
cmp byte [rcx + 1], 0
lea rcx, [rcx + 1]
jne 0x140078be0
movups xmm0, xmmword [str.__insecure___passwordbox]
movzx eax, byte [0x1401113e8]
movsd xmm1, qword [0x1401113e0]
movups xmmword [rcx], xmm0
movsd qword [rcx + 0x10], xmm1
mov byte [rcx + 0x18], al
jmp 0x140078c5b
cmp byte [rax + 1], 0
lea rax, [rax + 1]
jne 0x140078c10
lea rcx, [rsp + 0x50]
mov word [rax], r9w
dec rcx
mov byte [rax + 2], r8b
nop word [rax + rax]
cmp byte [rcx + 1], 0
lea rcx, [rcx + 1]
jne 0x140078c30
movzx eax, word [0x1401113f8]
movsd xmm0, qword [str.__inputbox]
movsd qword [rcx], xmm0
mov word [rcx + 8], ax
movzx eax, byte [0x1401113fa]
mov byte [rcx + 0xa], al
lea rcx, [rsp + 0x50]
dec rcx
cmp byte [rcx + 1], 0
lea rcx, [rcx + 1]
jne 0x140078c63
movzx eax, word [0x1401113fc]
mov word [rcx], ax
movzx eax, byte [0x1401113fe]
mov byte [rcx + 2], al
test rdi, rdi
je 0x140078ccf
mov rax, r14
nop dword [rax]
inc rax
cmp byte [rdi + rax], 0
jne 0x140078c90
test rax, rax
je 0x140078ccf
lea rcx, [rsp + 0x50]
dec rcx
cmp byte [rcx + 1], 0
lea rcx, [rcx + 1]
jne 0x140078ca6
xor edx, edx
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [rdi + rdx]
mov byte [rcx + rdx], al
lea rdx, [rdx + 1]
test al, al
jne 0x140078cc0
lea rcx, [rsp + 0x50]
dec rcx
nop word [rax + rax]
cmp byte [rcx + 1], 0
lea rcx, [rcx + 1]
jne 0x140078ce0
movsd xmm0, qword [str.__10_60]
movzx eax, byte [0x140111408]
movsd qword [rcx], xmm0
mov byte [rcx + 8], al
test r15, r15
je 0x140078d92
mov rax, r14
nop dword [rax]
inc rax
cmp byte [r15 + rax], 0
jne 0x140078d10
test rax, rax
je 0x140078d92
lea rcx, [rsp + 0x50]
dec rcx
nop word [rax + rax]
cmp byte [rcx + 1], 0
lea rcx, [rcx + 1]
jne 0x140078d30
movzx eax, word [0x140111350]
mov word [rcx], ax
lea rcx, [rsp + 0x50]
dec rcx
nop dword [rax]
cmp byte [rcx + 1], 0
lea rcx, [rcx + 1]
jne 0x140078d50
xor edx, edx
nop dword [rax]
movzx eax, byte [r15 + rdx]
mov byte [rcx + rdx], al
lea rdx, [rdx + 1]
test al, al
jne 0x140078d60
lea rax, [rsp + 0x50]
dec rax
nop dword [rax + rax]
cmp byte [rax + 1], 0
lea rax, [rax + 1]
jne 0x140078d80
mov word [rax], r9w
mov byte [rax + 2], r8b
lea rdx, [rsp + 0x50]
dec rdx
nop word [rax + rax]
cmp byte [rdx + 1], 0
lea rdx, [rdx + 1]
jne 0x140078da0
mov eax, dword [0x140111354]
lea rcx, str.TEMP
mov dword [rdx], eax
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
lea rdx, [rbp + 0x350]
sub rdx, rax
nop dword [rax]
movzx ecx, byte [rax]
mov byte [rdx + rax], cl
lea rax, [rax + 1]
test cl, cl
jne 0x140078dd0
lea rcx, [rbp + 0x350]
dec rcx
nop dword [rax + rax]
cmp byte [rcx + 1], 0
lea rcx, [rcx + 1]
jne 0x140078df0
movsd xmm0, qword [str._tinyfd.txt]
mov eax, dword [0x140111368]
movsd qword [rcx], xmm0
mov dword [rcx + 8], eax
lea rcx, [rsp + 0x50]
dec rcx
nop word [rax + rax]
cmp byte [rcx + 1], 0
lea rcx, [rcx + 1]
jne 0x140078e20
lea r8, [rbp + 0x350]
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 0x140078e40
lea rcx, [rsp + 0x50]
dec rcx
nop dword [rax + rax]
cmp byte [rcx + 1], 0
lea rcx, [rcx + 1]
jne 0x140078e60
mov eax, dword [0x140111418]
movsd xmm0, qword [str.__echo_0__]
movsd qword [rcx], xmm0
mov dword [rcx + 8], eax
movzx eax, word [0x14011141c]
mov word [rcx + 0xc], ax
lea rcx, [rsp + 0x50]
dec rcx
cmp byte [rcx + 1], 0
lea rcx, [rcx + 1]
jne 0x140078e92
lea r8, [rbp + 0x350]
xor edx, edx
nop word [rax + rax]
movzx eax, byte [r8 + rdx]
mov byte [rcx + rdx], al
lea rdx, [rdx + 1]
test al, al
jne 0x140078eb0
lea rcx, [rsp + 0x50]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rdx, [0x14010fdb0]
lea rcx, [rbp + 0x350]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
mov rbx, rax
test rax, rax
jne 0x140078f00
lea rcx, [rbp + 0x350]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_remove]
mov byte [rsi], 0
xor eax, eax
jmp 0x140078ff3
mov r8, rbx
mov edx, 0x400
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fgets]
test rax, rax
jne 0x140078f00
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
lea rdx, [rsp + 0x20]
lea rcx, [rbp + 0x350]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__stat64i32]
test eax, eax
jne 0x140078f7f
lea rdx, [0x14010fdac]
lea rcx, [rbp + 0x350]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
mov rdi, rax
test rax, rax
je 0x140078f7f
xor ebx, ebx
cmp dword [rsp + 0x34], ebx
jle 0x140078f76
nop dword [rax]
mov rdx, rdi
mov ecx, 0x41
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
inc ebx
cmp ebx, dword [rsp + 0x34]
jl 0x140078f60
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
lea rcx, [rbp + 0x350]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_remove]
mov rax, r14
nop
cmp byte [rsi + rax + 1], 0
lea rax, [rax + 1]
jne 0x140078f90
cmp byte [rax + rsi - 1], 0xa
jne 0x140078fb4
cmp byte [rsi + r14 + 1], 0
lea r14, [r14 + 1]
jne 0x140078fa2
mov byte [r14 + rsi - 1], 0
mov r8d, 1
lea rdx, [0x1401076a8]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncmp]
test eax, eax
jne 0x140078ef4
lea rdx, [rsi + 3]
sub rsi, rdx
nop dword [rax]
movzx ecx, byte [rdx]
mov byte [rsi + rdx], cl
lea rdx, [rdx + 1]
test cl, cl
jne 0x140078fe0
mov eax, 1
mov rcx, qword [rbp + 0x750]
xor rcx, rsp
call fcn.1400f2a70
add rsp, 0x868
pop r15
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret