Function at 0x1800c21d0
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
lea rbp, [rax - 0xb8]
sub rsp, 0x1b0
movaps xmmword [rax - 0x18], xmm6
mov rax, qword [0x180149040]
xor rax, rsp
mov qword [rbp + 0x90], rax
xor esi, esi
mov ebx, esi
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
movsd xmm0, qword [0x18014adb8]
comisd xmm0, xmmword [0x18012ecb8]
jb 0x1800c228f
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x50], xmm1
xor r8d, r8d
lea rdx, [0x18011f470]
lea rcx, [rsp + 0x40]
call fcn.180016150
nop
cmp byte [0x18014add8], sil
je 0x1800c228a
mov byte [rsp + 0x30], sil
mov dword [rsp + 0x38], 2
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rdi, [0x18014bfd8]
mov qword [rsp + 0x20], rdi
lea r9, [0x18014bfc8]
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x38]
call fcn.180028480
nop
jmp 0x1800c2ae4
lea rdi, [0x18014bfd8]
mov eax, dword [0x18014adc0]
cmp eax, 0x14
jl 0x1800c2488
movups xmm0, xmmword [0x180129da0]
movups xmmword [rbp + 0x10], xmm0
movups xmm1, xmmword [0x180129db0]
movups xmmword [rbp + 0x20], xmm1
movups xmm0, xmmword [0x180129dc0]
movups xmmword [rbp + 0x30], xmm0
movups xmm1, xmmword [0x180129dd0]
movups xmmword [rbp + 0x40], xmm1
movups xmm0, xmmword [0x180129de0]
movups xmmword [rbp + 0x50], xmm0
movups xmm1, xmmword [0x180129df0]
movups xmmword [rbp + 0x60], xmm1
movzx eax, word [0x180129e00]
mov word [rbp + 0x70], ax
mov r8d, esi
cmp dword [0x180149018], 2
jl 0x1800c2445
movdqa xmm5, xmmword [0x18012ef60]
movdqa xmm4, xmmword [0x18012f050]
movdqa xmm6, xmmword [0x18012efa0]
movdqa xmm0, xmmword [0x18012f060]
movdqa xmmword [rbp + 0x80], xmm0
lea rcx, [rbp + 0x14]
mov edx, dword [rbp + 0x80]
nop dword [rax]
nop dword [rax + rax]
movd xmm2, r8d
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x18012f040]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
xorps xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [r8 + 4]
movd xmm3, eax
pshufd xmm3, xmm3, 0
paddd xmm3, xmm5
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x18012f040]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
xorps xmm2, xmm0
movd dword [rcx], xmm2
add r8d, 8
lea rcx, [rcx + 8]
cmp r8d, 0x60
jl 0x1800c2340
cmp r8d, 0x62
jge 0x1800c247f
movsxd rax, r8d
lea r9, [rbp + 0x10]
add r9, rax
nop
mov eax, 0x94f2095
imul r8d
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x37
movzx eax, r8b
sub al, cl
add al, 0x34
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x62
jl 0x1800c2450
lea rdx, [rbp + 0x10]
jmp 0x1800c2844
cmp eax, 0x13
jl 0x1800c2678
movups xmm0, xmmword [0x180129d40]
movups xmmword [rbp - 0x50], xmm0
movups xmm1, xmmword [0x180129d50]
movups xmmword [rbp - 0x40], xmm1
movups xmm0, xmmword [0x180129d60]
movups xmmword [rbp - 0x30], xmm0
movups xmm1, xmmword [0x180129d70]
movups xmmword [rbp - 0x20], xmm1
movups xmm0, xmmword [0x180129d80]
movups xmmword [rbp - 0x10], xmm0
movsd xmm0, qword [0x180129d90]
movsd qword [rbp], xmm0
mov eax, dword [0x180129d98]
mov dword [rbp + 8], eax
movzx eax, byte [0x180129d9c]
mov byte [rbp + 0xc], al
mov r8d, esi
cmp dword [0x180149018], 2
jl 0x1800c2635
movdqa xmm5, xmmword [0x18012ef60]
movdqa xmm4, xmmword [0x18012f050]
movdqa xmm6, xmmword [0x18012efa0]
movdqa xmm0, xmmword [0x18012f060]
movdqa xmmword [rbp + 0x80], xmm0
lea rcx, [rbp - 0x4c]
mov edx, dword [rbp + 0x80]
nop word [rax + rax]
movd xmm2, r8d
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x18012f040]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
xorps xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [r8 + 4]
movd xmm3, eax
pshufd xmm3, xmm3, 0
paddd xmm3, xmm5
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x18012f040]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
xorps xmm2, xmm0
movd dword [rcx], xmm2
add r8d, 8
lea rcx, [rcx + 8]
cmp r8d, 0x58
jl 0x1800c2530
cmp r8d, 0x5d
jge 0x1800c266f
movsxd rax, r8d
lea r9, [rbp - 0x50]
add r9, rax
nop
mov eax, 0x94f2095
imul r8d
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x37
movzx eax, r8b
sub al, cl
add al, 0x34
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x5d
jl 0x1800c2640
lea rdx, [rbp - 0x50]
jmp 0x1800c2844
cmp eax, 0x10
jl 0x1800c2863
movups xmm0, xmmword [0x180129cf0]
movups xmmword [rsp + 0x60], xmm0
movups xmm1, xmmword [0x180129d00]
movups xmmword [rsp + 0x70], xmm1
movups xmm0, xmmword [0x180129d10]
movups xmmword [rbp - 0x80], xmm0
movups xmm1, xmmword [0x180129d20]
movups xmmword [rbp - 0x70], xmm1
movzx eax, byte [0x180129d30]
mov byte [rbp - 0x60], al
mov r8d, esi
cmp dword [0x180149018], 2
jl 0x1800c2805
movdqa xmm5, xmmword [0x18012ef60]
movdqa xmm4, xmmword [0x18012f050]
movdqa xmm6, xmmword [0x18012efa0]
movdqa xmm0, xmmword [0x18012f060]
movdqa xmmword [rbp + 0x80], xmm0
lea rcx, [rsp + 0x64]
mov edx, dword [rbp + 0x80]
nop dword [rax]
movd xmm2, r8d
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x18012f040]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
xorps xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [r8 + 4]
movd xmm3, eax
pshufd xmm3, xmm3, 0
paddd xmm3, xmm5
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x18012f040]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
xorps xmm2, xmm0
movd dword [rcx], xmm2
add r8d, 8
lea rcx, [rcx + 8]
cmp r8d, 0x40
jl 0x1800c2700
cmp r8d, 0x41
jge 0x1800c283f
movsxd rax, r8d
lea r9, [rsp + 0x60]
add r9, rax
mov eax, 0x94f2095
imul r8d
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x37
movzx eax, r8b
sub al, cl
add al, 0x34
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x41
jl 0x1800c2810
lea rdx, [rsp + 0x60]
xor r8d, r8d
lea rcx, [rbp + 0x80]
call fcn.1800387f0
mov rbx, qword [rax]
cmp dword [0x18014adc0], 0x10
jge 0x1800c2a40
lea rdx, [0x18014c8b0]
lea rcx, [rsp + 0x40]
call fcn.18002d010
xor r9d, r9d
xor r8d, r8d
mov rdx, rax
lea rcx, [rbp + 0x80]
call fcn.1800ac000
xorps xmm0, xmm0
cmp qword [rbp + 0x80], rsi
je 0x1800c29d7
mov word [rsp + 0x30], 0x5540
movdqu xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], rsi
mov edx, 2
lea rcx, [rsp + 0x40]
call fcn.18000f200
mov rcx, qword [rsp + 0x40]
movzx eax, word [rsp + 0x30]
mov word [rcx], ax
lea rax, [rcx + 2]
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x28], 0x190
mov dword [rsp + 0x20], esi
xor r9d, r9d
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x38]
lea rcx, [rbp + 0x80]
call fcn.1800acb60
mov rcx, qword [rax]
test rcx, rcx
je 0x1800c2905
mov rbx, rcx
jmp 0x1800c2a40
mov dword [rsp + 0x30], 0x245c8948
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], rsi
mov edx, 4
lea rcx, [rsp + 0x40]
call fcn.18000f200
mov rcx, qword [rsp + 0x40]
mov eax, dword [rsp + 0x30]
mov dword [rcx], eax
lea rax, [rcx + 4]
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x28], 0x190
mov dword [rsp + 0x20], esi
xor r9d, r9d
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x38]
lea rcx, [rbp + 0x80]
call fcn.1800acb60
mov rcx, qword [rax]
test rcx, rcx
je 0x1800c2973
mov rbx, rcx
jmp 0x1800c2a40
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x50], xmm1
xor r8d, r8d
lea rdx, [0x18011f470]
lea rcx, [rsp + 0x40]
call fcn.180016150
nop
cmp byte [0x18014add8], 0
je 0x1800c29d5
mov byte [rsp + 0x30], 0
mov dword [rsp + 0x38], 2
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdi
lea r9, [0x18014bfc8]
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x38]
call fcn.180028480
nop
jmp 0x1800c2a36
movups xmmword [rsp + 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x50], xmm1
xor r8d, r8d
lea rdx, [0x18011f470]
lea rcx, [rsp + 0x40]
call fcn.180016150
nop
cmp byte [0x18014add8], 0
je 0x1800c2a36
mov byte [rsp + 0x30], 0
mov dword [rsp + 0x38], 2
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdi
lea r9, [0x18014bfc8]
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x38]
call fcn.180028480
nop
lea rcx, [rsp + 0x40]
call fcn.18002d3d0
xorps xmm0, xmm0
xorps xmm1, xmm1
xor r8d, r8d
lea rdx, [0x18011f470]
lea rcx, [rsp + 0x40]
movups xmmword [rsp + 0x40], xmm0
movdqu xmmword [rsp + 0x50], xmm1
call fcn.180016150
test rbx, rbx
je 0x1800c2aa8
cmp byte [0x18014add8], 0
je 0x1800c2aa6
mov byte [rsp + 0x30], 0
mov dword [rsp + 0x38], 2
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdi
lea r9, [0x18014bfc8]
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x38]
call fcn.180028480
nop
jmp 0x1800c2ae4
cmp byte [0x18014add8], 0
je 0x1800c2ae4
mov byte [rsp + 0x30], 0
mov dword [rsp + 0x38], 2
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdi
lea r9, [0x18014bfc8]
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x38]
call fcn.180028480
nop
lea rcx, [rsp + 0x40]
call fcn.18002d3d0
mov rcx, qword [rbp + 0x90]
xor rcx, rsp
call fcn.1800ed2f0
lea r11, [rsp + 0x1b0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop rbp
ret