Function at 0x180026720
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
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x48]
sub rsp, 0x120
movaps xmmword [rax - 0x38], xmm6
mov rax, qword [0x180127040]
xor rax, rsp
mov qword [rbp], rax
xor r13d, r13d
mov eax, dword [0x180128da4]
cmp eax, 0xc
jl 0x180027174
cmp eax, 0x1c
jge 0x180027174
movups xmm0, xmmword [0x1800ff960]
movups xmmword [rbp - 0x40], xmm0
movups xmm1, xmmword [0x1800ff970]
movups xmmword [rbp - 0x30], xmm1
movups xmm0, xmmword [0x1800ff980]
movups xmmword [rbp - 0x20], xmm0
movsd xmm0, qword [0x1800ff990]
movsd qword [rbp - 0x10], xmm0
mov eax, dword [0x1800ff998]
mov dword [rbp - 8], eax
mov r8d, r13d
mov esi, dword [0x180127018]
cmp esi, 2
jl 0x1800268fd
movdqa xmm5, xmmword [0x180110e60]
movdqa xmm4, xmmword [0x180111070]
movdqa xmm6, xmmword [0x180110e90]
movdqa xmm0, xmmword [0x180110f70]
movdqa xmmword [rsp + 0x60], xmm0
lea rcx, [rbp - 0x3c]
mov edx, dword [rsp + 0x60]
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
paddd xmm1, xmm2
psrad xmm1, 5
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 [0x180110f50]
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
paddd xmm1, xmm3
psrad xmm1, 5
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 [0x180110f50]
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, 0x38
jl 0x1800267f0
cmp r8d, 0x3c
jge 0x180026943
movsxd rax, r8d
lea r9, [rbp - 0x40]
add r9, rax
nop word [rax + rax]
mov eax, 0x8fb823ef
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x39
movzx eax, r8b
sub al, cl
add al, 0x33
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x3c
jl 0x180026910
xorps xmm0, xmm0
movups xmmword [rbp - 0x60], xmm0
mov qword [rbp - 0x50], r13
mov qword [rbp - 0x48], r13
lea rax, [rbp - 0x40]
mov rbx, 0xffffffffffffffff
mov r8, rbx
inc r8
cmp byte [rax + r8], r13b
jne 0x180026960
lea rdx, [rbp - 0x40]
lea rcx, [rbp - 0x60]
call fcn.180020590
nop
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], r13
mov eax, dword [0x1800ff954]
mov dword [rsp + 0x60], eax
movzx eax, word [0x1800ff958]
mov word [rsp + 0x64], ax
mov byte [rsp + 0x60], 0x38
xor byte [rsp + 0x61], 0x34
xor byte [rsp + 0x62], 0x35
xor byte [rsp + 0x63], 0x36
xor al, 0x37
mov byte [rsp + 0x64], al
xor byte [rsp + 0x65], 0x38
movups xmmword [rbp - 0x80], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x70], xmm1
lea rax, [rsp + 0x60]
mov r8, rbx
nop
inc r8
cmp byte [rax + r8], 0
jne 0x1800269d0
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x80]
call fcn.180020590
nop
lea r8, [rbp - 0x80]
xor edx, edx
lea rcx, [rsp + 0x40]
call fcn.180027470
nop
mov rdx, qword [rbp - 0x68]
cmp rdx, 0xf
jbe 0x180026a35
inc rdx
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180026a30
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180026e94
call fcn.1800d3c10
movsd xmm0, qword [0x1800ff948]
movsd qword [rsp + 0x60], xmm0
mov eax, dword [0x1800ff950]
mov dword [rsp + 0x68], eax
cmp byte [0x1800ff953], 0
je 0x180026bb3
mov r8d, r13d
cmp esi, 2
jl 0x180026b70
movdqa xmm4, xmmword [0x180111070]
movdqa xmm2, xmmword [0x180110e60]
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, xmmword [0x180110e90]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x180110f50]
packuswb xmm2, xmm2
mov eax, dword [0x180110f70]
movd xmm0, eax
paddb xmm2, xmm0
movd xmm0, dword [0x1800ff948]
xorps xmm2, xmm0
movd dword [rsp + 0x60], xmm2
movdqa xmm3, xmmword [0x180110e70]
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, xmmword [0x180110e90]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x180110f50]
packuswb xmm2, xmm2
movd xmm0, eax
paddb xmm2, xmm0
movd xmm1, dword [rsp + 0x64]
xorps xmm2, xmm1
movd dword [rsp + 0x64], xmm2
mov r8d, 8
movsxd rax, r8d
lea r9, [rsp + 0x60]
add r9, rax
nop dword [rax + rax]
mov eax, 0x8fb823ef
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x39
movzx eax, r8b
sub al, cl
add al, 0x33
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0xc
jl 0x180026b80
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x70], xmm1
lea rax, [rsp + 0x60]
mov r8, rbx
nop word [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x180026bd0
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x80]
call fcn.180020590
nop
mov r15, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
cmp r15, rdi
je 0x180026c1d
movups xmm0, xmmword [rbp - 0x80]
movups xmmword [r15], xmm0
movups xmm1, xmmword [rbp - 0x70]
movups xmmword [r15 + 0x10], xmm1
mov edx, 0xf
mov byte [rbp - 0x80], 0
add r15, 0x20
mov qword [rsp + 0x48], r15
jmp 0x180026c3c
lea r8, [rbp - 0x80]
mov rdx, r15
lea rcx, [rsp + 0x40]
call fcn.180027470
mov rdi, qword [rsp + 0x50]
mov r15, qword [rsp + 0x48]
mov rdx, qword [rbp - 0x68]
cmp rdx, 0xf
jbe 0x180026c73
inc rdx
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180026c6e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180026e94
call fcn.1800d3c10
movsd xmm0, qword [0x1800ff938]
movsd qword [rsp + 0x60], xmm0
mov eax, dword [0x1800ff940]
mov dword [rsp + 0x68], eax
cmp byte [0x1800ff943], 0
je 0x180026df3
mov r8d, r13d
cmp esi, 2
jl 0x180026dae
movdqa xmm4, xmmword [0x180111070]
movdqa xmm2, xmmword [0x180110e60]
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, xmmword [0x180110e90]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x180110f50]
packuswb xmm2, xmm2
mov eax, dword [0x180110f70]
movd xmm0, eax
paddb xmm2, xmm0
movd xmm0, dword [0x1800ff938]
xorps xmm2, xmm0
movd dword [rsp + 0x60], xmm2
movdqa xmm3, xmmword [0x180110e70]
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, xmmword [0x180110e90]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x180110f50]
packuswb xmm2, xmm2
movd xmm0, eax
paddb xmm2, xmm0
movd xmm1, dword [rsp + 0x64]
xorps xmm2, xmm1
movd dword [rsp + 0x64], xmm2
mov r8d, 8
movsxd rax, r8d
lea r9, [rsp + 0x60]
add r9, rax
nop dword [rax]
mov eax, 0x8fb823ef
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x39
movzx eax, r8b
sub al, cl
add al, 0x33
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0xc
jl 0x180026dc0
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x70], xmm1
lea rax, [rsp + 0x60]
inc rbx
cmp byte [rax + rbx], 0
jne 0x180026e07
mov r8, rbx
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x80]
call fcn.180020590
nop
cmp r15, rdi
je 0x180026e4c
movups xmm0, xmmword [rbp - 0x80]
movups xmmword [r15], xmm0
movups xmm1, xmmword [rbp - 0x70]
movups xmmword [r15 + 0x10], xmm1
mov edx, 0xf
mov byte [rbp - 0x80], 0
add r15, 0x20
mov qword [rsp + 0x48], r15
jmp 0x180026e66
lea r8, [rbp - 0x80]
mov rdx, r15
lea rcx, [rsp + 0x40]
call fcn.180027470
mov r15, qword [rsp + 0x48]
mov rdx, qword [rbp - 0x68]
cmp rdx, 0xf
jbe 0x180026ea0
inc rdx
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180026e9b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180026e9b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800d3c10
mov r12, qword [rsp + 0x40]
cmp dword [0x180128da4], 0x1a
jl 0x180026ee6
lea rbx, [r12 + 0x20]
cmp rbx, r15
je 0x180026ed5
mov rdi, r12
sub rdi, rbx
nop
lea rcx, [rbx + rdi]
mov rdx, rbx
call fcn.1800226f0
add rbx, 0x20
cmp rbx, r15
jne 0x180026ec0
add r15, 0xffffffffffffffe0
mov rcx, r15
call fcn.180022b90
mov qword [rsp + 0x48], r15
cmp r12, r15
je 0x180027160
lea rdx, [0x1800ff060]
movabs rax, 0x7fffffffffffffff
mov rcx, qword [rbp - 0x50]
sub rax, rcx
cmp rax, 1
jb 0x1800271a6
lea r9, [rbp - 0x60]
cmp qword [rbp - 0x48], 0xf
cmova r9, qword [rbp - 0x60]
mov qword [rsp + 0x30], 1
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], rcx
lea rcx, [rbp - 0x40]
call fcn.1800215b0
nop
mov rdx, r12
cmp qword [r12 + 0x18], 0xf
jbe 0x180026f4b
mov rdx, qword [r12]
mov r8, qword [r12 + 0x10]
lea rcx, [rbp - 0x40]
call fcn.180022600
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
mov qword [rbp - 0x70], r13
mov qword [rbp - 0x68], r13
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x80], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x70], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
lea rcx, [rbp - 0x40]
call fcn.180022b90
lea rsi, [rbp - 0x80]
cmp qword [rbp - 0x68], 0xf
cmova rsi, qword [rbp - 0x80]
mov r14d, r13d
mov rbx, r13
mov rcx, qword [0x180128be8]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rdi, rax
mov rcx, qword [0x180128be8]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
movsxd rcx, dword [rax + 0x3c]
mov edi, dword [rcx + rdi + 0x50]
mov rdx, rsi
lea rcx, [rsp + 0x60]
call fcn.180021880
mov rcx, qword [0x180128be8]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rsi, rax
mov r10, qword [rsp + 0x68]
mov r11, qword [rsp + 0x60]
sub r10, r11
sar r10, 2
mov r9d, r13d
sub rdi, r10
je 0x18002704b
nop
mov eax, r13d
test r10, r10
je 0x180027030
mov rcx, r13
nop dword [rax + rax]
mov r8d, dword [r11 + rcx*4]
lea ecx, [rax + r9]
movzx ecx, byte [rcx + rsi]
cmp ecx, r8d
je 0x180027027
cmp r8d, 0xffffffff
jne 0x180027038
inc eax
mov ecx, eax
cmp rcx, r10
jb 0x180027010
test r14d, r14d
jle 0x180027045
dec r14d
inc r9d
mov eax, r9d
cmp rax, rdi
jb 0x180027000
jmp 0x18002704b
mov ebx, r9d
add rbx, rsi
test r11, r11
je 0x18002709b
mov rax, qword [rsp + 0x70]
sub rax, r11
sar rax, 2
lea rdx, [rax*4]
mov rax, r11
cmp rdx, 0x1000
jb 0x180027085
add rdx, 0x27
mov r11, qword [r11 - 8]
sub rax, r11
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800270f0
mov rcx, r11
call fcn.1800d3c10
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], r13
mov rdx, qword [rbp - 0x68]
test rbx, rbx
jne 0x1800270f7
cmp rdx, 0xf
jbe 0x1800270d7
inc rdx
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800270d2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180027125
call fcn.1800d3c10
mov qword [rbp - 0x70], r13
mov qword [rbp - 0x68], 0xf
mov byte [rbp - 0x80], 0
add r12, 0x20
jmp 0x180026ee6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
cmp rdx, 0xf
jbe 0x180027131
inc rdx
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18002712c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18002712c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800d3c10
mov qword [rbp - 0x70], r13
mov qword [rbp - 0x68], 0xf
mov byte [rbp - 0x80], 0
lea r8, [0x180128e28]
lea rdx, [0x1800c54c0]
mov rcx, rbx
call fcn.1800ce6ac
mov rcx, rbx
call fcn.1800ce944
nop
lea rcx, [rsp + 0x40]
call fcn.180022160
nop
lea rcx, [rbp - 0x60]
call fcn.180022b90
mov rcx, qword [rbp]
xor rcx, rsp
call fcn.1800d3880
lea r11, [rsp + 0x120]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.1800228d0
nop
int3