Function at 0x18000b650
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], r14
push r15
sub rsp, 0x20
mov rsi, rcx
mov r15, r8
mov ecx, dword [rcx]
mov r14, rdx
sub ecx, 1
je 0x18000b825
sub ecx, 1
je 0x18000b728
mov qword [rsp + 0x30], rdi
sub ecx, 1
je 0x18000b6f2
cmp ecx, 1
je 0x18000b698
mov eax, 0x1001
jmp 0x18000b6d7
mov edi, dword [rsi + 0x38]
lea rcx, [rsi + 0x3c]
lea rdx, [rsi + 0x18]
mov dword [r8], edi
call fcn.1800091c0
mov eax, dword [rsi + 0x28]
lea rdx, [rsi + 0x18]
xor dword [rsi + 0x18], eax
mov r8d, edi
mov eax, dword [rsi + 0x2c]
mov rcx, r14
xor dword [rsi + 0x1c], eax
mov eax, dword [rsi + 0x30]
xor dword [rsi + 0x20], eax
mov eax, dword [rsi + 0x34]
xor dword [rsi + 0x24], eax
call fcn.180022420
mov dword [r15], edi
xor eax, eax
mov rdi, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov r14, qword [rsp + 0x48]
add rsp, 0x20
pop r15
ret
mov edi, dword [rsi + 0x38]
lea rbx, [rsi + 0x18]
mov rdx, rbx
mov dword [r8], edi
lea rcx, [rsi + 0x3c]
call fcn.1800091c0
test edi, edi
je 0x18000b6d2
sub r14, rsi
mov ecx, edi
movzx eax, byte [rbx + 0x10]
xor al, byte [rbx]
mov byte [r14 + rbx - 0x18], al
lea rbx, [rbx + 1]
sub rcx, 1
jne 0x18000b711
jmp 0x18000b6d2
mov eax, dword [rsi + 0x38]
test eax, eax
jne 0x18000b73a
xor r9d, r9d
mov dword [r8], r9d
mov eax, r9d
jmp 0x18000b6dc
mov ebx, 0x10
mov dword [r8], ebx
cmp eax, ebx
je 0x18000b751
mov r9d, 0x1005
mov eax, r9d
jmp 0x18000b6dc
mov eax, dword [rsi + 0x28]
lea rcx, [rsi + 0x3c]
mov dword [rdx], eax
mov eax, dword [rsi + 0x2c]
mov dword [rdx + 4], eax
mov eax, dword [rsi + 0x30]
mov dword [rdx + 8], eax
mov eax, dword [rsi + 0x34]
mov dword [rdx + 0xc], eax
call fcn.18000a110
mov eax, dword [rsi + 0x18]
xor r9d, r9d
xor dword [r14], eax
mov eax, dword [rsi + 0x1c]
xor dword [r14 + 4], eax
mov eax, dword [rsi + 0x20]
xor dword [r14 + 8], eax
mov eax, dword [rsi + 0x24]
xor dword [r14 + 0xc], eax
mov eax, dword [rsi + 0x28]
mov dword [rsi + 0x18], eax
mov eax, dword [rsi + 0x2c]
mov dword [rsi + 0x1c], eax
mov eax, dword [rsi + 0x30]
mov dword [rsi + 0x20], eax
mov eax, dword [rsi + 0x34]
mov dword [rsi + 0x24], eax
mov ecx, dword [rsi + 4]
sub ecx, 1
je 0x18000b815
cmp ecx, 1
je 0x18000b7c6
mov eax, 0x1001
sub ebx, eax
mov eax, r9d
mov dword [r15], ebx
jmp 0x18000b6dc
movzx eax, byte [r14 + 0xf]
test eax, eax
je 0x18000b803
cmp eax, ebx
ja 0x18000b803
mov r8d, 1
cmp eax, r8d
jb 0x18000b818
nop
mov ecx, ebx
sub ecx, r8d
movzx edx, byte [rcx + r14]
cmp edx, eax
jne 0x18000b803
inc r8d
cmp r8d, eax
jbe 0x18000b7e0
sub ebx, eax
mov eax, r9d
mov dword [r15], ebx
jmp 0x18000b6dc
mov eax, 0x1003
sub ebx, eax
mov eax, r9d
mov dword [r15], ebx
jmp 0x18000b6dc
mov eax, r9d
sub ebx, eax
mov eax, r9d
mov dword [r15], ebx
jmp 0x18000b6dc
mov eax, dword [rsi + 0x38]
test eax, eax
je 0x18000b72f
mov ebx, 0x10
mov dword [r8], ebx
cmp eax, ebx
jne 0x18000b746
mov eax, dword [rsi + 0x28]
lea rcx, [rsi + 0x3c]
mov dword [rdx], eax
mov eax, dword [rsi + 0x2c]
mov dword [rdx + 4], eax
mov eax, dword [rsi + 0x30]
mov dword [rdx + 8], eax
mov eax, dword [rsi + 0x34]
mov dword [rdx + 0xc], eax
call fcn.18000a110
mov ecx, dword [rsi + 4]
xor r9d, r9d
sub ecx, 1
je 0x18000b815
cmp ecx, 1
jne 0x18000b7b4
movzx eax, byte [r14 + 0xf]
test eax, eax
je 0x18000b803
cmp eax, ebx
ja 0x18000b803
mov r8d, ecx
cmp eax, ecx
jb 0x18000b818
nop dword [rax + rax]
mov ecx, ebx
sub ecx, r8d
movzx edx, byte [rcx + r14]
cmp edx, eax
jne 0x18000b803
inc r8d
cmp r8d, eax
jbe 0x18000b890
sub ebx, eax
mov eax, r9d
mov dword [r15], ebx
jmp 0x18000b6dc