Function at 0x1400021c0
Capabilities:
Encode data using xor
Query environment variable

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
push rbp
mov rbp, rsp
sub rsp, 0x60
mov rbx, rcx
mov qword [rbp - 0x30], rcx
xor edi, edi
mov eax, dword [str.lwk_]
mov dword [rbp - 0x38], eax
movzx eax, byte [0x140070458]
mov byte [rbp - 0x38], 0x54
xor byte [rbp - 0x37], 0x39
xor byte [rbp - 0x36], 0x3a
xor byte [rbp - 0x35], 0x3b
xor al, 0x3c
mov byte [rbp - 0x34], al
lea rcx, [rbp - 0x38]
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
mov rdx, rax
test rax, rax
jne 0x140002350
mov rax, qword [0x1400707f0]
mov qword [rbp - 0x30], rax
cmp byte [0x1400707f7], dil
je 0x14000234c
cmp dword [0x1400841d8], 2
jl 0x140002317
movdqa xmm4, xmmword [0x140070b40]
movdqa xmm2, xmmword [0x140070ae0]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x140070b00]
psubd xmm2, xmm0
andps xmm2, xmmword [0x140070b10]
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x140070b30]
movd xmm0, dword [rbp - 0x30]
xorps xmm2, xmm0
movd dword [rbp - 0x30], xmm2
movdqa xmm2, xmmword [0x140070af0]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x140070b00]
psubd xmm2, xmm0
andps xmm2, xmmword [0x140070b10]
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x140070b30]
movd xmm0, dword [rbp - 0x2c]
xorps xmm2, xmm0
movd dword [rbp - 0x2c], xmm2
jmp 0x14000234c
lea r8, [rbp - 0x30]
mov ecx, edi
nop dword [rax]
mov eax, 0x4ec4ec4f
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x34
movzx eax, cl
sub al, dl
add al, 0x38
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 8
jl 0x140002320
lea rdx, [rbp - 0x30]
mov eax, dword [str.dUIUS_]
mov dword [rbp - 0x40], eax
movzx ecx, word [0x140070848]
mov word [rbp - 0x3c], cx
movzx eax, byte [0x14007084a]
mov byte [rbp - 0x40], 0x5c
xor byte [rbp - 0x3f], 0x39
xor byte [rbp - 0x3e], 0x3a
xor byte [rbp - 0x3d], 0x3b
xor cl, 0x3c
mov byte [rbp - 0x3c], cl
xor byte [rbp - 0x3b], 0x3d
xor al, 0x3e
mov byte [rbp - 0x3a], al
lea rcx, [rbp - 0x20]
call fcn.14000d170
nop
lea rcx, [rbp - 0x40]
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rcx + r8], 0
jne 0x1400023a0
lea rdx, [rbp - 0x40]
mov rcx, rax
call fcn.14000d7c0
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], rdi
movups xmm0, xmmword [rax]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbx + 0x10], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov rdx, qword [rbp - 8]
cmp rdx, 0xf
jbe 0x14000241f
inc rdx
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000241a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000241a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14005fab0
mov rax, rbx
mov rbx, qword [rsp + 0x78]
mov rdi, qword [rsp + 0x80]
add rsp, 0x60
pop rbp
ret