Function at 0x14003a9c0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rsi
push r14
push r15
sub rsp, 0x68
mov rax, qword [rcx]
mov rbp, r9
mov r14, r8
mov rsi, rdx
mov r15, rcx
call qword [rax + 0x20]
test al, al
jne 0x14003a9f7
mov rcx, r15
call fcn.14000dd30
test rbp, rbp
je 0x14003aede
mov qword [rsp + 0x60], rbx
sub r14, rsi
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x48], r13
mov qword [rsp + 0xa0], r14
nop
mov rax, qword [r15 + 8]
mov r11, qword [r15 + 0x20]
mov r10d, dword [rsi]
mov r12d, dword [r11]
mov r13d, dword [r11 + 4]
lea r8d, [r12 + r10]
mov ecx, r8d
mov edx, r8d
shr ecx, 0x10
movzx ecx, cl
shr rdx, 0x18
mov ebx, dword [rax + rdx*4 + 0xc00]
or ebx, dword [rax + rcx*4 + 0x800]
mov ecx, r8d
shr ecx, 8
movzx edx, cl
movzx ecx, r8b
or ebx, dword [rax + rdx*4 + 0x400]
or ebx, dword [rax + rcx*4]
xor ebx, dword [rsi + 4]
lea r8d, [rbx + r13]
mov ecx, r8d
mov edx, r8d
shr ecx, 0x10
movzx ecx, cl
shr rdx, 0x18
mov edi, dword [rax + rdx*4 + 0xc00]
or edi, dword [rax + rcx*4 + 0x800]
mov ecx, r8d
shr ecx, 8
movzx edx, cl
movzx ecx, r8b
or edi, dword [rax + rdx*4 + 0x400]
or edi, dword [rax + rcx*4]
mov ecx, dword [r11 + 8]
xor edi, r10d
mov dword [rsp + 0x20], ecx
lea r9d, [rcx + rdi]
mov ecx, r9d
mov edx, r9d
shr ecx, 0x10
movzx ecx, cl
shr rdx, 0x18
mov r8d, dword [rax + rdx*4 + 0xc00]
or r8d, dword [rax + rcx*4 + 0x800]
mov ecx, r9d
shr ecx, 8
movzx edx, cl
movzx ecx, r9b
or r8d, dword [rax + rdx*4 + 0x400]
or r8d, dword [rax + rcx*4]
mov ecx, dword [r11 + 0xc]
xor ebx, r8d
mov dword [rsp + 0x24], ecx
lea r9d, [rcx + rbx]
mov ecx, r9d
mov edx, r9d
shr ecx, 0x10
movzx ecx, cl
shr rdx, 0x18
mov r8d, dword [rax + rdx*4 + 0xc00]
or r8d, dword [rax + rcx*4 + 0x800]
mov ecx, r9d
shr ecx, 8
movzx edx, cl
movzx ecx, r9b
or r8d, dword [rax + rdx*4 + 0x400]
or r8d, dword [rax + rcx*4]
mov ecx, dword [r11 + 0x10]
xor edi, r8d
mov dword [rsp + 0x28], ecx
lea r9d, [rcx + rdi]
mov ecx, r9d
mov edx, r9d
shr ecx, 0x10
movzx ecx, cl
shr rdx, 0x18
mov r8d, dword [rax + rdx*4 + 0xc00]
or r8d, dword [rax + rcx*4 + 0x800]
mov ecx, r9d
shr ecx, 8
mov r15d, dword [rsp + 0x24]
mov r10d, 3
mov r14d, dword [rsp + 0x28]
movzx edx, cl
movzx ecx, r9b
or r8d, dword [rax + rdx*4 + 0x400]
or r8d, dword [rax + rcx*4]
mov ecx, dword [r11 + 0x14]
xor ebx, r8d
mov dword [rsp + 0x2c], ecx
mov ebp, dword [rsp + 0x2c]
lea r9d, [rcx + rbx]
mov ecx, r9d
mov edx, r9d
shr ecx, 0x10
movzx ecx, cl
shr rdx, 0x18
mov r8d, dword [rax + rdx*4 + 0xc00]
or r8d, dword [rax + rcx*4 + 0x800]
mov ecx, r9d
shr ecx, 8
movzx edx, cl
movzx ecx, r9b
or r8d, dword [rax + rdx*4 + 0x400]
or r8d, dword [rax + rcx*4]
mov ecx, dword [r11 + 0x18]
xor edi, r8d
mov dword [rsp + 0x30], ecx
mov esi, dword [rsp + 0x30]
lea r9d, [rcx + rdi]
mov ecx, r9d
mov edx, r9d
shr ecx, 0x10
movzx ecx, cl
shr rdx, 0x18
mov r8d, dword [rax + rdx*4 + 0xc00]
or r8d, dword [rax + rcx*4 + 0x800]
mov ecx, r9d
shr ecx, 8
movzx edx, cl
movzx ecx, r9b
or r8d, dword [rax + rdx*4 + 0x400]
or r8d, dword [rax + rcx*4]
mov ecx, dword [r11 + 0x1c]
xor ebx, r8d
mov r11d, dword [rsp + 0x20]
mov dword [rsp + 0x34], ecx
lea r9d, [rcx + rbx]
mov ecx, r9d
mov edx, r9d
shr ecx, 0x10
movzx ecx, cl
shr rdx, 0x18
mov r8d, dword [rax + rdx*4 + 0xc00]
or r8d, dword [rax + rcx*4 + 0x800]
mov ecx, r9d
shr ecx, 8
movzx edx, cl
movzx ecx, r9b
or r8d, dword [rax + rdx*4 + 0x400]
or r8d, dword [rax + rcx*4]
xor edi, r8d
nop word [rax + rax]
mov r9d, dword [rsp + 0x34]
add r9d, edi
mov ecx, r9d
mov edx, r9d
shr ecx, 0x10
movzx ecx, cl
shr rdx, 0x18
mov r8d, dword [rax + rdx*4 + 0xc00]
or r8d, dword [rax + rcx*4 + 0x800]
mov ecx, r9d
shr ecx, 8
movzx edx, cl
movzx ecx, r9b
or r8d, dword [rax + rdx*4 + 0x400]
or r8d, dword [rax + rcx*4]
xor ebx, r8d
lea r9d, [rsi + rbx]
mov ecx, r9d
mov edx, r9d
shr ecx, 0x10
movzx ecx, cl
shr rdx, 0x18
mov r8d, dword [rax + rdx*4 + 0xc00]
or r8d, dword [rax + rcx*4 + 0x800]
mov ecx, r9d
shr ecx, 8
movzx edx, cl
movzx ecx, r9b
or r8d, dword [rax + rdx*4 + 0x400]
or r8d, dword [rax + rcx*4]
xor edi, r8d
lea r9d, [rdi + rbp]
mov ecx, r9d
mov edx, r9d
shr ecx, 0x10
movzx ecx, cl
shr rdx, 0x18
mov r8d, dword [rax + rdx*4 + 0xc00]
or r8d, dword [rax + rcx*4 + 0x800]
mov ecx, r9d
shr ecx, 8
movzx edx, cl
movzx ecx, r9b
or r8d, dword [rax + rdx*4 + 0x400]
or r8d, dword [rax + rcx*4]
xor ebx, r8d
lea r9d, [r14 + rbx]
mov ecx, r9d
mov edx, r9d
shr ecx, 0x10
movzx ecx, cl
shr rdx, 0x18
mov r8d, dword [rax + rdx*4 + 0xc00]
or r8d, dword [rax + rcx*4 + 0x800]
mov ecx, r9d
shr ecx, 8
movzx edx, cl
movzx ecx, r9b
or r8d, dword [rax + rdx*4 + 0x400]
or r8d, dword [rax + rcx*4]
xor edi, r8d
lea r9d, [r15 + rdi]
mov ecx, r9d
mov edx, r9d
shr ecx, 0x10
movzx ecx, cl
shr rdx, 0x18
mov r8d, dword [rax + rdx*4 + 0xc00]
or r8d, dword [rax + rcx*4 + 0x800]
mov ecx, r9d
shr ecx, 8
movzx edx, cl
movzx ecx, r9b
or r8d, dword [rax + rdx*4 + 0x400]
or r8d, dword [rax + rcx*4]
xor ebx, r8d
lea r9d, [r11 + rbx]
mov edx, r9d
mov ecx, r9d
shr rdx, 0x18
shr ecx, 0x10
mov r8d, dword [rax + rdx*4 + 0xc00]
movzx ecx, cl
or r8d, dword [rax + rcx*4 + 0x800]
mov ecx, r9d
shr ecx, 8
movzx edx, cl
movzx ecx, r9b
or r8d, dword [rax + rdx*4 + 0x400]
or r8d, dword [rax + rcx*4]
xor edi, r8d
lea r9d, [rdi + r13]
mov ecx, r9d
mov edx, r9d
shr ecx, 0x10
movzx ecx, cl
shr rdx, 0x18
mov r8d, dword [rax + rdx*4 + 0xc00]
or r8d, dword [rax + rcx*4 + 0x800]
mov ecx, r9d
shr ecx, 8
movzx edx, cl
movzx ecx, r9b
or r8d, dword [rax + rdx*4 + 0x400]
or r8d, dword [rax + rcx*4]
xor ebx, r8d
lea r9d, [r12 + rbx]
mov ecx, r9d
mov edx, r9d
shr ecx, 0x10
movzx ecx, cl
shr rdx, 0x18
mov r8d, dword [rax + rdx*4 + 0xc00]
or r8d, dword [rax + rcx*4 + 0x800]
mov ecx, r9d
shr ecx, 8
movzx edx, cl
movzx ecx, r9b
or r8d, dword [rax + rdx*4 + 0x400]
or r8d, dword [rax + rcx*4]
xor edi, r8d
sub r10, 1
jne 0x14003ac80
mov rsi, qword [rsp + 0x98]
mov r14, qword [rsp + 0xa0]
mov r15, qword [rsp + 0x90]
mov dword [rsi + r14], ebx
mov dword [rsi + r14 + 4], edi
add rsi, 8
sub qword [rsp + 0xa8], 1
mov qword [rsp + 0x98], rsi
jne 0x14003aa20
mov r13, qword [rsp + 0x48]
mov r12, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x60]
add rsp, 0x68
pop r15
pop r14
pop rsi
pop rbp
ret