Function at 0x18000a4d0
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
sub rsp, 0x98
cmp byte [rcx], 0
je 0x18000a972
mov rdx, qword [0x18027a6b0]
mov rcx, qword [0x18027a008]
mov qword [rax + 8], rbx
mov qword [rax - 8], rdi
call fcn.1800087e0
mov rdx, qword [0x18027a6b0]
xor al, 1
mov rcx, qword [0x18027a008]
movzx ebx, al
call fcn.180008ac0
test al, al
mov edi, 1
cmovne edi, ebx
call fcn.180067100
xor ecx, ecx
call fcn.180030ac0
mov rcx, qword [0x18027a6e0]
xor ebx, ebx
test rcx, rcx
je 0x18000a547
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [0x18027a6e0], rbx
mov rcx, qword [0x18027a6d8]
test rcx, rcx
je 0x18000a560
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [0x18027a6d8], rbx
mov rcx, qword [0x18027a6d0]
test rcx, rcx
je 0x18000a579
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [0x18027a6d0], rbx
mov r8, qword [0x18027a6b8]
mov edx, 0xfffffffc
mov rcx, qword [0x18027a6c8]
movaps xmmword [rsp + 0x80], xmm6
movaps xmmword [rsp + 0x70], xmm7
movaps xmmword [rsp + 0x60], xmm8
call qword [sym.imp.USER32.dll_SetWindowLongPtrA]
mov rcx, qword [0x18027a018]
test dil, dil
mov rdi, qword [rsp + 0x90]
je 0x18000a787
cmp dword [0x18027a1a0], 2
mov r8d, dword [rcx + 0x2c]
movups xmm0, xmmword [str._iQ_C_r]
movups xmm1, xmmword [str.a__1__g2l__83_8_v44__5_.q__iQ_C_r]
movups xmmword [rsp + 0x30], xmm0
movups xmm0, xmmword [0x1802689c8]
movups xmmword [rsp + 0x40], xmm1
movups xmmword [rsp + 0x50], xmm0
jl 0x18000a747
movdqa xmm0, xmmword [str.1111111111111111_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_a_a_a_a_a_a_a_a_a_a_a_a_a_a_a_a_a_a_a_a_a_a_a_a_b_b_b_b_b_b_b_b]
lea rdx, [rsp + 0x34]
movdqa xmm5, xmmword [0x1800d1c60]
mov eax, 4
movdqa xmm4, xmmword [0x180269bd0]
movdqa xmm7, xmmword [str.6666]
movdqa xmmword [rsp + 0x20], xmm0
mov r9d, dword [rsp + 0x20]
movd xmm6, eax
mov eax, 0x1f
movd xmm8, eax
nop word [rax + rax]
movd xmm2, ebx
lea eax, [rbx + 4]
pshufd xmm2, xmm2, 0
lea rdx, [rdx + 8]
paddd xmm2, xmm5
movd xmm3, eax
movdqa xmm1, xmm2
pshufd xmm3, xmm3, 0
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
paddd xmm3, xmm5
pmuldq xmm0, xmm4
add ebx, 8
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x1800d1c90]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, r9d
paddb xmm2, xmm0
movd xmm0, dword [rdx - 0xc]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rdx - 0xc], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, r9d
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1800d1c90]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rdx - 8]
xorps xmm2, xmm0
movd dword [rdx - 8], xmm2
cmp ebx, 0x30
jl 0x18000a640
lea rdx, [rsp + 0x30]
jmp 0x18000a952
lea r9, [rsp + 0x30]
nop dword [rax]
mov eax, 0x4bda12f7
lea r9, [r9 + 1]
imul ebx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x36
movzx eax, bl
inc ebx
sub al, dl
add al, 0x31
xor byte [r9 - 1], al
cmp ebx, 0x30
jl 0x18000a750
lea rdx, [rsp + 0x30]
jmp 0x18000a952
cmp dword [0x18027a1a0], 2
mov r8d, dword [rcx + 0x24]
movzx eax, word [0x1802689f8]
movups xmm0, xmmword [0x1802689d8]
mov word [rsp + 0x50], ax
movups xmm1, xmmword [str.a__5___j_______S]
movzx eax, byte [0x1802689fa]
mov byte [rsp + 0x52], al
movups xmmword [rsp + 0x30], xmm0
movups xmmword [rsp + 0x40], xmm1
jl 0x18000a914
movdqa xmm0, xmmword [str.1111111111111111_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_a_a_a_a_a_a_a_a_a_a_a_a_a_a_a_a_a_a_a_a_a_a_a_a_b_b_b_b_b_b_b_b]
lea rdx, [rsp + 0x34]
movdqa xmm5, xmmword [0x1800d1c60]
mov eax, 4
movdqa xmm4, xmmword [0x180269bd0]
movdqa xmm7, xmmword [str.6666]
movdqa xmmword [rsp + 0x20], xmm0
mov r9d, dword [rsp + 0x20]
movd xmm6, eax
mov eax, 0x1f
movd xmm8, eax
nop word [rax + rax]
movd xmm2, ebx
lea eax, [rbx + 4]
pshufd xmm2, xmm2, 0
lea rdx, [rdx + 8]
paddd xmm2, xmm5
movd xmm3, eax
movdqa xmm1, xmm2
pshufd xmm3, xmm3, 0
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
paddd xmm3, xmm5
pmuldq xmm0, xmm4
add ebx, 8
pmuldq xmm1, xmm4
mov eax, ebx
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x1800d1c90]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, r9d
paddb xmm2, xmm0
movd xmm0, dword [rdx - 0xc]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rdx - 0xc], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, r9d
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1800d1c90]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rdx - 8]
xorps xmm2, xmm0
movd dword [rdx - 8], xmm2
cmp ebx, 0x20
jl 0x18000a810
cmp eax, 0x23
jge 0x18000a94d
movsxd rax, ebx
lea r9, [rsp + 0x30]
add r9, rax
nop
mov eax, 0x4bda12f7
lea r9, [r9 + 1]
imul ebx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x36
movzx eax, bl
inc ebx
sub al, dl
add al, 0x31
xor byte [r9 - 1], al
cmp ebx, 0x23
jl 0x18000a920
lea rdx, [rsp + 0x30]
call fcn.1800030f0
movaps xmm7, xmmword [rsp + 0x70]
movaps xmm6, xmmword [rsp + 0x80]
movaps xmm8, xmmword [rsp + 0x60]
mov rbx, qword [rsp + 0xa0]
add rsp, 0x98
ret