Function at 0x1801892b0
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x40]
sub rsp, 0x140
mov rax, qword [0x18029e198]
xor rax, rsp
mov qword [rbp + 0x38], rax
mov rsi, qword [rbp + 0xb8]
xor edi, edi
cmp qword [rbp + 0xa0], 0x1c
mov r13, r9
mov r14, qword [rbp + 0xa8]
mov r15, rdx
mov r12, rcx
jae 0x180189300
xor eax, eax
jmp 0x18018954f
mov eax, 0x20
mov qword [rsp + 0x190], rbx
mov rbx, qword [rbp + 0xb0]
lea r8, [rbp - 0x40]
cmp rbx, rax
mov rdx, r13
cmova rbx, rax
call fcn.180108270
test eax, eax
js 0x180189545
xor eax, eax
mov byte [rsp + 0x30], 4
xorps xmm0, xmm0
mov qword [rsp + 0x64], rax
lea rcx, [rsp + 0x40]
mov dword [rsp + 0x6c], eax
movups xmmword [rsp + 0x54], xmm0
mov byte [rsp + 0x70], al
movups xmmword [rsp + 0x71], xmm0
mov qword [rbp - 0x5f], rax
movups xmmword [rbp - 0x7f], xmm0
mov dword [rbp - 0x57], eax
movups xmmword [rbp - 0x6f], xmm0
mov word [rbp - 0x53], ax
mov byte [rbp - 0x51], al
mov dword [rsp + 0x34], 0x1000000
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x48], rdi
mov dword [rsp + 0x50], edi
mov qword [rbp - 0x50], rdi
call fcn.180106940
mov r8d, 1
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x40]
call fcn.180106990
mov r8d, gethostname
lea rdx, [rbp - 0x40]
lea rcx, [rsp + 0x40]
call fcn.180106990
test rsi, rsi
je 0x1801893ed
mov dword [rsi + 0x1c], edi
mov dword [rsi + 0x3c], edi
movups xmm0, xmmword [rbp - 0x40]
mov eax, dword [rbp - 0x28]
movsd xmm1, qword [rbp - 0x30]
movups xmmword [rsi], xmm0
movups xmm0, xmmword [rbp - 0x24]
movsd qword [rsi + 0x10], xmm1
movsd xmm1, qword [rbp - 0x14]
movups xmmword [rsi + 0x20], xmm0
mov dword [rsi + 0x18], eax
mov eax, dword [rbp - 0xc]
movsd qword [rsi + 0x30], xmm1
mov dword [rsi + 0x38], eax
movups xmm0, xmmword [r15]
lea r9, [rbp + 0x18]
mov eax, dword [r15 + 0x18]
movsd xmm1, qword [r15 + 0x10]
lea r8, [rbp - 0x40]
movups xmmword [rbp - 0x40], xmm0
mov dword [rbp - 0x28], eax
mov rdx, r13
movups xmm0, xmmword [r15 + 0x20]
mov eax, dword [r15 + 0x38]
mov rcx, r12
movsd qword [rbp - 0x30], xmm1
movsd xmm1, qword [r15 + 0x30]
movups xmmword [rbp - 0x24], xmm0
mov dword [rbp - 0xc], eax
movsd qword [rbp - 0x14], xmm1
mov dword [rsp + 0x20], edi
call fcn.180107f00
test eax, eax
je 0x180189545
mov r8d, 0x1c
lea rdx, [rbp + 0x18]
lea rcx, [rsp + 0x40]
call fcn.180106990
mov r8d, 4
lea rdx, [rsp + 0x34]
lea rcx, [rsp + 0x40]
call fcn.180106990
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 8]
call fcn.180106840
test rbx, rbx
je 0x180189540
cmp rbx, 0x40
jb 0x180189521
lea rcx, [r14 - 1]
add rcx, rbx
lea rax, [rbp + rbx - 9]
cmp r14, rax
ja 0x1801894a5
lea rax, [rbp - 8]
cmp rcx, rax
jae 0x180189521
mov r8, rbx
and r8, 0xffffffffffffffc0
lea rcx, [rbp - 8]
sub rcx, r14
lea rdx, [rbp + 8]
sub rdx, r14
lea rax, [r14 + 0x20]
nop
movdqu xmm0, xmmword [rax - 0x20]
add rdi, 0x40
movdqu xmm1, xmmword [rcx + rax - 0x20]
movdqu xmm2, xmmword [rcx + rax]
lea rax, [rax + 0x40]
pxor xmm1, xmm0
movdqu xmmword [rax - 0x60], xmm1
movdqu xmm0, xmmword [rax - 0x50]
movdqu xmm1, xmmword [rdx + rax - 0x60]
pxor xmm1, xmm0
movdqu xmmword [rax - 0x50], xmm1
movdqu xmm0, xmmword [rax - 0x40]
movdqu xmm1, xmmword [rdx + rax - 0x40]
pxor xmm2, xmm0
movdqu xmmword [rax - 0x40], xmm2
movdqu xmm0, xmmword [rax - 0x30]
pxor xmm1, xmm0
movdqu xmmword [rax - 0x30], xmm1
cmp rdi, r8
jb 0x1801894c0
cmp rdi, rbx
jae 0x180189540
lea rdx, [rbp - 8]
sub rdx, r14
lea rax, [r14 + rdi]
sub rbx, rdi
nop
movzx ecx, byte [rax + rdx]
xor byte [rax], cl
lea rax, [rax + 1]
sub rbx, 1
jne 0x180189530
mov edi, 1
mov rbx, qword [rsp + 0x190]
mov eax, edi
mov rcx, qword [rbp + 0x38]
xor rcx, rsp
call fcn.1801e68c0
add rsp, 0x140
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret