Function at 0x140084660
Capabilities:
Encode data using xor

Disassembly:
xchg rdi, rbx
mov qword [rsp + 8], rdi
xchg rbx, rdi
mov qword [rsp + 0x10], rsi
xchg rsi, rdi
mov qword [rsp + 0x18], rsi
xchg rdi, rsi
push rbp
mov dword [rsp - 0x10], edi
push r12
push r13
push r14
push r15
xchg r11, r11
lea rbp, [rsp - 0x360]
sub rsp, 0x460
xor r12d, r12d
mov rdx, rdx
mov dword [rsp + 0x2a], 0x23dca16c
xor dword [rsp + 0x2a], 0x65ede369
add dword [rsp + 0x2a], 0x318c0acd
xor dword [rsp + 0x2a], 0x1f6dd8a7
xor dword [rsp + 0x2a], 0x689194ac
mov dword [rsp + 0x20], r12d
mov dword [rsp - 0x38], 0x6e9203d2
xchg r14, r9
mov r9, r14
xchg r14, r9
mov dword [rsp + 0x2e], 0x79e02d46
xor dword [rsp + 0x2e], 0x37f0592
sub dword [rsp + 0x2e], 0x2c3a2a47
xor dword [rsp + 0x2e], 0x4e14fe67
xchg r8, r15
mov r8, r15
xchg r8, r15
mov dword [rsp + 0x32], 0x2a799ee
xor dword [rsp + 0x32], 0x2d2b42f0
xor dword [rsp + 0x32], 0x65bee6e
xor dword [rsp + 0x32], 0x353cfdf6
sub dword [rsp + 0x32], 0x1ca9c7b1
mov rsi, rdx
mov dword [rsp + 0x36], 0x709aa67e
sub dword [rsp + 0x36], 0x3022a74b
xor dword [rsp + 0x36], 0x7a268242
sub dword [rsp + 0x36], 0x42ef423
sub dword [rsp + 0x36], 0x35f888a0
xchg r13, rcx
mov rbx, r13
xchg rcx, r13
mov dword [rsp + 0x3a], 0x3f421d98
sub dword [rsp + 0x3a], 0x2998a66a
add dword [rsp + 0x3a], 0x64cb9303
sub dword [rsp + 0x3a], 0x647fb9e9
xor dword [rsp + 0x3a], 0x15aa5099
xchg rbp, r12
mov qword [rsp + 0x20], rbp
xchg r12, rbp
mov rax, qword [rsp + 0x20]
mov dword [rsp - 0x20], 0x7c0d0ac8
nop dword [rax]
xchg rcx, rbx
mov rbx, qword [rsp + 0x20]
xchg rcx, rbx
xchg r8, rax
mov r8, qword [rsp + 0x20]
xchg r8, rax
and cl, 3
shl cl, 1
shl cl, 1
shl cl, 1
movzx edx, word [rsp + rax*2 + 0x2a]
mov eax, 0x1f4bbc84
add eax, 0x378c3d34
sub eax, 0x8baba12
add eax, 0xf65f212
shr eax, cl
movzx ecx, al
mov rsi, rsi
mov rax, qword [rsp + 0x20]
xor cx, dx
mov word [rsp + rax*2 + 0x68], cx
xchg rsi, rax
mov rsi, qword [rsp + 0x20]
xchg rsi, rax
inc rax
xchg rbx, rax
mov qword [rsp + 0x20], rbx
xchg rbx, rax
mov rax, qword [rsp + 0x20]
cmp rax, 0xa
jb 0x1400847a6
mov r11, r11
mov edi, 0x7fb29d39
sub edi, 0x2dfd29c6
add edi, 0xad9696b
xor edi, 0x5c8edcdf
mov word [rsp + 0x7c], r12w
lea rdx, [rsp + 0x68]
mov dword [rsp - 0x18], 0xa7e7b5d
xchg r12, rcx
mov r12, r14
xchg r12, rcx
lea r8d, [rdi + 9]
mov dword [rsp - 0xc], edi
call fcn.140098b40
test eax, eax
je 0x140084a08
mov dword [rsp - 0x2c], ebx
mov dword [rsp + 0x3e], 0x14b687c4
add dword [rsp + 0x3e], 0x48ca1133
xor dword [rsp + 0x3e], 0x18dbd12c
add dword [rsp + 0x3e], 0xc185977
xor dword [rsp + 0x3e], 0x513aa38f
mov dword [rsp + 0x42], 0x7de987e4
sub dword [rsp + 0x42], 0x6a409c34
xor dword [rsp + 0x42], 0x7d807241
xor dword [rsp + 0x42], 0x4925d46
xor dword [rsp + 0x42], 0x6acac440
mov dword [rsp + 0x46], 0x21e2f414
add dword [rsp + 0x46], 0x22df88ab
xor dword [rsp + 0x46], 0x1567261
sub dword [rsp + 0x46], 0x45520e09
mov dword [rsp + 0x4a], 0x35f61e93
add dword [rsp + 0x4a], 0x57df4bc
xor dword [rsp + 0x4a], 0x1dc4e81b
sub dword [rsp + 0x4a], 0x2686faa6
mov dword [rsp + 0x4e], 0x13243484
add dword [rsp + 0x4e], 0xb7dcff7
add dword [rsp + 0x4e], 0xe62133d
xor dword [rsp + 0x4e], 0x2c71335f
sub dword [rsp + 0x4e], 0x1162416
xchg rbx, r12
mov qword [rsp + 0x20], rbx
xchg rbx, r12
xchg rdx, rax
mov rdx, qword [rsp + 0x20]
xchg rdx, rax
nop word [rax + rax]
xchg rcx, r8
mov r8, qword [rsp + 0x20]
xchg rcx, r8
mov rax, qword [rsp + 0x20]
xchg r11, r11
and cl, 3
shl cl, 3
movzx edx, word [rsp + rax*2 + 0x3e]
mov eax, 0x15ff9003
add eax, 0x4996edf5
sub eax, 0x4ea79739
add eax, 0x4c944af9
shr eax, cl
movzx ecx, al
mov dword [rsp - 0x34], 0x4b424715
mov rax, qword [rsp + 0x20]
xor cx, dx
mov word [rsp + rax*2 + 0x52], cx
mov rax, qword [rsp + 0x20]
mov dword [rsp - 0x24], esp
inc rax
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
cmp rax, 0xa
mov dword [rsp - 0xc], ebx
jb 0x140084936
mov edi, 0x289be0a4
sub edi, 0x39c9a54
sub edi, 0x1bf60279
xor edi, 0x90943d4
mov word [rsp + 0x66], r12w
lea rdx, [rsp + 0x52]
mov dword [rsp - 0x20], 0x3a4976de
xchg rcx, r14
mov r14, rcx
xchg r14, rcx
lea r8d, [rdi + 7]
mov dword [rsp - 0x34], 0x4eea206f
call fcn.140098b40
test eax, eax
je 0x140084a08
xchg rsi, rsi
mov dl, 0x34
add dl, 0x17
add dl, 0x1a
xor dl, 0x57
xor dl, 0x33
jmp 0x140084a17
xor dl, dl
mov rbx, rbx
test dil, 2
je 0x140084a45
lea rdi, [rsp + 0x52]
mov dword [rsp - 0x44], 0x17c7a4d2
xor eax, eax
mov ecx, 0x5f53519a
sub ecx, 0x4c336ba3
add ecx, 0x58754f0c
sub ecx, 0x46d7da6a
sub ecx, 0x24bd5a8f
rep stosb byte [rdi], al
xor eax, eax
mov rdx, rdx
lea rdi, [rsp + 0x68]
mov ecx, 0x68b6843c
sub ecx, 0x5b2ef52a
add ecx, 0x1a8d11f6
xor ecx, 0x725cda86
xor ecx, 0x5a487b84
rep stosb byte [rdi], al
mov dword [rsp - 0x20], 0xb5db9a8
test dl, dl
jne 0x140084c11
xchg r9, rax
mov r9, qword [rsi + 0x78]
xchg r9, rax
cmp rax, 0x78
jbe 0x140084aa1
mov r12, r12
xchg r12, rcx
mov r12, qword [rsi]
xchg r12, rcx
jmp 0x140084ab1
test rax, rax
xchg r12, rdi
mov rcx, rdi
xchg r12, rdi
cmovne rcx, rsi
mov rax, qword [rcx]
lea r8, [rbp]
mov dword [rsp - 0x1c], 0x29d7fd95
mov r9d, 0x54729a12
sub r9d, 0x8e57a3d
xor r9d, 0x22ccdc28
sub r9d, 0x6941c0a5
mov rdx, r15
call qword [rax + 8]
mov dword [rsp - 0x20], edi
test al, al
je 0x140084c11
xchg rdi, r14
mov r14, qword [rbp + 0x68]
xchg rdi, r14
test rdi, rdi
mov dword [rsp - 0xc], edx
je 0x140084c11
mov eax, dword [rbp + 0x118]
cmp eax, 6
jne 0x140084c06
xchg rsi, rsi
mov eax, dword [rbp + 0x11c]
sub eax, 1
je 0x140084bc8
mov r12, r12
sub eax, 1
je 0x140084bc8
sub eax, 1
mov dword [rsp - 0x2c], 0x5a0331e0
je 0x140084b8b
cmp eax, 1
jne 0x140084c11
mov r9, r9
xchg rdx, rsi
mov rsi, rdx
xchg rdx, rsi
lea rcx, [rbp - 0x80]
xchg r15, r15
call fcn.140084d90
xchg r14, r9
mov r14, r9
xchg r14, r9
xchg r8, r12
mov r12, rdi
xchg r8, r12
xchg r15, rdx
mov r15, rax
xchg rdx, r15
mov rcx, rbx
call fcn.14008a2b0
jmp 0x140084c45
mov rdx, rsi
lea rcx, [rbp - 0x80]
mov dword [rsp - 0x20], 0x440d3bc2
call fcn.140084d90
xchg r14, rsi
mov r9, rsi
xchg rsi, r14
mov r8, rdi
mov rdx, rax
mov dword [rsp - 0x44], edi
xchg rcx, rbx
mov rbx, rcx
xchg rbx, rcx
call fcn.14008b910
xchg r9, r9
jmp 0x140084c45
xchg r9, rsi
mov rdx, r9
xchg rsi, r9
lea rcx, [rbp - 0x80]
call fcn.140084d90
mov rsp, rsp
xchg r12, r9
mov r12, r14
xchg r12, r9
xchg rsi, rdi
mov r8, rsi
xchg rsi, rdi
xchg r15, rax
mov rdx, r15
xchg r15, rax
mov rcx, rbx
call fcn.14008ad80
mov r15, r15
jmp 0x140084c45
cmp eax, 0xa
xchg rdi, rdi
jmp 0x140084b45
mov qword [rbx], r12
xchg rbp, r12
mov qword [rbx + 8], rbp
xchg r12, rbp
mov qword [rbx + 0x10], r12
mov rdx, rdx
mov qword [rbx + 0x18], 0x2ed940c5
xor qword [rbx + 0x18], 0x2310b6e1
xor qword [rbx + 0x18], 0x347570c4
sub qword [rbx + 0x18], 0x39bc86df
mov rcx, rsi
call fcn.1400853e0
mov dword [rsp - 0x28], edi
lea r11, [rsp + 0x460]
xchg r12, rbx
mov rax, r12
xchg r12, rbx
mov rbx, qword [r11 + 0x30]
xchg r12, r12
xchg rdi, rsi
mov rdi, qword [r11 + 0x38]
xchg rsi, rdi
mov rdi, qword [r11 + 0x40]
xchg rsp, rdx
mov rdx, r11
xchg rdx, rsp
pop r15
pop r14
mov r12, r12
nop
mov r13, qword [rsp]
add rsp, 8
nop
add rsp, 8
mov r12, qword [rsp - 8]
pop rbp
mov r10, r10
ret