Function at 0x1400365a0
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xe8
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov rax, qword [0x1400bd320]
xor rax, rsp
mov qword [rsp + 0xd0], rax
mov r15, r9
mov rsi, r8
mov rdi, rdx
mov r14, rcx
mov rax, qword [rcx]
call qword [rax + 0xf8]
mov rbx, rax
mov r10, qword [rax]
mov r9, r15
mov r8, rsi
mov rdx, rdi
mov rcx, rax
call qword [r10 + 0x30]
lea rsi, [rbx + 8]
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x28]
mov ebx, eax
mov rdx, qword [rsi]
mov rcx, rsi
call qword [rdx + 0x28]
cmp eax, 0x10
je 0x1400366b4
lea rcx, [r14 + 8]
mov rax, qword [rcx]
lea rdx, [rsp + 0x90]
call qword [rax + 0x10]
nop
lea r8, str.:_block_size_of_underlying_block_cipher_is_not_16
mov rdx, rax
lea rcx, [rsp + 0xb0]
call fcn.140005638
mov rbx, rax
lea rcx, [rsp + 0x50]
call fcn.14004246c
nop
lea rax, vtable.CryptoPP::Exception.0
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x68], 1
mov qword [rsp + 0x88], 0xf
xor eax, eax
mov qword [rsp + 0x80], rax
mov byte [rsp + 0x70], al
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rbx
lea rcx, [rsp + 0x70]
call fcn.140004608
nop
lea rax, vtable.CryptoPP::InvalidArgument.0
mov qword [rsp + 0x50], rax
lea rdx, [0x1400b9cb0]
lea rcx, [rsp + 0x50]
call fcn.14004682c
nop
cmp byte [0x1400c2e60], 0
jne 0x1400366c2
call fcn.140040bb0
mov r12d, 0x10000
mov rax, qword [r15]
lea r9, [rsp + 0x20]
lea r8, vtable.type_info.0
lea rdx, str.TableSize
mov rcx, r15
cmp byte [0x1400c2e67], 0
je 0x1400366f6
call qword [rax + 8]
lea ecx, [rbx*8]
jmp 0x140036725
call qword [rax + 8]
test al, al
je 0x14003670d
mov ecx, 0x800
cmp dword [rsp + 0x20], r12d
cmovge ecx, r12d
jmp 0x140036725
mov rax, qword [r14]
mov rcx, r14
call qword [rax + pe_nt_image_headers64]
mov ecx, 0x800
cmp eax, 1
cmove ecx, r12d
mov dword [rsp + 0x20], ecx
lea edx, [rcx + rbx*2]
add edx, ebx
lea rcx, [r14 + 0x18]
call fcn.140036ca0
mov rax, qword [r14 + 0x30]
lea r14, [rax + 0x30]
mov qword [rsp + 0x40], r14
lea rdi, [rax + 0x20]
xor eax, eax
mov qword [rdi], rax
mov qword [rdi + 8], rax
mov rax, qword [rsi]
mov r9, rdi
xor r8d, r8d
mov rdx, rdi
mov rcx, rsi
call qword [rax + 0x20]
cmp byte [0x1400c2e60], 0
jne 0x140036771
call fcn.140040bb0
cmp byte [0x1400c2e67], 0
je 0x14003678f
mov r8d, dword [rsp + 0x20]
mov rdx, r14
mov rcx, rdi
call fcn.140041290
jmp 0x140036c73
xor ebp, ebp
mov qword [rsp + 0x28], rbp
mov ebx, ebp
test rdi, rdi
je 0x1400367a0
mov rbx, qword [rdi]
bswap rbx
add rdi, 8
mov r11, rbp
je 0x1400367af
mov r11, qword [rdi]
bswap r11
cmp dword [rsp + 0x20], r12d
jne 0x14003696f
mov r8d, ebp
movabs r9, 0xe100000000000000
nop word [rax + rax]
mov eax, r8d
and eax, 7
mov ecx, 0xb
sub ecx, eax
mov edx, 1
shl rdx, cl
mov eax, r8d
shr eax, 3
shl eax, 0xc
movsxd rcx, eax
add rdx, r14
mov rax, rbx
bswap rax
add rdx, rcx
je 0x140036802
mov qword [rdx], rax
add rdx, 8
mov rax, r11
bswap rax
je 0x140036811
mov qword [rdx], rax
mov edx, r11d
and edx, 1
mov rcx, rbx
shl rcx, 0x3f
mov rax, r11
shr rax, 1
mov r11, rcx
or r11, rax
neg edx
sbb rcx, rcx
and rcx, r9
mov rax, rbx
shr rax, 1
mov rbx, rcx
xor rbx, rax
inc r8d
cmp r8d, 0x80
jl 0x1400367d0
mov r15, rbp
mov r12d, 0x10
xor eax, eax
mov qword [r15 + r14], rax
mov qword [r15 + r14 + 8], rax
cmp byte [0x1400c2e60], al
jne 0x14003686b
call fcn.140040bb0
cmp byte [0x1400c2e61], 0
je 0x1400368de
mov esi, 2
nop dword [rax]
cmp esi, 1
jle 0x1400368cd
mov ecx, esi
shl ecx, 4
movsxd rbp, ecx
add rbp, r15
add rbp, r14
lea rbx, [r14 + 0x10]
add rbx, r15
lea eax, [rcx + 0x10]
movsxd r14, eax
add r14, 0xfffffffffffffff0
lea edi, [rsi - 1]
nop word [rax + rax]
lea rcx, [r14 + rbx]
mov r8, rbx
mov rdx, rbp
call fcn.140041490
add rbx, 0x10
dec rdi
jne 0x1400368b0
mov r14, qword [rsp + 0x40]
add esi, esi
cmp esi, 0x80
jle 0x140036880
mov rbp, qword [rsp + 0x28]
jmp 0x14003694e
mov ebx, 2
mov r10d, ebx
cmp r10, 1
jle 0x140036941
lea rdx, [r10 + rbp]
shl rdx, 4
lea rcx, [r14 + 0x18]
add rcx, rdx
mov r9, r10
neg r9
add r9, r9
mov rax, r10
shl rax, 4
mov r11, 0xfffffffffffffff8
sub r11, rax
lea r8, [r10 - 1]
nop dword [rax]
mov rax, qword [r11 + rcx]
xor rax, qword [rdx + r14]
mov qword [rcx - 8], rax
mov rax, qword [rcx + r9*8]
xor rax, qword [rdx + r14 + 8]
mov qword [rcx], rax
lea rcx, [rcx + 0x10]
dec r8
jne 0x140036920
add ebx, ebx
add r10, r10
cmp ebx, 0x80
jle 0x1400368e6
add r15, 0x1000
add rbp, 0x100
mov qword [rsp + 0x28], rbp
dec r12
jne 0x140036853
jmp 0x140036c73
movzx eax, byte [0x1400c1e10]
test al, al
jne 0x1400369ff
mov dword [0x1400c1c10], 0xc2010000
mov esi, 0x1c2
mov r9d, 2
lea r15, [0x1400c1c10]
lea r12, [0x1400c1c12]
add si, si
mov eax, r9d
lea rdi, [r15 + rax*2]
movzx eax, si
ror ax, 8
mov word [rdi], ax
mov r8d, 1
cmp r9d, r8d
jbe 0x1400369ec
mov r10, r12
nop word [rax + rax]
movzx edx, word [rdi]
xor dx, word [r10]
lea eax, [r8 + r9]
mov word [r15 + rax*2], dx
inc r8d
lea r10, [r10 + 2]
cmp r8d, r9d
jb 0x1400369d0
add r9d, r9d
cmp r9d, 0x80
jbe 0x1400369a1
mov byte [0x1400c1e10], 1
mov r8d, ebp
movabs r9, 0xe100000000000000
nop dword [rax]
mov ecx, r8d
and ecx, 0x1f
cmp ecx, 4
jge 0x140036a36
mov eax, 7
sub eax, ecx
mov edx, 1
movzx ecx, al
shl rdx, cl
add rdx, 0x400
jmp 0x140036a4d
cmp ecx, 8
jge 0x140036a79
mov eax, 0xb
sub eax, ecx
mov edx, 1
movzx ecx, al
shl rdx, cl
mov eax, r8d
shr eax, 5
shl eax, 8
movsxd rcx, eax
add rdx, r14
mov rax, rbx
add rdx, rcx
bswap rax
je 0x140036a6a
mov qword [rdx], rax
mov rax, r11
bswap rax
add rdx, 8
je 0x140036a79
mov qword [rdx], rax
mov edx, r11d
and edx, 1
mov rcx, rbx
shl rcx, 0x3f
mov rax, r11
shr rax, 1
mov r11, rcx
or r11, rax
neg edx
sbb rcx, rcx
and rcx, r9
mov rax, rbx
shr rax, 1
mov rbx, rcx
xor rbx, rax
inc r8d
cmp r8d, 0x68
jl 0x140036a10
lea r13, [r14 + 0x400]
mov rdx, 0xfffffffffffffc00
sub rdx, r14
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x38], 4
nop word [rax + rax]
xor eax, eax
mov qword [r13 - 0x400], rax
mov qword [r13 - 0x3f8], rax
mov qword [r13], rax
mov qword [r13 + 8], rax
cmp byte [0x1400c2e60], al
jne 0x140036b0a
call fcn.140040bb0
mov rdx, qword [rsp + 0x30]
cmp byte [0x1400c2e61], 0
je 0x140036b9a
mov esi, 2
nop dword [rax]
cmp esi, 1
jle 0x140036b84
mov ecx, esi
shl ecx, 4
movsxd rbp, ecx
add rbp, rdx
add rbp, r13
add rbp, r14
lea rbx, [r13 + 0x10]
lea eax, [rcx + 0x10]
movsxd rcx, eax
lea r15, [rcx - 0x10]
lea r12, [rcx - 0x410]
lea edi, [rsi - 1]
nop
lea r8, [rbx - 0x400]
lea rcx, [r12 + rbx]
mov rdx, rbp
call fcn.140041490
lea rcx, [r15 + rbx]
mov r8, rbx
lea rdx, [rbp + 0x400]
call fcn.140041490
add rbx, 0x10
dec rdi
jne 0x140036b50
mov r14, qword [rsp + 0x40]
add esi, esi
cmp esi, 8
mov rdx, qword [rsp + 0x30]
jle 0x140036b20
mov rbp, qword [rsp + 0x28]
jmp 0x140036c53
mov edi, 2
mov edx, edi
cmp rdx, 1
jle 0x140036c45
lea r8, [rdx + rbp]
shl r8, 4
lea r9, [rbp + 0x40]
add r9, rdx
add r9, r9
lea rcx, [r14 + 0x18]
add rcx, r8
mov r11, rdx
neg r11
add r11, r11
mov ebx, 0x40
sub rbx, rdx
add rbx, rbx
mov rax, rdx
neg rax
shl rax, 4
lea rsi, [rax - 8]
lea rbp, [rax + 0x3f8]
lea r10, [rdx - 1]
nop word [rax + rax]
mov rax, qword [rcx + rsi]
xor rax, qword [r8 + r14]
mov qword [rcx - 8], rax
mov rax, qword [rcx + r11*8]
xor rax, qword [r8 + r14 + 8]
mov qword [rcx], rax
mov rax, qword [rcx + rbp]
xor rax, qword [r14 + r9*8]
mov qword [rcx + 0x3f8], rax
mov rax, qword [rcx + rbx*8]
xor rax, qword [r14 + r9*8 + 8]
mov qword [rcx + 0x400], rax
lea rcx, [rcx + 0x10]
dec r10
jne 0x140036c00
mov rbp, qword [rsp + 0x28]
add edi, edi
add rdx, rdx
cmp edi, 8
jle 0x140036ba1
add r13, 0x100
add rbp, 0x10
mov qword [rsp + 0x28], rbp
dec qword [rsp + 0x38]
mov rdx, qword [rsp + 0x30]
jne 0x140036ae0
mov rcx, qword [rsp + 0xd0]
xor rcx, rsp
call fcn.140047700
add rsp, 0xe8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret