Function at 0x14002c81d
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 0x14002c830
sub rsp, 0x28
call fcn.1400c8640
mov rcx, qword [rsp + 0xb0]
call fcn.140070d50
mov rdx, qword [rsp + 0x90]
lea rcx, [rsp + 0x28]
sub rsp, 0x10
call fcn.1400c86e0
add rsp, 0x10
push rcx
sub rsp, 0x28
call fcn.1400c8360
add rsp, 0x28
pop rcx
push rax
sub rsp, 8
push rcx
sub rsp, 0x28
call fcn.1400c8360
add rsp, 0x28
pop rcx
push rax
push 0x1f4
pop rcx
pop rdx
sub rsp, 0x20
call fcn.1400c4eb0
add rsp, 0x28
lea rcx, [rsp + 0x38]
pop rdx
call fcn.1400c8420
push 0x1f4
mov rax, qword [rsp + 0x38]
mov rax, rax
push rax
movabs rax, 0x1401e599a
push rax
pop rcx
pop rdx
pop r8
call sub.KERNEL32.DLL_GetEnvironmentVariableW
mov r15, qword [rsp + 0x98]
and r15, r15
jle 0x14002c989
push rcx
sub rsp, 0x28
call fcn.1400c8360
add rsp, 0x28
pop rcx
push rax
sub rsp, 8
push 0x2e
mov rcx, qword [rsp + 0x48]
push rcx
sub rsp, 0x20
call fcn.1400c8360
add rsp, 0x20
pop rcx
push rax
sub rsp, 0x20
call fcn.1400c83b0
add rsp, 0x20
movabs rcx, 0x1401e1928
sub rsp, 0x20
call fcn.1400c83b0
add rsp, 0x20
call fcn.1400c85c0
push qword [rsp + 0x48]
movabs rax, 0x1401ea964
push rax
push rax
call fcn.1400c8590
mov rdx, rax
pop rax
add qword [rsp + 0x10], rdx
pop rcx
pop rdx
pop r8
pop r9
sub rsp, 0x20
call fcn.140091ae4
add rsp, 0x28
pop rcx
push rax
sub rsp, 0x28
call fcn.140070d50
add rsp, 0x28
pop rax
mov qword [rsp + 0x38], rax
jmp 0x14002ca6f
push rcx
sub rsp, 0x28
call fcn.1400c8360
add rsp, 0x28
pop rcx
push rax
sub rsp, 8
push 0x2e
mov rcx, qword [rsp + 0x48]
push rcx
sub rsp, 0x20
call fcn.1400c8360
add rsp, 0x20
pop rcx
push rax
sub rsp, 0x20
call fcn.1400c83b0
add rsp, 0x20
movabs rcx, 0x1401e1928
sub rsp, 0x20
call fcn.1400c83b0
add rsp, 0x20
call fcn.1400c85c0
mov rcx, qword [rsp + 0x48]
push rcx
sub rsp, 0x28
call fcn.1400c8360
add rsp, 0x28
pop rcx
push rax
sub rsp, 0x28
call fcn.1400c83b0
add rsp, 0x28
movabs rcx, 0x1401deb82
sub rsp, 0x28
call fcn.1400c83b0
add rsp, 0x28
call fcn.1400c85c0
movabs rax, 0x1401ea964
push rax
push rax
call fcn.1400c8590
mov rdx, rax
pop rax
add qword [rsp + 8], rdx
push rax
call fcn.1400c8590
mov rdx, rax
pop rax
add qword [rsp + 0x10], rdx
pop rcx
pop rdx
pop r8
pop r9
sub rsp, 0x20
call fcn.140091ae4
add rsp, 0x28
pop rcx
push rax
sub rsp, 0x28
call fcn.140070d50
add rsp, 0x28
pop rax
mov qword [rsp + 0x38], rax
movabs rdx, 0x1401d4098
lea rcx, [rsp + 0x40]
call fcn.1400c8270
cmp qword [rsp + 0x38], 0
je 0x14002ce94
push 0x9c40
pop rcx
call fcn.1400c6a40
mov qword [rsp + 0x48], rax
push qword [rsp + 0x38]
pop rcx
call fcn.140092054
and rax, rax
je 0x14002ce5e
push qword [rsp + 0x38]
pop rcx
call fcn.1400920bc
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x14002ce24
push qword [rsp + 0x50]
push qword [rsp + 0x50]
push qword [rsp + 0x48]
pop rcx
pop rdx
pop r8
call fcn.1400921cc
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x14002ce24
push rcx
sub rsp, 0x28
call fcn.1400c8360
add rsp, 0x28
pop rcx
push rax
sub rsp, 8
push rcx
sub rsp, 0x28
call fcn.1400c8360
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.1400c6cd0
add rsp, 0x28
lea rcx, [rsp + 0x60]
pop rdx
call fcn.1400c8420
push qword [rsp + 0x58]
pop rcx
call fcn.1400c54a0
mov r15, rax
add r15, 4
mov rax, r15
push rax
pop rcx
call fcn.1400c6a40
mov qword [rsp + 0x60], rax
push qword [rsp + 0x58]
pop rcx
call fcn.1400c54a0
mov r15, rax
add r15, 4
mov rax, r15
push rax
pop rcx
call fcn.1400c6a40
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.1400c6ab0
push qword [rsp + 0x68]
push qword [rsp + 0x68]
pop rcx
pop rdx
call sub.USER32.dll_OemToCharW
mov qword [rsp + 0x70], 0
jmp 0x14002cbb9
push qword [rsp + 0x58]
pop rcx
call fcn.1400c54a0
mov r15, rax
add r15, 4
cmp r15, qword [rsp + 0x70]
jl 0x14002cd75
mov r15, qword [rsp + 0x68]
add r15, qword [rsp + 0x70]
mov rax, r15
push rax
pop rcx
call fcn.1400c6c40
mov r15, rax
cmp r15, 0x6a
jne 0x14002cc1b
mov r15, qword [rsp + 0x68]
add r15, qword [rsp + 0x70]
inc r15
mov rax, r15
push rax
pop rcx
call fcn.1400c6c40
mov r15, rax
cmp r15, 0x26
jne 0x14002cc1b
mov rax, 1
jmp 0x14002cc1e
xor rax, rax
and rax, rax
je 0x14002cc5a
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.1400c6c50
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.1400c6c50
mov r15, qword [rsp + 0x68]
add r15, qword [rsp + 0x70]
mov rax, r15
push rax
pop rcx
call fcn.1400c6c40
mov r15, rax
cmp r15, 0xd9
jne 0x14002cca3
mov r15, qword [rsp + 0x68]
add r15, qword [rsp + 0x70]
inc r15
mov rax, r15
push rax
pop rcx
call fcn.1400c6c40
mov r15, rax
cmp r15, 0x25
jne 0x14002cca3
mov rax, 1
jmp 0x14002cca6
xor rax, rax
and rax, rax
je 0x14002cce2
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.1400c6c50
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.1400c6c50
mov r15, qword [rsp + 0x68]
add r15, qword [rsp + 0x70]
mov rax, r15
push rax
pop rcx
call fcn.1400c6c40
mov r15, rax
cmp r15, 0xcb
jne 0x14002cd2b
mov r15, qword [rsp + 0x68]
add r15, qword [rsp + 0x70]
inc r15
mov rax, r15
push rax
pop rcx
call fcn.1400c6c40
mov r15, rax
cmp r15, 0x25
jne 0x14002cd2b
mov rax, 1
jmp 0x14002cd2e
xor rax, rax
and rax, rax
je 0x14002cd6a
push 9
mov r15, qword [rsp + 0x70]
add r15, qword [rsp + 0x78]
mov rax, r15
push rax
pop rcx
pop rdx
call fcn.1400c6c50
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.1400c6c50
inc qword [rsp + 0x70]
jno 0x14002cbb9
push rcx
sub rsp, 0x28
call fcn.1400c8360
add rsp, 0x28
pop rcx
push rax
sub rsp, 8
push rcx
sub rsp, 0x28
call fcn.1400c8360
add rsp, 0x28
pop rcx
push rax
push qword [rsp + 0x80]
pop rcx
pop rdx
sub rsp, 0x20
call fcn.1400c6c60
add rsp, 0x28
lea rcx, [rsp + 0x60]
pop rdx
call fcn.1400c8420
push qword [rsp + 0x60]
pop rcx
call fcn.1400c6a90
push qword [rsp + 0x68]
pop rcx
call fcn.1400c6a90
mov rcx, qword [rsp + 0x40]
push rcx
sub rsp, 0x28
call fcn.1400c8360
add rsp, 0x28
pop rcx
push rax
sub rsp, 0x28
call fcn.1400c83b0
add rsp, 0x28
mov rcx, qword [rsp + 0x60]
sub rsp, 0x28
call fcn.1400c83b0
add rsp, 0x28
movabs rcx, reloc.WS2_32.dll_listen
sub rsp, 0x28
call fcn.1400c83b0
add rsp, 0x28
lea rcx, [rsp + 0x48]
pop rdx
call fcn.1400c8420
push qword [0x1416813d0]
pop rcx
call fcn.1400a3994
and rax, rax
je 0x14002ce59
call fcn.1400a3f8c
and rax, rax
je 0x14002ce41
jmp 0x14002ce35
call fcn.1400a3f8c
and rax, rax
je 0x14002ce4d
jmp 0x14002ce41
call fcn.1400a3f8c
and rax, rax
je 0x14002ce59
jmp 0x14002ce4d
jmp 0x14002ca9f
push qword [rsp + 0x48]
pop rcx
call fcn.1400c6a90
push qword [rsp + 0x38]
pop rcx
call fcn.14009224c
and rax, rax
je 0x14002ce94
push qword [rsp + 0x38]
pop rcx
call fcn.140092138
mov rax, rax
push rax
pop rax
mov dword [rsp + 0x78], eax
push qword [rsp + 0x38]
pop rcx
call fcn.14009215c
mov r15, qword [rsp + 0x98]
and r15, r15
jle 0x14002cef2
push rcx
sub rsp, 0x28
call fcn.1400c8360
add rsp, 0x28
pop rcx
push rax
sub rsp, 8
push rcx
sub rsp, 0x28
call fcn.1400c8360
add rsp, 0x28
pop rcx
push rax
movsxd rax, dword [rsp + 0x90]
push rax
pop rcx
pop rdx
sub rsp, 0x20
call fcn.1400c5380
add rsp, 0x28
pop rax
push rax
call fcn.1400c8560
pop rdx
add rax, rdx
jmp 0x14002d0aa
push rcx
sub rsp, 0x28
call fcn.1400c8360
add rsp, 0x28
pop rcx
push rax
sub rsp, 8
push rcx
sub rsp, 0x28
call fcn.1400c8360
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.1400c5eb0
add rsp, 0x28
lea rcx, [rsp + 0x48]
pop rdx
call fcn.1400c8420
push rcx
sub rsp, 0x28
call fcn.1400c8360
add rsp, 0x28
pop rcx
push rax
sub rsp, 8
push rcx
sub rsp, 0x28
call fcn.1400c8360
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.1400c5a90
add rsp, 0x28
lea rcx, [rsp + 0x48]
pop rdx
call fcn.1400c8420
movabs rax, reloc.WS2_32.dll_ioctlsocket
push rax
push qword [rsp + 0x48]
pop rcx
pop rdx
call fcn.1400c50f0
mov r15, rax
and r15, r15
jne 0x14002cf41
push rcx
sub rsp, 0x28
call fcn.1400c8360
add rsp, 0x28
pop rcx
push rax
sub rsp, 8
push rcx
sub rsp, 0x28
call fcn.1400c8360
add rsp, 0x28
pop rcx
push rax
push 1
push qword [rsp + 0x60]
pop rcx
pop rdx
pop r8
sub rsp, 0x20
call fcn.1400c6170
add rsp, 0x28
call fcn.1400c85c0
movabs rcx, reloc.WS2_32.dll_ioctlsocket
pop rdx
push rcx
mov rcx, rdx
sub rsp, 0x20
call fcn.1400c8780
add rsp, 0x20
pop rcx
mov rdx, rax
call fcn.1400c8500
or rax, rax
je 0x14002d071
push rcx
sub rsp, 0x28
call fcn.1400c8360
add rsp, 0x28
pop rcx
push rax
sub rsp, 8
push rcx
sub rsp, 0x28
call fcn.1400c8360
add rsp, 0x28
pop rcx
push rax
push 2
push qword [rsp + 0x60]
pop rcx
pop rdx
pop r8
sub rsp, 0x20
call fcn.1400c5280
add rsp, 0x28
lea rcx, [rsp + 0x48]
pop rdx
call fcn.1400c8420
mov rcx, qword [rsp + 0x40]
push rcx
sub rsp, 0x28
call fcn.1400c8360
add rsp, 0x28
pop rcx
push rax
sub rsp, 0x28
call fcn.1400c83b0
add rsp, 0x28
pop rax
push rax
call fcn.1400c8560
pop rdx
add rax, rdx
jmp 0x14002d0aa
push rax
mov rcx, qword [rsp + 0x48]
sub rsp, 0x28
call fcn.1400c86b0
add rsp, 0x28
mov rcx, qword [rsp + 0x30]
sub rsp, 0x28
call fcn.1400c86b0
add rsp, 0x28
mov rcx, qword [rsp + 0x38]
sub rsp, 0x28
call fcn.1400c86b0
add rsp, 0x28
mov rcx, qword [rsp + 0x60]
sub rsp, 0x28
call fcn.1400c86b0
add rsp, 0x28
pop rax
add rsp, 0x80
pop r15
ret