Function at 0x1800c2270
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 [0x18012eca8]
jb 0x1800c232f
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 0x1800c232a
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 0x1800c2b85
lea rdi, [0x18014bfd8]
mov eax, dword [0x18014adc0]
cmp eax, 0x14
jl 0x1800c2529
movups xmm0, xmmword [0x180129d40]
movups xmmword [rbp + 0x10], xmm0
movups xmm1, xmmword [0x180129d50]
movups xmmword [rbp + 0x20], xmm1
movups xmm0, xmmword [0x180129d60]
movups xmmword [rbp + 0x30], xmm0
movups xmm1, xmmword [0x180129d70]
movups xmmword [rbp + 0x40], xmm1
movups xmm0, xmmword [0x180129d80]
movups xmmword [rbp + 0x50], xmm0
movups xmm1, xmmword [0x180129d90]
movups xmmword [rbp + 0x60], xmm1
movzx eax, word [0x180129da0]
mov word [rbp + 0x70], ax
mov r8d, esi
cmp dword [0x180149018], 2
jl 0x1800c24e5
movdqa xmm5, xmmword [0x18012ef50]
movdqa xmm4, xmmword [0x18012f0f0]
movdqa xmm6, xmmword [0x18012ef80]
movdqa xmm0, xmmword [str.7777777777777777]
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, 4
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 [0x18012f030]
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, 4
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 [0x18012f030]
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 0x1800c23e0
cmp r8d, 0x62
jge 0x1800c2520
movsxd rax, r8d
lea r9, [rbp + 0x10]
add r9, rax
nop
mov eax, 0x51eb851f
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x32
movzx eax, r8b
sub al, cl
add al, 0x37
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x62
jl 0x1800c24f0
lea rdx, [rbp + 0x10]
jmp 0x1800c28e5
cmp eax, 0x13
jl 0x1800c2719
movups xmm0, xmmword [0x180129ce0]
movups xmmword [rbp - 0x50], xmm0
movups xmm1, xmmword [0x180129cf0]
movups xmmword [rbp - 0x40], xmm1
movups xmm0, xmmword [0x180129d00]
movups xmmword [rbp - 0x30], xmm0
movups xmm1, xmmword [0x180129d10]
movups xmmword [rbp - 0x20], xmm1
movups xmm0, xmmword [0x180129d20]
movups xmmword [rbp - 0x10], xmm0
movsd xmm0, qword [0x180129d30]
movsd qword [rbp], xmm0
mov eax, dword [0x180129d38]
mov dword [rbp + 8], eax
movzx eax, byte [0x180129d3c]
mov byte [rbp + 0xc], al
mov r8d, esi
cmp dword [0x180149018], 2
jl 0x1800c26d5
movdqa xmm5, xmmword [0x18012ef50]
movdqa xmm4, xmmword [0x18012f0f0]
movdqa xmm6, xmmword [0x18012ef80]
movdqa xmm0, xmmword [str.7777777777777777]
movdqa xmmword [rbp + 0x80], xmm0
lea rcx, [rbp - 0x4c]
mov edx, dword [rbp + 0x80]
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, 4
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 [0x18012f030]
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, 4
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 [0x18012f030]
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 0x1800c25d0
cmp r8d, 0x5d
jge 0x1800c2710
movsxd rax, r8d
lea r9, [rbp - 0x50]
add r9, rax
nop
mov eax, 0x51eb851f
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x32
movzx eax, r8b
sub al, cl
add al, 0x37
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x5d
jl 0x1800c26e0
lea rdx, [rbp - 0x50]
jmp 0x1800c28e5
cmp eax, 0x10
jl 0x1800c2904
movups xmm0, xmmword [0x180129c90]
movups xmmword [rsp + 0x60], xmm0
movups xmm1, xmmword [0x180129ca0]
movups xmmword [rsp + 0x70], xmm1
movups xmm0, xmmword [0x180129cb0]
movups xmmword [rbp - 0x80], xmm0
movups xmm1, xmmword [0x180129cc0]
movups xmmword [rbp - 0x70], xmm1
movzx eax, byte [0x180129cd0]
mov byte [rbp - 0x60], al
mov r8d, esi
cmp dword [0x180149018], 2
jl 0x1800c28a5
movdqa xmm5, xmmword [0x18012ef50]
movdqa xmm4, xmmword [0x18012f0f0]
movdqa xmm6, xmmword [0x18012ef80]
movdqa xmm0, xmmword [str.7777777777777777]
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, 4
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 [0x18012f030]
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, 4
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 [0x18012f030]
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 0x1800c27a0
cmp r8d, 0x41
jge 0x1800c28e0
movsxd rax, r8d
lea r9, [rsp + 0x60]
add r9, rax
mov eax, 0x51eb851f
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x32
movzx eax, r8b
sub al, cl
add al, 0x37
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x41
jl 0x1800c28b0
lea rdx, [rsp + 0x60]
xor r8d, r8d
lea rcx, [rbp + 0x80]
call fcn.1800387f0
mov rbx, qword [rax]
cmp dword [0x18014adc0], 0x10
jge 0x1800c2ae1
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.1800ac090
xorps xmm0, xmm0
cmp qword [rbp + 0x80], rsi
je 0x1800c2a78
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], 0x19f
mov dword [rsp + 0x20], esi
xor r9d, r9d
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x38]
lea rcx, [rbp + 0x80]
call fcn.1800acbf0
mov rcx, qword [rax]
test rcx, rcx
je 0x1800c29a6
mov rbx, rcx
jmp 0x1800c2ae1
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.1800acbf0
mov rcx, qword [rax]
test rcx, rcx
je 0x1800c2a14
mov rbx, rcx
jmp 0x1800c2ae1
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 0x1800c2a76
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 0x1800c2ad7
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 0x1800c2ad7
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 0x1800c2b49
cmp byte [0x18014add8], 0
je 0x1800c2b47
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 0x1800c2b85
cmp byte [0x18014add8], 0
je 0x1800c2b85
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.1800ed380
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