Function at 0x14001a2db
Capabilities:
Query environment variable

Disassembly:
push rbp
sub rsp, 0x2b0
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x240], rcx
mov qword [rbp + 0x248], rdx
mov dword [rbp + 0x250], r8d
mov qword [rbp + 0x228], 0
mov eax, dword [rbp + 0x250]
cdqe
mov rcx, rax
call fcn.1400c0e10
call fcn.1400c0910
mov rax, qword [rbp + 0x240]
mov rdx, rax
lea rcx, [rbp + 0x240]
call fcn.1400c0cd0
mov dword [rbp + 0x224], 0
mov qword [rbp + 0x1f0], 0
mov qword [rbp - 0x48], 0
mov qword [rbp + 0x218], 0
mov qword [rbp - 0x50], 0
mov qword [rbp + 0x1e8], 0
mov qword [rbp + 0x1e0], 0
mov qword [rbp - 0x58], 0
mov qword [rbp + 0x210], 0
mov qword [rbp + 0x1d8], 0
call fcn.1400c0980
call fcn.1400c0980
call fcn.1400c09e0
mov edx, eax
mov ecx, 0x1f4
call fcn.1400bdf10
call fcn.1400c09e0
mov edx, eax
lea rax, [rbp - 0x50]
mov rcx, rax
call fcn.1400c0bc0
mov rax, qword [rbp - 0x50]
mov qword [rbp + 0x1d0], rax
lea rax, str.WINDIR
mov rdx, qword [rbp + 0x1d0]
mov r8d, 0x1f4
mov rcx, rax
call sub.KERNEL32.dll_GetEnvironmentVariableW
mov qword [rbp + 0x1c8], rax
cmp qword [rbp + 0x248], 0
jle 0x14001a47e
call fcn.1400c0980
call fcn.1400c0980
mov rax, qword [rbp - 0x50]
mov rcx, rax
call fcn.1400c0da0
lea rax, str.System32
mov rcx, rax
call fcn.1400c0da0
call fcn.1400c0fa0
call fcn.1400c0b30
mov qword [rbp + 0x1c0], rax
mov rax, qword [rbp + 0x240]
mov rdx, qword [rbp + 0x1c0]
mov r9d, 0x2e
mov r8, rdx
mov rdx, rax
lea rax, str.wmic.exe
mov rcx, rax
call fcn.14008d734
mov qword [rbp + 0x1b8], rax
call fcn.1400c0a50
mov rax, qword [rbp + 0x1b8]
mov qword [rbp + 0x210], rax
jmp 0x14001a52c
nop
call fcn.1400c0980
call fcn.1400c0980
mov rax, qword [rbp - 0x50]
mov rcx, rax
call fcn.1400c0da0
lea rax, str.System32
mov rcx, rax
call fcn.1400c0da0
call fcn.1400c0fa0
call fcn.1400c0980
mov rax, qword [rbp + 0x240]
mov rcx, rax
call fcn.1400c0da0
lea rax, str.__FORMAT:List
mov rcx, rax
call fcn.1400c0da0
call fcn.1400c0fa0
call fcn.1400c0b30
mov qword [rbp + 0x1b0], rax
call fcn.1400c0b30
mov qword [rbp + 0x1a8], rax
mov rdx, qword [rbp + 0x1a8]
mov rax, qword [rbp + 0x1b0]
mov r9d, 0x2e
mov r8, rdx
mov rdx, rax
lea rax, str.wmic.exe
mov rcx, rax
call fcn.14008d734
mov qword [rbp + 0x1a0], rax
call fcn.1400c0a50
mov rax, qword [rbp + 0x1a0]
mov qword [rbp + 0x210], rax
lea rax, [rbp - 0x48]
lea rdx, [0x140791cf8]
mov rcx, rax
call fcn.1400c0e60
cmp qword [rbp + 0x210], 0
je 0x14001ac2c
mov ecx, 0x9c40
call fcn.1400bedb0
mov qword [rbp + 0x198], rax
mov rax, qword [rbp + 0x198]
mov qword [rbp + 0x1d8], rax
mov rax, qword [rbp + 0x210]
mov rcx, rax
call fcn.14008dcb4
mov qword [rbp + 0x190], rax
cmp qword [rbp + 0x190], 0
je 0x14001abc4
mov rax, qword [rbp + 0x210]
mov rcx, rax
call fcn.14008dd1c
mov qword [rbp + 0x188], rax
mov rax, qword [rbp + 0x188]
mov qword [rbp + 0x1e8], rax
cmp qword [rbp + 0x1e8], 0
je 0x14001ab5a
mov rax, qword [rbp + 0x1d8]
mov qword [rbp + 0x180], rax
mov rcx, qword [rbp + 0x1e8]
mov rdx, qword [rbp + 0x180]
mov rax, qword [rbp + 0x210]
mov r8, rcx
mov rcx, rax
call fcn.14008ddf8
mov qword [rbp + 0x178], rax
mov rax, qword [rbp + 0x178]
mov qword [rbp + 0x1e8], rax
cmp qword [rbp + 0x1e8], 0
je 0x14001ab5d
call fcn.1400c0980
call fcn.1400c0980
mov rax, qword [rbp + 0x1d8]
mov qword [rbp + 0x170], rax
call fcn.1400c09e0
mov ecx, eax
mov rdx, qword [rbp + 0x1e8]
mov rax, qword [rbp + 0x170]
mov r9d, ecx
mov r8d, SafeArrayPutElement
mov rcx, rax
call fcn.1400bf040
call fcn.1400c09e0
mov edx, eax
lea rax, [rbp - 0x58]
mov rcx, rax
call fcn.1400c0bc0
mov rax, qword [rbp - 0x58]
mov rcx, rax
call fcn.1400bda60
mov qword [rbp + 0x168], rax
mov rax, qword [rbp + 0x168]
add rax, 4
mov qword [rbp + 0x160], rax
mov rax, qword [rbp + 0x160]
mov rcx, rax
call fcn.1400bedb0
mov qword [rbp + 0x158], rax
mov rax, qword [rbp + 0x158]
mov qword [rbp + 0x1f0], rax
mov rax, qword [rbp - 0x58]
mov rcx, rax
call fcn.1400bda60
mov qword [rbp + 0x150], rax
mov rax, qword [rbp + 0x150]
add rax, 4
mov qword [rbp + 0x148], rax
mov rax, qword [rbp + 0x148]
mov rcx, rax
call fcn.1400bedb0
mov qword [rbp + 0x140], rax
mov rax, qword [rbp + 0x140]
mov qword [rbp + 0x1e0], rax
mov rax, qword [rbp + 0x1f0]
mov qword [rbp + 0x138], rax
mov rdx, qword [rbp - 0x58]
mov rax, qword [rbp + 0x138]
mov r9d, SafeArrayPutElement
mov r8, 0xffffffffffffffff
mov rcx, rax
call fcn.1400bee20
mov qword [rbp + 0x130], rax
mov rax, qword [rbp + 0x1f0]
mov qword [rbp + 0x128], rax
mov rax, qword [rbp + 0x1e0]
mov qword [rbp + 0x120], rax
mov rdx, qword [rbp + 0x120]
mov rax, qword [rbp + 0x128]
mov rcx, rax
call sub.USER32.dll_OemToCharW
mov qword [rbp + 0x118], rax
mov qword [rbp + 0x218], 0
mov rax, qword [rbp - 0x58]
mov rcx, rax
call fcn.1400bda60
mov qword [rbp + 0x110], rax
mov rax, qword [rbp + 0x110]
add rax, 4
cmp qword [rbp + 0x218], rax
jg 0x14001aaa7
mov rdx, qword [rbp + 0x1e0]
mov rax, qword [rbp + 0x218]
add rax, rdx
mov qword [rbp + 0x108], rax
mov rax, qword [rbp + 0x108]
mov rcx, rax
call fcn.1400befb0
mov qword [rbp + 0x100], rax
mov qword [rbp + 0x208], 0
cmp qword [rbp + 0x100], 0x6a
jne 0x14001a827
mov rdx, qword [rbp + 0x1e0]
mov rax, qword [rbp + 0x218]
add rax, rdx
add rax, 1
mov qword [rbp + 0xf8], rax
mov rax, qword [rbp + 0xf8]
mov rcx, rax
call fcn.1400befb0
mov qword [rbp + 0xf0], rax
cmp qword [rbp + 0xf0], 0x26
jne 0x14001a82a
nop
mov qword [rbp + 0x208], 1
jmp 0x14001a82b
nop
jmp 0x14001a82b
nop
cmp qword [rbp + 0x208], 0
je 0x14001a8a1
mov rdx, qword [rbp + 0x1e0]
mov rax, qword [rbp + 0x218]
add rax, rdx
mov qword [rbp + 0xe8], rax
mov rax, qword [rbp + 0xe8]
mov edx, reloc.WS2_32.dll_listen
mov rcx, rax
call fcn.1400befc0
mov qword [rbp + 0xe0], rax
mov rdx, qword [rbp + 0x1e0]
mov rax, qword [rbp + 0x218]
add rax, rdx
add rax, 1
mov qword [rbp + 0xd8], rax
mov rax, qword [rbp + 0xd8]
mov edx, 0
mov rcx, rax
call fcn.1400befc0
mov qword [rbp + 0xd0], rax
jmp 0x14001a8a2
nop
mov rdx, qword [rbp + 0x1e0]
mov rax, qword [rbp + 0x218]
add rax, rdx
mov qword [rbp + 0xc8], rax
mov rax, qword [rbp + 0xc8]
mov rcx, rax
call fcn.1400befb0
mov qword [rbp + 0xc0], rax
mov qword [rbp + 0x200], 0
cmp qword [rbp + 0xc0], 0xd9
jne 0x14001a932
mov rdx, qword [rbp + 0x1e0]
mov rax, qword [rbp + 0x218]
add rax, rdx
add rax, 1
mov qword [rbp + 0xb8], rax
mov rax, qword [rbp + 0xb8]
mov rcx, rax
call fcn.1400befb0
mov qword [rbp + 0xb0], rax
cmp qword [rbp + 0xb0], 0x25
jne 0x14001a935
nop
mov qword [rbp + 0x200], 1
jmp 0x14001a936
nop
jmp 0x14001a936
nop
cmp qword [rbp + 0x200], 0
je 0x14001a9ac
mov rdx, qword [rbp + 0x1e0]
mov rax, qword [rbp + 0x218]
add rax, rdx
mov qword [rbp + 0xa8], rax
mov rax, qword [rbp + 0xa8]
mov edx, 0xa
mov rcx, rax
call fcn.1400befc0
mov qword [rbp + 0xa0], rax
mov rdx, qword [rbp + 0x1e0]
mov rax, qword [rbp + 0x218]
add rax, rdx
add rax, 1
mov qword [rbp + 0x98], rax
mov rax, qword [rbp + 0x98]
mov edx, 0
mov rcx, rax
call fcn.1400befc0
mov qword [rbp + 0x90], rax
jmp 0x14001a9ad
nop
mov rdx, qword [rbp + 0x1e0]
mov rax, qword [rbp + 0x218]
add rax, rdx
mov qword [rbp + 0x88], rax
mov rax, qword [rbp + 0x88]
mov rcx, rax
call fcn.1400befb0
mov qword [rbp + 0x80], rax
mov qword [rbp + 0x1f8], 0
cmp qword [rbp + 0x80], 0xcb
jne 0x14001aa31
mov rdx, qword [rbp + 0x1e0]
mov rax, qword [rbp + 0x218]
add rax, rdx
add rax, 1
mov qword [rbp + 0x78], rax
mov rax, qword [rbp + 0x78]
mov rcx, rax
call fcn.1400befb0
mov qword [rbp + 0x70], rax
cmp qword [rbp + 0x70], 0x25
jne 0x14001aa34
nop
mov qword [rbp + 0x1f8], 1
jmp 0x14001aa35
nop
jmp 0x14001aa35
nop
cmp qword [rbp + 0x1f8], 0
je 0x14001aa99
mov rdx, qword [rbp + 0x1e0]
mov rax, qword [rbp + 0x218]
add rax, rdx
mov qword [rbp + 0x68], rax
mov rax, qword [rbp + 0x68]
mov edx, 9
mov rcx, rax
call fcn.1400befc0
mov qword [rbp + 0x60], rax
mov rdx, qword [rbp + 0x1e0]
mov rax, qword [rbp + 0x218]
add rax, rdx
add rax, 1
mov qword [rbp + 0x58], rax
mov rax, qword [rbp + 0x58]
mov edx, 0
mov rcx, rax
call fcn.1400befc0
mov qword [rbp + 0x50], rax
jmp 0x14001aa9a
nop
add qword [rbp + 0x218], 1
jmp 0x14001a76f
nop
call fcn.1400c0980
call fcn.1400c0980
mov rax, qword [rbp + 0x1e0]
mov qword [rbp + 0x48], rax
call fcn.1400c09e0
mov edx, eax
mov rax, qword [rbp + 0x48]
mov rcx, rax
call fcn.1400befd0
call fcn.1400c09e0
mov edx, eax
lea rax, [rbp - 0x58]
mov rcx, rax
call fcn.1400c0bc0
mov rax, qword [rbp + 0x1f0]
mov qword [rbp + 0x40], rax
mov rax, qword [rbp + 0x40]
mov rcx, rax
call fcn.1400bee00
mov qword [rbp + 0x38], rax
mov rax, qword [rbp + 0x1e0]
mov qword [rbp + 0x30], rax
mov rax, qword [rbp + 0x30]
mov rcx, rax
call fcn.1400bee00
mov qword [rbp + 0x28], rax
call fcn.1400c0980
mov rax, qword [rbp - 0x48]
mov rcx, rax
call fcn.1400c0da0
mov rax, qword [rbp - 0x58]
mov rcx, rax
call fcn.1400c0da0
lea rax, [0x14078409c]
mov rcx, rax
call fcn.1400c0da0
call fcn.1400c09e0
mov edx, eax
lea rax, [rbp - 0x48]
mov rcx, rax
call fcn.1400c0bc0
jmp 0x14001ab5e
nop
jmp 0x14001ab5e
nop
mov rax, qword [0x1407913d8]
mov qword [rbp + 0x20], rax
mov rax, qword [rbp + 0x20]
mov rcx, rax
call fcn.14009ee94
mov qword [rbp + 0x18], rax
cmp qword [rbp + 0x18], 0
je 0x14001abb8
call fcn.14009f078
mov qword [rbp + 0x10], rax
cmp qword [rbp + 0x10], 0
je 0x14001ab92
jmp 0x14001ab80
nop
call fcn.14009f078
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0
je 0x14001aba5
jmp 0x14001ab93
nop
call fcn.14009f078
mov qword [rbp], rax
cmp qword [rbp], 0
je 0x14001abbe
jmp 0x14001aba6
nop
jmp 0x14001a56c
nop
jmp 0x14001a56c
nop
mov rax, qword [rbp + 0x1d8]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
mov rcx, rax
call fcn.1400bee00
mov qword [rbp - 0x10], rax
mov rax, qword [rbp + 0x210]
mov rcx, rax
call fcn.14008de78
mov qword [rbp - 0x18], rax
cmp qword [rbp - 0x18], 0
je 0x14001ac2f
mov rax, qword [rbp + 0x210]
mov rcx, rax
call fcn.14008dd64
mov qword [rbp - 0x20], rax
mov rax, qword [rbp - 0x20]
mov dword [rbp + 0x224], eax
mov rax, qword [rbp + 0x210]
mov rcx, rax
call fcn.14008dd88
mov qword [rbp - 0x28], rax
jmp 0x14001ac30
nop
jmp 0x14001ac30
nop
cmp qword [rbp + 0x248], 0
jle 0x14001ac6c
call fcn.1400c0980
call fcn.1400c0980
call fcn.1400c09e0
mov edx, eax
mov eax, dword [rbp + 0x224]
cdqe
mov rcx, rax
call fcn.1400bd6c0
call fcn.1400c0b30
mov qword [rbp + 0x228], rax
jmp 0x14001adb5
nop
call fcn.1400c0980
call fcn.1400c0980
call fcn.1400c09e0
mov edx, eax
mov rax, qword [rbp - 0x48]
mov r8d, edx
lea rdx, reloc.WS2_32.dll_listen
mov rcx, rax
call fcn.1400be010
call fcn.1400c09e0
mov edx, eax
lea rax, [rbp - 0x48]
mov rcx, rax
call fcn.1400c0bc0
call fcn.1400c0980
call fcn.1400c0980
call fcn.1400c09e0
mov edx, eax
mov rax, qword [rbp - 0x48]
mov r9d, edx
lea r8, reloc.WS2_32.dll_ioctlsocket
lea rdx, [0x14077d604]
mov rcx, rax
call fcn.1400be2d0
call fcn.1400c09e0
mov edx, eax
lea rax, [rbp - 0x48]
mov rcx, rax
call fcn.1400c0bc0
mov rax, qword [rbp - 0x48]
lea rdx, [0x14077d604]
mov rcx, rax
call fcn.1400bd7d0
mov qword [rbp - 0x30], rax
cmp qword [rbp - 0x30], 0
je 0x14001ad09
nop
jmp 0x14001aca7
nop
call fcn.1400c0980
call fcn.1400c0980
call fcn.1400c09e0
mov edx, eax
mov rax, qword [rbp - 0x48]
mov r8d, edx
mov edx, 1
mov rcx, rax
call fcn.1400bdf70
call fcn.1400c0fa0
call fcn.1400c0ac0
mov qword [rbp - 0x38], rax
lea rax, reloc.WS2_32.dll_ioctlsocket
mov qword [rbp - 0x40], rax
mov rdx, qword [rbp - 0x38]
mov rax, qword [rbp - 0x40]
mov rcx, rax
call fcn.1400c0d40
test eax, eax
je 0x14001ad96
call fcn.1400c0980
call fcn.1400c0980
call fcn.1400c09e0
mov edx, eax
mov rax, qword [rbp - 0x48]
mov r8d, edx
mov edx, 2
mov rcx, rax
call fcn.1400bd960
call fcn.1400c09e0
mov edx, eax
lea rax, [rbp - 0x48]
mov rcx, rax
call fcn.1400c0bc0
jmp 0x14001ad97
nop
call fcn.1400c0980
mov rax, qword [rbp - 0x48]
mov rcx, rax
call fcn.1400c0da0
call fcn.1400c0b30
mov qword [rbp + 0x228], rax
nop
mov rax, qword [rbp - 0x48]
mov rcx, rax
call fcn.1400c0ca0
mov rax, qword [rbp + 0x240]
mov rcx, rax
call fcn.1400c0ca0
mov rax, qword [rbp - 0x50]
mov rcx, rax
call fcn.1400c0ca0
mov rax, qword [rbp - 0x58]
mov rcx, rax
call fcn.1400c0ca0
mov rax, qword [rbp + 0x228]
add rsp, 0x2b0
pop rbp
ret