Function at 0x140058fa0
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x88
movaps xmmword [rsp + 0x70], xmm6
mov r9, qword [rcx + 0x18]
cmp r9, 0xffffffffffffffff
je 0x140059910
mov r15, rdx
mov rdi, rcx
mov rsi, qword [rcx + 8]
lea r12, [rsi + 1]
mov rax, r12
shr rax, 3
mov r14, r12
and r14, 0xfffffffffffffff8
sub r14, rax
cmp rsi, 8
mov rax, r14
cmovb rax, rsi
movabs r8, 0x7ffffffffffffff0
mov rcx, rax
shr rcx, 1
cmp r9, rcx
mov qword [rsp + 0x28], rdi
jae 0x140059037
mov rbx, qword [rdi]
mov rcx, r12
shr rcx, 4
xor eax, eax
test r12b, 0xf
setne al
add rax, rcx
je 0x14005938a
cmp rax, 1
jne 0x140059329
xor ecx, ecx
jmp 0x140059374
cmp r9, rax
cmova rax, r9
cmp rax, 7
mov qword [rsp + 0x40], r12
jae 0x14005905f
mov r14, r9
xor ecx, ecx
cmp rax, 3
setae cl
lea r12, [rcx*4 + 4]
jmp 0x1400590b0
movabs rcx, 0x1ffffffffffffffe
cmp rax, rcx
ja 0x140059910
mov r14, r9
lea rcx, [rax*8 + 8]
movabs rdx, 0x2492492492492493
mov rax, rcx
mul rdx
sub rcx, rdx
shr rcx, 1
add rcx, rdx
shr rcx, 2
dec rcx
bsr rcx, rcx
not ecx
mov r12, 0xffffffffffffffff
shr r12, cl
inc r12
mov ecx, 0x38
mov rax, r12
mul rcx
jo 0x140059910
mov r13, rax
cmp rax, 0xfffffffffffffff0
ja 0x140059910
add r13, 0xf
and r13, 0xfffffffffffffff0
lea rbp, [r12 + 0x10]
mov rdx, r13
add rdx, rbp
jb 0x140059910
cmp rdx, r8
ja 0x140059910
movzx eax, byte [0x141d43a20]
xor ecx, ecx
call fcn.14002f460
test rax, rax
je 0x140059910
mov rbx, rax
lea rdi, [r12 - 1]
mov rax, r12
shr rax, 3
mov rcx, r12
and rcx, 0xfffffffffffffff8
sub rcx, rax
cmp r12, 9
cmovb rcx, rdi
mov qword [rsp + 0x38], rcx
add rbx, r13
mov rcx, rbx
mov dl, 0xff
mov r8, rbp
call fcn.140055b10
test r14, r14
je 0x1400592b8
mov rax, qword [rsp + 0x28]
mov r12, qword [rax]
movdqa xmm0, xmmword [r12]
pmovmskb r13d, xmm0
not r13d
lea rcx, [r12 - 0x38]
mov qword [rsp + 0x48], rcx
movups xmm6, xmmword [r15]
xor ebp, ebp
mov qword [rsp + 0x20], r12
mov qword [rsp + 0x30], r14
mov r15, r14
jmp 0x1400591eb
lea ecx, [r13 - 1]
and ecx, r13d
dec r15
shr rax, 0x39
lea r8, [rdx - 0x10]
and r8, rdi
mov byte [rbx + rdx], al
mov byte [rbx + r8 + 0x10], al
not r14
imul rax, r14, 0x38
not rdx
imul rdx, rdx, 0x38
mov r9, qword [rsp + 0x20]
mov r8, qword [r9 + rax + 0x30]
mov qword [rbx + rdx + 0x30], r8
movdqu xmm0, xmmword [r9 + rax]
movdqu xmm1, xmmword [r9 + rax + 0x10]
movdqu xmm2, xmmword [r9 + rax + 0x20]
movdqu xmmword [rbx + rdx + 0x20], xmm2
movdqu xmmword [rbx + rdx + 0x10], xmm1
movdqu xmmword [rbx + rdx], xmm0
mov r13d, ecx
test r15, r15
je 0x1400592ac
test r13w, r13w
jne 0x140059220
nop word cs:[rax + rax]
movdqa xmm0, xmmword [r12 + 0x10]
add r12, 0x10
pmovmskb r13d, xmm0
add rbp, 0x10
cmp r13d, 0xffff
je 0x140059200
not r13d
tzcnt r14d, r13d
add r14, rbp
mov rax, r14
neg rax
imul rax, rax, 0x38
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rcx + rax + 8]
mov r8, qword [rcx + rax + 0x10]
movaps xmmword [rsp + 0x60], xmm6
lea rcx, [rsp + 0x60]
call fcn.14003d2d0
mov rcx, rax
and rcx, rdi
movdqu xmm0, xmmword [rbx + rcx]
pmovmskb edx, xmm0
test edx, edx
jne 0x140059287
mov r8d, 0x10
nop dword [rax]
add rcx, r8
and rcx, rdi
movdqu xmm0, xmmword [rbx + rcx]
pmovmskb edx, xmm0
add r8, 0x10
test edx, edx
je 0x140059270
tzcnt edx, edx
add rdx, rcx
and rdx, rdi
cmp byte [rbx + rdx], 0
js 0x140059180
movdqa xmm0, xmmword [rbx]
pmovmskb ecx, xmm0
tzcnt edx, ecx
jmp 0x140059180
mov rax, qword [rsp + 0x28]
mov r14, qword [rsp + 0x30]
jmp 0x1400592c5
mov rax, qword [rsp + 0x28]
mov rcx, qword [rax]
mov qword [rsp + 0x20], rcx
mov rcx, qword [rsp + 0x38]
sub rcx, r14
mov qword [rax], rbx
mov qword [rax + 8], rdi
mov qword [rax + 0x10], rcx
test rsi, rsi
movabs rdi, 0x7ffffffffffffff0
mov rax, qword [rsp + 0x40]
je 0x1400598f0
mov ecx, 0x38
mul rcx
add rax, 0xf
and rax, 0xfffffffffffffff0
add rsi, rax
cmp rsi, 0xffffffffffffffef
je 0x1400598f0
mov r8, qword [rsp + 0x20]
sub r8, rax
mov rcx, qword [0x141d439e8]
xor edx, edx
call qword [0x141d40520]
jmp 0x1400598f0
movabs rdx, 0x1ffffffffffffffe
and rdx, rax
xor ecx, ecx
movdqa xmm0, xmmword [0x14005c5c0]
pxor xmm1, xmm1
pcmpgtb xmm1, xmmword [rbx + rcx]
por xmm1, xmm0
movdqa xmmword [rbx + rcx], xmm1
pxor xmm1, xmm1
pcmpgtb xmm1, xmmword [rbx + rcx + 0x10]
por xmm1, xmm0
movdqa xmmword [rbx + rcx + 0x10], xmm1
add rcx, 0x20
add rdx, 0xfffffffffffffffe
jne 0x140059340
test al, 1
je 0x14005938a
pxor xmm0, xmm0
pcmpgtb xmm0, xmmword [rbx + rcx]
por xmm0, xmmword [0x14005c5c0]
movdqa xmmword [rbx + rcx], xmm0
mov qword [rsp + 0x30], r9
cmp r12, 0x10
jae 0x1400593b0
lea rcx, [rbx + 0x10]
mov rdx, rbx
mov r8, r12
call fcn.140055470
test r12, r12
jne 0x1400593ba
xor eax, eax
jmp 0x1400598dd
movdqu xmm0, xmmword [rbx]
movdqu xmmword [rbx + r12], xmm0
mov qword [rsp + 0x50], r14
movdqu xmm1, xmmword [r15]
pshufd xmm0, xmm1, 0x44
pxor xmm0, xmmword [str.uespemosarenegylmodnarodsetybdet]
pshufd xmm1, xmm1, 0xee
pxor xmm1, xmmword [0x14005c5e0]
pshufd xmm2, xmm1, 0xee
movq qword [rsp + 0x48], xmm2
movq qword [rsp + 0x40], xmm0
movq qword [rsp + 0x38], xmm1
pshufd xmm2, xmm0, 0xee
movq qword [rsp + 0x58], xmm2
xor ecx, ecx
mov r15, rbx
xor r13d, r13d
jmp 0x14005943a
shr r14, 0x39
lea rax, [r13 - 0x10]
and rax, rsi
mov byte [rbx + r13], r14b
mov byte [rbx + rax + 0x10], r14b
xor ecx, ecx
lea rax, [r13 + 1]
add r15, 0xffffffffffffffc8
cmp r13, rsi
mov r13, rax
je 0x1400598cb
cmp cl, byte [rbx + r13]
jno 0x140059426
imul rcx, r13, 0xffffffffffffffc8
mov rax, r13
not rax
imul rbp, rax, 0x38
add rbp, rbx
add rcx, rbx
mov qword [rsp + 0x20], rcx
mov rax, r13
neg rax
imul r11, rax, 0x38
add r11, rbx
jmp 0x1400594c4
movdqu xmm2, xmmword [rbp]
movdqu xmm3, xmmword [rbp + 0x10]
movdqu xmm4, xmmword [rax]
movups xmm5, xmmword [rax + 0x10]
movdqu xmmword [rbp], xmm4
movups xmmword [rbp + 0x10], xmm5
movdqu xmmword [rax], xmm2
movdqu xmmword [rax + 0x10], xmm3
mov rcx, qword [rbp + 0x20]
mov rdx, qword [rax + 0x20]
mov qword [rbp + 0x20], rdx
mov qword [rax + 0x20], rcx
mov rcx, qword [rbp + 0x28]
mov rdx, qword [rax + 0x28]
mov qword [rbp + 0x28], rdx
mov qword [rax + 0x28], rcx
mov rcx, qword [rbp + 0x30]
mov rdx, qword [rax + 0x30]
mov qword [rbp + 0x30], rdx
mov qword [rax + 0x30], rcx
mov r14, qword [r11 - 0x30]
mov r8, qword [r11 - 0x28]
mov rcx, r8
and rcx, 0xfffffffffffffff8
je 0x140059580
mov rax, qword [rsp + 0x58]
mov r12, qword [rsp + 0x38]
mov r10, qword [rsp + 0x48]
xor edx, edx
mov r9, qword [rsp + 0x40]
nop
mov rdi, qword [r14 + rdx]
xor r10, rdi
add r9, r12
rol r12, 0xd
add rax, r10
xor r12, r9
rol r10, 0x10
xor r10, rax
rol r9, 0x20
add rax, r12
add r9, r10
rol r12, 0x11
xor r12, rax
rol r10, 0x15
rol rax, 0x20
xor r10, r9
xor r9, rdi
add rdx, 8
cmp rdx, rcx
jb 0x1400594f0
movq xmm3, r10
movq xmm2, r12
punpcklqdq xmm2, xmm3
movq xmm4, rax
movq xmm3, r9
punpcklqdq xmm3, xmm4
mov r12d, r8d
and r12d, 7
cmp r12d, 4
jb 0x140059597
mov r9d, dword [r14 + rdx]
mov eax, 4
mov ecx, eax
or ecx, 1
cmp ecx, r12d
jb 0x1400595a6
jmp 0x1400595c0
movdqa xmm2, xmm1
movdqa xmm3, xmm0
xor edx, edx
mov r12d, r8d
and r12d, 7
cmp r12d, 4
jae 0x14005955c
xor r9d, r9d
xor eax, eax
mov ecx, eax
or ecx, 1
cmp ecx, r12d
jae 0x1400595c0
lea rcx, [r14 + rax]
movzx r10d, word [rdx + rcx]
lea ecx, [rax*8]
shl r10, cl
or r9, r10
or rax, 2
cmp eax, r12d
jae 0x1400595e0
add rdx, rax
movzx edx, byte [r14 + rdx]
shl eax, 3
mov ecx, eax
shl rdx, cl
or r9, rdx
jmp 0x1400595e9
test r12, r12
je 0x14005967d
lea ecx, [r12*8]
mov r14d, 0xff
shl r14, cl
or r14, r9
cmp r12, 7
jne 0x140059690
pshufd xmm4, xmm2, 0xee
movq rcx, xmm4
xor rcx, r14
movq r9, xmm2
paddq xmm2, xmm3
movq rax, xmm2
pshufd xmm2, xmm3, 0xee
movq rdx, xmm2
add rdx, rcx
rol r9, 0xd
xor r9, rax
rol rcx, 0x10
xor rcx, rdx
rol rax, 0x20
add rdx, r9
add rax, rcx
rol r9, 0x11
rol rcx, 0x15
xor r9, rdx
xor rcx, rax
movq xmm3, rcx
movq xmm2, r9
punpcklqdq xmm2, xmm3
rol rdx, 0x20
xor rax, r14
movq xmm4, rdx
movq xmm3, rax
punpcklqdq xmm3, xmm4
xor r14d, r14d
jmp 0x140059690
mov r14d, 0xff
nop word cs:[rax + rax]
pshufd xmm4, xmm3, 0xee
movq rax, xmm4
movq rcx, xmm2
pshufd xmm4, xmm2, 0xee
movq rdx, xmm4
shl r8, 0x38
movabs r9, 0x100000000000000
add r8, r9
or r8, r14
xor rdx, r8
paddq xmm2, xmm3
movq r14, xmm2
rol rcx, 0xd
add rax, rdx
xor rcx, r14
rol rdx, 0x10
xor rdx, rax
rol r14, 0x20
add rax, rcx
add r14, rdx
rol rcx, 0x11
xor rcx, rax
rol rdx, 0x15
rol rax, 0x20
xor rdx, r14
xor r14, r8
xor rax, 0xff
add r14, rcx
add rax, rdx
rol rcx, 0xd
xor rcx, r14
rol rdx, 0x10
rol r14, 0x20
xor rdx, rax
add rax, rcx
rol rcx, 0x11
add r14, rdx
xor rcx, rax
rol rdx, 0x15
xor rdx, r14
rol rax, 0x20
add r14, rcx
add rax, rdx
rol rcx, 0xd
xor rcx, r14
rol rdx, 0x10
rol r14, 0x20
xor rdx, rax
add rax, rcx
rol rcx, 0x11
add r14, rdx
xor rcx, rax
rol rdx, 0x15
xor rdx, r14
rol rax, 0x20
add r14, rcx
add rax, rdx
rol rcx, 0xd
xor rcx, r14
rol rdx, 0x10
xor rdx, rax
add rax, rcx
rol rcx, 0x11
rol rdx, 0x15
mov r14, rax
rol r14, 0x20
xor r14, rcx
xor r14, rdx
xor r14, rax
mov rax, rsi
and rax, r14
movdqu xmm2, xmmword [rbx + rax]
pmovmskb ecx, xmm2
mov rdx, rax
test ecx, ecx
jne 0x1400597c7
mov r8d, 0x10
mov rdx, rax
nop dword [rax]
add rdx, r8
and rdx, rsi
movdqu xmm2, xmmword [rbx + rdx]
pmovmskb ecx, xmm2
add r8, 0x10
test ecx, ecx
je 0x1400597b0
tzcnt ecx, ecx
add rcx, rdx
and rcx, rsi
cmp byte [rbx + rcx], 0
js 0x1400597e3
movdqa xmm2, xmmword [rbx]
pmovmskb ecx, xmm2
tzcnt ecx, ecx
mov rdx, r13
sub rdx, rax
mov r8, rcx
sub r8, rax
xor r8, rdx
and r8, rsi
cmp r8, 0x10
jb 0x140059410
mov rax, rcx
not rax
imul rax, rax, 0x38
add rax, rbx
movzx edx, byte [rbx + rcx]
shr r14, 0x39
lea r8, [rcx - 0x10]
and r8, rsi
mov byte [rbx + rcx], r14b
mov byte [rbx + r8 + 0x10], r14b
cmp dl, 0xff
je 0x140059890
imul rcx, rcx, 0xffffffffffffffc8
add rcx, rbx
cmp rbp, rcx
jae 0x140059470
cmp rax, qword [rsp + 0x20]
jae 0x140059470
mov rax, 0xffffffffffffffc8
nop dword [rax + rax]
movzx edx, byte [r15 + rax]
movzx r8d, byte [rcx + rax]
mov byte [r15 + rax], r8b
mov byte [rcx + rax], dl
movzx edx, byte [r15 + rax + 1]
movzx r8d, byte [rcx + rax + 1]
mov byte [r15 + rax + 1], r8b
mov byte [rcx + rax + 1], dl
add rax, 2
jne 0x140059850
jmp 0x1400594c4
lea rcx, [r13 - 0x10]
and rcx, rsi
mov byte [rbx + r13], 0xff
mov byte [rbx + rcx + 0x10], 0xff
mov rcx, qword [rbp + 0x30]
mov qword [rax + 0x30], rcx
movdqu xmm2, xmmword [rbp]
movdqu xmm3, xmmword [rbp + 0x10]
movdqu xmm4, xmmword [rbp + 0x20]
movdqu xmmword [rax + 0x20], xmm4
movdqu xmmword [rax + 0x10], xmm3
movdqu xmmword [rax], xmm2
jmp 0x140059424
cmp rsi, 8
mov rax, qword [rsp + 0x50]
cmovb rax, rsi
mov rdi, qword [rsp + 0x28]
sub rax, qword [rsp + 0x30]
mov qword [rdi + 0x10], rax
movabs rdi, 0x7ffffffffffffff0
add rdi, 0x11
mov rax, rdi
movaps xmm6, xmmword [rsp + 0x70]
add rsp, 0x88
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
ud2