Function at 0x4b4a00
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x68
mov rsi, qword [rcx + 0x18]
mov rax, rsi
inc rax
je 0x4b5345
mov rbp, rdx
mov rdi, qword [rcx + 8]
lea r14, [rdi + 1]
mov rdx, r14
shr rdx, 3
mov r8, r14
and r8, 0xfffffffffffffff8
sub r8, rdx
cmp rdi, 8
cmovb r8, rdi
mov rdx, r8
shr rdx, 1
cmp rax, rdx
mov qword [rsp + 0x28], rcx
jbe 0x4b4a7f
inc r8
cmp rax, r8
cmova r8, rax
cmp r8, 8
mov qword [rsp + 0x30], rsi
jae 0x4b4aac
xor eax, eax
cmp r8, 4
setae al
lea rbx, [rax*4 + 4]
jmp 0x4b4b05
mov rbx, qword [rcx]
mov rcx, r14
shr rcx, 4
xor eax, eax
test r14b, 0xf
setne al
add rax, rcx
je 0x4b4db1
cmp rax, 1
jne 0x4b4d3d
xor edx, edx
jmp 0x4b4d97
movabs rax, 0x1ffffffffffffffe
add rax, 2
cmp r8, rax
jae 0x4b5345
shl r8, 3
mov ebx, 1
cmp r8, 0xe
jb 0x4b4b05
movabs rdx, 0x2492492492492493
mov rax, r8
mul rdx
sub r8, rdx
shr r8, 1
add r8, rdx
shr r8, 2
dec r8
bsr rcx, r8
not ecx
mov rbx, 0xffffffffffffffff
shr rbx, cl
inc rbx
mov ecx, 0x18
mov rax, rbx
mul rcx
jo 0x4b5345
mov rsi, rax
add rsi, 0xf
and rsi, 0xfffffffffffffff0
lea r15, [rbx + 0x10]
mov r13, rsi
add r13, r15
jb 0x4b5345
movabs rax, 0x7ffffffffffffff0
cmp r13, rax
ja 0x4b5345
test r13, r13
je 0x4b4b8c
movzx eax, byte [0x006101a4]
mov rcx, qword [0x00610110]
test rcx, rcx
jne 0x4b4b70
call sub.kernel32.dll_GetProcessHeap
test rax, rax
je 0x4b4b82
mov rcx, rax
mov qword [0x00610110], rax
xor edx, edx
mov r8, r13
call sub.kernel32.dll_HeapAlloc
mov r12, rax
test rax, rax
jne 0x4b4b92
mov rcx, r13
call dbg.alloc_err
ud2
mov r12d, 0x10
mov r13, rbp
mov qword [rsp + 0x38], r14
lea r14, [rbx - 1]
mov rax, rbx
shr rax, 3
mov rbp, rbx
and rbp, 0xfffffffffffffff8
sub rbp, rax
cmp rbx, 9
cmovb rbp, r14
add r12, rsi
mov rcx, r12
mov dl, 0xff
mov r8, r15
call sub.msvcrt.dll_memset
mov rcx, qword [rsp + 0x30]
sub rbp, rcx
mov rax, qword [rsp + 0x28]
mov rbx, qword [rax]
cmp rdi, 0xffffffffffffffff
je 0x4b4cf3
mov rax, r13
mov r13, qword [r13]
mov r15, qword [rax + 8]
xor esi, esi
jmp 0x4b4c4b
shr rax, 0x39
lea rcx, [rdx - 0x10]
and rcx, r14
mov byte [r12 + rdx], al
mov byte [rcx + r12 + 0x10], al
lea rax, [rsi*8]
lea rax, [rax + rax*2]
mov rcx, rbx
sub rcx, rax
shl rdx, 3
lea rax, [rdx + rdx*2]
mov rdx, r12
sub rdx, rax
neg rax
movdqu xmm0, xmmword [rcx - 0x18]
movdqu xmmword [r12 + rax - 0x18], xmm0
mov rax, qword [rcx - 8]
mov qword [rdx - 8], rax
lea rax, [rsi + 1]
cmp rsi, rdi
mov rsi, rax
je 0x4b4cd0
cmp byte [rbx + rsi], 0
js 0x4b4c3b
mov rax, rsi
neg rax
lea rax, [rax + rax*2]
mov r8, qword [rbx + rax*8 - 0x18]
mov r9, qword [rbx + rax*8 - 0x10]
mov rcx, r13
mov rdx, r15
call sym.core::hash::BuildHasher::hash_one::hf8fc39af75046789
mov rcx, rax
and rcx, r14
movdqu xmm0, xmmword [r12 + rcx]
pmovmskb edx, xmm0
test edx, edx
jne 0x4b4ca8
mov r8d, 0x10
nop word [rax + rax]
add rcx, r8
and rcx, r14
movdqu xmm0, xmmword [r12 + rcx]
pmovmskb edx, xmm0
add r8, 0x10
test edx, edx
je 0x4b4c90
tzcnt edx, edx
add rdx, rcx
and rdx, r14
cmp byte [r12 + rdx], 0
js 0x4b4bf0
movdqa xmm0, xmmword [r12]
pmovmskb ecx, xmm0
tzcnt edx, ecx
jmp 0x4b4bf0
mov rax, qword [rsp + 0x28]
mov qword [rax], r12
mov qword [rax + 8], r14
mov qword [rax + 0x10], rbp
mov rcx, qword [rsp + 0x30]
mov qword [rax + 0x18], rcx
test rdi, rdi
jne 0x4b4d02
jmp 0x4b5326
mov qword [rax], r12
mov qword [rax + 8], r14
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rcx
mov ecx, 0x18
mov rax, qword [rsp + 0x38]
mul rcx
add rax, 0xf
and rax, 0xfffffffffffffff0
add rdi, rax
cmp rdi, 0xffffffffffffffef
je 0x4b5326
sub rbx, rax
mov rcx, qword [0x00610110]
xor edx, edx
mov r8, rbx
call fcn.00573784
jmp 0x4b5326
movabs rcx, 0x1ffffffffffffffe
and rcx, rax
xor r8d, r8d
movdqa xmm0, xmmword [0x005790f0]
nop word cs:[rax + rax]
pxor xmm1, xmm1
pcmpgtb xmm1, xmmword [rbx + r8]
por xmm1, xmm0
movdqa xmmword [rbx + r8], xmm1
lea rdx, [r8 + 0x20]
pxor xmm1, xmm1
pcmpgtb xmm1, xmmword [rbx + r8 + 0x10]
por xmm1, xmm0
movdqa xmmword [rbx + r8 + 0x10], xmm1
mov r8, rdx
add rcx, 0xfffffffffffffffe
jne 0x4b4d60
test al, 1
je 0x4b4db1
pxor xmm0, xmm0
pcmpgtb xmm0, xmmword [rbx + rdx]
por xmm0, xmmword [0x005790f0]
movdqa xmmword [rbx + rdx], xmm0
cmp r14, 0x10
jae 0x4b4dd8
lea rcx, [rbx + 0x10]
mov rdx, rbx
mov r8, r14
call sub.msvcrt.dll_memmove
cmp rdi, 0xffffffffffffffff
jne 0x4b4de2
xor eax, eax
mov r8, qword [rsp + 0x28]
jmp 0x4b531f
movdqu xmm0, xmmword [rbx]
movdqu xmmword [rbx + r14], xmm0
mov rax, qword [rbp]
mov rcx, qword [rbp + 8]
movabs rdx, 0x736f6d6570736575
xor rdx, rax
mov qword [rsp + 0x58], rdx
movabs rdx, 0x646f72616e646f6d
xor rdx, rcx
mov qword [rsp + 0x50], rdx
movabs rdx, 0x6c7967656e657261
xor rdx, rax
mov qword [rsp + 0x48], rdx
movabs rax, 0x7465646279746573
xor rax, rcx
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x28]
mov rax, qword [rax]
mov qword [rsp + 0x60], rax
xor r10d, r10d
jmp 0x4b4e73
shr rax, 0x39
lea rcx, [r10 - 0x10]
and rcx, rdi
mov byte [rbx + r10], al
mov byte [rcx + rbx + 0x10], al
lea rax, [r10 + 1]
cmp r10, rdi
mov r10, rax
je 0x4b52f8
cmp byte [rbx + r10], 0x80
jne 0x4b4e63
lea rax, [r10*8]
lea rax, [rax + rax*2]
mov r13, rbx
sub r13, rax
add r13, 0xffffffffffffffe8
mov qword [rsp + 0x30], r10
neg r10
mov qword [rsp + 0x38], r10
mov rax, rbx
mov rcx, qword [rsp + 0x38]
lea rcx, [rcx + rcx*2]
mov r15, qword [rax + rcx*8 - 0x18]
mov rsi, qword [rax + rcx*8 - 0x10]
mov rax, rsi
and rax, 0xfffffffffffffff8
je 0x4b4f50
mov r9, qword [rsp + 0x48]
mov r8, qword [rsp + 0x50]
mov r10, qword [rsp + 0x40]
xor r14d, r14d
mov rdx, qword [rsp + 0x58]
nop word [rax + rax]
add rdx, r8
rol r8, 0xd
mov rcx, qword [r15 + r14 + 0x10]
xor r8, rdx
rol rdx, 0x20
xor r10, rcx
add r9, r10
rol r10, 0x10
xor r10, r9
add rdx, r10
rol r10, 0x15
add r9, r8
rol r8, 0x11
xor r8, r9
rol r9, 0x20
xor r10, rdx
xor rdx, rcx
add r14, 8
cmp r14, rax
jb 0x4b4ee0
mov r11d, esi
and r11d, 7
cmp r11d, 3
jbe 0x4b4f74
mov ebp, dword [r15 + r14 + 0x10]
mov eax, 4
mov rcx, rax
or rcx, 1
cmp rcx, r11
jb 0x4b4f84
jmp 0x4b4f9f
mov rdx, qword [rsp + 0x58]
mov r9, qword [rsp + 0x48]
mov r8, qword [rsp + 0x50]
mov r10, qword [rsp + 0x40]
xor r14d, r14d
mov r11d, esi
and r11d, 7
cmp r11d, 3
ja 0x4b4f31
xor ebp, ebp
xor eax, eax
mov rcx, rax
or rcx, 1
cmp rcx, r11
jae 0x4b4f9f
lea rcx, [rax + r14]
movzx r12d, word [r15 + rcx + 0x10]
lea ecx, [rax*8]
shl r12, cl
or rbp, r12
or rax, 2
cmp rax, r11
jae 0x4b4fc0
add r14, rax
movzx r14d, byte [r15 + r14 + 0x10]
shl eax, 3
mov ecx, eax
shl r14, cl
or rbp, r14
jmp 0x4b4fc5
test r11, r11
je 0x4b5023
lea ecx, [r11*8]
mov r14d, 0xff
shl r14, cl
or r14, rbp
cmp r11, 7
jne 0x4b5103
mov ecx, 8
add rdx, r8
rol r8, 0xd
sub rcx, r11
xor r8, rdx
rol rdx, 0x20
xor r10, r14
add r9, r10
rol r10, 0x10
xor r10, r9
add rdx, r10
rol r10, 0x15
xor r10, rdx
add r9, r8
rol r8, 0x11
xor r8, r9
rol r9, 0x20
xor rdx, r14
jmp 0x4b5025
xor ecx, ecx
mov r11d, 1
sub r11, rcx
mov eax, r11d
and eax, 7
and r11, 0xfffffffffffffff8
cmp rcx, r11
jae 0x4b50b0
nop dword [rax]
add rdx, r8
rol r8, 0xd
xor r8, rdx
rol rdx, 0x20
xor r10, 0xff
add r9, r10
rol r10, 0x10
xor r10, r9
add rdx, r10
rol r10, 0x15
add r9, r8
rol r8, 0x11
xor r8, r9
rol r9, 0x20
xor r10, rdx
xor rdx, 0xff
add rcx, 8
cmp rcx, r11
jb 0x4b5040
xor r11d, r11d
cmp rax, 4
setae r11b
cmp eax, 4
mov r14d, 0
mov ecx, 0xff
cmovae r14, rcx
shl r11, 2
jmp 0x4b50b6
xor r14d, r14d
xor r11d, r11d
mov r15, r11
lea ecx, [r11*8]
mov r12d, 0xff
shl r12, cl
or r15, 1
mov rbp, r11
or rbp, 2
cmp r15, rax
mov r15d, 0
cmovae r12, r15
cmovae rbp, r11
or r12, r14
lea ecx, [rbp*8]
mov r14d, 0xff
shl r14, cl
cmp rbp, rax
cmovae r14, r15
or r14, r12
shl rsi, 0x38
movabs rax, 0x100000000000000
add rsi, rax
add rdx, r8
rol r8, 0xd
or rsi, r14
xor r8, rdx
rol rdx, 0x20
xor r10, rsi
add r9, r10
rol r10, 0x10
xor r10, r9
add rdx, r10
rol r10, 0x15
add r9, r8
rol r8, 0x11
xor r10, rdx
xor r8, r9
rol r9, 0x20
xor rdx, rsi
add rdx, r8
rol r8, 0xd
xor r8, rdx
rol rdx, 0x20
xor r9, 0xff
add r9, r10
rol r10, 0x10
xor r10, r9
add rdx, r10
rol r10, 0x15
add r9, r8
rol r8, 0x11
xor r8, r9
rol r9, 0x20
xor r10, rdx
add rdx, r8
rol r8, 0xd
xor r8, rdx
rol rdx, 0x20
add r9, r10
rol r10, 0x10
xor r10, r9
add rdx, r10
rol r10, 0x15
add r9, r8
rol r8, 0x11
xor r8, r9
rol r9, 0x20
xor r10, rdx
add rdx, r8
rol r8, 0xd
add r9, r10
rol r10, 0x10
xor r10, r9
rol r10, 0x15
xor r8, rdx
add r9, r8
rol r8, 0x11
mov rax, r9
rol rax, 0x20
xor rax, r8
xor rax, r10
xor rax, r9
mov rcx, rdi
and rcx, rax
movdqu xmm0, xmmword [rbx + rcx]
pmovmskb edx, xmm0
mov r8, rcx
test edx, edx
mov r10, qword [rsp + 0x30]
jne 0x4b5228
mov r9d, 0x10
mov r8, rcx
nop word [rax + rax]
add r8, r9
and r8, rdi
movdqu xmm0, xmmword [rbx + r8]
pmovmskb edx, xmm0
add r9, 0x10
test edx, edx
je 0x4b5210
tzcnt edx, edx
add rdx, r8
and rdx, rdi
cmp byte [rbx + rdx], 0
js 0x4b5244
movdqa xmm0, xmmword [rbx]
pmovmskb edx, xmm0
tzcnt edx, edx
mov r8, r10
sub r8, rcx
mov r9, rdx
sub r9, rcx
xor r9, r8
and r9, rdi
cmp r9, 0x10
jb 0x4b4e50
lea rcx, [rdx*8]
lea rcx, [rcx + rcx*2]
neg rcx
add rcx, rbx
add rcx, 0xffffffffffffffe8
movzx r8d, byte [rbx + rdx]
shr rax, 0x39
lea r9, [rdx - 0x10]
and r9, rdi
mov byte [rbx + rdx], al
mov byte [r9 + rbx + 0x10], al
cmp r8b, 0xff
je 0x4b52d0
mov rax, qword [r13]
mov rdx, qword [rcx]
mov qword [r13], rdx
mov qword [rcx], rax
mov rax, qword [r13 + 8]
mov rdx, qword [rcx + 8]
mov qword [r13 + 8], rdx
mov qword [rcx + 8], rax
mov rax, qword [r13 + 0x10]
mov rdx, qword [rcx + 0x10]
mov qword [r13 + 0x10], rdx
mov qword [rcx + 0x10], rax
mov rax, qword [rsp + 0x60]
jmp 0x4b4ea0
lea rax, [r10 - 0x10]
and rax, rdi
mov byte [rbx + r10], 0xff
mov byte [rax + rbx + 0x10], 0xff
mov rax, qword [r13 + 0x10]
mov qword [rcx + 0x10], rax
movdqu xmm0, xmmword [r13]
movdqu xmmword [rcx], xmm0
jmp 0x4b4e63
mov r8, qword [rsp + 0x28]
mov rcx, qword [r8 + 8]
mov rsi, qword [r8 + 0x18]
lea rax, [rcx + 1]
mov rdx, rax
shr rdx, 3
and rax, 0xfffffffffffffff8
sub rax, rdx
cmp rcx, 8
cmovb rax, rcx
sub rax, rsi
mov qword [r8 + 0x10], rax
movabs rax, 0x7ffffffffffffff0
add rax, 0x11
add rsp, 0x68
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
call dbg.capacity_overflow
ud2