Function at 0x1400202e8
Capabilities:
Query environment variable

Disassembly:
push rbp
sub rsp, 0x2a0
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x230], rcx
mov qword [rbp + 0x238], rdx
mov dword [rbp + 0x240], r8d
mov qword [rbp + 0x218], 0
mov eax, dword [rbp + 0x240]
cdqe
mov rcx, rax
call fcn.1400bc4e0
call fcn.1400bbfe0
mov rax, qword [rbp + 0x230]
mov rdx, rax
lea rcx, [rbp + 0x230]
call fcn.1400bc3a0
mov dword [rbp - 0x14], 0
mov qword [rbp - 0x20], 0
mov qword [rbp - 0x28], 0
mov qword [rbp - 0x30], 0
mov qword [rbp - 0x38], 0
mov qword [rbp - 0x40], 0
mov qword [rbp - 0x48], 0
mov qword [rbp - 0x50], 0
mov qword [rbp - 0x58], 0
mov qword [rbp - 0x60], 0
call fcn.1400bc050
call fcn.1400bc050
call fcn.1400bc0b0
mov edx, eax
mov ecx, 0x1f4
call fcn.1400b9f50
call fcn.1400bc0b0
mov edx, eax
lea rax, [rbp - 0x38]
mov rcx, rax
call fcn.1400bc290
mov rax, qword [rbp - 0x38]
mov qword [rbp + 0x1f8], rax
lea rax, str.WINDIR
mov rdx, qword [rbp + 0x1f8]
mov r8d, 0x1f4
mov rcx, rax
call sub.KERNEL32.DLL_GetEnvironmentVariableW
mov qword [rbp + 0x1f0], rax
cmp qword [rbp + 0x238], 0
jle 0x14002046d
call fcn.1400bc050
call fcn.1400bc050
mov rax, qword [rbp - 0x38]
mov rcx, rax
call fcn.1400bc470
lea rcx, str.System32
call fcn.1400bc470
call fcn.1400bc670
call fcn.1400bc200
mov qword [rbp + 0x1d0], rax
mov rax, qword [rbp + 0x230]
mov rdx, qword [rbp + 0x1d0]
mov r9d, 0x2e
mov r8, rdx
mov rdx, rax
lea rcx, str.wmic.exe
call fcn.140088eb4
mov qword [rbp + 0x1c8], rax
call fcn.1400bc120
mov rax, qword [rbp + 0x1c8]
mov qword [rbp - 0x58], rax
jmp 0x14002050f
nop
call fcn.1400bc050
call fcn.1400bc050
mov rax, qword [rbp - 0x38]
mov rcx, rax
call fcn.1400bc470
lea rcx, str.System32
call fcn.1400bc470
call fcn.1400bc670
call fcn.1400bc050
mov rax, qword [rbp + 0x230]
mov rcx, rax
call fcn.1400bc470
lea rcx, str.__FORMAT:List
call fcn.1400bc470
call fcn.1400bc670
call fcn.1400bc200
mov qword [rbp + 0x1e8], rax
call fcn.1400bc200
mov qword [rbp + 0x1e0], rax
mov rdx, qword [rbp + 0x1e0]
mov rax, qword [rbp + 0x1e8]
mov r9d, 0x2e
mov r8, rdx
mov rdx, rax
lea rcx, str.wmic.exe
call fcn.140088eb4
mov qword [rbp + 0x1d8], rax
call fcn.1400bc120
mov rax, qword [rbp + 0x1d8]
mov qword [rbp - 0x58], rax
lea rax, [rbp - 0x28]
lea rdx, [0x1406a3738]
mov rcx, rax
call fcn.1400bc530
mov rax, qword [rbp - 0x58]
test rax, rax
je 0x140020b87
mov ecx, 0x9c40
call fcn.1400ba480
mov qword [rbp + 0x1c0], rax
mov rax, qword [rbp + 0x1c0]
mov qword [rbp - 0x60], rax
mov rax, qword [rbp - 0x58]
mov rcx, rax
call fcn.140089424
mov qword [rbp + 0x1b8], rax
cmp qword [rbp + 0x1b8], 0
je 0x140020b16
mov rax, qword [rbp - 0x58]
mov rcx, rax
call fcn.14008948c
mov qword [rbp + 0x188], rax
mov rax, qword [rbp + 0x188]
mov qword [rbp - 0x40], rax
mov rax, qword [rbp - 0x40]
test rax, rax
je 0x140020aba
mov rax, qword [rbp - 0x60]
mov qword [rbp + 0x180], rax
mov rcx, qword [rbp - 0x40]
mov rax, qword [rbp - 0x58]
mov rdx, qword [rbp + 0x180]
mov r8, rcx
mov rcx, rax
call fcn.140089564
mov qword [rbp + 0x178], rax
mov rax, qword [rbp + 0x178]
mov qword [rbp - 0x40], rax
mov rax, qword [rbp - 0x40]
test rax, rax
je 0x140020abd
call fcn.1400bc050
call fcn.1400bc050
mov rax, qword [rbp - 0x60]
mov qword [rbp + 0x170], rax
call fcn.1400bc0b0
mov ecx, eax
mov rdx, qword [rbp - 0x40]
mov rax, qword [rbp + 0x170]
mov r9d, ecx
mov r8d, SafeArrayPutElement
mov rcx, rax
call fcn.1400ba710
call fcn.1400bc0b0
mov edx, eax
lea rax, [rbp - 0x50]
mov rcx, rax
call fcn.1400bc290
mov rax, qword [rbp - 0x50]
mov rcx, rax
call fcn.1400b91f0
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.1400ba480
mov qword [rbp + 0x158], rax
mov rax, qword [rbp + 0x158]
mov qword [rbp - 0x20], rax
mov rax, qword [rbp - 0x50]
mov rcx, rax
call fcn.1400b91f0
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.1400ba480
mov qword [rbp + 0x140], rax
mov rax, qword [rbp + 0x140]
mov qword [rbp - 0x48], rax
mov rax, qword [rbp - 0x20]
mov qword [rbp + 0x138], rax
mov rdx, qword [rbp - 0x50]
mov rax, qword [rbp + 0x138]
mov r9d, SafeArrayPutElement
mov r8, 0xffffffffffffffff
mov rcx, rax
call fcn.1400ba4f0
mov qword [rbp + 0x130], rax
mov rax, qword [rbp - 0x20]
mov qword [rbp + 0x128], rax
mov rax, qword [rbp - 0x48]
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 - 0x30], 0
mov rax, qword [rbp - 0x50]
mov rcx, rax
call fcn.1400b91f0
mov qword [rbp + 0x110], rax
mov rax, qword [rbp + 0x110]
lea rdx, [rax + 4]
mov rax, qword [rbp - 0x30]
cmp rdx, rax
jl 0x1400209fb
mov rdx, qword [rbp - 0x48]
mov rax, qword [rbp - 0x30]
add rax, rdx
mov qword [rbp + 0xe0], rax
mov rax, qword [rbp + 0xe0]
mov rcx, rax
call fcn.1400ba680
mov qword [rbp + 0xd8], rax
mov qword [rbp + 0x210], 0
cmp qword [rbp + 0xd8], 0x6a
jne 0x1400207cb
mov rdx, qword [rbp - 0x48]
mov rax, qword [rbp - 0x30]
add rax, rdx
add rax, 1
mov qword [rbp + 0xd0], rax
mov rax, qword [rbp + 0xd0]
mov rcx, rax
call fcn.1400ba680
mov qword [rbp + 0xc8], rax
cmp qword [rbp + 0xc8], 0x26
jne 0x1400207ce
nop
mov qword [rbp + 0x210], 1
jmp 0x1400207cf
nop
jmp 0x1400207cf
nop
cmp qword [rbp + 0x210], 0
je 0x140020839
mov rdx, qword [rbp - 0x48]
mov rax, qword [rbp - 0x30]
add rax, rdx
mov qword [rbp + 0xc0], rax
mov rax, qword [rbp + 0xc0]
mov edx, reloc.WS2_32.dll_listen
mov rcx, rax
call fcn.1400ba690
mov qword [rbp + 0xb8], rax
mov rdx, qword [rbp - 0x48]
mov rax, qword [rbp - 0x30]
add rax, rdx
add rax, 1
mov qword [rbp + 0xb0], rax
mov rax, qword [rbp + 0xb0]
mov edx, 0
mov rcx, rax
call fcn.1400ba690
mov qword [rbp + 0xa8], rax
jmp 0x14002083a
nop
mov rdx, qword [rbp - 0x48]
mov rax, qword [rbp - 0x30]
add rax, rdx
mov qword [rbp + 0xa0], rax
mov rax, qword [rbp + 0xa0]
mov rcx, rax
call fcn.1400ba680
mov qword [rbp + 0x98], rax
mov qword [rbp + 0x208], 0
cmp qword [rbp + 0x98], 0xd9
jne 0x1400208be
mov rdx, qword [rbp - 0x48]
mov rax, qword [rbp - 0x30]
add rax, rdx
add rax, 1
mov qword [rbp + 0x90], rax
mov rax, qword [rbp + 0x90]
mov rcx, rax
call fcn.1400ba680
mov qword [rbp + 0x88], rax
cmp qword [rbp + 0x88], 0x25
jne 0x1400208c1
nop
mov qword [rbp + 0x208], 1
jmp 0x1400208c2
nop
jmp 0x1400208c2
nop
cmp qword [rbp + 0x208], 0
je 0x140020920
mov rdx, qword [rbp - 0x48]
mov rax, qword [rbp - 0x30]
add rax, rdx
mov qword [rbp + 0x80], rax
mov rax, qword [rbp + 0x80]
mov edx, 0xa
mov rcx, rax
call fcn.1400ba690
mov qword [rbp + 0x78], rax
mov rdx, qword [rbp - 0x48]
mov rax, qword [rbp - 0x30]
add rax, rdx
add rax, 1
mov qword [rbp + 0x70], rax
mov rax, qword [rbp + 0x70]
mov edx, 0
mov rcx, rax
call fcn.1400ba690
mov qword [rbp + 0x68], rax
jmp 0x140020921
nop
mov rdx, qword [rbp - 0x48]
mov rax, qword [rbp - 0x30]
add rax, rdx
mov qword [rbp + 0x60], rax
mov rax, qword [rbp + 0x60]
mov rcx, rax
call fcn.1400ba680
mov qword [rbp + 0x58], rax
mov qword [rbp + 0x200], 0
cmp qword [rbp + 0x58], 0xcb
jne 0x14002098d
mov rdx, qword [rbp - 0x48]
mov rax, qword [rbp - 0x30]
add rax, rdx
add rax, 1
mov qword [rbp + 0x50], rax
mov rax, qword [rbp + 0x50]
mov rcx, rax
call fcn.1400ba680
mov qword [rbp + 0x48], rax
cmp qword [rbp + 0x48], 0x25
jne 0x140020990
nop
mov qword [rbp + 0x200], 1
jmp 0x140020991
nop
jmp 0x140020991
nop
cmp qword [rbp + 0x200], 0
je 0x1400209e9
mov rdx, qword [rbp - 0x48]
mov rax, qword [rbp - 0x30]
add rax, rdx
mov qword [rbp + 0x40], rax
mov rax, qword [rbp + 0x40]
mov edx, 9
mov rcx, rax
call fcn.1400ba690
mov qword [rbp + 0x38], rax
mov rdx, qword [rbp - 0x48]
mov rax, qword [rbp - 0x30]
add rax, rdx
add rax, 1
mov qword [rbp + 0x30], rax
mov rax, qword [rbp + 0x30]
mov edx, 0
mov rcx, rax
call fcn.1400ba690
mov qword [rbp + 0x28], rax
jmp 0x1400209ea
nop
mov rax, qword [rbp - 0x30]
add rax, 1
mov qword [rbp - 0x30], rax
jmp 0x14002071f
nop
call fcn.1400bc050
call fcn.1400bc050
mov rax, qword [rbp - 0x48]
mov qword [rbp + 0x108], rax
call fcn.1400bc0b0
mov edx, eax
mov rax, qword [rbp + 0x108]
mov rcx, rax
call fcn.1400ba6a0
call fcn.1400bc0b0
mov edx, eax
lea rax, [rbp - 0x50]
mov rcx, rax
call fcn.1400bc290
mov rax, qword [rbp - 0x20]
mov qword [rbp + 0x100], rax
mov rax, qword [rbp + 0x100]
mov rcx, rax
call fcn.1400ba4d0
mov qword [rbp + 0xf8], rax
mov rax, qword [rbp - 0x48]
mov qword [rbp + 0xf0], rax
mov rax, qword [rbp + 0xf0]
mov rcx, rax
call fcn.1400ba4d0
mov qword [rbp + 0xe8], rax
call fcn.1400bc050
mov rax, qword [rbp - 0x28]
mov rcx, rax
call fcn.1400bc470
mov rax, qword [rbp - 0x50]
mov rcx, rax
call fcn.1400bc470
lea rcx, [0x14069503c]
call fcn.1400bc470
call fcn.1400bc0b0
mov edx, eax
lea rax, [rbp - 0x28]
mov rcx, rax
call fcn.1400bc290
jmp 0x140020abe
nop
jmp 0x140020abe
nop
mov rax, qword [0x1406a2df0]
mov rcx, rax
call fcn.140099dfc
mov qword [rbp + 0x20], rax
cmp qword [rbp + 0x20], 0
je 0x140020b0a
call fcn.140099ea8
mov qword [rbp + 0x18], rax
cmp qword [rbp + 0x18], 0
jne 0x140020ad8
call fcn.140099ea8
mov qword [rbp + 0x10], rax
cmp qword [rbp + 0x10], 0
jne 0x140020ae8
call fcn.140099ea8
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0
je 0x140020b10
jmp 0x140020af8
nop
jmp 0x14002054b
nop
jmp 0x14002054b
nop
mov rax, qword [rbp - 0x60]
mov qword [rbp + 0x1b0], rax
mov rax, qword [rbp + 0x1b0]
mov rcx, rax
call fcn.1400ba4d0
mov qword [rbp + 0x1a8], rax
mov rax, qword [rbp - 0x58]
mov rcx, rax
call fcn.1400895e4
mov qword [rbp + 0x1a0], rax
cmp qword [rbp + 0x1a0], 0
je 0x140020b8a
mov rax, qword [rbp - 0x58]
mov rcx, rax
call fcn.1400894d0
mov qword [rbp + 0x198], rax
mov rax, qword [rbp + 0x198]
mov dword [rbp - 0x14], eax
mov rax, qword [rbp - 0x58]
mov rcx, rax
call fcn.1400894f4
mov qword [rbp + 0x190], rax
jmp 0x140020b8b
nop
jmp 0x140020b8b
nop
cmp qword [rbp + 0x238], 0
jle 0x140020bc4
call fcn.1400bc050
call fcn.1400bc050
call fcn.1400bc0b0
mov edx, eax
mov eax, dword [rbp - 0x14]
cdqe
mov rcx, rax
call fcn.1400b8e20
call fcn.1400bc200
mov qword [rbp + 0x218], rax
jmp 0x140020d0d
nop
call fcn.1400bc050
call fcn.1400bc050
call fcn.1400bc0b0
mov edx, eax
mov rax, qword [rbp - 0x28]
mov r8d, edx
lea rdx, reloc.WS2_32.dll_listen
mov rcx, rax
call fcn.1400b9c90
call fcn.1400bc0b0
mov edx, eax
lea rax, [rbp - 0x28]
mov rcx, rax
call fcn.1400bc290
call fcn.1400bc050
call fcn.1400bc050
call fcn.1400bc0b0
mov edx, eax
mov rax, qword [rbp - 0x28]
mov r9d, edx
lea r8, reloc.WS2_32.dll_ioctlsocket
lea rdx, [0x14068e04c]
mov rcx, rax
call fcn.1400b9870
call fcn.1400bc0b0
mov edx, eax
lea rax, [rbp - 0x28]
mov rcx, rax
call fcn.1400bc290
mov rax, qword [rbp - 0x28]
lea rdx, [0x14068e04c]
mov rcx, rax
call fcn.1400b8f60
mov qword [rbp], rax
cmp qword [rbp], 0
je 0x140020c61
nop
jmp 0x140020bff
nop
call fcn.1400bc050
call fcn.1400bc050
call fcn.1400bc0b0
mov edx, eax
mov rax, qword [rbp - 0x28]
mov r8d, edx
mov edx, 1
mov rcx, rax
call fcn.1400b9fb0
call fcn.1400bc670
call fcn.1400bc190
mov qword [rbp - 8], rax
lea rax, reloc.WS2_32.dll_ioctlsocket
mov qword [rbp - 0x10], rax
mov rdx, qword [rbp - 8]
mov rax, qword [rbp - 0x10]
mov rcx, rax
call fcn.1400bc410
test eax, eax
je 0x140020cee
call fcn.1400bc050
call fcn.1400bc050
call fcn.1400bc0b0
mov edx, eax
mov rax, qword [rbp - 0x28]
mov r8d, edx
mov edx, 2
mov rcx, rax
call fcn.1400b90f0
call fcn.1400bc0b0
mov edx, eax
lea rax, [rbp - 0x28]
mov rcx, rax
call fcn.1400bc290
jmp 0x140020cef
nop
call fcn.1400bc050
mov rax, qword [rbp - 0x28]
mov rcx, rax
call fcn.1400bc470
call fcn.1400bc200
mov qword [rbp + 0x218], rax
nop
mov rax, qword [rbp - 0x28]
mov rcx, rax
call fcn.1400bc370
mov rax, qword [rbp + 0x230]
mov rcx, rax
call fcn.1400bc370
mov rax, qword [rbp - 0x38]
mov rcx, rax
call fcn.1400bc370
mov rax, qword [rbp - 0x50]
mov rcx, rax
call fcn.1400bc370
mov rax, qword [rbp + 0x218]
add rsp, 0x2a0
pop rbp
ret