Function at 0x140003fc8
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 0x20], rbx
mov dword [rax + 0x18], r8d
mov qword [rax + 0x10], rdx
mov dword [rax + 8], ecx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x70
mov rdi, r9
mov ebx, ecx
xor esi, esi
lea rcx, [rax - 0x50]
lea r9d, [rsi + 0x18]
xor r8d, r8d
xor edx, edx
mov dword [rsp + 0x20], 0xf0000000
call qword [0x1400d1018]
test eax, eax
je 0x140004254
mov rcx, qword [rsp + 0x58]
lea rax, [rsp + 0x50]
xor r9d, r9d
xor r8d, r8d
mov edx, ebx
mov qword [rsp + 0x20], rax
call qword [0x1400d1068]
test eax, eax
je 0x140004247
mov rcx, qword [rsp + 0x50]
and dword [rsp + 0x20], esi
lea r9, [rsp + 0x40]
lea edx, [rsi + 2]
xor r8d, r8d
call qword [0x1400d1008]
test eax, eax
je 0x14000423c
mov ebx, dword [rsp + 0xd0]
lea r12d, [rsi + 0x40]
lea rdx, [rbx + 4]
mov ecx, r12d
mov r14, rbx
mov qword [rsp + 0x68], rbx
call qword [0x1400d1648]
mov r13, rax
mov qword [rsp + 0x60], rax
test rax, rax
je 0x14000423c
mov edx, dword [rsp + 0x40]
mov ecx, r12d
call qword [0x1400d1648]
mov rbp, rax
test rax, rax
je 0x140004233
mov edx, dword [rsp + 0x40]
mov ecx, r12d
call qword [0x1400d1648]
mov r12, rax
test rax, rax
je 0x14000422a
mov r8, rbx
mov rdx, rdi
mov rcx, r13
mov esi, 1
call fcn.1400c9a1e
mov r15d, dword [rsp + 0xe8]
mov eax, esi
mov dword [rsp + 0x44], eax
test r15d, r15d
je 0x140004221
lea ecx, [rbx + 4]
mov dword [rsp + 0x48], ecx
mov r8d, dword [rsp + 0xc0]
mov rdx, qword [rsp + 0xb8]
bswap eax
mov dword [r14 + r13], eax
mov eax, dword [rsp + 0x40]
mov r9, r13
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], r12
mov dword [rsp + 0x20], ecx
mov ecx, dword [rsp + 0xb0]
call fcn.140003e0c
mov r8d, dword [rsp + 0x40]
mov rdx, r12
mov rcx, rbp
call fcn.1400c9a1e
mov eax, dword [rsp + 0xd8]
mov edi, dword [rsp + 0x40]
cmp eax, esi
jbe 0x1400041db
mov r13d, dword [rsp + 0xb0]
mov r14d, dword [rsp + 0xc0]
mov r15, qword [rsp + 0xb8]
lea ebx, [rax - 1]
mov dword [rsp + 0x30], edi
mov r9, r12
mov r8d, r14d
mov rdx, r15
mov ecx, r13d
mov qword [rsp + 0x28], r12
mov dword [rsp + 0x20], edi
call fcn.140003e0c
mov edi, dword [rsp + 0x40]
xor r11d, r11d
test edi, edi
je 0x1400041a8
mov rdx, r12
mov rcx, rbp
sub rdx, rbp
mov al, byte [rdx + rcx]
add r11d, esi
xor byte [rcx], al
mov edi, dword [rsp + 0x40]
add rcx, rsi
cmp r11d, edi
jb 0x140004194
cmp dword [rsp + 0xf0], 0
je 0x1400041c4
mov r8d, edi
mov rdx, rbp
mov rcx, r12
call fcn.1400c9a1e
mov edi, dword [rsp + 0x40]
sub rbx, rsi
jne 0x140004162
mov r13, qword [rsp + 0x60]
mov r14, qword [rsp + 0x68]
mov r15d, dword [rsp + 0xe8]
mov rcx, qword [rsp + 0xe0]
cmp r15d, edi
mov rdx, rbp
cmovb edi, r15d
mov r8d, edi
mov ebx, edi
call fcn.1400c9a1e
mov eax, dword [rsp + 0x44]
add qword [rsp + 0xe0], rbx
mov ecx, dword [rsp + 0x48]
sub r15d, edi
add eax, esi
mov dword [rsp + 0x44], eax
mov dword [rsp + 0xe8], r15d
test r15d, r15d
jne 0x1400040ee
mov rcx, r12
call qword [0x1400d1638]
mov rcx, rbp
call qword [0x1400d1638]
mov rcx, r13
call qword [0x1400d1638]
mov rcx, qword [rsp + 0x50]
call qword [0x1400d1088]
mov rcx, qword [rsp + 0x58]
xor edx, edx
call qword [0x1400d1030]
mov eax, esi
mov rbx, qword [rsp + 0xc8]
add rsp, 0x70
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret