Function at 0x140029000
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 [0x14333b200]
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 [0x14332da7e]
movabs rax, 0x20676f6c616964
movzx r12d, word [0x14332da7c]
mov rsi, 0xffffffffffffffff
mov qword [rsp + 0x20], rax
test rbx, rbx
je 0x140029112
mov rax, rsi
nop dword [rax]
inc rax
cmp byte [rbx + rax], 0
jne 0x140029090
test rax, rax
je 0x140029112
lea rcx, [rsp + 0x20]
dec rcx
cmp byte [rcx + 1], 0
lea rcx, [rcx + 1]
jne 0x1400290a6
movsd xmm0, qword [0x14332da70]
movzx eax, word [0x14332da78]
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 0x1400290d0
xor edx, edx
nop dword [rax]
movzx eax, byte [rbx + rdx]
mov byte [rcx + rdx], al
lea rdx, [rdx + 1]
test al, al
jne 0x1400290e0
lea rax, [rsp + 0x20]
dec rax
nop word [rax + rax]
cmp byte [rax + 1], 0
lea rax, [rax + 1]
jne 0x140029100
mov word [rax], r12w
mov byte [rax + 2], r15b
mov qword [rsp + 0xc38], r13
test r14, r14
je 0x140029379
mov rdx, r14
lea rcx, [0x14332da80]
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
xor ebx, ebx
lea r13, [0x14332da8c]
test eax, eax
je 0x14002916b
mov ecx, ebx
movzx eax, byte [rcx + r13]
inc rcx
cmp al, byte [r14 + rcx - 1]
jne 0x140029158
cmp rcx, 6
jne 0x140029141
jmp 0x14002916b
mov rdx, r14
lea rcx, [0x14332da98]
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
jne 0x1400291d1
lea rcx, [rsp + 0x20]
dec rcx
cmp byte [rcx + 1], bl
lea rcx, [rcx + 1]
jne 0x140029173
mov eax, dword [0x14332dab0]
movsd xmm0, qword [0x14332daa8]
movsd qword [rcx], xmm0
mov dword [rcx + 8], eax
movzx eax, word [0x14332dab4]
mov word [rcx + 0xc], ax
lea rax, [rsp + 0x20]
dec rax
cmp byte [rax + 1], bl
lea rax, [rax + 1]
jne 0x1400291a4
movups xmm0, xmmword [0x14332dab8]
movups xmmword [rax], xmm0
lea rax, [rsp + 0x20]
dec rax
nop
cmp byte [rax + 1], bl
lea rax, [rax + 1]
jne 0x1400291c0
mov word [rax], r12w
mov byte [rax + 2], r15b
mov rdx, r14
lea rcx, [0x14332da80]
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
jne 0x140029280
cmp dword [rbp + 0xb90], ebx
jne 0x140029228
lea rcx, [rsp + 0x20]
dec rcx
nop dword [rax + rax]
cmp byte [rcx + 1], bl
lea rcx, [rcx + 1]
jne 0x140029200
mov eax, dword [0x14332dad0]
movsd xmm0, qword [0x14332dac8]
movsd qword [rcx], xmm0
mov dword [rcx + 8], eax
movzx eax, byte [0x14332dad4]
mov byte [rcx + 0xc], al
lea rcx, [rsp + 0x20]
dec rcx
cmp byte [rcx + 1], bl
lea rcx, [rcx + 1]
jne 0x140029230
movups xmm0, xmmword [0x14332dad8]
mov eax, dword [0x14332db00]
movups xmm1, xmmword [0x14332dae8]
movups xmmword [rcx], xmm0
movsd xmm0, qword [0x14332daf8]
movups xmmword [rcx + 0x10], xmm1
movsd qword [rcx + 0x20], xmm0
mov dword [rcx + 0x28], eax
movzx eax, word [0x14332db04]
mov word [rcx + 0x2c], ax
jmp 0x1400293a2
movzx eax, byte [rbx + r13]
inc rbx
cmp al, byte [r14 + rbx - 1]
jne 0x140029305
cmp rbx, 6
jne 0x140029280
cmp dword [rbp + 0xb90], 0
jne 0x1400292cf
lea rcx, [rsp + 0x20]
dec rcx
cmp byte [rcx + 1], 0
lea rcx, [rcx + 1]
jne 0x1400292a6
mov eax, dword [0x14332dad0]
movsd xmm0, qword [0x14332dac8]
movsd qword [rcx], xmm0
mov dword [rcx + 8], eax
movzx eax, byte [0x14332dad4]
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 0x1400292e0
movsd xmm0, qword [0x14332db08]
movzx eax, byte [0x14332db10]
movsd qword [rcx], xmm0
mov byte [rcx + 8], al
jmp 0x1400293a2
mov rdx, r14
lea rcx, [0x14332da98]
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
jne 0x140029379
cmp dword [rbp + 0xb90], eax
jne 0x140029359
lea rcx, [rsp + 0x20]
dec rcx
nop dword [rax + rax]
cmp byte [rcx + 1], 0
lea rcx, [rcx + 1]
jne 0x140029330
mov eax, dword [0x14332dad0]
movsd xmm0, qword [0x14332dac8]
movsd qword [rcx], xmm0
mov dword [rcx + 8], eax
movzx eax, byte [0x14332dad4]
mov byte [rcx + 0xc], al
lea rax, [rsp + 0x20]
dec rax
cmp byte [rax + 1], 0
lea rax, [rax + 1]
jne 0x140029361
movsd xmm0, qword [0x14332db18]
movsd qword [rax], xmm0
jmp 0x1400293a2
lea rcx, [rsp + 0x20]
dec rcx
cmp byte [rcx + 1], 0
lea rcx, [rcx + 1]
jne 0x140029381
movsd xmm0, qword [0x14332db20]
movzx eax, word [0x14332db28]
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 0x1400293b2
movzx eax, word [0x14332db2c]
mov word [rcx], ax
test rdi, rdi
je 0x1400294e6
mov rax, rsi
inc rax
cmp byte [rdi + rax], 0
jne 0x1400293d2
test rax, rax
je 0x1400294e6
lea rdx, [0x14332db34]
mov byte [rbp + 0x320], 0
mov rcx, rdi
call sub.VCRUNTIME140.dll_strstr
mov rbx, rax
test rax, rax
je 0x140029469
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 0x140029430
movzx eax, word [0x14332db30]
lea rdi, [rbx + 1]
mov word [rcx], ax
lea rdx, [0x14332db34]
movzx eax, byte [0x14332db32]
mov byte [rcx + 2], al
mov rcx, rdi
call sub.VCRUNTIME140.dll_strstr
mov rbx, rax
test rax, rax
jne 0x140029410
lea rcx, [rbp + 0x320]
dec rcx
cmp byte [rcx + 1], 0
lea rcx, [rcx + 1]
jne 0x140029473
xor edx, edx
nop
movzx eax, byte [rdi + rdx]
mov byte [rcx + rdx], al
lea rdx, [rdx + 1]
test al, al
jne 0x140029480
lea rcx, [rsp + 0x20]
dec rcx
nop word [rax + rax]
cmp byte [rcx + 1], 0
lea rcx, [rcx + 1]
jne 0x1400294a0
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 0x1400294c0
movzx r15d, byte [0x14332da7e]
movzx r12d, word [0x14332da7c]
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 0x1400294f6
mov word [rax], r12w
mov r12, qword [rsp + 0xc40]
mov byte [rax + 2], r15b
mov r15, qword [rsp + 0xc30]
test r14, r14
je 0x140029579
mov rdx, r14
lea rcx, [0x14332da98]
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
jne 0x140029579
lea rcx, [rsp + 0x20]
dec rcx
nop dword [rax + rax]
cmp byte [rcx + 1], 0
lea rcx, [rcx + 1]
jne 0x140029540
movups xmm0, xmmword [0x14332db38]
mov eax, dword [0x14332db48]
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 0x140029565
mov eax, dword [0x14332db4c]
mov dword [rcx], eax
jmp 0x1400295d0
lea rcx, [rsp + 0x20]
dec rcx
cmp byte [rcx + 1], 0
lea rcx, [rcx + 1]
jne 0x140029581
mov eax, dword [0x14332db50]
mov dword [rcx], eax
movzx eax, word [0x14332db54]
mov word [rcx + 4], ax
lea rcx, [rsp + 0x20]
dec rcx
cmp byte [rcx + 1], 0
lea rcx, [rcx + 1]
jne 0x1400295a6
mov eax, dword [0x14332db60]
movsd xmm0, qword [0x14332db58]
movsd qword [rcx], xmm0
mov dword [rcx + 8], eax
movzx eax, word [0x14332db64]
mov word [rcx + 0xc], ax
lea rcx, [0x14332db68]
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 0x1400295f0
lea rcx, [rbp + 0x720]
dec rcx
nop dword [rax + rax]
cmp byte [rcx + 1], 0
lea rcx, [rcx + 1]
jne 0x140029610
movsd xmm0, qword [0x14332db70]
mov eax, dword [0x14332db78]
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 0x140029640
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 0x140029660
lea rcx, [rsp + 0x20]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rdx, [0x14332d940]
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 0x1400296b0
lea rcx, [rbp + 0x720]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_remove]
xor eax, eax
jmp 0x14002975d
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 0x1400296b0
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 0x1400296f0
cmp byte [rbp + rax + 0x31f], 0xa
jne 0x140029716
dec rax
cmp rax, 0x400
jae 0x140029779
mov byte [rbp + rax + 0x320], 0
lea rax, [rbp + 0x320]
nop dword [rax]
inc rsi
cmp byte [rax + rsi], 0
jne 0x140029720
test rsi, rsi
je 0x1400296a4
test r14, r14
je 0x140029758
mov rdx, r14
lea rcx, [0x14332da98]
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
jne 0x140029758
cmp byte [rbp + 0x320], 0x59
mov eax, 2
jne 0x14002975d
mov eax, 1
mov rcx, qword [rbp + 0xb20]
xor rcx, rsp
call fcn.14002aac0
add rsp, 0xc48
pop r14
pop rsi
pop rbx
pop rbp
ret
call fcn.14002a834
int3