Function at 0x14001a9d0
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rdi
sub rsp, 0xc8
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 r9d, 4
lea r8, [rsp + 0x48]
mov rdi, rax
xor ecx, ecx
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
lea edx, [r9 - 1]
call rdi
mov edx, dword [rsp + 0x48]
xor ecx, ecx
mov r8d, 0x3000
lea r9d, [rcx + 4]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rbx, rax
test rax, rax
je 0x14001ad3e
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], r12
mov qword [rsp + 0xf8], r13
mov qword [rsp + 0xc0], 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 0x14001acd5
mov edi, dword [rbx]
lea r9, [rbx + 8]
xor r11d, r11d
test edi, edi
je 0x14001acbd
movzx ebp, word [0x14009ebb6]
lea r12d, [rax + 5]
movsd xmm9, qword [0x14009ebb0]
lea r13d, [rax + 0x1f]
movq xmm11, qword [str.qSUMuYVX_K_]
mov r15d, 0xfffffffc
movups xmm10, xmmword [str.qSUMuYVX_K_]
mov esi, dword [reloc.WS2_32.dll_accept]
nop dword [rax]
nop word [rax + rax]
movsd qword [rsp + 0x40], xmm9
movups xmmword [rsp + 0x30], xmm10
test bp, bp
je 0x14001ac73
xor ecx, ecx
cmp esi, 2
jl 0x14001ac31
movdqa xmm2, xmmword [0x1400a0020]
mov ecx, 8
movdqa xmm3, xmmword [0x1400a0030]
movdqa xmm1, xmm2
movdqa xmm4, xmmword [0x1400a0120]
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
paddd xmm1, xmm2
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1400a0060]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
movq xmm0, xmm11
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
paddw xmm2, xmmword [0x1400a0070]
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
paddd xmm1, xmm3
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1400a0060]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movq xmm0, qword [rsp + 0x38]
pshufd xmm2, xmm1, 0xd8
paddw xmm2, xmmword [0x1400a0070]
xorps xmm2, xmm0
movq qword [rsp + 0x38], xmm2
movsxd rax, ecx
lea r8, [rsp + 0x30]
lea r8, [r8 + rax*2]
nop dword [rax]
mov eax, 0x8fb823ef
lea r8, [r8 + 2]
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul edx, eax, 0x39
movzx eax, cx
inc ecx
sub ax, dx
add ax, 0x35
xor word [r8 - 2], ax
cmp ecx, 0xc
jl 0x14001ac40
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 0x14001ac96
add rax, 2
test ecx, ecx
jne 0x14001ac82
test edx, edx
je 0x14001acb6
movzx r9d, word [r9]
inc r11d
add r9, r10
and r9, r15
add r9, 4
cmp r11d, edi
jb 0x14001ab20
jmp 0x14001acbd
cmp dword [r9 + 0x14], 0
jbe 0x14001acd5
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov eax, 1
jmp 0x14001ace8
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 + 0xc0]
mov r13, qword [rsp + 0xf8]
mov r12, 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.14008b0f0
add rsp, 0xc8
pop rdi
pop rbx
ret