Function at 0x180032b40
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rax - 0x5f]
sub rsp, 0x90
movaps xmmword [rax - 0x28], xmm6
movaps xmmword [rax - 0x38], xmm7
xor edi, edi
mov ebx, edi
mov esi, 1
xor eax, eax
lock cmpxchg dword [0x18021d810], esi
je 0x180032b98
cmp rbx, 0x20
jae 0x180032b81
xor ecx, ecx
jmp 0x180032b83
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_Sleep]
inc rbx
xor eax, eax
lock cmpxchg dword [0x18021d810], esi
jne 0x180032b77
mov rbx, 0xffffffffffffffff
mov r14d, dword [0x18011e090]
movdqa xmm7, xmmword [0x18010ac30]
cmp qword [0x18021d818], rdi
jne 0x180032be6
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_HeapCreate]
mov qword [0x18021d818], rax
mov esi, 9
test rax, rax
cmovne esi, edi
mov ecx, edi
xchg dword [0x18021d810], ecx
jne 0x180032f01
jmp 0x180032bee
mov eax, edi
xchg dword [0x18021d810], eax
cmp esi, 1
je 0x180032f01
movups xmm3, xmmword [0x1800f93f8]
movups xmmword [rbp - 0x19], xmm3
movsd xmm0, qword [0x1800f9408]
movsd qword [rbp - 9], xmm0
mov r8d, edi
cmp r14d, 2
jl 0x180032e7f
movdqa xmm4, xmmword [0x18010aff0]
movdqa xmm5, xmmword [0x18010aba0]
movdqa xmm6, xmmword [0x18010acb0]
movdqa xmm2, xmmword [0x18010aac0]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
andps xmm2, xmm7
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm6
movd eax, xmm3
movd xmm0, eax
xorps xmm2, xmm0
movd dword [rbp - 0x19], xmm2
movdqa xmm2, xmmword [0x18010aae0]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
andps xmm2, xmm7
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm6
movd xmm0, dword [rbp - 0x15]
xorps xmm2, xmm0
movd dword [rbp - 0x15], xmm2
movdqa xmm3, xmmword [0x18010aaf0]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm3, xmm0
andps xmm3, xmm7
packuswb xmm3, xmm3
packuswb xmm3, xmm3
paddb xmm3, xmm6
movd xmm0, dword [rbp - 0x11]
xorps xmm3, xmm0
movd dword [rbp - 0x11], xmm3
movdqa xmm2, xmmword [0x18010ab00]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
andps xmm2, xmm7
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm6
movd xmm0, dword [rbp - 0xd]
xorps xmm2, xmm0
movd dword [rbp - 0xd], xmm2
movdqa xmm3, xmmword [0x18010ab10]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm3, xmm0
andps xmm3, xmm7
packuswb xmm3, xmm3
packuswb xmm3, xmm3
paddb xmm3, xmm6
movd xmm0, dword [rbp - 9]
xorps xmm3, xmm0
movd dword [rbp - 9], xmm3
movdqa xmm2, xmmword [0x18010ab30]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
andps xmm2, xmm7
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm6
movd xmm0, dword [rbp - 5]
xorps xmm2, xmm0
movd dword [rbp - 5], xmm2
jmp 0x180032ec2
lea r9, [rbp - 0x19]
nop dword [rax]
nop word [rax + rax]
mov eax, 0x24924925
mul r8d
mov eax, r8d
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 5
movsx eax, al
imul ecx, eax, 0x38
movzx eax, r8b
sub al, cl
add al, 0x39
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x18
jl 0x180032e90
xorps xmm0, xmm0
movups xmmword [rbp + 7], xmm0
mov qword [rbp + 0x17], rdi
mov qword [rbp + 0x1f], rdi
lea rax, [rbp - 0x19]
mov r8, rbx
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], dil
jne 0x180032ee0
lea rdx, [rbp - 0x19]
lea rcx, [rbp + 7]
call fcn.1800160d0
mov dl, 1
lea rcx, [rbp + 7]
call fcn.18002c3d0
cmp qword [0x18021dbe0], rdi
je 0x180032fa4
call fcn.18002f7f0
mov rsi, rax
mov rcx, rax
call fcn.180058c80
test al, al
je 0x180032f34
mov rcx, qword [0x18011ed38]
cmp rcx, rbx
je 0x180032f34
mov rcx, qword [rcx + rsi]
jmp 0x180032f37
mov rcx, rdi
call fcn.180058c80
test al, al
je 0x180032fa4
mov ecx, 0x18
call fcn.1800c3980
mov rbx, rax
mov qword [rbp + 0x67], rax
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rax
mov r14, qword [0x18021dbe0]
call fcn.18002f7f0
mov rsi, rax
mov rcx, rax
call fcn.180058c80
test al, al
je 0x180032f89
mov rcx, qword [0x18011ed38]
cmp rcx, 0xffffffffffffffff
je 0x180032f89
mov rdi, qword [rsi + rcx]
mov r8, r14
mov rdx, qword [rdi]
mov rcx, rbx
call fcn.1800337a0
nop
mov qword [0x18021d890], rax
jmp 0x180033185
movups xmm0, xmmword [0x1800f9410]
movups xmmword [rbp + 7], xmm0
movsd xmm0, qword [0x1800f9420]
movsd qword [rbp + 0x17], xmm0
mov eax, dword [0x1800f9428]
mov dword [rbp + 0x1f], eax
movzx eax, word [0x1800f942c]
mov word [rbp + 0x23], ax
movzx eax, byte [0x1800f942e]
mov byte [rbp + 0x25], al
mov ecx, edi
cmp r14d, 2
jl 0x180033110
movdqa xmm4, xmmword [0x18010aac0]
movdqa xmm3, xmmword [0x18010aff0]
movdqa xmm5, xmmword [0x18010aba0]
movdqa xmm0, xmmword [0x18010acb0]
movdqa xmmword [rbp - 0x19], xmm0
lea rdx, [rbp + 7]
mov r8d, 4
mov r9d, dword [rbp - 0x19]
nop dword [rax]
movd xmm2, ecx
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
andps xmm2, xmm7
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, r9d
paddb xmm2, xmm0
movd xmm0, dword [rdx]
xorps xmm2, xmm0
movd dword [rdx], xmm2
lea eax, [rcx + 4]
movd xmm2, eax
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
andps xmm2, xmm7
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, r9d
paddb xmm2, xmm0
movd xmm0, dword [rdx + 4]
xorps xmm2, xmm0
movd dword [rdx + 4], xmm2
add ecx, 8
lea rdx, [rdx + 8]
add r8d, 8
cmp ecx, 0x18
jl 0x180033020
cmp ecx, 0x1f
jge 0x18003314e
movsxd rax, ecx
lea r8, [rbp + 7]
add r8, rax
nop word [rax + rax]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x38
movzx eax, cl
sub al, dl
add al, 0x39
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0x1f
jl 0x180033120
xorps xmm0, xmm0
movups xmmword [rbp - 0x19], xmm0
mov qword [rbp - 9], rdi
mov qword [rbp - 1], rdi
lea rax, [rbp + 7]
inc rbx
cmp byte [rax + rbx], dil
jne 0x180033161
mov r8, rbx
lea rdx, [rbp + 7]
lea rcx, [rbp - 0x19]
call fcn.1800160d0
mov dl, 1
lea rcx, [rbp - 0x19]
call fcn.18002c3d0
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [rsp + 0x70]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret