Function at 0x140040e70
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
mov rax, qword [0x1400d0080]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov r13, rdx
mov r14, rcx
mov qword [rbp - 0x18], rdx
mov rsi, qword [rdx]
mov r12, qword [rdx + 8]
cmp rsi, r12
je 0x140040f1f
nop dword [rax + rax]
mov rcx, rsi
call fcn.1400443b0
mov rdi, rax
test rax, rax
je 0x14004101f
mov rbx, qword [rsi + 0x20]
mov r15, qword [rsi + 0x28]
cmp rbx, r15
je 0x140040f16
mov r8, rbx
mov rdx, rdi
mov rcx, r14
call fcn.140035d80
mov rcx, rax
test rax, rax
jne 0x140040f06
mov rdx, qword [0x14090bc98]
cmp rdi, rdx
je 0x140040f06
mov r8, rbx
mov rcx, r14
call fcn.140035d80
mov rcx, rax
test rax, rax
je 0x140040f4d
mov rax, qword [rbx + 0x20]
mov qword [rax], rcx
add rbx, 0x28
cmp rbx, r15
jne 0x140040ed1
add rsi, 0x38
cmp rsi, r12
jne 0x140040eb0
mov rcx, r13
call fcn.1400410e0
mov al, 1
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1400a9330
mov rbx, qword [rsp + 0xc0]
add rsp, 0x70
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
movdqa xmm0, xmmword [0x1400c41e0]
movdqu xmmword [rbp - 0x38], xmm0
mov dword [rbp - 0x28], 0x9a87859a
mov dword [rbp - 0x24], 0x9d86ce88
mov dword [rbp - 0x20], 0x80819d81
mov word [rbp - 0x1c], Ordinal_217
mov byte [rbp - 0x1a], 1
xor edi, edi
mov edx, edi
nop dword [rax]
lea eax, [rdx - 0x27]
xor byte [rbp + rdx - 0x38], al
inc rdx
cmp rdx, 0x1d
jb 0x140040f80
mov byte [rbp - 0x1a], dil
lea rdx, [rbp - 0x38]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400418d0
mov r8, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0xf
jbe 0x140040fb2
mov rbx, qword [rbx]
mov rdx, rbx
mov rcx, rax
call fcn.140041b80
mov dword [rbp - 0x50], 0x100f2f9
nop dword [rax]
nop dword [rax + rax]
lea ecx, [rdi - 0x27]
xor byte [rbp + rdi - 0x50], cl
inc rdi
cmp rdi, 2
jb 0x140040fd0
mov byte [rbp - 0x4d], 0
lea rdx, [rbp - 0x50]
mov rcx, rax
call fcn.1400418d0
mov r8, qword [rsi + 0x10]
cmp qword [rsi + 0x18], 0xf
jbe 0x140040ffe
mov rsi, qword [rsi]
mov rdx, rsi
mov rcx, rax
call fcn.140041b80
mov word [rbp - 0x4c], reloc.WLDAP32.dll_Ordinal_41
mov byte [rbp - 0x4a], 0
lea rdx, [rbp - 0x4c]
mov rcx, rax
jmp 0x1400410b8
movdqa xmm0, xmmword [0x1400c4110]
movdqu xmmword [rbp - 0x38], xmm0
mov byte [rbp - 0x28], 1
xor edi, edi
mov edx, edi
nop dword [rax]
nop dword [rax + rax]
lea eax, [rdx - 0x27]
xor byte [rbp + rdx - 0x38], al
inc rdx
cmp rdx, 0xf
jb 0x140041040
mov byte [rbp - 0x28], dil
lea rdx, [rbp - 0x38]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400418d0
mov r8, qword [rsi + 0x10]
cmp qword [rsi + 0x18], 0xf
jbe 0x140041072
mov rsi, qword [rsi]
mov rdx, rsi
mov rcx, rax
call fcn.140041b80
mov rcx, rax
mov dword [rbp - 0x48], 0xafbaadf9
mov dword [rbp - 0x44], 0xc0abf9b3
mov dword [rbp - 0x40], 0x8a968d87
mov word [rbp - 0x3c], 0x81
mov byte [rbp - 0x3a], 1
nop
lea eax, [rdi - 0x27]
xor byte [rbp + rdi - 0x48], al
inc rdi
cmp rdi, 0xd
jb 0x1400410a0
mov byte [rbp - 0x3a], 0
lea rdx, [rbp - 0x48]
call fcn.1400418d0
lea rdx, [0x140041ac0]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
nop
mov rcx, r13
call fcn.1400410e0
xor al, al
jmp 0x140040f29