Function at 0x1403b48d0
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x108
call fcn.1403cb200
sub rsp, rax
mov rax, qword [0x1404f2b48]
xor rax, rsp
mov qword [rsp + 0xf0], rax
mov rdi, qword [rcx + 0x348]
lea r14, [rcx + 0x1a0]
and dword [r14], 0
lea rax, [rsp + 0x50]
mov rbp, qword [rsp + 0x170]
lea r13, [rsp + 0x50]
neg rax
mov qword [rsp + 0x30], r9
and eax, 0xf
mov qword [rsp + 0x48], r8
add r13, rax
mov qword [rsp + 0x20], r14
mov r15, rcx
lea rsi, [rcx + 0x1f8]
mov r12, rdx
lea rdx, [0x1404abc30]
lea rax, [r13 + 0x30]
mov qword [rsp + 0x38], rax
lea rbx, [r13 + 0x40]
lea rax, [rcx + 0x180]
mov ecx, 0x40
mov qword [rsp + 0x40], rcx
mov r9, rax
cmp rdi, rcx
ja 0x1403b4a57
mov ecx, 0x80
mov qword [rsp + 0x40], rcx
mov r8d, ecx
mov rcx, r13
call fcn.14007e600
mov rdx, r13
mov rcx, rsi
call fcn.14039e3b0
and dword [r15 + 0x1f0], 0
lea rdx, [r15 + 0x30c]
mov esi, 0x10
lea rcx, [r13 + 0x30]
mov r8d, esi
call fcn.1403cc5a0
xor r14d, r14d
mov qword [r15 + 0x320], 0xd
test byte [r15 + 0x3c], 2
mov qword [r15 + 0x328], rdi
je 0x1403b49fd
test rdi, rdi
je 0x1403b4a2c
mov rcx, qword [rsp + 0x30]
mov rdx, r12
sub rcx, rbx
mov r14, rdi
sub rdx, rbx
mov al, byte [rcx + rbx]
xor byte [rbx], al
mov al, byte [rbx]
mov byte [rdx + rbx], al
inc rbx
sub rdi, 1
jne 0x1403b49e8
jmp 0x1403b4a2c
test rdi, rdi
je 0x1403b4a2c
mov r8, qword [rsp + 0x30]
mov r9, r12
sub r8, r12
mov r14, rdi
sub r9, rbx
lea rcx, [rbx + r9]
mov dl, byte [rcx + r8]
mov al, dl
xor al, byte [rbx]
mov byte [rbx], dl
inc rbx
mov byte [rcx], al
sub rdi, 1
jne 0x1403b4a13
mov rbx, r14
lea rcx, [r13 + 0x40]
neg rbx
add rcx, r14
and ebx, 0xf
xor edx, edx
mov r8d, ebx
call fcn.1403ccc50
lea rax, [rbx + r14]
lea rdi, [rax + 0x20]
lea rcx, [rax + r13]
jmp 0x1403b4b33
mov r8, rcx
mov rcx, r13
call fcn.14007e600
mov rdx, r13
mov rcx, rsi
call fcn.14039e3b0
and dword [r15 + 0x1f0], 0
lea rdx, [r15 + 0x30c]
mov esi, 0x10
mov dword [r14], 1
mov r8d, esi
lea rcx, [r15 + 0x1f8]
call fcn.14039e4b0
test byte [r15 + 0x3c], 2
mov r8, rdi
mov rdx, qword [rsp + 0x30]
mov qword [rsp + 0x38], rbx
mov qword [r15 + 0x320], 0xd
mov qword [r15 + 0x328], rdi
je 0x1403b4ae5
lea r9, [r15 + 0x180]
mov qword [rsp + 0x20], r14
mov rcx, r12
call fcn.14007e600
mov r8, rdi
lea rcx, [r15 + 0x1f8]
mov rdx, r12
call fcn.14039e4b0
jmp 0x1403b4b0d
lea rcx, [r15 + 0x1f8]
call fcn.14039e4b0
mov rdx, qword [rsp + 0x30]
lea r9, [r15 + 0x180]
mov r8, rdi
mov qword [rsp + 0x20], r14
mov rcx, r12
call fcn.14007e600
mov r8, rdi
lea rdx, [0x1404abc30]
neg r8
lea rcx, [r15 + 0x1f8]
and r8d, 0xf
call fcn.14039e4b0
mov r14, rdi
mov rcx, r13
mov rdi, rsi
mov rax, qword [rsp + 0x30]
lea rdx, [r15 + 0x320]
add rax, r14
lea rbx, [r12 + r14]
add rcx, 0x40
mov qword [rsp + 0x30], rax
mov r8, rsi
call fcn.1403cc5a0
mov r12, qword [rsp + 0x38]
lea r14, [r15 + 0x1f8]
mov rdx, r12
mov rcx, r14
mov r8, rdi
call fcn.14039e4b0
mov rdx, qword [rsp + 0x40]
mov rcx, r13
call fcn.140010240
test byte [r15 + 0x3c], 2
lea rdi, [r15 + 0x2fc]
mov rdx, r12
mov rcx, r14
cmovne rdx, rdi
call fcn.14039e300
or qword [r15 + 0x348], 0xffffffffffffffff
mov r8, rsi
test byte [r15 + 0x3c], 2
je 0x1403b4bb8
mov rdx, rdi
mov rcx, rbx
call fcn.1403cc5a0
jmp 0x1403b4be7
mov rdx, qword [rsp + 0x30]
mov rcx, r12
call fcn.1400102b0
test eax, eax
je 0x1403b4be4
cmp rbp, rsi
jbe 0x1403b4be0
sub rbx, rbp
lea r8, [rbp - 0x10]
xor edx, edx
lea rcx, [rsi + rbx]
call fcn.1403ccc50
xor eax, eax
jmp 0x1403b4bf4
sub rbp, rsi
mov rax, qword [rsp + 0x48]
mov qword [rax], rbp
mov eax, 1
mov rcx, qword [rsp + 0xf0]
xor rcx, rsp
call fcn.1403cb150
add rsp, 0x108
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret