Function at 0x18000b050
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x20
mov r15, qword [rsp + 0x70]
mov rbp, rcx
mov ecx, dword [rcx + 0x38]
mov rbx, r9
movsxd rdi, r8d
mov rsi, rdx
lea r14d, [rcx + rdi]
mov dword [r15], r14d
cmp r14d, 0x10
ja 0x18000b0a7
mov eax, ecx
mov r8, rdi
lea rcx, [rbp + 0x28]
add rcx, rax
call fcn.180022420
add dword [rbp + 0x38], edi
mov dword [r15], 0
jmp 0x18000b21c
cmp rsi, rbx
jne 0x18000b0b6
mov eax, 0x1001
jmp 0x18000b21e
mov eax, 0x10
mov qword [rsp + 0x50], r13
sub eax, ecx
mov edi, eax
movsxd r8, eax
mov rax, rcx
lea rcx, [rbp + 0x28]
add rcx, rax
call fcn.180022420
mov eax, dword [rbp + 0x28]
lea rcx, [rbp + 0x3c]
mov dword [rbx], eax
add rsi, rdi
mov eax, dword [rbp + 0x2c]
lea edi, [r14 - 0x10]
mov dword [rbx + 4], eax
mov rdx, rbx
mov eax, dword [rbp + 0x30]
mov dword [rbx + 8], eax
mov eax, dword [rbp + 0x34]
mov dword [rbx + 0xc], eax
call fcn.18000a110
mov eax, dword [rbp + 0x18]
xor dword [rbx], eax
mov eax, dword [rbp + 0x1c]
xor dword [rbx + 4], eax
mov eax, dword [rbp + 0x20]
xor dword [rbx + 8], eax
mov eax, dword [rbp + 0x24]
xor dword [rbx + 0xc], eax
cmp edi, 0x10
ja 0x18000b136
mov eax, dword [rbp + 0x28]
mov dword [rbp + 0x18], eax
mov eax, dword [rbp + 0x2c]
mov dword [rbp + 0x1c], eax
mov eax, dword [rbp + 0x30]
mov dword [rbp + 0x20], eax
mov eax, dword [rbp + 0x34]
jmp 0x18000b1f5
mov eax, dword [rsi]
lea rdx, [rbx + 0x10]
mov dword [rbx + 0x10], eax
lea rcx, [rbp + 0x3c]
mov eax, dword [rsi + 4]
mov dword [rbx + 0x14], eax
mov eax, dword [rsi + 8]
mov dword [rbx + 0x18], eax
mov eax, dword [rsi + 0xc]
mov dword [rbx + 0x1c], eax
call fcn.18000a110
mov eax, dword [rbp + 0x28]
add rsi, 0x10
xor dword [rbx + 0x10], eax
add edi, 0xfffffff0
mov eax, dword [rbp + 0x2c]
xor dword [rbx + 0x14], eax
mov eax, dword [rbp + 0x30]
xor dword [rbx + 0x18], eax
mov eax, dword [rbp + 0x34]
xor dword [rbx + 0x1c], eax
add rbx, 0x20
cmp edi, 0x10
jbe 0x18000b1e0
lea r14d, [rdi - 0x11]
shr r14d, 4
inc r14d
nop dword [rax]
mov eax, dword [rsi]
lea rcx, [rbp + 0x3c]
mov dword [rbx], eax
mov rdx, rbx
mov eax, dword [rsi + 4]
mov dword [rbx + 4], eax
mov eax, dword [rsi + 8]
mov dword [rbx + 8], eax
mov eax, dword [rsi + 0xc]
mov dword [rbx + 0xc], eax
call fcn.18000a110
mov eax, dword [rsi - 0x10]
add edi, 0xfffffff0
xor dword [rbx], eax
mov eax, dword [rsi - 0xc]
xor dword [rbx + 4], eax
mov eax, dword [rsi - 8]
xor dword [rbx + 8], eax
mov eax, dword [rsi - 4]
add rsi, 0x10
xor dword [rbx + 0xc], eax
add rbx, 0x10
sub r14, 1
jne 0x18000b190
nop word [rax + rax]
mov eax, dword [rsi - 0x10]
mov dword [rbp + 0x18], eax
mov eax, dword [rsi - 0xc]
mov dword [rbp + 0x1c], eax
mov eax, dword [rsi - 8]
mov dword [rbp + 0x20], eax
mov eax, dword [rsi - 4]
movsxd r8, edi
lea rcx, [rbp + 0x28]
mov rdx, rsi
mov dword [rbp + 0x24], eax
call fcn.180022420
mov eax, dword [rbp + 0x38]
mov r13, qword [rsp + 0x50]
and eax, 0xf0000000
add eax, edi
sub dword [r15], edi
mov dword [rbp + 0x38], eax
xor eax, eax
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
add rsp, 0x20
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret