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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x804
cmp dword [0x43c780], 0
push ebx
mov ebx, dword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
push esi
push edi
mov edi, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
je 0x42e417
call dword [sym.imp.KERNEL32.dll_GetConsoleWindow]
test eax, eax
jne 0x42e43b
call fcn.0042dd10
test eax, eax
jne 0x42e43b
push str.SSH_CLIENT
call ebx
add esp, 4
test eax, eax
je 0x42e748
push str.DISPLAY
call ebx
add esp, 4
test eax, eax
jne 0x42e748
call fcn.0042dd10
test eax, eax
je 0x42e73d
push 0x3ff
lea eax, [esp + 0x415]
mov byte [esp + 0x414], 0
push 0
push eax
call sub.VCRUNTIME140.dll_memset
lea ecx, [esp + 0x1c]
mov dword [esp + 0x1c], 0x6c616964
add esp, 0xc
mov dword [esp + 0x14], 0x20676f
dec ecx
nop dword [eax]
mov al, byte [ecx + 1]
lea ecx, [ecx + 1]
test al, al
jne 0x42e480
mov eax, dword [str.__title__]
mov dword [ecx], eax
mov eax, dword [0x439888]
mov dword [ecx + 4], eax
mov ax, word [0x43988c]
mov word [ecx + 8], ax
lea ecx, [esp + 0x10]
dec ecx
mov al, byte [ecx + 1]
lea ecx, [ecx + 1]
test al, al
jne 0x42e4a8
mov eax, dword [0x438b9c]
mov dword [ecx], eax
mov eax, dword [0x438ba0]
mov dword [ecx + 4], eax
mov eax, dword [0x438ba4]
mov dword [ecx + 8], eax
mov eax, dword [0x438ba8]
mov dword [ecx + 0xc], eax
mov eax, dword [str.E_GYEEK]
mov dword [ecx + 0x10], eax
mov eax, dword [0x438bb0]
mov dword [ecx + 0x14], eax
lea ecx, [esp + 0x10]
dec ecx
mov al, byte [ecx + 1]
lea ecx, [ecx + 1]
test al, al
jne 0x42e4e6
mov dx, word [0x439890]
mov bl, byte [0x439892]
mov word [ecx], dx
mov byte [ecx + 2], bl
lea ecx, [esp + 0x10]
dec ecx
mov al, byte [ecx + 1]
lea ecx, [ecx + 1]
test al, al
jne 0x42e508
mov eax, dword [str.__backtitle__]
lea edi, [esp + 0x10]
mov dword [ecx], eax
dec edi
mov eax, dword [0x439898]
mov dword [ecx + 4], eax
mov eax, dword [0x43989c]
mov dword [ecx + 8], eax
mov ax, word [0x4398a0]
mov word [ecx + 0xc], ax
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x42e538
mov ecx, 0x12
mov esi, str.tab:_focus___:_populate__spacebar:_fill_text_field__ok:_TEXT_FIELD_ONLY
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x10]
dec ecx
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
mov al, byte [ecx + 1]
lea ecx, [ecx + 1]
test al, al
jne 0x42e554
mov word [ecx], dx
mov byte [ecx + 2], bl
lea ecx, [esp + 0x10]
dec ecx
nop dword [eax]
mov al, byte [ecx + 1]
lea ecx, [ecx + 1]
test al, al
jne 0x42e570
mov eax, dword [str.__fselect__]
mov ebx, dword [sym.imp.VCRUNTIME140.dll_strchr]
mov dword [ecx], eax
mov eax, dword [0x439968]
mov dword [ecx + 4], eax
mov eax, dword [0x43996c]
mov dword [ecx + 8], eax
lea eax, [esp + 0x410]
push 0x2f
push eax
call ebx
add esp, 8
test eax, eax
jne 0x42e5cb
lea ecx, [esp + 0x10]
dec ecx
nop
mov al, byte [ecx + 1]
lea ecx, [ecx + 1]
test al, al
jne 0x42e5b0
mov ax, word [0x439970]
mov word [ecx], ax
mov al, byte [0x439972]
mov byte [ecx + 2], al
lea edx, [esp + 0x410]
mov esi, edx
mov al, byte [edx]
inc edx
test al, al
jne 0x42e5d4
lea edi, [esp + 0x10]
sub edx, esi
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x42e5e2
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x10]
dec ecx
nop dword [eax]
mov al, byte [ecx + 1]
lea ecx, [ecx + 1]
test al, al
jne 0x42e600
mov eax, dword [str.__0_60_2_]
mov dword [ecx], eax
mov eax, dword [0x439978]
mov dword [ecx + 4], eax
mov ax, word [0x43997c]
push str.USERPROFILE
mov word [ecx + 8], ax
call dword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
lea edx, [esp + 0x414]
add esp, 4
sub edx, eax
nop word [eax + eax]
mov cl, byte [eax]
lea eax, [eax + 1]
mov byte [eax + edx - 1], cl
test cl, cl
jne 0x42e640
lea edi, [esp + 0x410]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x42e655
mov ecx, 7
lea edx, [esp + 0x410]
mov esi, str.AppDataLocalTemp_tinyfd.txt
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
mov esi, edx
mov al, byte [edx]
inc edx
test al, al
jne 0x42e675
lea edi, [esp + 0x10]
sub edx, esi
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x42e683
mov ecx, edx
lea eax, [esp + 0x10]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push eax
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
add esp, 4
lea eax, [esp + 0x410]
push 0x4396a0
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
jne 0x42e6df
lea eax, [esp + 0x410]
push eax
call dword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_remove]
mov edi, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
jmp 0x42e786
mov edi, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fgets]
push esi
push 0x400
push 0x44c830
call edi
add esp, 0xc
test eax, eax
jne 0x42e6e5
mov edi, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
push esi
call edi
add esp, 4
lea eax, [esp + 0x410]
push eax
call dword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_remove]
add esp, 4
push 0x2f
push 0x44c830
call ebx
add esp, 8
test eax, eax
je 0x42e736
mov byte [eax], 0x5c
inc eax
push 0x2f
push eax
call ebx
add esp, 8
test eax, eax
jne 0x42e726
mov esi, 0x44c830
jmp 0x42e786
push ecx
call fcn.0042e280
add esp, 4
jmp 0x42e784
cmp dword [0x43c77c], 0
je 0x42e773
push 0
push str.DLL_Files__.dll_
push dword [ebp + 0xc]
mov edx, 0x438b9c
mov ecx, 0x44c830
push 1
push 0x43052e
call fcn.0042d850
jmp 0x42e781
sub esp, 8
push dword [ebp + 0xc]
sub esp, 8
call fcn.0042dab0
add esp, 0x14
mov esi, eax
test esi, esi
je 0x42e7cd
mov ecx, esi
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x42e790
sub ecx, edx
je 0x42e7cd
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x42e7a0
sub ecx, edx
je 0x42e7cd
push 0x4396a0
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
add esp, 8
test eax, eax
je 0x42e7cd
push eax
call edi
add esp, 4
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret