Function at 0x180002060
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x10], rdx
push rbp
mov rbp, rsp
sub rsp, 0x30
movzx ebx, byte [r8]
mov r11, r8
mov rdi, rcx
mov r10, r8
test bl, bl
je 0x180002263
lea r8, [0x180001128]
mov r9, r10
sub r9, r8
nop dword [rax]
mov rdx, r8
movzx eax, byte [rdx]
test al, al
je 0x180002350
cmp byte [r9 + rdx], al
jne 0x1800020be
inc rdx
cmp byte [r9 + rdx], 0
jne 0x1800020a3
cmp byte [rdx], 0
je 0x180002350
inc r10
inc r9
cmp byte [r10], 0
jne 0x1800020a0
lea r10, [0x180001148]
mov r8, r11
sub r8, r10
mov r9, r11
nop dword [rax]
nop word [rax + rax]
mov rdx, r10
movzx eax, byte [rdx]
test al, al
je 0x18000233b
cmp byte [r8 + rdx], al
jne 0x18000210e
inc rdx
cmp byte [r8 + rdx], 0
jne 0x1800020f3
cmp byte [rdx], 0
je 0x18000233b
inc r9
inc r8
cmp byte [r9], 0
jne 0x1800020f0
lea r10, [0x180001158]
mov r8, r11
sub r8, r10
mov r9, r11
nop dword [rax]
nop word [rax + rax]
mov rdx, r10
movzx eax, byte [rdx]
test al, al
je 0x180002319
cmp byte [r8 + rdx], al
jne 0x18000215e
inc rdx
cmp byte [r8 + rdx], 0
jne 0x180002143
cmp byte [rdx], 0
je 0x180002319
inc r9
inc r8
cmp byte [r9], 0
jne 0x180002140
lea r10, [0x180001174]
mov r8, r11
sub r8, r10
mov r9, r11
nop dword [rax]
nop word [rax + rax]
mov rdx, r10
movzx eax, byte [rdx]
test al, al
je 0x1800022f7
cmp byte [r8 + rdx], al
jne 0x1800021ae
inc rdx
cmp byte [r8 + rdx], 0
jne 0x180002193
cmp byte [rdx], 0
je 0x1800022f7
inc r9
inc r8
cmp byte [r9], 0
jne 0x180002190
lea r10, [0x180001180]
mov r8, r11
sub r8, r10
mov r9, r11
nop dword [rax]
nop word [rax + rax]
mov rdx, r10
movzx eax, byte [rdx]
test al, al
je 0x1800022f7
cmp byte [r8 + rdx], al
jne 0x1800021fe
inc rdx
cmp byte [r8 + rdx], 0
jne 0x1800021e3
cmp byte [rdx], 0
je 0x1800022f7
inc r9
inc r8
cmp byte [r9], 0
jne 0x1800021e0
lea r10, [0x180001198]
mov r8, r11
sub r8, r10
mov r9, r11
nop dword [rax]
nop word [rax + rax]
mov rdx, r10
movzx eax, byte [rdx]
test al, al
je 0x1800022f7
cmp byte [rdx + r8], al
jne 0x18000224e
inc rdx
cmp byte [rdx + r8], 0
jne 0x180002233
cmp byte [rdx], 0
je 0x1800022f7
inc r9
inc r8
cmp byte [r9], 0
jne 0x180002230
xor eax, eax
mov dword [rbp - 0x10], 0xd4d6caf3
xor r9d, r9d
mov dword [rbp - 0xc], 0xf9f0e3de
mov edx, r9d
mov byte [rbp - 8], al
nop dword [rax]
movsxd rax, edx
lea rcx, [rbp - 0x10]
add rcx, rax
lea eax, [rdx - 0x49]
inc edx
xor byte [rcx], al
cmp edx, 8
jb 0x180002280
mov r10, r11
mov byte [rbp - 8], r9b
cmp byte [rbp - 0x10], r9b
je 0x180002554
test bl, bl
je 0x18000237b
lea rax, [rbp - 0x10]
mov r8, r11
sub r8, rax
nop dword [rax]
lea rdx, [rbp - 0x10]
movzx eax, byte [rdx]
test al, al
je 0x180002372
cmp byte [r8 + rdx], al
jne 0x1800022de
inc rdx
cmp byte [r8 + rdx], r9b
jne 0x1800022c4
cmp byte [rdx], r9b
je 0x180002372
inc r10
inc r8
cmp byte [r10], r9b
jne 0x1800022c0
jmp 0x18000237b
mov rax, qword [rcx]
lea rdx, [0x1800011b0]
mov r8, qword [rax + 0x18]
call r8
cwde
mov rbx, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x50]
add rsp, 0x30
pop rbp
ret
mov rax, qword [rcx]
lea rdx, [0x180001168]
mov r8, qword [rax + 0x18]
call r8
cwde
mov rbx, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x50]
add rsp, 0x30
pop rbp
ret
mov eax, 0x3d
mov rbx, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x50]
add rsp, 0x30
pop rbp
ret
mov rax, qword [rcx]
lea rdx, [0x180001138]
mov r8, qword [rax + 0x18]
call r8
cwde
mov rbx, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x50]
add rsp, 0x30
pop rbp
ret
test r10, r10
jne 0x180002554
xor eax, eax
mov dword [rbp + 0x18], 0xd4d6cafe
mov byte [rbp + 0x1c], al
mov edx, r9d
nop word [rax + rax]
movsxd rax, edx
lea rcx, [rbp + 0x18]
add rcx, rax
lea eax, [rdx - 0x49]
inc edx
xor byte [rcx], al
cmp edx, 4
jb 0x180002390
mov r10, r11
mov byte [rbp + 0x1c], r9b
cmp byte [rbp + 0x18], r9b
je 0x18000253f
test bl, bl
je 0x180002401
lea rax, [rbp + 0x18]
mov r8, r11
sub r8, rax
lea rdx, [rbp + 0x18]
nop dword [rax]
movzx eax, byte [rdx]
test al, al
je 0x1800023f8
cmp byte [r8 + rdx], al
jne 0x1800023e6
inc rdx
cmp byte [r8 + rdx], r9b
jne 0x1800023d0
cmp byte [rdx], r9b
je 0x1800023f8
inc r10
inc r8
cmp byte [r10], r9b
jne 0x1800023c5
jmp 0x180002401
test r10, r10
jne 0x18000253f
xor eax, eax
mov dword [rbp + 0x18], 0xc8cbcde3
mov byte [rbp + 0x1e], al
mov edx, r9d
mov word [rbp + 0x1c], 0xc8de
nop word [rax + rax]
movsxd rax, edx
lea rcx, [rbp + 0x18]
add rcx, rax
lea eax, [rdx - 0x49]
inc edx
xor byte [rcx], al
cmp edx, 6
jb 0x180002420
mov byte [rbp + 0x1e], r9b
cmp byte [rbp + 0x18], r9b
je 0x1800024df
test bl, bl
je 0x180002483
lea rax, [rbp + 0x18]
mov r8, r11
sub r8, rax
lea rdx, [rbp + 0x18]
movzx eax, byte [rdx]
test al, al
je 0x18000247e
cmp byte [r8 + rdx], al
jne 0x18000246c
inc rdx
cmp byte [r8 + rdx], r9b
jne 0x180002456
cmp byte [rdx], r9b
je 0x18000247e
inc r11
inc r8
cmp byte [r11], r9b
jne 0x180002452
jmp 0x180002483
test r11, r11
jne 0x1800024df
xor eax, eax
mov dword [rbp - 0x10], 0x8ac9d1f5
mov byte [rbp - 6], al
mov dword [rbp - 0xc], 0xdbf59c8a
mov word [rbp - 8], 0xa4de
nop dword [rax]
movsxd rax, r9d
lea rcx, [rbp - 0x10]
add rcx, rax
lea eax, [r9 - 0x49]
inc r9d
xor byte [rcx], al
cmp r9d, 0xa
jb 0x1800024a0
mov rax, qword [rdi]
lea rdx, [rbp - 0x10]
mov byte [rbp - 6], 0
mov rcx, rdi
mov r8, qword [rax + 0x18]
call r8
cwde
mov rbx, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x50]
add rsp, 0x30
pop rbp
ret
mov dword [rbp - 0x10], 0xdfd7d7d5
mov dword [rbp - 0xc], 0xdfd8d4e4
mov word [rbp - 8], 0xdb
nop dword [rax]
nop word [rax + rax]
movsxd rax, r9d
lea rcx, [rbp - 0x10]
add rcx, rax
lea eax, [r9 - 0x49]
inc r9d
xor byte [rcx], al
cmp r9d, 9
jb 0x180002500
mov rax, qword [rdi]
lea rdx, [rbp - 0x10]
mov byte [rbp - 7], 0
mov rcx, rdi
mov r8, qword [rax + 0x18]
call r8
cwde
mov rbx, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x50]
add rsp, 0x30
pop rbp
ret
mov eax, 9
mov rbx, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x50]
add rsp, 0x30
pop rbp
ret
mov rbx, qword [rsp + 0x40]
mov eax, 0xc
mov rdi, qword [rsp + 0x50]
add rsp, 0x30
pop rbp
ret