Function at 0x1400e4480
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rbx
push r14
push r15
lea rbp, [rsp - 0x3f]
sub rsp, 0x98
mov rax, qword [0x14039a678]
xor rax, rsp
mov qword [rbp + 0x1f], rax
mov rbx, 0xffffffffffffffff
mov qword [rbp - 0x21], r8
mov rax, rbx
mov qword [rbp - 9], rcx
mov r14, r8
mov r15, rcx
nop dword [rax]
inc rax
cmp byte [rcx + rax], 0
jne 0x1400e44c0
test rax, rax
je 0x1400e44f2
lfence
mov rax, rbx
cmp byte [rcx + rax + 1], 0
lea rax, [rax + 1]
jne 0x1400e44d4
cmp byte [rax + rcx - 1], 0
jne 0x1400e44f2
lea rax, [0x140296a0c]
jmp 0x1400e4875
mov qword [rsp + 0xc8], rsi
mov rax, rbx
mov qword [rsp + 0x90], rdi
mov qword [rsp + 0x88], r12
mov qword [rsp + 0x80], r13
xor r13d, r13d
mov qword [rbp + 0xf], r13
nop dword [rax]
inc rax
cmp byte [rdx + rax], r13b
jne 0x1400e4520
cmp rax, 8
jae 0x1400e4550
lfence
mov rax, rbx
inc rax
cmp byte [rdx + rax], r13b
jne 0x1400e4535
movsxd r8, eax
test eax, eax
jle 0x1400e4587
lea rcx, [rbp + 0xf]
call fcn.14021bb20
jmp 0x1400e4587
movzx eax, byte [rdx]
mov byte [rbp + 0xf], al
movzx eax, byte [rdx + 1]
mov byte [rbp + 0x10], al
movzx eax, byte [rdx + 2]
mov byte [rbp + 0x11], al
movzx eax, byte [rdx + 3]
mov byte [rbp + 0x12], al
movzx eax, byte [rdx + 4]
mov byte [rbp + 0x13], al
movzx eax, byte [rdx + 5]
mov byte [rbp + 0x14], al
movzx eax, byte [rdx + 6]
mov byte [rbp + 0x15], al
movzx eax, byte [rdx + 7]
mov byte [rbp + 0x16], al
lea rcx, [rbp + 0xf]
call fcn.1400eeb90
mov rax, rbx
inc rax
cmp byte [r15 + rax], r13b
jne 0x1400e4593
cdq
and edx, 7
add eax, edx
sar eax, 3
inc rbx
cmp byte [r15 + rbx], r13b
jne 0x1400e45a5
and ebx, 0x80000007
jge 0x1400e45bd
dec ebx
or ebx, 0xfffffff8
inc ebx
lea esi, [rax + 1]
mov dword [r14], r13d
test ebx, ebx
cmovle esi, eax
lea eax, [rsi*8]
movsxd rdi, eax
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
lea r8, [rdi + 1]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
lea r8, [rdi + 1]
xor edx, edx
mov rcx, rax
mov qword [rbp - 0x19], rax
mov r12, rax
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
movsxd rax, ebx
mov r8d, r13d
movsxd rcx, esi
mov qword [rbp - 1], rax
mov qword [rbp - 0x11], rcx
mov dword [rbp - 0x35], r13d
test esi, esi
jle 0x1400e4847
mov rcx, r13
lea r9d, [rsi - 1]
mov qword [rbp - 0x29], rcx
mov dword [rbp + 0xf], r9d
cmp r8d, r9d
jne 0x1400e4650
test rax, rax
je 0x1400e4650
mov qword [rbp + 0x17], r13
jle 0x1400e46a0
lea rdx, [r15 + rcx*8]
mov r8, rax
lea rcx, [rbp + 0x17]
call fcn.14021bb20
jmp 0x1400e46a0
movzx eax, byte [r15 + rcx*8]
mov byte [rbp + 0x17], al
movzx eax, byte [r15 + rcx*8 + 1]
mov byte [rbp + 0x18], al
movzx eax, byte [r15 + rcx*8 + 2]
mov byte [rbp + 0x19], al
movzx eax, byte [r15 + rcx*8 + 3]
mov byte [rbp + 0x1a], al
movzx eax, byte [r15 + rcx*8 + 4]
mov byte [rbp + 0x1b], al
movzx eax, byte [r15 + rcx*8 + 5]
mov byte [rbp + 0x1c], al
movzx eax, byte [r15 + rcx*8 + 6]
mov byte [rbp + 0x1d], al
movzx eax, byte [r15 + rcx*8 + 7]
mov byte [rbp + 0x1e], al
nop word [rax + rax]
mov rax, qword [rbp + 0x17]
lea rcx, [rbp + 7]
mov qword [rbp + 7], rax
call fcn.1400ee570
movzx eax, byte [rbp + 0xe]
lea r12, [0x14039d8e0]
movzx ecx, byte [rbp + 0xd]
movzx edx, byte [rbp + 0xc]
movzx r8d, byte [rbp + 0xb]
movzx r13d, byte [rbp + 0xa]
movzx r15d, byte [rbp + 9]
mov qword [rbp - 0x31], SafeArrayGetLBound
nop dword [rax + rax]
movzx ebx, byte [rbp + 7]
movzx esi, r15b
movzx edi, byte [rbp + 8]
movzx r15d, cl
mov byte [rbp + 7], r8b
movzx r14d, r13b
mov byte [rbp + 8], dl
lea r8, [rbp - 0x39]
mov byte [rbp + 9], cl
mov rdx, r12
lea rcx, [rbp + 7]
mov byte [rbp + 0xa], al
movzx r13d, al
call fcn.1400ebe30
movzx r8d, byte [rbp - 0x39]
add r12, 6
movzx edx, byte [rbp - 0x38]
xor r8b, bl
movzx ecx, byte [rbp - 0x37]
xor dl, dil
movzx eax, byte [rbp - 0x36]
xor cl, sil
xor al, r14b
mov byte [rbp + 0xb], r8b
sub qword [rbp - 0x31], 1
mov byte [rbp + 0xc], dl
mov byte [rbp + 0xd], cl
mov byte [rbp + 0xe], al
jne 0x1400e46e0
movzx r9d, byte [rbp + 7]
mov byte [rbp + 0xb], r9b
movzx r9d, byte [rbp + 8]
mov byte [rbp + 9], cl
lea rcx, [rbp + 7]
mov byte [rbp + 0xc], r9b
mov byte [rbp + 0xd], r15b
mov byte [rbp + 0xe], r13b
mov byte [rbp + 7], r8b
mov byte [rbp + 8], dl
mov byte [rbp + 0xa], al
call fcn.1400e8880
mov r14, qword [rbp - 0x21]
mov r13d, 0
mov r12, qword [rbp - 0x19]
movzx eax, byte [rbp + 7]
mov r8d, dword [rbp - 0x35]
movsxd rcx, dword [r14]
inc r8d
mov r15, qword [rbp - 9]
mov r9d, dword [rbp + 0xf]
mov dword [rbp - 0x35], r8d
mov byte [rcx + r12], al
movsxd rcx, dword [r14]
lea eax, [rcx + 1]
mov dword [r14], eax
movzx eax, byte [rbp + 8]
mov byte [rcx + r12 + 1], al
movsxd rcx, dword [r14]
lea eax, [rcx + 1]
mov dword [r14], eax
movzx eax, byte [rbp + 9]
mov byte [rcx + r12 + 1], al
movsxd rcx, dword [r14]
lea eax, [rcx + 1]
mov dword [r14], eax
movzx eax, byte [rbp + 0xa]
mov byte [rcx + r12 + 1], al
movsxd rcx, dword [r14]
lea eax, [rcx + 1]
mov dword [r14], eax
movzx eax, byte [rbp + 0xb]
mov byte [rcx + r12 + 1], al
movsxd rcx, dword [r14]
lea eax, [rcx + 1]
mov dword [r14], eax
movzx eax, byte [rbp + 0xc]
mov byte [rcx + r12 + 1], al
movsxd rcx, dword [r14]
lea eax, [rcx + 1]
mov dword [r14], eax
movzx eax, byte [rbp + 0xd]
mov byte [rcx + r12 + 1], al
movsxd rcx, dword [r14]
lea eax, [rcx + 1]
mov dword [r14], eax
movzx eax, byte [rbp + 0xe]
mov byte [rcx + r12 + 1], al
mov edx, dword [r14]
mov rcx, qword [rbp - 0x29]
inc edx
mov rax, qword [rbp - 1]
inc rcx
mov dword [r14], edx
mov qword [rbp - 0x29], rcx
cmp rcx, qword [rbp - 0x11]
jl 0x1400e4628
jmp 0x1400e484a
mov edx, dword [r14]
mov r13, qword [rsp + 0x80]
mov rdi, qword [rsp + 0x90]
mov rsi, qword [rsp + 0xc8]
movsxd rax, edx
mov byte [rax + r12], 0
mov rax, r12
mov r12, qword [rsp + 0x88]
mov rcx, qword [rbp + 0x1f]
xor rcx, rsp
call fcn.1401e3ce0
add rsp, 0x98
pop r15
pop r14
pop rbx
pop rbp
ret