Function at 0x14001d178
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rbp, rdx
mov rdi, rcx
mov edx, 0x658
xor ecx, ecx
mov rsi, r8
call rdi
mov rbx, rax
test rax, rax
je 0x14001d43c
xor edx, edx
mov r8d, 0x658
mov rcx, rax
call fcn.14015dbb0
and qword [rbx + 0x20], 0
mov eax, ebx
and dword [rbx + 0xc8], 0
xor eax, 0x1505
mov rcx, qword [rsp + 0x50]
mov qword [rbx + 0x18], rsi
mov esi, 1
mov dword [rbx + 0xd0], eax
mov qword [rbx + 0x10], rbp
mov ebp, 0x2000
mov qword [rbx + 0x28], rcx
mov edx, ebp
lea eax, [rsi + 1]
mov qword [rbx + 8], rdi
mov dword [rbx + 0x68], esi
xor ecx, ecx
mov dword [rbx + 0x6c], esi
mov dword [rbx + 0xcc], 0x3e8
mov dword [rbx + 0x90], eax
mov dword [rbx + 0xa0], eax
call rdi
mov qword [rbx + 0xf0], rax
test rax, rax
je 0x14001d422
mov r8d, ebp
mov dword [rbx + 0xfc], 0x400
xor edx, edx
mov dword [rbx + 0xf8], 0x3ff
mov rcx, rax
call fcn.14015dbb0
mov rcx, rbx
call fcn.14001d0a4
test eax, eax
je 0x14001d422
mov rcx, rbx
call fcn.14001eefc
mov rdi, rax
test rax, rax
je 0x14001d422
mov byte [rax + 0x49], sil
lea rcx, [rbx + 0x148]
mov qword [rax + 0x238], rcx
mov rdx, rax
mov qword [rbx + 0xb0], rax
mov rcx, rbx
add dword [rax + 4], esi
call fcn.1400235c4
test eax, eax
je 0x14001d422
mov rcx, rdi
call fcn.140023700
mov rax, qword [rdi + 0x1b8]
mov qword [rdi + 0x20], rax
test rax, rax
je 0x14001d2b6
add dword [rax + 4], esi
mov ebp, gethostname
mov rcx, rbx
mov edx, ebp
call fcn.14001de84
mov rdi, rax
test rax, rax
je 0x14001d2fc
mov r8d, ebp
xor edx, edx
mov rcx, rax
call fcn.14015dbb0
mov dword [rdi], 0x8004081
mov rax, qword [rbx + 0x30]
test rax, rax
je 0x14001d2ed
mov qword [rax + 0x10], rdi
and qword [rdi + 0x10], 0
mov qword [rdi + 8], rax
mov qword [rbx + 0x30], rdi
jmp 0x14001d2fe
xor edi, edi
mov qword [rbx + 0xc0], rdi
test rdi, rdi
je 0x14001d422
add dword [rdi + 4], esi
call fcn.140014998
movsd xmm1, qword [0x1401e4500]
xor ecx, ecx
comisd xmm0, xmm1
jb 0x14001d33d
subsd xmm0, xmm1
comisd xmm0, xmm1
jae 0x14001d33d
movabs rax, 0x8000000000000000
mov rcx, rax
cvttsd2si rax, xmm0
add rax, rcx
mov qword [rbx + 0xd8], rax
xor r10d, r10d
mov r8, qword [rbx + 0xb0]
lea r11d, [r10 + 0x40]
mov rax, qword [r8 + 0x40]
mov r9, qword [rax + 0xd8]
movabs rax, 0x61c8864680b583eb
movabs rcx, 0xbf58476d1ce4e5b9
sub r9, rax
mov rax, r9
shr rax, 0x1e
xor rax, r9
imul rax, rcx
mov rcx, rax
shr rcx, 0x1b
xor rcx, rax
movabs rax, 0x94d049bb133111eb
imul rcx, rax
mov rax, qword [r8 + 0x40]
mov rdx, rcx
shr rdx, 0x1f
xor rdx, rcx
mov rcx, r10
and rcx, rsi
add r10, rsi
mov qword [rax + rcx*8 + 0xd8], rdx
sub r11, rsi
jne 0x14001d365
xor qword [rbx + 0xe0], rbx
lea r9d, [r11 + 0xa]
mov rax, qword [rbx + 0xb0]
mov r8, qword [rax + 0x40]
mov rcx, qword [r8 + 0xd8]
mov rdx, qword [r8 + 0xe0]
xor rdx, rcx
ror rcx, 9
mov rax, rdx
shl rax, 0xe
xor rcx, rax
xor rcx, rdx
ror rdx, 0x1c
mov qword [r8 + 0xd8], rcx
mov qword [r8 + 0xe0], rdx
sub r9, rsi
jne 0x14001d3d1
and dword [rbx + 0x68], r9d
mov rax, rbx
and dword [rbx + 0x6c], r9d
jmp 0x14001d43e
cmp qword [rbx + 0xb0], 0
je 0x14001d434
and dword [rbx + 0x68], 0
and dword [rbx + 0x6c], 0
mov rcx, rbx
call fcn.14001cf14
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret