Function at 0x140484bd0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rdi
mov dword [rsp - 0xc], edi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0x90
mov dword [rsp - 0x40], esp
xor edi, edi
mov dword [rbp - 9], 0x21e0d4d
add dword [rbp - 9], 0x264ee73a
add dword [rbp - 9], 0x224c2a9f
sub dword [rbp - 9], 0x3319bc55
sub dword [rbp - 9], 0x176662bc
mov dword [rbp - 5], 0x7bb16b7d
xor dword [rbp - 5], 0x616d021d
add dword [rbp - 5], 0x458bf853
sub dword [rbp - 5], 0x4e226a51
sub dword [rbp - 5], 0x120df690
mov dword [rbp - 1], 0x182240a8
add dword [rbp - 1], 0x1d99df21
add dword [rbp - 1], 0x14e072a5
xor dword [rbp - 1], 0x721dff7c
sub dword [rbp - 1], 0x385a6ce5
mov qword [rbp + 0x67], rdi
xchg rbx, rbx
xchg rdi, rax
mov rdi, qword [rbp + 0x67]
xchg rdi, rax
mov rcx, qword [rbp + 0x67]
xchg r13, r13
xchg r15, rax
mov r15, qword [rbp + 0x67]
xchg r15, rax
and cl, 3
shl cl, 2
shl cl, 1
movzx edx, word [rbp + rax*2 - 9]
mov dword [rsp - 0x20], ebp
mov eax, 0x56de6451
sub eax, 0x1252bdb7
add eax, 0xbc6ba3a
xor eax, 0xcee3096
shr eax, cl
movzx ecx, al
mov dword [rsp - 0x3c], 0x332006ef
xchg r8, rax
mov r8, qword [rbp + 0x67]
xchg r8, rax
xor cx, dx
xchg rbx, rbx
mov word [rbp + rax*2 + 7], cx
xchg rsi, rax
mov rsi, qword [rbp + 0x67]
xchg rsi, rax
inc rax
mov qword [rbp + 0x67], rax
xchg rbp, rbp
xchg r9, rax
mov r9, qword [rbp + 0x67]
xchg r9, rax
cmp rax, 6
mov dword [rsp - 0x2c], 0x2a67e6d3
jb 0x140484c64
lea rax, [rbp + 7]
mov word [rbp + 0x13], di
mov dword [rsp - 0x10], esp
xchg r9, rax
mov qword [rbp - 1], r9
xchg r9, rax
mov ecx, 0x3df4f13e
sub ecx, 0x30a8211d
add ecx, 0x428bacf6
sub ecx, 0x3c999574
sub ecx, 0x133ee773
mov word [rbp + 0x2f], cx
mov dword [rbp - 9], 0x24c5c1c5
add dword [rbp - 9], 0x38bfbd89
sub dword [rbp - 9], 0x3ee66999
sub dword [rbp - 9], 0x1e9115a9
mov dword [rbp + 0x17], 0x29a31f66
xor dword [rbp + 0x17], 0x42172e86
sub dword [rbp + 0x17], 0x4d07ea20
sub dword [rbp + 0x17], 0x1e7747b1
mov dword [rbp + 0x1b], 0x7ec36bea
sub dword [rbp + 0x1b], 0x54bc48cb
add dword [rbp + 0x1b], 0x2a27a31d
xor dword [rbp + 0x1b], 0x541dc6ed
mov dword [rbp + 0x1f], 0x12c3ac70
add dword [rbp + 0x1f], 0x25232c3
xor dword [rbp + 0x1f], 0x27b8b449
add dword [rbp + 0x1f], 0x368d8df2
xor dword [rbp + 0x1f], 0x6913f95c
mov dword [rbp + 0x23], 0x71879df1
sub dword [rbp + 0x23], 0x6f031f60
xor dword [rbp + 0x23], 0x436db493
xor dword [rbp + 0x23], 0x41e3ca9e
mov dword [rbp + 0x27], 0x64656f3e
sub dword [rbp + 0x27], 0x1c22a8f0
add dword [rbp + 0x27], 0x10eba875
sub dword [rbp + 0x27], 0x258c1ac8
sub dword [rbp + 0x27], 0x336d53d0
mov dword [rbp + 0x2b], 0x3ea40a38
add dword [rbp + 0x2b], 0xc389cc0
sub dword [rbp + 0x2b], 0x33c85495
sub dword [rbp + 0x2b], 0x16db5198
xchg rdi, r8
mov qword [rbp + 0x67], r8
xchg r8, rdi
mov rax, qword [rbp + 0x67]
mov dword [rsp - 0x30], esp
nop dword [rax]
xchg rcx, r13
mov r13, qword [rbp + 0x67]
xchg r13, rcx
xchg r11, rax
mov r11, qword [rbp + 0x67]
xchg r11, rax
and cl, 3
xchg r15, r15
shl cl, 2
shl cl, 1
movzx edx, word [rbp + rax*2 + 0x17]
xchg rdx, rdx
mov eax, 0x5230a809
sub eax, 0x3c245ad9
add eax, 0x49150b44
sub eax, 0x2650832
shr eax, cl
mov dword [rsp - 0x2c], 0xbf1e92a
movzx ecx, al
xchg r15, rax
mov r15, qword [rbp + 0x67]
xchg r15, rax
xor cx, dx
mov word [rbp + rax*2 + 0x37], cx
mov dword [rsp - 0x34], ebx
xchg rcx, rax
mov rcx, qword [rbp + 0x67]
xchg rcx, rax
inc rax
mov dword [rsp - 0x20], edi
mov qword [rbp + 0x67], rax
xchg r14, rax
mov r14, qword [rbp + 0x67]
xchg r14, rax
cmp rax, 0xd
jb 0x140484e00
mov dword [rsp - 0x2c], 0x5b977929
lea rax, [rbp + 0x37]
mov word [rbp + 0x51], di
lea r9, [rbp + 0x17]
mov dword [rsp - 0x24], ecx
mov qword [rbp + 0x1f], rax
lea r8, [rbp - 9]
mov dword [rbp + 0x17], 0x80ed60e
xor dword [rbp + 0x17], 0x329ab6ac
add dword [rbp + 0x17], 0x22743e7e
xor dword [rbp + 0x17], 0x5d149f3a
xor edx, edx
xchg r9, r9
mov dword [rsp + 0x20], edi
xor ecx, ecx
call fcn.140498bf0
mov dword [rsp - 0x1c], edx
xchg r14, rax
mov rdi, r14
xchg r14, rax
test rax, rax
mov dword [rsp - 0x28], esp
je 0x140484f3f
xchg rcx, rax
mov rax, rcx
xchg rcx, rax
call fcn.140481fd0
test al, al
xchg rsi, rsi
je 0x140484f3f
lea rdx, [rbp - 9]
xchg r9, rdi
mov rcx, r9
xchg rdi, r9
call fcn.140480a10
test al, al
je 0x140484f3f
xchg r11, r11
lea rdx, [rbp + 0x17]
mov rcx, rdi
call fcn.140481e50
test al, al
mov dword [rsp - 0x28], esi
je 0x140484f3f
mov dl, 0x6f
add dl, 0xc
xor dl, 0x5e
xor dl, 0x24
jmp 0x140484f41
xor dl, dl
xor eax, eax
mov rdx, rdx
lea rdi, [rbp + 0x37]
mov ecx, 0x597e6707
sub ecx, 0x7b09e5d
sub ecx, 0x28b56fd2
sub ecx, 0x291858cb
rep stosb byte [rdi], al
lea rdi, [rbp + 7]
mov rbp, rbp
mov ecx, 0x17378ac2
add ecx, 0x25772dfa
sub ecx, 0x22c59958
sub ecx, 0x19e91f5e
rep stosb byte [rdi], al
xchg rdi, rbx
mov rbx, qword [rsp + 0xa8]
xchg rdi, rbx
movzx eax, dl
mov rbx, rbx
sub rsp, 0xcd0dc18
add rsp, 0xcd0dca8
pop rbp
mov dword [rsp - 0x28], ecx
ret