Function at 0x180032c90
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 [0x18021e740], esi
je 0x180032ce8
cmp rbx, 0x20
jae 0x180032cd1
xor ecx, ecx
jmp 0x180032cd3
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_Sleep]
inc rbx
xor eax, eax
lock cmpxchg dword [0x18021e740], esi
jne 0x180032cc7
mov rbx, 0xffffffffffffffff
mov r14d, dword [0x18011f090]
movdqa xmm7, xmmword [0x18010ad90]
cmp qword [0x18021e748], rdi
jne 0x180032d36
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_HeapCreate]
mov qword [0x18021e748], rax
mov esi, 9
test rax, rax
cmovne esi, edi
mov ecx, edi
xchg dword [0x18021e740], ecx
jne 0x180033051
jmp 0x180032d3e
mov eax, edi
xchg dword [0x18021e740], eax
cmp esi, 1
je 0x180033051
movups xmm3, xmmword [0x1800f9598]
movups xmmword [rbp - 0x19], xmm3
movsd xmm0, qword [0x1800f95a8]
movsd qword [rbp - 9], xmm0
cmp byte [0x1800f95af], dil
je 0x180033012
mov r8d, edi
cmp r14d, 2
jl 0x180032fdc
movdqa xmm4, xmmword [0x18010b150]
movdqa xmm5, xmmword [0x18010ad10]
movdqa xmm6, xmmword [0x18010ae10]
movdqa xmm2, xmmword [0x18010ac10]
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 [0x18010ac30]
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 [0x18010ac40]
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 [0x18010ac50]
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 [0x18010ac60]
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 [0x18010ac80]
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 0x180033012
lea r9, [rbp - 0x19]
mov eax, 0x1f7047dd
mul r8d
mov eax, r8d
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 5
movsx eax, al
imul ecx, eax, 0x39
movzx eax, r8b
sub al, cl
add al, 0x36
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x18
jl 0x180032fe0
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 0x180033030
lea rdx, [rbp - 0x19]
lea rcx, [rbp + 7]
call fcn.180015c40
mov dl, 1
lea rcx, [rbp + 7]
call fcn.18002c520
cmp qword [0x18021eaf8], rdi
je 0x1800330f4
call fcn.18002f940
mov rsi, rax
mov rcx, rax
call fcn.180058ef0
test al, al
je 0x180033084
mov rcx, qword [0x18011fd30]
cmp rcx, rbx
je 0x180033084
mov rcx, qword [rcx + rsi]
jmp 0x180033087
mov rcx, rdi
call fcn.180058ef0
test al, al
je 0x1800330f4
mov ecx, 0x18
call fcn.1800c3c30
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 [0x18021eaf8]
call fcn.18002f940
mov rsi, rax
mov rcx, rax
call fcn.180058ef0
test al, al
je 0x1800330d9
mov rcx, qword [0x18011fd30]
cmp rcx, 0xffffffffffffffff
je 0x1800330d9
mov rdi, qword [rsi + rcx]
mov r8, r14
mov rdx, qword [rdi]
mov rcx, rbx
call fcn.1800338f0
nop
mov qword [0x18021e7b8], rax
jmp 0x1800332d5
movups xmm0, xmmword [0x1800f9578]
movups xmmword [rbp + 7], xmm0
movsd xmm0, qword [0x1800f9588]
movsd qword [rbp + 0x17], xmm0
mov eax, dword [0x1800f9590]
mov dword [rbp + 0x1f], eax
movzx eax, word [0x1800f9594]
mov word [rbp + 0x23], ax
movzx eax, byte [0x1800f9596]
mov byte [rbp + 0x25], al
mov ecx, edi
cmp r14d, 2
jl 0x180033260
movdqa xmm4, xmmword [0x18010ac10]
movdqa xmm3, xmmword [0x18010b150]
movdqa xmm5, xmmword [0x18010ad10]
movdqa xmm0, xmmword [0x18010ae10]
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 0x180033170
cmp ecx, 0x1f
jge 0x18003329e
movsxd rax, ecx
lea r8, [rbp + 7]
add r8, rax
nop word [rax + rax]
mov eax, 0x8fb823ef
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x39
movzx eax, cl
sub al, dl
add al, 0x36
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0x1f
jl 0x180033270
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 0x1800332b1
mov r8, rbx
lea rdx, [rbp + 7]
lea rcx, [rbp - 0x19]
call fcn.180015c40
mov dl, 1
lea rcx, [rbp - 0x19]
call fcn.18002c520
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