Function at 0x140480530
Capabilities:
Encode data using xor

Disassembly:
xchg rbx, r12
mov qword [rsp + 0x10], r12
xchg r12, rbx
mov qword [rsp + 0x18], rdi
push rbp
mov dword [rsp - 0x28], 0x2c937ecb
lea rbp, [rsp - 0x57]
add rsp, 0x1352de20
sub rsp, 0x1352ded0
xor edi, edi
mov r15, r15
mov dword [rbp - 0x29], 0xdc9fbd9
xor dword [rbp - 0x29], 0x7c1440bf
sub dword [rbp - 0x29], 0x69f48657
sub dword [rbp - 0x29], 0x7e83439
mov dword [rbp - 0x25], 0x1769e1ad
sub dword [rbp - 0x25], 0x138834b0
xor dword [rbp - 0x25], 0x643c6284
sub dword [rbp - 0x25], 0x498c6bc1
sub dword [rbp - 0x25], 0x1df1621b
mov dword [rbp - 0x21], 0x24560599
xor dword [rbp - 0x21], 0x1be6fe05
add dword [rbp - 0x21], 0x12b162ed
xor dword [rbp - 0x21], 0x292d6950
sub dword [rbp - 0x21], 0x7b3036eb
xchg r11, rdi
mov qword [rbp + 0x67], r11
xchg rdi, r11
mov rax, qword [rbp + 0x67]
mov rdx, rdx
nop word [rax + rax]
xchg rdx, rcx
mov rdx, qword [rbp + 0x67]
xchg rcx, rdx
mov rax, qword [rbp + 0x67]
and cl, 3
shl cl, 1
shl cl, 1
shl cl, 1
movzx edx, word [rbp + rax*2 - 0x29]
mov eax, 0x15b5477b
add eax, 0x61dee099
sub eax, 0x254d8185
xor eax, 0x56b5ce0e
shr eax, cl
movzx ecx, al
mov dword [rsp - 0x28], edi
xchg r12, rax
mov r12, qword [rbp + 0x67]
xchg r12, rax
xor cx, dx
xchg r8, r8
mov word [rbp + rax*2 - 0x19], cx
mov rax, qword [rbp + 0x67]
inc rax
mov dword [rsp - 0x28], 0x2a0cddd0
xchg r15, rax
mov qword [rbp + 0x67], r15
xchg r15, rax
xchg r14, rax
mov r14, qword [rbp + 0x67]
xchg r14, rax
cmp rax, 6
mov dword [rsp - 0x14], 0x300b5aee
jb 0x1404805de
lea rax, [rbp - 0x19]
mov word [rbp - 0xd], di
mov dword [rsp - 0x2c], 0x2fcbde38
xchg rsi, rax
mov qword [rbp - 1], rsi
xchg rsi, rax
mov ecx, 0xe80a963
add ecx, 0x4fe526ff
sub ecx, 0x4aa348d8
xor ecx, 0x13c28779
mov word [rbp + 0x2f], cx
mov ebx, 0x6c89ba3f
sub ebx, 0x2f8e52af
xor ebx, 0x323d4dc4
xor ebx, 0x227216ff
xor ebx, 0x2cb43ca6
mov dword [rbp - 9], 0x45b8be1a
xor dword [rbp - 9], 0x43dbbef8
add dword [rbp - 9], 0x26b04fa7
xor dword [rbp - 9], 0x212adaa8
sub dword [rbp - 9], 0xc2b8a15
mov dword [rbp + 0x17], 0x43f1cd12
xor dword [rbp + 0x17], 0x2b35aee3
sub dword [rbp + 0x17], 0x4d306a39
xor dword [rbp + 0x17], 0x1b9ef974
mov dword [rbp + 0x1b], 0x165792b3
add dword [rbp + 0x1b], 0x3e701079
add dword [rbp + 0x1b], 0x13e7918
sub dword [rbp + 0x1b], 0x1fda031e
sub dword [rbp + 0x1b], 0x35c11888
mov dword [rbp + 0x1f], 0x712381d2
sub dword [rbp + 0x1f], 0x1d6f0c0d
xor dword [rbp + 0x1f], 0x34585421
xor dword [rbp + 0x1f], 0x64cbd35
sub dword [rbp + 0x1f], 0x618f9bde
mov dword [rbp + 0x23], 0x61c227b0
sub dword [rbp + 0x23], 0x377e7535
add dword [rbp + 0x23], 0x5341eaa9
xor dword [rbp + 0x23], 0x2fa9db65
sub dword [rbp + 0x23], 0x51da456e
mov dword [rbp + 0x27], 0x1f01a6c7
add dword [rbp + 0x27], 0x289e3304
add dword [rbp + 0x27], 0x955e6bc
sub dword [rbp + 0x27], 0x21a4fa94
sub dword [rbp + 0x27], 0x2f43c50b
mov dword [rbp + 0x2b], 0x2e4ca1ac
sub dword [rbp + 0x2b], 0x1c76b0fa
xor dword [rbp + 0x2b], 0x1e595446
add dword [rbp + 0x2b], 0x5b4a29
xor dword [rbp + 0x2b], 0xf86ef99
mov qword [rbp + 0x67], rdi
xchg r12, rax
mov r12, qword [rbp + 0x67]
xchg r12, rax
xchg rcx, r11
mov r11, qword [rbp + 0x67]
xchg rcx, r11
mov rax, qword [rbp + 0x67]
and cl, 3
xchg rbp, rbp
shl cl, 3
movzx edx, word [rbp + rax*2 + 0x17]
mov eax, 0x6b22cbc
xor eax, 0x2e1e0a4
add eax, 0x1bd9f533
xor eax, 0x24dea9ca
shr eax, cl
xchg rbx, rbx
movzx ecx, al
xchg rsi, rax
mov rsi, qword [rbp + 0x67]
xchg rsi, rax
xor cx, dx
mov word [rbp + rax*2 + 0x37], cx
mov r10, r10
xchg r10, rax
mov r10, qword [rbp + 0x67]
xchg r10, rax
inc rax
mov qword [rbp + 0x67], rax
xchg r8, rax
mov r8, qword [rbp + 0x67]
xchg r8, rax
cmp rax, rbx
mov r12, r12
jb 0x1404807a5
lea rax, [rbp + 0x37]
mov word [rbp + 0x51], di
mov dword [rsp - 0xc], ebx
lea r9, [rbp + 7]
xchg rsi, rax
mov qword [rbp + 0xf], rsi
xchg rsi, rax
lea r8, [rbp - 9]
mov dword [rbp + 7], 0x4f1f34a
xor dword [rbp + 7], 0x5c1994bc
xor dword [rbp + 7], 0x537c44f3
sub dword [rbp + 7], 0xb7822eb
xor edx, edx
mov rsi, rsi
mov dword [rsp + 0x20], edi
xor ecx, ecx
call fcn.1404929e0
mov rdi, rax
mov dword [rsp - 0x28], 0x52575ca2
test rax, rax
je 0x1404809a7
mov rcx, qword [0x14049f2f8]
xchg r13, r13
movabs rax, 0x59a782d0589d2ced
add rax, 0xe0f7291
xor rax, 0x4f4c0edb
xor rax, 0x21ef3eb7
add rax, 0x7fffffff
add rax, 0x63ae24c6
add rcx, rax
mov dword [rsp - 0x44], 0x236c8b1a
movabs rax, 0x528414a52bdf5047
add rax, 0x17ed09b2
xor rax, 0xe8a7ad7
sub rax, 0x30b1f760
add rax, 0x2aa1f37a
rol rcx, 0x1f
rol rcx, 0x14
rol rcx, 6
rol rcx, 2
add rcx, rax
movabs rax, 0xf13ee9c66f978479
xor rax, 0x4cee9d40
add rax, 0xe701a6a
add rax, 0xd99b1aa
add rax, 0x59cc6b8f
not rcx
ror rcx, 0xb
ror rcx, 8
ror rcx, 1
ror rcx, 2
ror rcx, 1
add rax, rcx
mov dword [rsp - 0x14], esp
movabs rcx, 0x6827ec3a042278dd
xor rcx, 0x5a4610ec
sub rcx, 0x49485a34
add rcx, 0x19e42fbb
xor rax, rcx
xchg rdi, rcx
mov rdi, rcx
xchg rdi, rcx
call rax
mov rbp, rbp
test eax, eax
je 0x1404809a7
lea rdx, [rbp - 9]
xchg rbp, rbp
xchg rcx, rsi
mov rsi, rdi
xchg rsi, rcx
call fcn.14047c450
mov dword [rsp - 0x2c], 0x7928e28c
test al, al
je 0x1404809a7
lea rdx, [rbp + 7]
mov rcx, rdi
mov dword [rsp - 0x38], edx
call fcn.14047d790
test al, al
je 0x1404809a7
mov rcx, rcx
mov dl, 0x35
xor dl, 0x60
sub dl, 0x14
sub dl, 0x40
jmp 0x1404809ac
xor dl, dl
xchg rbp, rbp
xor eax, eax
lea r11, [rsp + 0xb0]
xchg rcx, rsi
mov rsi, rbx
xchg rsi, rcx
lea rdi, [rbp + 0x37]
mov rbx, qword [r11 + 0x18]
mov dword [rsp - 0x28], 0x502d8699
rep stosb byte [rdi], al
lea rdi, [rbp - 0x19]
mov ecx, 0x210ccdf
add ecx, 0x10afe207
add ecx, 0x5a1a1bc6
sub ecx, 0x6cdacaa6
rep stosb byte [rdi], al
mov rdi, qword [r11 + 0x20]
movzx eax, dl
mov dword [rsp - 0x18], 0x3019cf14
xchg r9, r11
mov rsp, r9
xchg r11, r9
pop rbp
mov dword [rsp - 0x40], 0x4db5c297
ret