Function at 0x18003b9c0
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r12
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0x100
movaps xmmword [rax - 0x28], xmm6
mov rax, qword [0x180148040]
xor rax, rsp
mov qword [rbp + 0x2f], rax
xor r14d, r14d
mov eax, dword [0x180149de0]
cmp eax, 0xc
jl 0x18003c22a
cmp eax, 0x1c
jge 0x18003c22a
movups xmm0, xmmword [0x18011ff90]
movups xmmword [rbp - 0x69], xmm0
movups xmm1, xmmword [0x18011ffa0]
movups xmmword [rbp - 0x59], xmm1
movups xmm0, xmmword [0x18011ffb0]
movups xmmword [rbp - 0x49], xmm0
movsd xmm0, qword [str.__BW_]
movsd qword [rbp - 0x39], xmm0
mov eax, dword [0x18011ffc8]
mov dword [rbp - 0x31], eax
mov ecx, r14d
movdqa xmm6, xmmword [0x18012e1e0]
mov edi, dword [0x180148090]
cmp edi, 2
jl 0x18003bb74
movdqa xmm4, xmmword [0x18012e100]
movdqa xmm3, xmmword [0x18012e5f0]
movdqa xmm5, xmmword [str.555566668888]
movdqa xmm0, xmmword [0x18012e230]
movdqa xmmword [rbp - 0x79], xmm0
lea rdx, [rbp - 0x65]
mov r8d, dword [rbp - 0x79]
nop
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
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx - 4]
xorps xmm2, xmm0
movd dword [rdx - 4], 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
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx]
xorps xmm2, xmm0
movd dword [rdx], xmm2
add ecx, 8
lea rdx, [rdx + 8]
cmp ecx, 0x38
jl 0x18003ba90
cmp ecx, 0x3c
jge 0x18003bbac
movsxd rax, ecx
lea r8, [rbp - 0x69]
add r8, rax
nop
mov eax, 0x4d4873ed
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x35
movzx eax, cl
sub al, dl
add al, 0x30
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0x3c
jl 0x18003bb80
xorps xmm0, xmm0
movups xmmword [rbp + 0xf], xmm0
mov qword [rbp + 0x1f], r14
mov qword [rbp + 0x27], r14
lea rax, [rbp - 0x69]
mov rbx, 0xffffffffffffffff
mov r8, rbx
nop dword [rax]
inc r8
cmp byte [rax + r8], r14b
jne 0x18003bbd0
lea rdx, [rbp - 0x69]
lea rcx, [rbp + 0xf]
call fcn.180016750
nop
xorps xmm0, xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 9], xmm1
mov qword [rbp + 7], r14
mov eax, dword [0x18011ff84]
mov dword [rbp - 0x79], eax
movzx eax, word [0x18011ff88]
mov word [rbp - 0x75], ax
mov byte [rbp - 0x79], 0x38
xor byte [rbp - 0x78], 0x31
xor byte [rbp - 0x77], 0x32
xor byte [rbp - 0x76], 0x33
xor al, 0x34
mov byte [rbp - 0x75], al
xor byte [rbp - 0x74], 0x35
movups xmmword [rbp - 0x29], xmm0
movdqu xmmword [rbp - 0x19], xmm1
lea rax, [rbp - 0x79]
mov r8, rbx
inc r8
cmp byte [rax + r8], 0
jne 0x18003bc33
lea rdx, [rbp - 0x79]
lea rcx, [rbp - 0x29]
call fcn.180016750
nop
mov rdx, qword [rbp - 1]
cmp rdx, qword [rbp + 7]
je 0x18003bc7c
movups xmm0, xmmword [rbp - 0x29]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rbp - 0x19]
movups xmmword [rdx + 0x10], xmm1
movdqa xmm0, xmmword [0x18012e080]
movdqu xmmword [rbp - 0x19], xmm0
mov byte [rbp - 0x29], 0
add qword [rbp - 1], 0x20
jmp 0x18003bc8a
lea r8, [rbp - 0x29]
lea rcx, [rbp - 9]
call fcn.18000a2f0
nop
lea rcx, [rbp - 0x29]
call fcn.18002d710
movsd xmm0, qword [0x18011ff78]
movsd qword [rbp - 0x79], xmm0
mov ecx, dword [0x18011ff80]
mov dword [rbp - 0x71], ecx
cmp byte [0x18011ff83], 0
je 0x18003be42
mov r8d, r14d
cmp edi, 2
jl 0x18003bdff
movdqa xmm4, xmmword [0x18012e5f0]
movdqa xmm5, xmmword [str.555566668888]
movdqa xmm3, xmmword [0x18012e100]
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, xmm5
psubd xmm3, xmm0
andps xmm3, xmm6
packuswb xmm3, xmm3
packuswb xmm3, xmm3
mov eax, dword [0x18012e230]
movd xmm0, eax
paddb xmm3, xmm0
movd xmm0, dword [0x18011ff78]
xorps xmm3, xmm0
movd dword [rbp - 0x79], xmm3
movdqa xmm2, xmmword [0x18012e110]
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, xmm5
psubd xmm2, xmm0
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, eax
paddb xmm2, xmm0
movd xmm1, dword [rbp - 0x75]
xorps xmm2, xmm1
movd dword [rbp - 0x75], xmm2
movdqa xmm3, xmmword [0x18012e120]
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, xmm5
psubd xmm3, xmm0
andps xmm3, xmm6
packuswb xmm3, xmm3
packuswb xmm3, xmm3
movd xmm0, eax
paddb xmm3, xmm0
movd xmm1, ecx
xorps xmm3, xmm1
movd dword [rbp - 0x71], xmm3
jmp 0x18003be42
lea r9, [rbp - 0x79]
nop dword [rax]
nop word [rax + rax]
mov eax, 0x3521cfb3
mul r8d
mov eax, r8d
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 5
movsx eax, al
imul ecx, eax, 0x35
movzx eax, r8b
sub al, cl
add al, 0x30
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0xc
jl 0x18003be10
xorps xmm0, xmm0
movups xmmword [rbp - 0x29], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x19], xmm1
lea rax, [rbp - 0x79]
mov r8, rbx
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x18003be60
lea rdx, [rbp - 0x79]
lea rcx, [rbp - 0x29]
call fcn.180016750
nop
mov rdx, qword [rbp - 1]
cmp rdx, qword [rbp + 7]
je 0x18003bea9
movups xmm0, xmmword [rbp - 0x29]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rbp - 0x19]
movups xmmword [rdx + 0x10], xmm1
movdqa xmm0, xmmword [0x18012e080]
movdqu xmmword [rbp - 0x19], xmm0
mov byte [rbp - 0x29], 0
add qword [rbp - 1], 0x20
jmp 0x18003beb7
lea r8, [rbp - 0x29]
lea rcx, [rbp - 9]
call fcn.18000a2f0
nop
lea rcx, [rbp - 0x29]
call fcn.18002d710
movsd xmm0, qword [0x18011ff68]
movsd qword [rbp - 0x79], xmm0
mov ecx, dword [0x18011ff70]
mov dword [rbp - 0x71], ecx
cmp byte [0x18011ff73], 0
je 0x18003c062
mov r8d, r14d
cmp edi, 2
jl 0x18003c02c
movdqa xmm4, xmmword [0x18012e5f0]
movdqa xmm5, xmmword [str.555566668888]
movdqa xmm3, xmmword [0x18012e100]
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, xmm5
psubd xmm3, xmm0
andps xmm3, xmm6
packuswb xmm3, xmm3
packuswb xmm3, xmm3
mov eax, dword [0x18012e230]
movd xmm0, eax
paddb xmm3, xmm0
movd xmm0, dword [0x18011ff68]
xorps xmm3, xmm0
movd dword [rbp - 0x79], xmm3
movdqa xmm2, xmmword [0x18012e110]
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, xmm5
psubd xmm2, xmm0
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, eax
paddb xmm2, xmm0
movd xmm1, dword [rbp - 0x75]
xorps xmm2, xmm1
movd dword [rbp - 0x75], xmm2
movdqa xmm3, xmmword [0x18012e120]
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, xmm5
psubd xmm3, xmm0
andps xmm3, xmm6
packuswb xmm3, xmm3
packuswb xmm3, xmm3
movd xmm0, eax
paddb xmm3, xmm0
movd xmm1, ecx
xorps xmm3, xmm1
movd dword [rbp - 0x71], xmm3
jmp 0x18003c062
lea r9, [rbp - 0x79]
mov eax, 0x3521cfb3
mul r8d
mov eax, r8d
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 5
movsx eax, al
imul ecx, eax, 0x35
movzx eax, r8b
sub al, cl
add al, 0x30
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0xc
jl 0x18003c030
xorps xmm0, xmm0
movups xmmword [rbp - 0x29], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x19], xmm1
lea rax, [rbp - 0x79]
inc rbx
cmp byte [rax + rbx], 0
jne 0x18003c075
mov r8, rbx
lea rdx, [rbp - 0x79]
lea rcx, [rbp - 0x29]
call fcn.180016750
nop
mov rdx, qword [rbp - 1]
cmp rdx, qword [rbp + 7]
je 0x18003c0c0
movups xmm0, xmmword [rbp - 0x29]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rbp - 0x19]
movups xmmword [rdx + 0x10], xmm1
movdqa xmm0, xmmword [0x18012e080]
movdqu xmmword [rbp - 0x19], xmm0
mov byte [rbp - 0x29], 0
add qword [rbp - 1], 0x20
jmp 0x18003c0ce
lea r8, [rbp - 0x29]
lea rcx, [rbp - 9]
call fcn.18000a2f0
nop
lea rcx, [rbp - 0x29]
call fcn.18002d710
cmp dword [0x180149de0], 0x1a
jl 0x18003c124
mov rdi, qword [rbp - 9]
mov rsi, qword [rbp - 1]
lea rbx, [rdi + 0x20]
cmp rbx, rsi
je 0x18003c10d
mov rdx, rbx
mov rcx, rdi
call fcn.180024bb0
add rdi, 0x20
add rbx, 0x20
cmp rbx, rsi
jne 0x18003c0f1
mov rsi, qword [rbp - 1]
lea rcx, [rsi - 0x20]
call fcn.18002d710
mov rdi, qword [rbp - 1]
sub rdi, 0x20
mov qword [rbp - 1], rdi
jmp 0x18003c128
mov rdi, qword [rbp - 1]
mov rbx, qword [rbp - 9]
cmp rbx, rdi
je 0x18003c217
movabs r15, 0x7fffffffffffffff
lea r12, [0x180119688]
nop word [rax + rax]
mov rax, r15
mov rcx, qword [rbp + 0x1f]
sub rax, rcx
cmp rax, 1
jb 0x18003c281
lea r9, [rbp + 0xf]
cmp qword [rbp + 0x27], 0xf
cmova r9, qword [rbp + 0xf]
mov qword [rsp + 0x30], 1
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], rcx
lea rcx, [rbp - 0x69]
call fcn.180023030
nop
mov rdx, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x18003c19c
mov rdx, qword [rbx]
mov r8, qword [rbx + 0x10]
lea rcx, [rbp - 0x69]
call fcn.18002cd90
xorps xmm0, xmm0
movups xmmword [rbp - 0x29], xmm0
mov qword [rbp - 0x19], r14
mov qword [rbp - 0x11], r14
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x29], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x19], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
lea rcx, [rbp - 0x69]
call fcn.18002d710
lea rdx, [rbp - 0x29]
cmp qword [rbp - 0x11], 0xf
cmova rdx, qword [rbp - 0x29]
xor r8d, r8d
lea rcx, [rbp - 0x79]
call fcn.180038a30
mov rsi, qword [rax]
lea rcx, [rbp - 0x29]
call fcn.18002d710
test rsi, rsi
jne 0x18003c25c
add rbx, 0x20
cmp rbx, rdi
jne 0x18003c150
lea rcx, [rbp - 9]
call fcn.180012640
nop
lea rcx, [rbp + 0xf]
call fcn.18002d710
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.1800ec360
lea r11, [rsp + 0x100]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
lea r8, [0x180149e40]
lea rdx, [0x1800c8690]
mov rcx, rsi
call fcn.1800e6ed8
mov edx, 1
mov rcx, rsi
call fcn.1800e717c
jmp 0x18003c217
call fcn.18002d500
int3