Function at 0x14005b57c
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rcx
push r15
xor rax, rax
push rax
push rax
push rax
push rax
push rax
sub rsp, 0x28
call fcn.1400bd210
mov rcx, qword [rsp + 0x80]
call fcn.140066f00
mov rdx, qword [rsp + 0x60]
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 0x3e8
pop rcx
pop rdx
sub rsp, 0x20
call fcn.1400b9a80
add rsp, 0x28
call fcn.1400bd190
lea rcx, [rsp + 0x38]
pop rdx
call fcn.1400bcff0
push 0x3e8
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
movabs rdx, 0x1401ce09e
lea rcx, [rsp + 0x38]
call fcn.1400bce40
push rcx
sub rsp, 0x28
call fcn.1400bcf30
add rsp, 0x28
pop rcx
push rax
sub rsp, 8
push reloc.WS2_32.dll_ntohl
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 rcx
sub rsp, 0x28
call fcn.1400bcf30
add rsp, 0x28
pop rcx
push rax
movabs rcx, 0x1401d47b2
sub rsp, 0x28
call fcn.1400bcf80
add rsp, 0x28
mov rcx, qword [rsp + 0x50]
sub rsp, 0x28
call fcn.1400bcf80
add rsp, 0x28
call fcn.1400bd190
mov rcx, qword [rsp + 0x58]
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, str.System32cmd.exe
sub rsp, 0x20
call fcn.1400bcf80
add rsp, 0x20
push rax
call fcn.1400bd160
mov rdx, rax
pop rax
add qword [rsp], rdx
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 + 0x40], rax
cmp qword [rsp + 0x40], 0
je 0x14005b85f
push qword [rsp + 0x40]
pop rcx
call fcn.140087ba4
and rax, rax
je 0x14005b855
push qword [rsp + 0x40]
pop rcx
call fcn.140087c0c
and rax, rax
je 0x14005b850
mov rcx, qword [rsp + 0x38]
push rcx
sub rsp, 0x28
call fcn.1400bcf30
add rsp, 0x28
pop rcx
push rax
sub rsp, 0x28
call fcn.1400bcf80
add rsp, 0x28
push rcx
sub rsp, 0x20
call fcn.1400bcf30
add rsp, 0x20
pop rcx
push rax
sub rsp, 8
push rcx
sub rsp, 0x20
call fcn.1400bcf30
add rsp, 0x20
pop rcx
push rax
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 + 0x80]
pop rcx
pop rdx
pop r8
sub rsp, 0x20
call fcn.140087c80
add rsp, 0x28
push rax
call fcn.1400bd160
mov rdx, rax
pop rax
add qword [rsp], rdx
pop rcx
sub rsp, 0x20
call fcn.14002b1bb
add rsp, 0x30
pop rax
movabs rcx, reloc.WS2_32.dll_listen
sub rsp, 0x28
call fcn.1400bcf80
add rsp, 0x28
lea rcx, [rsp + 0x40]
pop rdx
call fcn.1400bcff0
jmp 0x14005b764
push qword [rsp + 0x40]
pop rcx
call fcn.140087cb4
mov rcx, qword [rsp + 0x38]
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 0x14005b898
push rax
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 + 0x40]
sub rsp, 0x28
call fcn.1400bd280
add rsp, 0x28
pop rax
add rsp, 0x50
pop r15
ret