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

Disassembly:
mov r11, rsp
push rbp
push rbx
push rsi
push r14
lea rbp, [r11 - 0xb68]
sub rsp, 0xc48
mov rax, qword [0x140330030]
xor rax, rsp
mov qword [rbp + 0xb20], rax
mov qword [r11 + 0x18], rdi
mov r14, r8
mov rdi, rdx
mov qword [r11 - 0x28], r12
mov rbx, rcx
mov qword [r11 - 0x38], r15
xor edx, edx
mov byte [rbp + 0x320], 0
mov r8d, 0x3ff
lea rcx, [rbp + 0x321]
call sub.VCRUNTIME140.dll_memset
movzx r15d, byte [0x140306b26]
movabs rax, 0x20676f6c616964
movzx r12d, word [0x140306b24]
mov rsi, 0xffffffffffffffff
mov qword [rsp + 0x20], rax
test rbx, rbx
je 0x140087a62
mov rax, rsi
nop dword [rax]
inc rax
cmp byte [rbx + rax], 0
jne 0x1400879e0
test rax, rax
je 0x140087a62
lea rcx, [rsp + 0x20]
dec rcx
cmp byte [rcx + 1], 0
lea rcx, [rcx + 1]
jne 0x1400879f6
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
cmp byte [rcx + 1], 0
lea rcx, [rcx + 1]
jne 0x140087a20
xor edx, edx
nop dword [rax]
movzx eax, byte [rbx + rdx]
mov byte [rcx + rdx], al
lea rdx, [rdx + 1]
test al, al
jne 0x140087a30
lea rax, [rsp + 0x20]
dec rax
nop word [rax + rax]
cmp byte [rax + 1], 0
lea rax, [rax + 1]
jne 0x140087a50
mov word [rax], r12w
mov byte [rax + 2], r15b
mov qword [rsp + 0xc38], r13
test r14, r14
je 0x140087cc9
mov rdx, r14
lea rcx, str.okcancel
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
xor ebx, ebx
lea r13, str.yesno
test eax, eax
je 0x140087abb
mov ecx, ebx
movzx eax, byte [rcx + r13]
inc rcx
cmp al, byte [r14 + rcx - 1]
jne 0x140087aa8
cmp rcx, 6
jne 0x140087a91
jmp 0x140087abb
mov rdx, r14
lea rcx, [0x140301758]
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
jne 0x140087b21
lea rcx, [rsp + 0x20]
dec rcx
cmp byte [rcx + 1], bl
lea rcx, [rcx + 1]
jne 0x140087ac3
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 rax, [rsp + 0x20]
dec rax
cmp byte [rax + 1], bl
lea rax, [rax + 1]
jne 0x140087af4
movups xmm0, xmmword [str.tab:_move_focus]
movups xmmword [rax], xmm0
lea rax, [rsp + 0x20]
dec rax
nop
cmp byte [rax + 1], bl
lea rax, [rax + 1]
jne 0x140087b10
mov word [rax], r12w
mov byte [rax + 2], r15b
mov rdx, r14
lea rcx, str.okcancel
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
jne 0x140087bd0
cmp dword [rbp + 0xb90], ebx
jne 0x140087b78
lea rcx, [rsp + 0x20]
dec rcx
nop dword [rax + rax]
cmp byte [rcx + 1], bl
lea rcx, [rcx + 1]
jne 0x140087b50
mov eax, dword [0x140306b48]
movsd xmm0, qword [str.__defaultno]
movsd qword [rcx], xmm0
mov dword [rcx + 8], eax
movzx eax, byte [0x140306b4c]
mov byte [rcx + 0xc], al
lea rcx, [rsp + 0x20]
dec rcx
cmp byte [rcx + 1], bl
lea rcx, [rcx + 1]
jne 0x140087b80
movups xmm0, xmmword [str.__yes_label__Ok____no_label__Cancel____yesno]
mov eax, dword [0x140306bc8]
movups xmm1, xmmword [0x140306bb0]
movups xmmword [rcx], xmm0
movsd xmm0, qword [0x140306bc0]
movups xmmword [rcx + 0x10], xmm1
movsd qword [rcx + 0x20], xmm0
mov dword [rcx + 0x28], eax
movzx eax, word [0x140306bcc]
mov word [rcx + 0x2c], ax
jmp 0x140087cf2
movzx eax, byte [rbx + r13]
inc rbx
cmp al, byte [r14 + rbx - 1]
jne 0x140087c55
cmp rbx, 6
jne 0x140087bd0
cmp dword [rbp + 0xb90], 0
jne 0x140087c1f
lea rcx, [rsp + 0x20]
dec rcx
cmp byte [rcx + 1], 0
lea rcx, [rcx + 1]
jne 0x140087bf6
mov eax, dword [0x140306b48]
movsd xmm0, qword [str.__defaultno]
movsd qword [rcx], xmm0
mov dword [rcx + 8], eax
movzx eax, byte [0x140306b4c]
mov byte [rcx + 0xc], al
lea rcx, [rsp + 0x20]
dec rcx
nop word [rax + rax]
cmp byte [rcx + 1], 0
lea rcx, [rcx + 1]
jne 0x140087c30
movsd xmm0, qword [str.__yesno]
movzx eax, byte [0x140306b98]
movsd qword [rcx], xmm0
mov byte [rcx + 8], al
jmp 0x140087cf2
mov rdx, r14
lea rcx, [0x140301758]
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
jne 0x140087cc9
cmp dword [rbp + 0xb90], eax
jne 0x140087ca9
lea rcx, [rsp + 0x20]
dec rcx
nop dword [rax + rax]
cmp byte [rcx + 1], 0
lea rcx, [rcx + 1]
jne 0x140087c80
mov eax, dword [0x140306b48]
movsd xmm0, qword [str.__defaultno]
movsd qword [rcx], xmm0
mov dword [rcx + 8], eax
movzx eax, byte [0x140306b4c]
mov byte [rcx + 0xc], al
lea rax, [rsp + 0x20]
dec rax
cmp byte [rax + 1], 0
lea rax, [rax + 1]
jne 0x140087cb1
movsd xmm0, qword [str.__menu]
movsd qword [rax], xmm0
jmp 0x140087cf2
lea rcx, [rsp + 0x20]
dec rcx
cmp byte [rcx + 1], 0
lea rcx, [rcx + 1]
jne 0x140087cd1
movsd xmm0, qword [str.__msgbox]
movzx eax, word [0x140306b80]
movsd qword [rcx], xmm0
mov word [rcx + 8], ax
mov r13, qword [rsp + 0xc38]
lea rcx, [rsp + 0x20]
dec rcx
cmp byte [rcx + 1], 0
lea rcx, [rcx + 1]
jne 0x140087d02
movzx eax, word [0x140301320]
mov word [rcx], ax
test rdi, rdi
je 0x140087e36
mov rax, rsi
inc rax
cmp byte [rdi + rax], 0
jne 0x140087d22
test rax, rax
je 0x140087e36
lea rdx, [0x140301334]
mov byte [rbp + 0x320], 0
mov rcx, rdi
call qword [sym.imp.VCRUNTIME140.dll_strstr]
mov rbx, rax
test rax, rax
je 0x140087dba
nop dword [rax]
nop word [rax + rax]
mov r8, rbx
lea rcx, [rbp + 0x320]
sub r8, rdi
mov rdx, rdi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncat]
lea rcx, [rbp + 0x320]
dec rcx
cmp byte [rcx + 1], 0
lea rcx, [rcx + 1]
jne 0x140087d80
movzx eax, word [0x1402fe600]
lea rdi, [rbx + 1]
mov word [rcx], ax
lea rdx, [0x140301334]
movzx eax, byte [0x1402fe602]
mov byte [rcx + 2], al
mov rcx, rdi
call qword [sym.imp.VCRUNTIME140.dll_strstr]
mov rbx, rax
test rax, rax
jne 0x140087d60
lea rcx, [rbp + 0x320]
dec rcx
cmp byte [rcx + 1], 0
lea rcx, [rcx + 1]
jne 0x140087dc4
xor edx, edx
movzx eax, byte [rdi + rdx]
mov byte [rcx + rdx], al
lea rdx, [rdx + 1]
test al, al
jne 0x140087dd0
lea rcx, [rsp + 0x20]
dec rcx
nop word [rax + rax]
cmp byte [rcx + 1], 0
lea rcx, [rcx + 1]
jne 0x140087df0
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 0x140087e10
movzx r15d, byte [0x140306b26]
movzx r12d, word [0x140306b24]
mov byte [rbp + 0x320], al
mov rdi, qword [rsp + 0xc80]
lea rax, [rsp + 0x20]
dec rax
cmp byte [rax + 1], 0
lea rax, [rax + 1]
jne 0x140087e46
mov word [rax], r12w
mov r12, qword [rsp + 0xc40]
mov byte [rax + 2], r15b
mov r15, qword [rsp + 0xc30]
test r14, r14
je 0x140087ec9
mov rdx, r14
lea rcx, [0x140301758]
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
jne 0x140087ec9
lea rcx, [rsp + 0x20]
dec rcx
nop dword [rax + rax]
cmp byte [rcx + 1], 0
lea rcx, [rcx + 1]
jne 0x140087e90
movups xmm0, xmmword [str.0_60_0_Yes____No___]
mov eax, dword [0x140306c00]
movups xmmword [rcx], xmm0
mov dword [rcx + 0x10], eax
lea rcx, [rsp + 0x20]
dec rcx
cmp byte [rcx + 1], 0
lea rcx, [rcx + 1]
jne 0x140087eb5
mov eax, dword [0x140306be8]
mov dword [rcx], eax
jmp 0x140087f20
lea rcx, [rsp + 0x20]
dec rcx
cmp byte [rcx + 1], 0
lea rcx, [rcx + 1]
jne 0x140087ed1
mov eax, dword [str.10_60]
mov dword [rcx], eax
movzx eax, word [0x140306be4]
mov word [rcx + 4], ax
lea rcx, [rsp + 0x20]
dec rcx
cmp byte [rcx + 1], 0
lea rcx, [rcx + 1]
jne 0x140087ef6
mov eax, dword [0x140306bd8]
movsd xmm0, qword [str.__echo_1__]
movsd qword [rcx], xmm0
mov dword [rcx + 8], eax
movzx eax, word [0x140306bdc]
mov word [rcx + 0xc], ax
lea rcx, str.TEMP
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
lea rdx, [rbp + 0x720]
sub rdx, rax
nop word [rax + rax]
movzx ecx, byte [rax]
mov byte [rdx + rax], cl
lea rax, [rax + 1]
test cl, cl
jne 0x140087f40
lea rcx, [rbp + 0x720]
dec rcx
nop dword [rax + rax]
cmp byte [rcx + 1], 0
lea rcx, [rcx + 1]
jne 0x140087f60
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 0x140087f90
lea r8, [rbp + 0x720]
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 0x140087fb0
lea rcx, [rsp + 0x20]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rdx, [0x14030549c]
lea rcx, [rbp + 0x720]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
mov rbx, rax
test rax, rax
jne 0x140088000
lea rcx, [rbp + 0x720]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_remove]
xor eax, eax
jmp 0x1400880ad
mov r8, rbx
lea rcx, [rbp + 0x320]
mov edx, 0x400
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fgets]
test rax, rax
jne 0x140088000
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
lea rcx, [rbp + 0x720]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_remove]
lea rcx, [rbp + 0x320]
mov rax, rsi
nop word [rax + rax]
inc rax
cmp byte [rcx + rax], 0
jne 0x140088040
cmp byte [rbp + rax + 0x31f], 0xa
jne 0x140088066
dec rax
cmp rax, 0x400
jae 0x1400880c9
mov byte [rbp + rax + 0x320], 0
lea rax, [rbp + 0x320]
nop dword [rax]
inc rsi
cmp byte [rax + rsi], 0
jne 0x140088070
test rsi, rsi
je 0x140087ff4
test r14, r14
je 0x1400880a8
mov rdx, r14
lea rcx, [0x140301758]
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
jne 0x1400880a8
cmp byte [rbp + 0x320], 0x59
mov eax, 2
jne 0x1400880ad
mov eax, 1
mov rcx, qword [rbp + 0xb20]
xor rcx, rsp
call fcn.14014ce80
add rsp, 0xc48
pop r14
pop rsi
pop rbx
pop rbp
ret
call fcn.14014d89c
int3