Function at 0x1400241e6
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
push r15
mov rax, reloc.WS2_32.dll_inet_addr
sub rsp, 8
mov qword [rsp], 0
dec rax
jne 0x1400241f9
sub rsp, 0x28
call fcn.1400bd210
mov rcx, qword [rsp + 0xb0]
call fcn.140066f00
mov rdx, qword [rsp + 0x90]
lea rcx, [rsp + 0x28]
sub rsp, 0x10
call fcn.1400bd2b0
add rsp, 0x10
push rcx
sub rsp, 0x28
call fcn.1400bcf30
add rsp, 0x28
pop rcx
push rax
sub rsp, 8
push rcx
sub rsp, 0x28
call fcn.1400bcf30
add rsp, 0x28
pop rcx
push rax
push 0x1f4
pop rcx
pop rdx
sub rsp, 0x20
call fcn.1400b9a80
add rsp, 0x28
lea rcx, [rsp + 0x38]
pop rdx
call fcn.1400bcff0
push 0x1f4
mov rax, qword [rsp + 0x38]
mov rax, rax
push rax
movabs rax, 0x1401df2c8
push rax
pop rcx
pop rdx
pop r8
call sub.KERNEL32.dll_GetEnvironmentVariableW
mov r15, qword [rsp + 0x98]
and r15, r15
jle 0x140024352
push rcx
sub rsp, 0x28
call fcn.1400bcf30
add rsp, 0x28
pop rcx
push rax
sub rsp, 8
push 0x2e
mov rcx, qword [rsp + 0x48]
push rcx
sub rsp, 0x20
call fcn.1400bcf30
add rsp, 0x20
pop rcx
push rax
sub rsp, 0x20
call fcn.1400bcf80
add rsp, 0x20
movabs rcx, 0x1401db4e6
sub rsp, 0x20
call fcn.1400bcf80
add rsp, 0x20
call fcn.1400bd190
push qword [rsp + 0x48]
movabs rax, str.wmic.exe
push rax
push rax
call fcn.1400bd160
mov rdx, rax
pop rax
add qword [rsp + 0x10], rdx
pop rcx
pop rdx
pop r8
pop r9
sub rsp, 0x20
call fcn.140087624
add rsp, 0x28
pop rcx
push rax
sub rsp, 0x28
call fcn.140066f00
add rsp, 0x28
pop rax
mov qword [rsp + 0x38], rax
jmp 0x140024438
push rcx
sub rsp, 0x28
call fcn.1400bcf30
add rsp, 0x28
pop rcx
push rax
sub rsp, 8
push 0x2e
mov rcx, qword [rsp + 0x48]
push rcx
sub rsp, 0x20
call fcn.1400bcf30
add rsp, 0x20
pop rcx
push rax
sub rsp, 0x20
call fcn.1400bcf80
add rsp, 0x20
movabs rcx, 0x1401db4e6
sub rsp, 0x20
call fcn.1400bcf80
add rsp, 0x20
call fcn.1400bd190
mov rcx, qword [rsp + 0x48]
push rcx
sub rsp, 0x28
call fcn.1400bcf30
add rsp, 0x28
pop rcx
push rax
sub rsp, 0x28
call fcn.1400bcf80
add rsp, 0x28
movabs rcx, str.__FORMAT:List
sub rsp, 0x28
call fcn.1400bcf80
add rsp, 0x28
call fcn.1400bd190
movabs rax, str.wmic.exe
push rax
push rax
call fcn.1400bd160
mov rdx, rax
pop rax
add qword [rsp + 8], rdx
push rax
call fcn.1400bd160
mov rdx, rax
pop rax
add qword [rsp + 0x10], rdx
pop rcx
pop rdx
pop r8
pop r9
sub rsp, 0x20
call fcn.140087624
add rsp, 0x28
pop rcx
push rax
sub rsp, 0x28
call fcn.140066f00
add rsp, 0x28
pop rax
mov qword [rsp + 0x38], rax
movabs rdx, 0x1401ce09e
lea rcx, [rsp + 0x40]
call fcn.1400bce40
cmp qword [rsp + 0x38], 0
je 0x14002485d
push 0x9c40
pop rcx
call fcn.1400bb600
mov qword [rsp + 0x48], rax
push qword [rsp + 0x38]
pop rcx
call fcn.140087ba4
and rax, rax
je 0x140024827
push qword [rsp + 0x38]
pop rcx
call fcn.140087c0c
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x1400247ed
push qword [rsp + 0x50]
push qword [rsp + 0x50]
push qword [rsp + 0x48]
pop rcx
pop rdx
pop r8
call fcn.140087d24
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x1400247ed
push rcx
sub rsp, 0x28
call fcn.1400bcf30
add rsp, 0x28
pop rcx
push rax
sub rsp, 8
push rcx
sub rsp, 0x28
call fcn.1400bcf30
add rsp, 0x28
pop rcx
push rax
push SafeArrayPutElement
push qword [rsp + 0x70]
push qword [rsp + 0x70]
pop rcx
pop rdx
pop r8
pop r9
sub rsp, 0x20
call fcn.1400bb890
add rsp, 0x28
lea rcx, [rsp + 0x60]
pop rdx
call fcn.1400bcff0
push qword [rsp + 0x58]
pop rcx
call fcn.1400ba040
mov r15, rax
add r15, 4
mov rax, r15
push rax
pop rcx
call fcn.1400bb600
mov qword [rsp + 0x60], rax
push qword [rsp + 0x58]
pop rcx
call fcn.1400ba040
mov r15, rax
add r15, 4
mov rax, r15
push rax
pop rcx
call fcn.1400bb600
mov qword [rsp + 0x68], rax
push SafeArrayPutElement
push 0xffffffffffffffff
push qword [rsp + 0x68]
push qword [rsp + 0x78]
pop rcx
pop rdx
pop r8
pop r9
call fcn.1400bb670
push qword [rsp + 0x68]
push qword [rsp + 0x68]
pop rcx
pop rdx
call sub.USER32.dll_OemToCharW
mov qword [rsp + 0x70], 0
jmp 0x140024582
push qword [rsp + 0x58]
pop rcx
call fcn.1400ba040
mov r15, rax
add r15, 4
cmp r15, qword [rsp + 0x70]
jl 0x14002473e
mov r15, qword [rsp + 0x68]
add r15, qword [rsp + 0x70]
mov rax, r15
push rax
pop rcx
call fcn.1400bb800
mov r15, rax
cmp r15, 0x6a
jne 0x1400245e4
mov r15, qword [rsp + 0x68]
add r15, qword [rsp + 0x70]
inc r15
mov rax, r15
push rax
pop rcx
call fcn.1400bb800
mov r15, rax
cmp r15, 0x26
jne 0x1400245e4
mov rax, 1
jmp 0x1400245e7
xor rax, rax
and rax, rax
je 0x140024623
push reloc.WS2_32.dll_listen
mov r15, qword [rsp + 0x70]
add r15, qword [rsp + 0x78]
mov rax, r15
push rax
pop rcx
pop rdx
call fcn.1400bb810
push 0
mov r15, qword [rsp + 0x70]
add r15, qword [rsp + 0x78]
inc r15
mov rax, r15
push rax
pop rcx
pop rdx
call fcn.1400bb810
mov r15, qword [rsp + 0x68]
add r15, qword [rsp + 0x70]
mov rax, r15
push rax
pop rcx
call fcn.1400bb800
mov r15, rax
cmp r15, 0xd9
jne 0x14002466c
mov r15, qword [rsp + 0x68]
add r15, qword [rsp + 0x70]
inc r15
mov rax, r15
push rax
pop rcx
call fcn.1400bb800
mov r15, rax
cmp r15, 0x25
jne 0x14002466c
mov rax, 1
jmp 0x14002466f
xor rax, rax
and rax, rax
je 0x1400246ab
push reloc.WS2_32.dll_ioctlsocket
mov r15, qword [rsp + 0x70]
add r15, qword [rsp + 0x78]
mov rax, r15
push rax
pop rcx
pop rdx
call fcn.1400bb810
push 0
mov r15, qword [rsp + 0x70]
add r15, qword [rsp + 0x78]
inc r15
mov rax, r15
push rax
pop rcx
pop rdx
call fcn.1400bb810
mov r15, qword [rsp + 0x68]
add r15, qword [rsp + 0x70]
mov rax, r15
push rax
pop rcx
call fcn.1400bb800
mov r15, rax
cmp r15, 0xcb
jne 0x1400246f4
mov r15, qword [rsp + 0x68]
add r15, qword [rsp + 0x70]
inc r15
mov rax, r15
push rax
pop rcx
call fcn.1400bb800
mov r15, rax
cmp r15, 0x25
jne 0x1400246f4
mov rax, 1
jmp 0x1400246f7
xor rax, rax
and rax, rax
je 0x140024733
push 9
mov r15, qword [rsp + 0x70]
add r15, qword [rsp + 0x78]
mov rax, r15
push rax
pop rcx
pop rdx
call fcn.1400bb810
push 0
mov r15, qword [rsp + 0x70]
add r15, qword [rsp + 0x78]
inc r15
mov rax, r15
push rax
pop rcx
pop rdx
call fcn.1400bb810
inc qword [rsp + 0x70]
jno 0x140024582
push rcx
sub rsp, 0x28
call fcn.1400bcf30
add rsp, 0x28
pop rcx
push rax
sub rsp, 8
push rcx
sub rsp, 0x28
call fcn.1400bcf30
add rsp, 0x28
pop rcx
push rax
push qword [rsp + 0x80]
pop rcx
pop rdx
sub rsp, 0x20
call fcn.1400bb820
add rsp, 0x28
lea rcx, [rsp + 0x60]
pop rdx
call fcn.1400bcff0
push qword [rsp + 0x60]
pop rcx
call fcn.1400bb650
push qword [rsp + 0x68]
pop rcx
call fcn.1400bb650
mov rcx, qword [rsp + 0x40]
push rcx
sub rsp, 0x28
call fcn.1400bcf30
add rsp, 0x28
pop rcx
push rax
sub rsp, 0x28
call fcn.1400bcf80
add rsp, 0x28
mov rcx, qword [rsp + 0x60]
sub rsp, 0x28
call fcn.1400bcf80
add rsp, 0x28
movabs rcx, reloc.WS2_32.dll_listen
sub rsp, 0x28
call fcn.1400bcf80
add rsp, 0x28
lea rcx, [rsp + 0x48]
pop rdx
call fcn.1400bcff0
push qword [0x14079fb4c]
pop rcx
call fcn.140099af0
and rax, rax
je 0x140024822
call fcn.14009a0e8
and rax, rax
je 0x14002480a
jmp 0x1400247fe
call fcn.14009a0e8
and rax, rax
je 0x140024816
jmp 0x14002480a
call fcn.14009a0e8
and rax, rax
je 0x140024822
jmp 0x140024816
jmp 0x140024468
push qword [rsp + 0x48]
pop rcx
call fcn.1400bb650
push qword [rsp + 0x38]
pop rcx
call fcn.140087da4
and rax, rax
je 0x14002485d
push qword [rsp + 0x38]
pop rcx
call fcn.140087c90
mov rax, rax
push rax
pop rax
mov dword [rsp + 0x78], eax
push qword [rsp + 0x38]
pop rcx
call fcn.140087cb4
mov r15, qword [rsp + 0x98]
and r15, r15
jle 0x1400248bb
push rcx
sub rsp, 0x28
call fcn.1400bcf30
add rsp, 0x28
pop rcx
push rax
sub rsp, 8
push rcx
sub rsp, 0x28
call fcn.1400bcf30
add rsp, 0x28
pop rcx
push rax
movsxd rax, dword [rsp + 0x90]
push rax
pop rcx
pop rdx
sub rsp, 0x20
call fcn.1400b9f50
add rsp, 0x28
pop rax
push rax
call fcn.1400bd130
pop rdx
add rax, rdx
jmp 0x140024a73
push rcx
sub rsp, 0x28
call fcn.1400bcf30
add rsp, 0x28
pop rcx
push rax
sub rsp, 8
push rcx
sub rsp, 0x28
call fcn.1400bcf30
add rsp, 0x28
pop rcx
push rax
movabs rax, reloc.WS2_32.dll_listen
push rax
push qword [rsp + 0x60]
pop rcx
pop rdx
pop r8
sub rsp, 0x20
call fcn.1400ba500
add rsp, 0x28
lea rcx, [rsp + 0x48]
pop rdx
call fcn.1400bcff0
push rcx
sub rsp, 0x28
call fcn.1400bcf30
add rsp, 0x28
pop rcx
push rax
sub rsp, 8
push rcx
sub rsp, 0x28
call fcn.1400bcf30
add rsp, 0x28
pop rcx
push rax
movabs rax, reloc.WS2_32.dll_ioctlsocket
push rax
movabs rax, reloc.WS2_32.dll_ioctlsocket
push rax
push qword [rsp + 0x68]
pop rcx
pop rdx
pop r8
pop r9
sub rsp, 0x20
call fcn.1400ba7c0
add rsp, 0x28
lea rcx, [rsp + 0x48]
pop rdx
call fcn.1400bcff0
movabs rax, reloc.WS2_32.dll_ioctlsocket
push rax
push qword [rsp + 0x48]
pop rcx
pop rdx
call fcn.1400b9cc0
mov r15, rax
and r15, r15
jne 0x14002490a
push rcx
sub rsp, 0x28
call fcn.1400bcf30
add rsp, 0x28
pop rcx
push rax
sub rsp, 8
push rcx
sub rsp, 0x28
call fcn.1400bcf30
add rsp, 0x28
pop rcx
push rax
push 1
push qword [rsp + 0x60]
pop rcx
pop rdx
pop r8
sub rsp, 0x20
call fcn.1400ba460
add rsp, 0x28
call fcn.1400bd190
movabs rcx, reloc.WS2_32.dll_ioctlsocket
pop rdx
push rcx
mov rcx, rdx
sub rsp, 0x20
call fcn.1400bd350
add rsp, 0x20
pop rcx
mov rdx, rax
call fcn.1400bd0d0
or rax, rax
je 0x140024a3a
push rcx
sub rsp, 0x28
call fcn.1400bcf30
add rsp, 0x28
pop rcx
push rax
sub rsp, 8
push rcx
sub rsp, 0x28
call fcn.1400bcf30
add rsp, 0x28
pop rcx
push rax
push 2
push qword [rsp + 0x60]
pop rcx
pop rdx
pop r8
sub rsp, 0x20
call fcn.1400b9e50
add rsp, 0x28
lea rcx, [rsp + 0x48]
pop rdx
call fcn.1400bcff0
mov rcx, qword [rsp + 0x40]
push rcx
sub rsp, 0x28
call fcn.1400bcf30
add rsp, 0x28
pop rcx
push rax
sub rsp, 0x28
call fcn.1400bcf80
add rsp, 0x28
pop rax
push rax
call fcn.1400bd130
pop rdx
add rax, rdx
jmp 0x140024a73
push rax
mov rcx, qword [rsp + 0x48]
sub rsp, 0x28
call fcn.1400bd280
add rsp, 0x28
mov rcx, qword [rsp + 0x30]
sub rsp, 0x28
call fcn.1400bd280
add rsp, 0x28
mov rcx, qword [rsp + 0x38]
sub rsp, 0x28
call fcn.1400bd280
add rsp, 0x28
mov rcx, qword [rsp + 0x60]
sub rsp, 0x28
call fcn.1400bd280
add rsp, 0x28
pop rax
add rsp, 0x80
pop r15
ret