Function at 0x14001cf30
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rdi
push r12
sub rsp, 0xc0
mov rax, qword [0x1400ae080]
xor rax, rsp
mov qword [rsp + 0x50], rax
lea rcx, str.ntdll.dll
mov dword [rsp + 0x48], 0
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, str.NtQueryObject
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r12d, 4
lea r8, [rsp + 0x48]
mov rdi, rax
mov r9d, r12d
lea rax, [rsp + 0x48]
xor ecx, ecx
mov qword [rsp + 0x20], rax
lea edx, [r12 - 1]
call rdi
mov edx, dword [rsp + 0x48]
mov r9d, r12d
xor ecx, ecx
mov r8d, 0x3000
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rbx, rax
test rax, rax
je 0x14001d283
mov r9d, dword [rsp + 0x48]
mov r8, rbx
mov qword [rsp + 0xe0], rbp
mov edx, 3
mov qword [rsp + 0xe8], rsi
mov rcx, 0xffffffffffffffff
mov qword [rsp + 0xf0], r13
mov qword [rsp + 0xf8], r15
movaps xmmword [rsp + 0xb0], xmm6
movaps xmmword [rsp + 0xa0], xmm7
movaps xmmword [rsp + 0x90], xmm8
movaps xmmword [rsp + 0x80], xmm9
movaps xmmword [rsp + 0x70], xmm10
movaps xmmword [rsp + 0x60], xmm11
mov qword [rsp + 0x20], 0
call rdi
test eax, eax
jne 0x14001d222
mov edi, dword [rbx]
lea r9, [rbx + 8]
xor r11d, r11d
test edi, edi
je 0x14001d20a
movzx ebp, word [0x14009f17e]
lea r13d, [rax + 0x1f]
movsd xmm9, qword [0x14009f178]
mov r15d, 0xfffffffc
movq xmm11, qword [str.pPTB_vXQYJ_]
movups xmm10, xmmword [str.pPTB_vXQYJ_]
mov esi, dword [reloc.WS2_32.dll_accept]
nop dword [rax]
movsd qword [rsp + 0x40], xmm9
movups xmmword [rsp + 0x30], xmm10
test bp, bp
je 0x14001d1c1
xor ecx, ecx
cmp esi, 2
jl 0x14001d179
movdqa xmm2, xmmword [0x1400a0790]
mov ecx, 8
movdqa xmm3, xmmword [0x1400a07a0]
movdqa xmm1, xmm2
movdqa xmm4, xmmword [0x1400a0850]
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
movd xmm6, r12d
movd xmm5, r13d
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1400a07c0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
movq xmm0, xmm11
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
paddw xmm2, xmmword [0x1400a0800]
xorps xmm2, xmm0
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movq qword [rsp + 0x30], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1400a07c0]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movq xmm0, qword [rsp + 0x38]
pshufd xmm2, xmm1, 0xd8
paddw xmm2, xmmword [0x1400a0800]
xorps xmm2, xmm0
movq qword [rsp + 0x38], xmm2
movsxd rax, ecx
lea r8, [rsp + 0x30]
lea r8, [r8 + rax*2]
nop word [rax + rax]
mov eax, 0x4bda12f7
lea r8, [r8 + 2]
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul edx, eax, 0x36
movzx eax, cx
inc ecx
sub ax, dx
add ax, 0x34
xor word [r8 - 2], ax
cmp ecx, 0xc
jl 0x14001d190
mov r10, qword [r9 + 8]
lea rax, [rsp + 0x30]
mov r8, r10
sub r8, rax
movzx edx, word [rax]
movzx ecx, word [rax + r8]
sub edx, ecx
jne 0x14001d1e4
add rax, 2
test ecx, ecx
jne 0x14001d1d0
test edx, edx
je 0x14001d203
movzx r9d, word [r9]
inc r11d
add r9, r10
and r9, r15
add r9, r12
cmp r11d, edi
jb 0x14001d070
jmp 0x14001d20a
cmp dword [r9 + 0x14], 0
jbe 0x14001d222
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov eax, 1
jmp 0x14001d235
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xor eax, eax
movaps xmm10, xmmword [rsp + 0x70]
movaps xmm9, xmmword [rsp + 0x80]
movaps xmm8, xmmword [rsp + 0x90]
movaps xmm7, xmmword [rsp + 0xa0]
movaps xmm6, xmmword [rsp + 0xb0]
mov r15, qword [rsp + 0xf8]
mov r13, qword [rsp + 0xf0]
mov rsi, qword [rsp + 0xe8]
mov rbp, qword [rsp + 0xe0]
movaps xmm11, xmmword [rsp + 0x60]
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.14008b020
add rsp, 0xc0
pop r12
pop rdi
pop rbx
ret