Function at 0x180128a30
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
push r14
sub rsp, 0x1e0
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x1803fc9f0]
xor rax, rsp
mov qword [rsp + 0x1d0], rax
mov rbx, rdx
mov qword [rsp + 0x50], rdx
xor edi, edi
mov esi, edi
mov dword [rsp + 0x30], edi
lea edx, [rdi + 3]
mov r8d, 0x20019
lea rcx, [rsp + 0x40]
call fcn.1800bbbb0
nop
xor r8d, r8d
lea rdx, [0x180400c50]
lea rcx, [rsp + 0x40]
call fcn.1800bc520
test al, al
je 0x180128d1c
lea edx, [rdi + 3]
mov r8d, 0x20019
lea rcx, [rsp + 0x48]
call fcn.1800bbbb0
nop
mov dword [rsp + 0x20], edi
mov r9d, 0x20019
lea r8, [0x180400c50]
mov rdx, rax
lea rcx, [rsp + 0x38]
call fcn.1800bbcb0
nop
lea rcx, [rsp + 0x48]
call fcn.1800bc950
lea rdx, [0x18001f668]
lea rcx, [rsp + 0x80]
call fcn.1800aaba0
nop
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x38]
call fcn.1800bc670
test al, al
sete r14b
mov rax, qword [rsp + 0x98]
cmp rax, 0x10
jb 0x180128b67
inc rax
mov rcx, qword [rsp + 0x80]
cmp rax, 0x1000
jb 0x180128b62
test cl, 0x1f
je 0x180128b38
call fcn.1802d51b4
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x180128b46
call fcn.1802d51b4
sub rcx, rax
cmp rcx, 8
jae 0x180128b54
call fcn.1802d51b4
cmp rcx, 0x27
jbe 0x180128b5f
call fcn.1802d51b4
mov rcx, rax
call fcn.18011da90
mov qword [rsp + 0x98], socket
mov qword [rsp + 0x90], rdi
mov byte [rsp + 0x80], 0
test r14b, r14b
je 0x180128b8d
jmp 0x180128d11
lea rdx, [0x18001f680]
lea rcx, [rsp + 0xa0]
call fcn.1800aaba0
nop
lea r8, [rsp + 0xa0]
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x38]
call fcn.1800bc100
nop
mov rax, qword [rsp + 0xb8]
cmp rax, 0x10
jb 0x180128c14
inc rax
mov rcx, qword [rsp + 0xa0]
cmp rax, 0x1000
jb 0x180128c0f
test cl, 0x1f
je 0x180128be5
call fcn.1802d51b4
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x180128bf3
call fcn.1802d51b4
sub rcx, rax
cmp rcx, 8
jae 0x180128c01
call fcn.1802d51b4
cmp rcx, 0x27
jbe 0x180128c0c
call fcn.1802d51b4
mov rcx, rax
call fcn.18011da90
mov qword [rsp + 0xb8], socket
mov qword [rsp + 0xb0], rdi
mov byte [rsp + 0xa0], 0
xor edx, edx
mov r8d, 0x104
lea rcx, [rsp + 0xc0]
call fcn.1802c7550
lea rcx, [rsp + 0x60]
call fcn.1800ab970
mov rcx, rax
mov r8d, 0x104
lea rdx, [rsp + 0xc0]
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
test eax, eax
je 0x180128caa
lea rdx, [rsp + 0xc0]
mov rcx, rbx
call fcn.1800aaba0
mov dword [rsp + 0x30], 1
lea rcx, [rsp + 0x60]
call fcn.1800ad110
nop
lea rcx, [rsp + 0x38]
call fcn.1800bc950
nop
lea rcx, [rsp + 0x40]
call fcn.1800bc950
mov rax, rbx
jmp 0x180128d55
mov rax, qword [rsp + 0x78]
cmp rax, 0x10
jb 0x180128cfe
inc rax
mov rcx, qword [rsp + 0x60]
cmp rax, 0x1000
jb 0x180128cf9
test cl, 0x1f
je 0x180128ccf
call fcn.1802d51b4
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x180128cdd
call fcn.1802d51b4
sub rcx, rax
cmp rcx, 8
jae 0x180128ceb
call fcn.1802d51b4
cmp rcx, 0x27
jbe 0x180128cf6
call fcn.1802d51b4
mov rcx, rax
call fcn.18011da90
mov qword [rsp + 0x78], socket
mov qword [rsp + 0x70], rdi
mov byte [rsp + 0x60], 0
lea rcx, [rsp + 0x38]
call fcn.1800bc950
nop
lea rcx, [rsp + 0x40]
call fcn.1800bc950
nop
jmp 0x180128d34
xor eax, eax
mov qword [rbx], rax
mov qword [rbx + 8], rax
mov qword [rbx + 0x18], recv
mov qword [rbx + 0x10], rdi
mov byte [rbx], al
or esi, 1
mov dword [rsp + 0x30], esi
mov rax, rbx
mov rcx, qword [rsp + 0x1d0]
xor rcx, rsp
call fcn.1802b85a0
lea r11, [rsp + 0x1e0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret