Function at 0x14004b170
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r14
push r15
mov rbp, rsp
sub rsp, 0x60
movsxd r15, edx
mov rdi, rcx
mov r14, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
movzx eax, word [0x140130604]
mov word [rbp + 0x48], ax
mov al, byte [0x140130606]
mov byte [rbp + 0x4a], al
xor r8d, r8d
lea r9, [rbp + 0x48]
mov eax, 0x24924925
mul r8d
mov eax, r8d
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 5
movsx eax, al
imul ecx, eax, 0x38
mov al, r8b
sub al, cl
add al, 0x31
xor byte [r9], al
inc r8d
inc r9
cmp r8d, 3
jl 0x14004b1ab
lea rdx, [rbp + 0x48]
lea rcx, [rbp - 0x18]
call fcn.1400431a8
nop
mov rsi, qword [rax]
mov rbx, qword [rsi]
cmp rbx, rsi
je 0x14004b218
mov ecx, dword [rbx + 0x18]
call fcn.140054ddc
mov rdx, qword [rbx + 0x10]
mov rcx, r14
call fcn.1400410c4
call fcn.1400547e0
mov rax, qword [rbx]
mov rbx, rax
cmp rax, rsi
jne 0x14004b1f4
mov eax, dword [0x140130608]
mov dword [rbp - 0x40], eax
cmp byte [0x14013060b], 0
je 0x14004b261
xor r8d, r8d
lea r9, [rbp - 0x40]
mov eax, 0x24924925
mul r8d
mov eax, r8d
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 5
movsx eax, al
imul ecx, eax, 0x38
mov al, r8b
sub al, cl
add al, 0x31
xor byte [r9], al
inc r8d
inc r9
cmp r8d, 4
jl 0x14004b231
lea rdx, [rbp - 0x40]
lea rcx, [rbp - 0x28]
call fcn.1400431a8
nop
mov rsi, qword [rax]
mov rbx, qword [rsi]
cmp rbx, rsi
je 0x14004b29e
mov ecx, dword [rbx + 0x18]
call fcn.140054ddc
mov rdx, qword [rbx + 0x10]
mov rcx, r14
call fcn.1400410c4
call fcn.1400547e0
mov rax, qword [rbx]
mov rbx, rax
cmp rax, rsi
jne 0x14004b27a
movzx eax, word [0x14013060c]
mov word [rbp + 0x40], ax
cmp byte [reloc.WLDAP32.dll_Ordinal_50], 0
je 0x14004b2e9
xor r8d, r8d
lea r9, [rbp + 0x40]
mov eax, 0x24924925
mul r8d
mov eax, r8d
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 5
movsx eax, al
imul ecx, eax, 0x38
mov al, r8b
sub al, cl
add al, 0x31
xor byte [r9], al
inc r8d
inc r9
cmp r8d, 2
jl 0x14004b2b9
lea rdx, [rbp + 0x40]
lea rcx, [rbp - 0x38]
call fcn.1400431a8
nop
mov rsi, qword [rax]
mov rbx, qword [rsi]
cmp rbx, rsi
je 0x14004b326
mov ecx, dword [rbx + 0x18]
call fcn.140054ddc
mov rdx, qword [rbx + 0x10]
mov rcx, r14
call fcn.1400410c4
call fcn.1400547e0
mov rax, qword [rbx]
mov rbx, rax
cmp rax, rsi
jne 0x14004b302
mov rcx, qword [rbp - 0x38]
mov rax, qword [rcx + 8]
and qword [rax], 0
mov rcx, qword [rcx]
mov esi, reloc.WLDAP32.dll_Ordinal_32
test rcx, rcx
je 0x14004b352
mov rbx, qword [rcx]
mov rdx, rsi
call fcn.1400ba308
mov rcx, rbx
test rbx, rbx
jne 0x14004b33f
mov rdx, rsi
mov rcx, qword [rbp - 0x38]
call fcn.1400ba308
nop
mov rcx, qword [rbp - 0x28]
mov rax, qword [rcx + 8]
and qword [rax], 0
mov rcx, qword [rcx]
test rcx, rcx
je 0x14004b386
mov rbx, qword [rcx]
mov rdx, rsi
call fcn.1400ba308
mov rcx, rbx
test rbx, rbx
jne 0x14004b373
mov rdx, rsi
mov rcx, qword [rbp - 0x28]
call fcn.1400ba308
nop
mov rcx, qword [rbp - 0x18]
mov rax, qword [rcx + 8]
and qword [rax], 0
mov rcx, qword [rcx]
test rcx, rcx
je 0x14004b3ba
mov rbx, qword [rcx]
mov rdx, rsi
call fcn.1400ba308
mov rcx, rbx
test rbx, rbx
jne 0x14004b3a7
mov rdx, rsi
mov rcx, qword [rbp - 0x18]
call fcn.1400ba308
mov rcx, rdi
cmp qword [rdi + 0x18], 0xf
jbe 0x14004b3d8
mov rcx, qword [rdi]
mov rdx, rcx
jmp 0x14004b3db
mov rdx, rdi
mov rbx, rcx
mov rdi, qword [rdi + 0x10]
add rdi, rdx
cmp rcx, rdi
je 0x14004b419
mov qword [rbp + 0x40], r15
mov dl, byte [rbx]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140040ef0
lea rdx, [rbp + 0x40]
lea rcx, [rbp + 0x48]
call fcn.140042c54
mov rcx, rax
call fcn.140043204
inc rbx
cmp rbx, rdi
jne 0x14004b3ee
mov rbx, qword [rsp + 0x90]
add rsp, 0x60
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret