Function at 0x1800019a0
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x3b0]
sub rsp, 0x4b0
mov rax, qword [0x18025ed68]
xor rax, rsp
mov qword [rbp + 0x3a0], rax
mov rbx, rcx
mov qword [rsp + 0x38], rcx
xor edi, edi
mov dword [rsp + 0x30], edi
mov esi, reloc.WS2_32.dll_ntohs
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x50], recv
movsd xmm0, qword [0x1801b5198]
movsd qword [rsp + 0x40], xmm0
mov eax, dword [0x1801b51a0]
mov dword [rsp + 0x48], eax
mov byte [rsp + 0x4c], dil
lea rax, [rsp + 0x40]
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x40]
mov r8d, 0x400
lea rdx, [rbp - 0x60]
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
test eax, eax
jne 0x180001a41
mov qword [rsp + 0x70], rdi
mov qword [rsp + 0x78], rsi
mov byte [rsp + 0x60], al
jmp 0x180001a89
mov eax, eax
cmp rax, 0x400
jae 0x180001df4
mov byte [rbp + rax - 0x60], 0
mov qword [rsp + 0x70], rdi
mov qword [rsp + 0x78], rsi
mov byte [rsp + 0x60], 0
lea rax, [rbp - 0x60]
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rax + r8], 0
jne 0x180001a70
lea rdx, [rbp - 0x60]
lea rcx, [rsp + 0x60]
call fcn.180009840
nop
lea rcx, [rsp + 0x40]
call fcn.180006fc0
nop
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x180001b6c
lea rax, [rsp + 0x60]
mov r8, qword [rsp + 0x60]
mov rdx, qword [rsp + 0x78]
cmp rdx, 0x10
cmovae rax, r8
cmp byte [rcx + rax - 1], 0x5c
je 0x180001b30
mov rax, rdx
sub rax, rcx
cmp rax, 1
jb 0x180001aea
lea rax, [rcx + 1]
mov qword [rsp + 0x70], rax
lea rax, [rsp + 0x60]
cmp rdx, 0x10
cmovae rax, r8
mov word [rax + rcx], 0x5c
jmp 0x180001b30
mov qword [rsp + 0x20], 1
lea r9, [0x1801b50c4]
xor r8d, r8d
lea edx, [r8 + 1]
lea rcx, [rsp + 0x60]
call fcn.180005920
lea rcx, [rsp + 0x60]
cmp rcx, rax
je 0x180001b30
mov rdx, rax
cmp qword [rax + 0x18], 0x10
jb 0x180001b22
mov rdx, qword [rax]
mov r8, qword [rax + 0x10]
lea rcx, [rsp + 0x60]
call fcn.180009840
movups xmm0, xmmword [rsp + 0x60]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rsp + 0x70]
movups xmmword [rbx + 0x10], xmm1
mov rax, rbx
mov rcx, qword [rbp + 0x3a0]
xor rcx, rsp
call fcn.18015d5d0
lea r11, [rsp + 0x4b0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
mov qword [rbp - 0x70], rdi
mov qword [rbp - 0x68], rsi
mov byte [rbp - 0x80], 0
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x58], rsi
mov byte [rsp + 0x40], 0
mov dword [rsp + 0x30], 6
xor edx, edx
mov r8d, 0x104
lea rcx, [rbp - 0x60]
call fcn.18017baa0
mov r8d, 0x104
lea rdx, [rbp - 0x60]
lea rcx, [0x180000000]
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea rax, [rbp - 0x60]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x180001bc2
lea rdx, [rbp - 0x60]
lea rcx, [rsp + 0x40]
call fcn.180009840
mov rdx, qword [rbp - 0x68]
cmp rdx, 0x10
jb 0x180001c15
inc rdx
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180001c10
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180001dfa
call fcn.18015ce94
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rbp - 0x80], xmm0
movups xmm1, xmmword [rsp + 0x50]
movups xmmword [rbp - 0x70], xmm1
lea rcx, [rbp - 0x80]
movq r9, xmm0
movdqa xmm0, xmm1
psrldq xmm0, 8
movq r10, xmm0
cmp r10, 0x10
cmovae rcx, r9
movq rdx, xmm1
cmp rdx, 1
jb 0x180001c81
lea rax, [rdx - 1]
mov r8, 0xffffffffffffffff
cmp rax, r8
cmovb r8, rax
add r8, rcx
cmp byte [r8], 0x5c
jne 0x180001c72
mov eax, edi
test eax, eax
je 0x180001c7c
cmp r8, rcx
je 0x180001c81
dec r8
jmp 0x180001c66
sub r8, rcx
jmp 0x180001c88
mov r8, 0xffffffffffffffff
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x58], rsi
mov byte [rsp + 0x40], 0
cmp rdx, r8
cmovb r8, rdx
lea rdx, [rbp - 0x80]
cmp r10, 0x10
cmovae rdx, r9
lea rcx, [rsp + 0x40]
call fcn.180009840
nop
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x58]
mov rax, rdx
sub rax, rcx
cmp rax, 1
jb 0x180001cf0
lea rax, [rcx + 1]
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x40]
cmp rdx, 0x10
cmovae rax, qword [rsp + 0x40]
mov word [rax + rcx], 0x5c
lea rax, [rsp + 0x40]
jmp 0x180001d11
mov qword [rsp + 0x20], 1
lea r9, [0x1801b51a8]
xor r8d, r8d
lea edx, [r8 + 1]
lea rcx, [rsp + 0x40]
call fcn.180005920
mov rdx, rax
mov rcx, rbx
call fcn.180006480
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 0x10
jb 0x180001d5a
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180001d55
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180001e00
call fcn.18015ce94
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x58], rsi
mov byte [rsp + 0x40], 0
mov rdx, qword [rbp - 0x68]
cmp rdx, 0x10
jb 0x180001da0
inc rdx
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180001d9b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180001e06
call fcn.18015ce94
mov qword [rbp - 0x70], rdi
mov qword [rbp - 0x68], rsi
mov byte [rbp - 0x80], 0
mov rdx, qword [rsp + 0x78]
cmp rdx, 0x10
jb 0x180001b41
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180001de4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180001dee
call fcn.18015ce94
jmp 0x180001b41
call fcn.18018023c
nop
call fcn.18015d32c
nop
call fcn.18018023c
nop
call fcn.18018023c
nop
call fcn.18018023c
int3