Function at 0x1401a9d84
Capabilities:
Encode data using xor

Disassembly:
mov byte [rsp + 0x18], r8b
mov qword [rsp + 0x10], rdx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x38
cmp dword [rdx], 5
mov rbx, rdx
mov rdi, rcx
je 0x1401a9de2
mov rcx, qword [rcx]
mov byte [rbp + 0x48], 0x30
mov rdx, qword [rcx + 8]
cmp qword [rcx + 0x10], rdx
je 0x1401a9dc6
mov byte [rdx], 0x30
inc qword [rcx + 8]
jmp 0x1401a9dcf
lea r8, [rbp + 0x48]
call fcn.14015bdd8
mov eax, dword [rbx]
mov rcx, rdi
mov edx, eax
add eax, eax
sar edx, 0x1f
xor edx, eax
call fcn.1401aa3bc
mov rax, qword [rbx + 0x10]
movabs r13, 0x2aaaaaaaaaaaaaab
cmp qword [rbx + 8], rax
je 0x1401a9e8a
mov rcx, qword [rdi]
mov byte [rbp + 0x48], 0x4b
mov rdx, qword [rcx + 8]
cmp qword [rcx + 0x10], rdx
je 0x1401a9e14
mov byte [rdx], 0x4b
inc qword [rcx + 8]
jmp 0x1401a9e1d
lea r8, [rbp + 0x48]
call fcn.14015bdd8
mov rcx, qword [rbx + 0x10]
mov rax, r13
sub rcx, qword [rbx + 8]
imul rcx
mov rcx, qword [rdi]
mov rsi, rdx
mov byte [rbp + 0x48], 0xa
sar rsi, 3
mov rax, rsi
mov rdx, qword [rcx + 8]
shr rax, 0x3f
add rsi, rax
cmp qword [rcx + 0x10], rdx
je 0x1401a9e56
mov byte [rdx], 0xa
inc qword [rcx + 8]
jmp 0x1401a9e5f
lea r8, [rbp + 0x48]
call fcn.14015bdd8
mov edx, esi
mov rcx, rdi
call fcn.1401aa3bc
mov r14, qword [rbx + 0x10]
mov rsi, qword [rbx + 8]
jmp 0x1401a9e85
xor r8d, r8d
mov rdx, rsi
mov rcx, rdi
call fcn.1401a8630
add rsi, 0x30
cmp rsi, r14
jne 0x1401a9e73
xor esi, esi
cmp qword [rbx + 0x30], rsi
je 0x1401a9ec1
mov rcx, qword [rdi]
mov byte [rbp + 0x48], 0x69
mov rdx, qword [rcx + 8]
cmp qword [rcx + 0x10], rdx
je 0x1401a9eac
mov byte [rdx], 0x69
inc qword [rcx + 8]
jmp 0x1401a9eb5
lea r8, [rbp + 0x48]
call fcn.14015bdd8
lea rdx, [rbx + 0x20]
mov rcx, rdi
call fcn.1401aa640
cmp qword [rbx + 0x40], rsi
je 0x1401a9ef3
mov r8d, 4
xor r9d, r9d
mov dl, 0x11
mov rcx, rdi
call fcn.1401aa4f4
mov rax, qword [rbx + 0x40]
mov rcx, rdi
mov rdx, rax
add rax, rax
sar rdx, 0x3f
xor rdx, rax
call fcn.1401aa430
movsd xmm0, qword [rbx + 0x48]
ucomisd xmm0, qword [0x1402bbb90]
jp 0x1401a9f04
je 0x1401a9f3e
mov r8d, 5
xor r9d, r9d
mov dl, 8
mov rcx, rdi
call fcn.1401aa4f4
mov rcx, qword [rdi]
lea rax, [rbp + 0x50]
movsd xmm0, qword [rbx + 0x48]
lea r9, [rbp + 0x48]
movsd qword [rbp + 0x48], xmm0
lea rdx, [rbp + 0x60]
mov qword [rsp + 0x20], rax
mov r8, qword [rcx + 8]
call fcn.14019c5a8
mov rax, qword [rbx + 0x58]
cmp qword [rbx + 0x50], rax
je 0x1401aa007
mov r8d, 6
xor r9d, r9d
mov dl, VariantTimeToDosDateTime
mov rcx, rdi
call fcn.1401aa4f4
mov rcx, qword [rbx + 0x58]
mov rax, r13
sub rcx, qword [rbx + 0x50]
mov r8b, VariantTimeToDosDateTime
imul rcx
mov rcx, rdi
sar rdx, 2
mov rax, rdx
shr rax, 0x3f
add rdx, rax
call fcn.1401aa4a8
mov r13, qword [rbx + 0x58]
mov rsi, qword [rbx + 0x50]
cmp rsi, r13
je 0x1401a9ffd
xor ebx, ebx
mov rdx, qword [rsi + 8]
mov r8b, 3
sub rdx, qword [rsi]
mov rcx, rdi
call fcn.1401aa4a8
mov r14, qword [rsi]
mov r15, rbx
mov r12, qword [rsi + 8]
sub r12, r14
cmp r14, qword [rsi + 8]
cmova r12, rbx
test r12, r12
je 0x1401a9ff0
mov rcx, qword [rdi]
mov al, byte [r14]
mov byte [rbp + 0x48], al
mov rdx, qword [rcx + 8]
cmp qword [rcx + 0x10], rdx
je 0x1401a9fdc
mov byte [rdx], al
inc qword [rcx + 8]
jmp 0x1401a9fe5
lea r8, [rbp + 0x48]
call fcn.14015bdd8
inc r14
inc r15
cmp r15, r12
jne 0x1401a9fc1
add rsi, 0x18
cmp rsi, r13
jne 0x1401a9f95
mov rbx, qword [rbp + 0x50]
movabs r13, 0x2aaaaaaaaaaaaaab
mov rax, qword [rbx + 0x70]
cmp qword [rbx + 0x68], rax
je 0x1401aa095
mov r8d, 0xa
xor r9d, r9d
mov dl, VariantTimeToDosDateTime
mov rcx, rdi
call fcn.1401aa4f4
mov rcx, qword [rbx + 0x70]
mov rax, r13
sub rcx, qword [rbx + 0x68]
mov r8b, VariantTimeToDosDateTime
imul rcx
mov rcx, rdi
sar rdx, 2
mov rax, rdx
shr rax, 0x3f
add rdx, rax
call fcn.1401aa4a8
mov r12, qword [rbx + 0x70]
mov rsi, qword [rbx + 0x68]
jmp 0x1401aa090
mov rdx, qword [rsi + 8]
mov r8b, 9
sub rdx, qword [rsi]
mov rcx, rdi
sar rdx, 5
call fcn.1401aa4a8
mov r15, qword [rsi + 8]
mov r14, qword [rsi]
jmp 0x1401aa087
mov rdx, r14
mov rcx, rdi
call fcn.1401aa640
add r14, 0x20
cmp r14, r15
jne 0x1401aa078
add rsi, 0x18
cmp rsi, r12
jne 0x1401aa059
mov rax, qword [rbx + 0x88]
cmp qword [rbx + 0x80], rax
je 0x1401aa168
mov r8d, VariantTimeToDosDateTime
xor r9d, r9d
mov dl, r8b
mov rcx, rdi
call fcn.1401aa4f4
mov rcx, qword [rbx + 0x88]
mov rax, r13
sub rcx, qword [rbx + 0x80]
mov r8b, VariantTimeToDosDateTime
imul rcx
mov rcx, rdi
sar rdx, 2
mov rax, rdx
shr rax, 0x3f
add rdx, rax
call fcn.1401aa4a8
mov r13, qword [rbx + 0x88]
mov rsi, qword [rbx + 0x80]
cmp rsi, r13
je 0x1401aa168
xor ebx, ebx
mov rdx, qword [rsi + 8]
mov r8b, send
sub rdx, qword [rsi]
mov rcx, rdi
sar rdx, 3
call fcn.1401aa4a8
mov r15, qword [rsi]
mov r12, rbx
mov r14, qword [rsi + 8]
sub r14, r15
add r14, 7
shr r14, 3
cmp r15, qword [rsi + 8]
cmova r14, rbx
test r14, r14
je 0x1401aa15b
mov rax, qword [r15]
mov rcx, rdi
mov rdx, rax
add rax, rax
sar rdx, 0x3f
xor rdx, rax
call fcn.1401aa430
inc r12
lea r15, [r15 + 8]
cmp r12, r14
jne 0x1401aa137
add rsi, 0x18
cmp rsi, r13
jne 0x1401aa0ff
mov rbx, qword [rbp + 0x50]
mov rax, qword [rbx + 0xa0]
cmp qword [rbx + 0x98], rax
je 0x1401aa257
mov r8d, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
xor r9d, r9d
mov dl, VariantTimeToDosDateTime
mov rcx, rdi
call fcn.1401aa4f4
mov rcx, qword [rbx + 0xa0]
movabs r14, 0x2aaaaaaaaaaaaaab
sub rcx, qword [rbx + 0x98]
mov rax, r14
imul rcx
mov r8b, VariantTimeToDosDateTime
mov rcx, rdi
sar rdx, 2
mov rax, rdx
shr rax, 0x3f
add rdx, rax
call fcn.1401aa4a8
mov r13, qword [rbx + 0xa0]
mov rsi, qword [rbx + 0x98]
cmp rsi, r13
je 0x1401aa261
xor ebx, ebx
mov rdx, qword [rsi + 8]
mov r8b, 8
sub rdx, qword [rsi]
mov rcx, rdi
sar rdx, 3
call fcn.1401aa4a8
mov r15, qword [rsi]
mov r12, rbx
mov r14, qword [rsi + 8]
sub r14, r15
add r14, 7
shr r14, 3
cmp r15, qword [rsi + 8]
cmova r14, rbx
test r14, r14
je 0x1401aa24a
mov rcx, qword [rdi]
lea rax, [rbp + 0x50]
movsd xmm0, qword [r15]
lea r9, [rbp + 0x48]
movsd qword [rbp + 0x48], xmm0
lea rdx, [rbp + 0x60]
mov qword [rsp + 0x20], rax
mov r8, qword [rcx + 8]
call fcn.14019c5a8
inc r12
lea r15, [r15 + 8]
cmp r12, r14
jne 0x1401aa217
add rsi, 0x18
cmp rsi, r13
jne 0x1401aa1df
mov rbx, qword [rbp + 0x50]
movabs r14, 0x2aaaaaaaaaaaaaab
mov rax, qword [rbx + 0xb8]
cmp qword [rbx + 0xb0], rax
je 0x1401aa387
mov r8d, reloc.WS2_32.dll_listen
xor r9d, r9d
mov dl, VariantTimeToDosDateTime
mov rcx, rdi
call fcn.1401aa4f4
mov rcx, qword [rbx + 0xb8]
mov rax, r14
sub rcx, qword [rbx + 0xb0]
mov r8b, VariantTimeToDosDateTime
imul rcx
mov rcx, rdi
sar rdx, 2
mov rax, rdx
shr rax, 0x3f
add rdx, rax
call fcn.1401aa4a8
mov rax, qword [rbx + 0xb8]
mov rbx, qword [rbx + 0xb0]
cmp rbx, rax
mov qword [rbp + 0x60], rax
jmp 0x1401aa37d
mov rcx, qword [rbx + 8]
mov rax, r14
sub rcx, qword [rbx]
mov r8b, VariantTimeToDosDateTime
imul rcx
mov rcx, rdi
sar rdx, 2
mov rax, rdx
shr rax, 0x3f
add rdx, rax
call fcn.1401aa4a8
mov r13, qword [rbx + 8]
mov rsi, qword [rbx]
cmp rsi, r13
je 0x1401aa375
xor ebx, ebx
mov rdx, qword [rsi + 8]
mov r8b, 3
sub rdx, qword [rsi]
mov rcx, rdi
call fcn.1401aa4a8
mov r14, qword [rsi]
mov r12, rbx
mov r15, qword [rsi + 8]
sub r15, r14
cmp r14, qword [rsi + 8]
cmova r15, rbx
test r15, r15
je 0x1401aa35e
mov rcx, qword [rdi]
mov al, byte [r14]
mov byte [rbp + 0x50], al
mov rdx, qword [rcx + 8]
cmp qword [rcx + 0x10], rdx
je 0x1401aa34a
mov byte [rdx], al
inc qword [rcx + 8]
jmp 0x1401aa353
lea r8, [rbp + 0x50]
call fcn.14015bdd8
inc r14
inc r12
cmp r12, r15
jne 0x1401aa32f
add rsi, 0x18
cmp rsi, r13
jne 0x1401aa303
mov rbx, qword [rbp + 0x48]
movabs r14, 0x2aaaaaaaaaaaaaab
add rbx, 0x18
cmp rbx, qword [rbp + 0x60]
mov qword [rbp + 0x48], rbx
jne 0x1401aa2cf
mov rcx, qword [rdi]
mov al, byte [rbp + 0x58]
mov byte [rbp + 0x58], al
mov rdx, qword [rcx + 8]
cmp qword [rcx + 0x10], rdx
je 0x1401aa3a2
mov byte [rdx], al
inc qword [rcx + 8]
jmp 0x1401aa3ab
lea r8, [rbp + 0x58]
call fcn.14015bdd8
add rsp, 0x38
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret