Function at 0x6bb6e0
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x68
mov dword [rsp + 0xc0], r8d
mov r8, qword [rsp + 0xd8]
mov rbp, rdx
mov rbx, r9
mov qword [rsp + 0xb0], rcx
mov rcx, qword [rsp + 0xe0]
mov eax, dword [r8]
mov r11d, dword [r8 + 4]
mov r9d, dword [rcx + 4]
mov edx, dword [rsp + 0xe8]
mov dword [rsp + 0x24], eax
mov rax, qword [rsp + 0xd0]
mov dword [rsp + 0x28], r11d
mov esi, dword [rcx]
mov r14d, dword [rax]
mov r15d, dword [rax + 4]
mov dword [rsp + 0x2c], r9d
mov eax, dword [rsp + 0xc0]
sub eax, 8
mov dword [rsp + 0x48], eax
test edx, edx
je 0x6bb898
test eax, eax
js 0x6bbab8
shr eax, 3
mov r13, qword [rsp + 0xb0]
lea rdi, [rsp + 0x58]
mov edx, r15d
mov ecx, eax
mov dword [rsp + 0x38], eax
mov r15, rdi
lea rax, [rcx*8 + 8]
mov rdi, r13
mov r13d, r11d
mov qword [rsp + 0x30], rax
lea r12, [rbp + rax]
mov eax, r14d
mov r14, rbx
mov ebx, r9d
nop word [rax + rax]
mov ecx, dword [rdi + 4]
mov r8d, dword [rdi]
add rbp, 8
add rdi, 8
xor r8d, dword [rsp + 0x24]
xor eax, r8d
mov r8d, 1
mov dword [rsp + 0x58], eax
mov eax, ecx
mov rcx, r15
xor eax, r13d
xor edx, eax
mov dword [rsp + 0x5c], edx
mov rdx, r14
call sym.DES_encrypt1
mov eax, dword [rsp + 0x58]
xor eax, esi
mov edx, eax
mov byte [rbp - 8], al
shr edx, 0x10
mov byte [rbp - 7], ah
mov byte [rbp - 6], dl
mov edx, eax
shr edx, 0x18
mov byte [rbp - 5], dl
mov edx, dword [rsp + 0x5c]
xor edx, ebx
mov ecx, edx
mov byte [rbp - 4], dl
shr ecx, 0x10
mov byte [rbp - 3], dh
mov byte [rbp - 2], cl
mov ecx, edx
shr ecx, 0x18
mov byte [rbp - 1], cl
cmp rbp, r12
jne 0x6bb7a8
mov ecx, dword [rsp + 0x38]
mov rbx, r14
mov r14d, eax
mov rax, qword [rsp + 0x30]
add qword [rsp + 0xb0], rax
mov eax, dword [rsp + 0xc0]
mov r15d, edx
neg ecx
shl ecx, 3
lea r8d, [rax + rcx - 0x10]
add ecx, dword [rsp + 0x48]
mov dword [rsp + 0xc0], ecx
cmp r8d, 0xfffffff8
je 0x6bbac0
mov rax, qword [rsp + 0xb0]
movsxd r8, r8d
cmp dword [rsp + 0xc0], 7
lea rcx, [rax + r8 + 8]
ja case.0x6bb88f.0
mov r8d, dword [rsp + 0xc0]
lea r9, [0x00992900]
movsxd r8, dword [r9 + r8*4]
add r8, r9
jmp r8
mov eax, dword [rsp + 0x48]
test eax, eax
jle 0x6bba38
mov eax, dword [rsp + 0xc0]
lea rdi, [rsp + 0x58]
mov r9, qword [rsp + 0xb0]
mov dword [rsp + 0x30], esi
mov esi, r14d
mov r14, rbx
lea ecx, [rax - 9]
mov rbx, r9
shr ecx, 3
lea rax, [rcx*8 + 8]
mov dword [rsp + 0x4c], ecx
mov qword [rsp + 0x40], rax
add rax, rbp
mov qword [rsp + 0x38], rax
mov rax, rdi
mov edi, r15d
mov r15, rax
nop dword [rax]
mov edx, dword [rsp + 0x30]
mov r13d, esi
mov esi, dword [rbx]
mov r12d, edi
mov edi, dword [rbx + 4]
xor r8d, r8d
mov rcx, r15
add rbp, 8
xor edx, esi
add rbx, 8
mov dword [rsp + 0x58], edx
mov edx, dword [rsp + 0x2c]
xor edx, edi
mov dword [rsp + 0x5c], edx
mov rdx, r14
call sym.DES_encrypt1
mov edx, dword [rsp + 0x24]
xor edx, dword [rsp + 0x58]
xor r13d, edx
mov edx, dword [rsp + 0x28]
xor edx, dword [rsp + 0x5c]
xor r12d, edx
mov edx, r13d
mov eax, r13d
mov byte [rbp - 8], r13b
shr edx, 0x10
mov byte [rbp - 7], ah
shr r13d, 0x18
mov eax, r12d
mov byte [rbp - 6], dl
mov edx, r12d
mov byte [rbp - 4], r12b
shr edx, 0x10
shr r12d, 0x18
mov byte [rbp - 5], r13b
mov byte [rbp - 3], ah
mov byte [rbp - 2], dl
mov byte [rbp - 1], r12b
cmp rbp, qword [rsp + 0x38]
jne 0x6bb8f0
mov r8d, dword [rsp + 0x4c]
mov rax, r15
mov r15d, edi
mov rbx, r14
mov rdi, rax
mov rax, qword [rsp + 0x40]
add qword [rsp + 0xb0], rax
mov r14d, esi
mov eax, dword [rsp + 0xc0]
neg r8d
mov esi, dword [rsp + 0x30]
shl r8d, 3
lea r12d, [rax + r8 - 0x10]
add r8d, dword [rsp + 0x48]
mov dword [rsp + 0xc0], r8d
xor r8d, r8d
mov rdx, rbx
mov rcx, rdi
movsxd r12, r12d
mov rax, qword [rsp + 0xb0]
mov r13d, dword [rax]
xor esi, r13d
mov dword [rsp + 0x58], esi
mov esi, dword [rax + 4]
mov eax, dword [rsp + 0x2c]
xor eax, esi
mov dword [rsp + 0x5c], eax
call sym.DES_encrypt1
mov edi, dword [rsp + 0x24]
mov eax, dword [rsp + 0x28]
xor edi, dword [rsp + 0x58]
xor eax, dword [rsp + 0x5c]
xor eax, r15d
xor edi, r14d
cmp dword [rsp + 0xc0], 8
mov ebx, eax
lea rax, [rbp + r12 + 8]
ja case.0x6bba32.0
mov r8d, dword [rsp + 0xc0]
lea rcx, [0x00992920]
movsxd rdx, dword [rcx + r8*4]
add rdx, rcx
jmp rdx
cmp dword [rsp + 0x48], 0xfffffff8
jne 0x6bbc6d
mov rax, qword [rsp + 0xd0]
mov dword [rax], r14d
mov dword [rax + 4], r15d
add rsp, 0x68
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov edx, ebx
sub rax, 1
shr edx, 0x18
mov byte [rax], dl
mov edx, ebx
sub rax, 1
shr edx, 0x10
mov byte [rax], dl
mov byte [rax - 1], bh
lea rdx, [rax - 1]
mov byte [rdx - 1], bl
lea rax, [rdx - 1]
mov edx, edi
lea rcx, [rax - 1]
shr edx, 0x18
mov byte [rax - 1], dl
mov eax, edi
lea rdx, [rcx - 1]
shr eax, 0x10
mov byte [rcx - 1], al
mov ebx, edi
lea rax, [rdx - 1]
mov byte [rdx - 1], bh
mov byte [rax - 1], dil
mov r15d, esi
mov r14d, r13d
jmp 0x6bba43
mov r8d, eax
jmp 0x6bb851
mov eax, r14d
mov ecx, r14d
mov edx, r15d
mov esi, r14d
shr r14d, 0x18
movzx eax, ah
mov edi, r15d
shr ecx, 0x10
mov r9d, eax
mov eax, r15d
shr r15d, 0x18
mov r11d, r14d
movzx eax, ah
shr edx, 0x10
mov r10d, r15d
mov r8d, eax
mov rax, qword [rsp + 0xd0]
mov byte [rax], sil
mov byte [rax + 1], r9b
mov byte [rax + 2], cl
mov byte [rax + 3], r11b
mov byte [rax + 4], dil
mov byte [rax + 5], r8b
mov byte [rax + 6], dl
mov byte [rax + 7], r10b
jmp 0x6bba52
xor r8d, r8d
movzx r12d, byte [rcx - 1]
sub rcx, 1
shl r12d, 8
or r12d, r8d
lea r8, [rcx - 1]
movzx ecx, byte [rcx - 1]
or r12d, ecx
movzx r9d, byte [r8 - 1]
lea rcx, [r8 - 1]
shl r9d, 0x18
movzx r8d, byte [rcx - 1]
lea r13, [rcx - 1]
shl r8d, 0x10
or r9d, r8d
movzx r8d, byte [r13 - 1]
lea rcx, [r13 - 1]
shl r8d, 8
or r8d, r9d
movzx ecx, byte [rcx - 1]
or r8d, ecx
mov r11d, dword [rsp + 0x24]
mov eax, dword [rsp + 0x28]
mov rdx, rbx
lea rcx, [rsp + 0x58]
xor eax, r15d
xor r11d, r14d
xor r11d, r8d
xor r12d, eax
mov r8d, 1
mov dword [rsp + 0x58], r11d
mov dword [rsp + 0x5c], r12d
call sym.DES_encrypt1
xor esi, dword [rsp + 0x58]
mov ebx, dword [rsp + 0x2c]
mov edx, esi
xor ebx, dword [rsp + 0x5c]
mov ecx, esi
mov dword [rbp], esi
movzx eax, dh
mov edx, ebx
mov dword [rbp + 4], ebx
shr ecx, 0x10
mov r9d, eax
mov eax, esi
mov edi, ebx
shr edx, 0x10
shr eax, 0x18
mov r11d, eax
movzx eax, bh
mov r8d, eax
mov eax, ebx
shr eax, 0x18
mov r10d, eax
jmp 0x6bbaf2
xor r12d, r12d
xor r8d, r8d
jmp 0x6bbb6b
mov r13, rcx
xor r12d, r12d
xor r9d, r9d
jmp 0x6bbb5b
xor r12d, r12d
xor r9d, r9d
jmp 0x6bbb4b
mov r8, rcx
xor r12d, r12d
jmp 0x6bbb3e
xor r12d, r12d
jmp 0x6bbb33
movzx r12d, byte [rcx - 1]
sub rcx, 1
mov r8d, r12d
shl r8d, 0x10
jmp 0x6bbb23
mov rcx, rax
jmp 0x6bba93
mov rdx, rax
jmp 0x6bba80
mov rdx, rax
jmp 0x6bba9f
mov r12d, dword [rsp + 0x48]
lea rdi, [rsp + 0x58]
jmp 0x6bb9c1
mov r15d, esi
mov r14d, r13d
jmp 0x6bba43
xor r12d, r12d
xor r8d, r8d
jmp 0x6bbb72