Function at 0x1400d7998
Capabilities:
Encode data using xor

Disassembly:
xchg rbx, r15
mov qword [rsp + 8], r15
xchg rbx, r15
xchg r15, rsi
mov qword [rsp + 0x10], r15
xchg r15, rsi
push rbp
nop
sub rsp, 8
mov qword [rsp], rdi
push r14
lea rbp, [rsp - 0x47]
mov dword [rsp - 0x20], 0x6d547eaa
sub rsp, 0x5c1e9bd2
add rsp, 0x5c1e9af2
xor ebx, ebx
mov dword [rbp - 0x79], 0xd628caf
add dword [rbp - 0x79], 0x161e0446
sub dword [rbp - 0x79], 0x104289de
sub dword [rbp - 0x79], 0x131406e6
mov dword [rbp - 0x75], 0x637e546c
xor dword [rbp - 0x75], 0x66efa3f7
add dword [rbp - 0x75], 0x222cc226
add dword [rbp - 0x75], 0x2174177f
sub dword [rbp - 0x75], 0x492fd07e
xchg r10, rdx
mov r14, r10
xchg rdx, r10
mov dword [rbp - 0x71], 0x6d02743c
sub dword [rbp - 0x71], 0x6aebaca6
add dword [rbp - 0x71], 0x2a213b37
sub dword [rbp - 0x71], 0x2c0b02a8
mov dword [rbp - 0x6d], 0x67c96df7
sub dword [rbp - 0x6d], 0x481025cb
add dword [rbp - 0x6d], 0x2bdfae2e
sub dword [rbp - 0x6d], 0x4b92f5bb
mov dword [rbp - 0x69], 0x598c025b
xor dword [rbp - 0x69], 0xa9df718
xor dword [rbp - 0x69], 0x2cac7e19
sub dword [rbp - 0x69], 0x4c1a28e5
xor dword [rbp - 0x69], 0x338b624c
lea edi, [rbx + 3]
mov qword [rbp + 0x77], rbx
mov rax, qword [rbp + 0x77]
mov dword [rsp - 0x3c], 0x6edf4b8e
mov rcx, qword [rbp + 0x77]
xchg rdx, rax
mov rdx, qword [rbp + 0x77]
xchg rdx, rax
and cl, dil
shl cl, 3
movzx edx, word [rbp + rax*2 - 0x79]
mov dword [rsp - 0x10], esp
mov eax, 0x18577471
xor eax, 0x7f517038
sub eax, 0x5b70e7cb
xor eax, 0x6924582b
shr eax, cl
movzx ecx, al
mov rax, qword [rbp + 0x77]
mov dword [rsp - 0x18], 0x695b6e02
xor cx, dx
mov word [rbp + rax*2 - 0x65], cx
mov rax, qword [rbp + 0x77]
inc rax
xchg r13, r13
mov qword [rbp + 0x77], rax
mov rax, qword [rbp + 0x77]
cmp rax, 0xa
mov dword [rsp - 0x14], 0x65c9da70
jb 0x1400d7a8d
xor edx, edx
mov word [rbp - 0x51], bx
mov r13, r13
lea rcx, [rbp - 0x65]
call fcn.14008b650
xchg rcx, rax
mov rsi, rcx
xchg rcx, rax
lea rdi, [rbp - 0x65]
xor eax, eax
lea ecx, [rax + 0xa]
xchg rdi, rdi
rep stosb byte [rdi], al
test rsi, rsi
je 0x1400d7bf6
mov dword [rsp - 0x14], 0x907baa9
mov edx, 0x4b1e6db3
sub edx, 0x2ff1bd8b
xor edx, 0x13709605
add edx, 0x833d0f74
xchg r11, rcx
mov r11, rsi
xchg rcx, r11
call fcn.140083950
mov rbp, rbp
xchg rdi, rax
mov rax, rdi
xchg rdi, rax
test rax, rax
mov dword [rsp - 0x18], 0x4f9f5bf3
je 0x1400d7be5
xchg r14, rdx
mov r14, rdx
xchg rdx, r14
lea rcx, [rbp - 0x49]
call fcn.140074610
xchg r13, rcx
mov r13, qword [rbp - 0x49]
xchg rcx, r13
call rdi
mov dword [rsp - 0x30], edx
mov rcx, qword [rbp - 0x49]
cmp eax, 1
lea rax, [rbp - 0x41]
sete bl
mov dword [rsp - 0x3c], edi
cmp rcx, rax
jne 0x1400d7be0
lea rdi, [rbp - 0x41]
xor eax, eax
mov dword [rsp - 0x28], 0x3390d710
mov ecx, 0x7a00001d
xor ecx, 0x2e4e0e2c
sub ecx, 0x3f4d169a
add ecx, 0x1b37ed63
sub ecx, 0x3038e47a
rep stosb byte [rdi], al
jmp 0x1400d7be5
call fcn.140099230
xchg r9, rsi
mov rcx, r9
xchg rsi, r9
call fcn.14008dc00
mov r14, r14
lea r11, [rsp + 0xe0]
mov al, bl
mov rbx, qword [r11 + 0x20]
xchg rdi, rdi
xchg rsi, r8
mov r8, qword [r11 + 0x28]
xchg rsi, r8
xchg r11, r9
mov rsp, r9
xchg r9, r11
pop r14
mov r9, r9
nop
add rsp, 8
mov rdi, qword [rsp - 8]
nop
add rsp, 8
mov rbp, qword [rsp - 8]
ret