Function at 0x140007f39
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 0x140007f4c
sub rsp, 0x28
call fcn.14003de50
mov rcx, qword [rsp + 0xb0]
call fcn.14001f040
mov rdx, qword [rsp + 0x90]
lea rcx, [rsp + 0x28]
sub rsp, 0x10
call fcn.14003dec0
add rsp, 0x10
push rcx
sub rsp, 0x28
call fcn.14003dba0
add rsp, 0x28
pop rcx
push rax
sub rsp, 8
push rcx
sub rsp, 0x28
call fcn.14003dba0
add rsp, 0x28
pop rcx
push rax
push 0x1f4
pop rcx
pop rdx
sub rsp, 0x20
call fcn.14003a900
add rsp, 0x28
lea rcx, [rsp + 0x38]
pop rdx
call fcn.14003dc60
push 0x1f4
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 r15, qword [rsp + 0x98]
and r15, r15
jle 0x1400080a5
push rcx
sub rsp, 0x28
call fcn.14003dba0
add rsp, 0x28
pop rcx
push rax
sub rsp, 8
push 0x2e
mov rcx, qword [rsp + 0x48]
push rcx
sub rsp, 0x20
call fcn.14003dba0
add rsp, 0x20
pop rcx
push rax
sub rsp, 0x20
call fcn.14003dbf0
add rsp, 0x20
movabs rcx, str.System32
sub rsp, 0x20
call fcn.14003dbf0
add rsp, 0x20
call fcn.14003df90
push qword [rsp + 0x48]
movabs rax, str.wmic.exe
push rax
push rax
call fcn.14003dd70
mov rdx, rax
pop rax
add qword [rsp + 0x10], rdx
pop rcx
pop rdx
pop r8
pop r9
sub rsp, 0x20
call fcn.1400212c8
add rsp, 0x28
pop rcx
push rax
sub rsp, 0x28
call fcn.14001f040
add rsp, 0x28
pop rax
mov qword [rsp + 0x38], rax
jmp 0x14000818b
push rcx
sub rsp, 0x28
call fcn.14003dba0
add rsp, 0x28
pop rcx
push rax
sub rsp, 8
push 0x2e
mov rcx, qword [rsp + 0x48]
push rcx
sub rsp, 0x20
call fcn.14003dba0
add rsp, 0x20
pop rcx
push rax
sub rsp, 0x20
call fcn.14003dbf0
add rsp, 0x20
movabs rcx, str.System32
sub rsp, 0x20
call fcn.14003dbf0
add rsp, 0x20
call fcn.14003df90
mov rcx, qword [rsp + 0x48]
push rcx
sub rsp, 0x28
call fcn.14003dba0
add rsp, 0x28
pop rcx
push rax
sub rsp, 0x28
call fcn.14003dbf0
add rsp, 0x28
movabs rcx, str.__FORMAT:List
sub rsp, 0x28
call fcn.14003dbf0
add rsp, 0x28
call fcn.14003df90
movabs rax, str.wmic.exe
push rax
push rax
call fcn.14003dd70
mov rdx, rax
pop rax
add qword [rsp + 8], rdx
push rax
call fcn.14003dd70
mov rdx, rax
pop rax
add qword [rsp + 0x10], rdx
pop rcx
pop rdx
pop r8
pop r9
sub rsp, 0x20
call fcn.1400212c8
add rsp, 0x28
pop rcx
push rax
sub rsp, 0x28
call fcn.14001f040
add rsp, 0x28
pop rax
mov qword [rsp + 0x38], rax
movabs rdx, 0x1400f1028
lea rcx, [rsp + 0x40]
call fcn.14003dab0
cmp qword [rsp + 0x38], 0
je 0x14000857e
push 0x9c40
pop rcx
call fcn.14003c2c0
mov qword [rsp + 0x58], rax
push qword [rsp + 0x38]
pop rcx
call fcn.140021850
and rax, rax
je 0x140008548
push qword [rsp + 0x38]
pop rcx
call fcn.1400218b8
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
je 0x140008543
push qword [rsp + 0x48]
push qword [rsp + 0x60]
push qword [rsp + 0x48]
pop rcx
pop rdx
pop r8
call fcn.1400219fc
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
je 0x140008543
push rcx
sub rsp, 0x28
call fcn.14003dba0
add rsp, 0x28
pop rcx
push rax
sub rsp, 8
push rcx
sub rsp, 0x28
call fcn.14003dba0
add rsp, 0x28
pop rcx
push rax
push SafeArrayPutElement
push qword [rsp + 0x68]
push qword [rsp + 0x80]
pop rcx
pop rdx
pop r8
pop r9
sub rsp, 0x20
call fcn.14003c550
add rsp, 0x28
lea rcx, [rsp + 0x58]
pop rdx
call fcn.14003dc60
push qword [rsp + 0x50]
pop rcx
call fcn.14003ae00
mov r15, rax
add r15, 4
mov rax, r15
push rax
pop rcx
call fcn.14003c2c0
mov qword [rsp + 0x60], rax
push qword [rsp + 0x50]
pop rcx
call fcn.14003ae00
mov r15, rax
add r15, 4
mov rax, r15
push rax
pop rcx
call fcn.14003c2c0
mov qword [rsp + 0x68], rax
push SafeArrayPutElement
push 0xffffffffffffffff
push qword [rsp + 0x60]
push qword [rsp + 0x78]
pop rcx
pop rdx
pop r8
pop r9
call fcn.14003c310
push qword [rsp + 0x68]
push qword [rsp + 0x68]
pop rcx
pop rdx
call sub.USER32.dll_OemToCharW
mov qword [rsp + 0x70], 0
jmp 0x1400082d8
push qword [rsp + 0x50]
pop rcx
call fcn.14003ae00
mov r15, rax
add r15, 4
cmp r15, qword [rsp + 0x70]
jl 0x140008494
mov r15, qword [rsp + 0x68]
add r15, qword [rsp + 0x70]
mov rax, r15
push rax
pop rcx
call fcn.14003c4a0
mov r15, rax
cmp r15, 0x6a
jne 0x14000833a
mov r15, qword [rsp + 0x68]
add r15, qword [rsp + 0x70]
inc r15
mov rax, r15
push rax
pop rcx
call fcn.14003c4a0
mov r15, rax
cmp r15, 0x26
jne 0x14000833a
mov rax, 1
jmp 0x14000833d
xor rax, rax
and rax, rax
je 0x140008379
push recvfrom
mov r15, qword [rsp + 0x70]
add r15, qword [rsp + 0x78]
mov rax, r15
push rax
pop rcx
pop rdx
call fcn.14003c4b0
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.14003c4b0
mov r15, qword [rsp + 0x68]
add r15, qword [rsp + 0x70]
mov rax, r15
push rax
pop rcx
call fcn.14003c4a0
mov r15, rax
cmp r15, 0xd9
jne 0x1400083c2
mov r15, qword [rsp + 0x68]
add r15, qword [rsp + 0x70]
inc r15
mov rax, r15
push rax
pop rcx
call fcn.14003c4a0
mov r15, rax
cmp r15, 0x25
jne 0x1400083c2
mov rax, 1
jmp 0x1400083c5
xor rax, rax
and rax, rax
je 0x140008401
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.14003c4b0
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.14003c4b0
mov r15, qword [rsp + 0x68]
add r15, qword [rsp + 0x70]
mov rax, r15
push rax
pop rcx
call fcn.14003c4a0
mov r15, rax
cmp r15, 0xcb
jne 0x14000844a
mov r15, qword [rsp + 0x68]
add r15, qword [rsp + 0x70]
inc r15
mov rax, r15
push rax
pop rcx
call fcn.14003c4a0
mov r15, rax
cmp r15, 0x25
jne 0x14000844a
mov rax, 1
jmp 0x14000844d
xor rax, rax
and rax, rax
je 0x140008489
push 9
mov r15, qword [rsp + 0x70]
add r15, qword [rsp + 0x78]
mov rax, r15
push rax
pop rcx
pop rdx
call fcn.14003c4b0
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.14003c4b0
inc qword [rsp + 0x70]
jno 0x1400082d8
push rcx
sub rsp, 0x28
call fcn.14003dba0
add rsp, 0x28
pop rcx
push rax
sub rsp, 8
push rcx
sub rsp, 0x28
call fcn.14003dba0
add rsp, 0x28
pop rcx
push rax
push qword [rsp + 0x80]
pop rcx
pop rdx
sub rsp, 0x20
call fcn.14003c4c0
add rsp, 0x28
lea rcx, [rsp + 0x58]
pop rdx
call fcn.14003dc60
push qword [rsp + 0x60]
pop rcx
call fcn.14003c530
push qword [rsp + 0x68]
pop rcx
call fcn.14003c530
mov rcx, qword [rsp + 0x40]
push rcx
sub rsp, 0x28
call fcn.14003dba0
add rsp, 0x28
pop rcx
push rax
sub rsp, 0x28
call fcn.14003dbf0
add rsp, 0x28
mov rcx, qword [rsp + 0x58]
sub rsp, 0x28
call fcn.14003dbf0
add rsp, 0x28
movabs rcx, 0x1400f4686
sub rsp, 0x28
call fcn.14003dbf0
add rsp, 0x28
lea rcx, [rsp + 0x48]
pop rdx
call fcn.14003dc60
jmp 0x1400081bb
push qword [rsp + 0x58]
pop rcx
call fcn.14003c530
push qword [rsp + 0x38]
pop rcx
call fcn.14002193c
and rax, rax
je 0x14000857e
push qword [rsp + 0x38]
pop rcx
call fcn.140021a7c
mov rax, rax
push rax
pop rax
mov dword [rsp + 0x78], eax
push qword [rsp + 0x38]
pop rcx
call fcn.14002198c
mov r15, qword [rsp + 0x98]
and r15, r15
jle 0x1400085dc
push rcx
sub rsp, 0x28
call fcn.14003dba0
add rsp, 0x28
pop rcx
push rax
sub rsp, 8
push rcx
sub rsp, 0x28
call fcn.14003dba0
add rsp, 0x28
pop rcx
push rax
movsxd rax, dword [rsp + 0x90]
push rax
pop rcx
pop rdx
sub rsp, 0x20
call fcn.14003ae30
add rsp, 0x28
pop rax
push rax
call fcn.14003dd40
pop rdx
add rax, rdx
jmp 0x1400087f0
push rcx
sub rsp, 0x28
call fcn.14003dba0
add rsp, 0x28
pop rcx
push rax
sub rsp, 8
push rcx
sub rsp, 0x28
call fcn.14003dba0
add rsp, 0x28
pop rcx
push rax
movabs rax, 0x1400f107e
push rax
push qword [rsp + 0x60]
pop rcx
pop rdx
pop r8
sub rsp, 0x20
call fcn.14003b450
add rsp, 0x28
lea rcx, [rsp + 0x48]
pop rdx
call fcn.14003dc60
push rcx
sub rsp, 0x28
call fcn.14003dba0
add rsp, 0x28
pop rcx
push rax
sub rsp, 8
push rcx
sub rsp, 0x28
call fcn.14003dba0
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.14003b710
add rsp, 0x28
lea rcx, [rsp + 0x48]
pop rdx
call fcn.14003dc60
movabs rax, reloc.WS2_32.dll_ioctlsocket
push rax
push qword [rsp + 0x48]
pop rcx
pop rdx
call fcn.14003a9f0
mov r15, rax
and r15, r15
jne 0x14000862b
push rcx
sub rsp, 0x28
call fcn.14003dba0
add rsp, 0x28
pop rcx
push rax
sub rsp, 8
push rcx
sub rsp, 0x28
call fcn.14003dba0
add rsp, 0x28
pop rcx
push rax
push 1
push qword [rsp + 0x60]
pop rcx
pop rdx
pop r8
sub rsp, 0x20
call fcn.14003b3b0
add rsp, 0x28
call fcn.14003df90
movabs rcx, reloc.WS2_32.dll_ioctlsocket
pop rdx
push rcx
mov rcx, rdx
sub rsp, 0x20
call fcn.14003dfc0
add rsp, 0x20
pop rcx
mov rdx, rax
call fcn.14003dda0
or rax, rax
je 0x14000875b
push rcx
sub rsp, 0x28
call fcn.14003dba0
add rsp, 0x28
pop rcx
push rax
sub rsp, 8
push rcx
sub rsp, 0x28
call fcn.14003dba0
add rsp, 0x28
pop rcx
push rax
push 2
push qword [rsp + 0x60]
pop rcx
pop rdx
pop r8
sub rsp, 0x20
call fcn.14003bb30
add rsp, 0x28
lea rcx, [rsp + 0x48]
pop rdx
call fcn.14003dc60
push rcx
sub rsp, 0x28
call fcn.14003dba0
add rsp, 0x28
pop rcx
push rax
sub rsp, 8
push rcx
sub rsp, 0x28
call fcn.14003dba0
add rsp, 0x28
pop rcx
push rax
movabs rax, 0x1400f1028
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.14003b710
add rsp, 0x28
lea rcx, [rsp + 0x48]
pop rdx
call fcn.14003dc60
mov rcx, qword [rsp + 0x40]
push rcx
sub rsp, 0x28
call fcn.14003dba0
add rsp, 0x28
pop rcx
push rax
sub rsp, 0x28
call fcn.14003dbf0
add rsp, 0x28
pop rax
push rax
call fcn.14003dd40
pop rdx
add rax, rdx
jmp 0x1400087f0
push rax
mov rcx, qword [rsp + 0x48]
sub rsp, 0x28
call fcn.14003df60
add rsp, 0x28
mov rcx, qword [rsp + 0x30]
sub rsp, 0x28
call fcn.14003df60
add rsp, 0x28
mov rcx, qword [rsp + 0x38]
sub rsp, 0x28
call fcn.14003df60
add rsp, 0x28
mov rcx, qword [rsp + 0x58]
sub rsp, 0x28
call fcn.14003df60
add rsp, 0x28
pop rax
add rsp, 0x80
pop r15
ret