Function at 0x180019c1c
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x78
mov rax, qword [0x180364978]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rbx, qword [rbp + 0x70]
mov r10, r8
mov r15, qword [rbp + 0x80]
mov r13d, edx
mov qword [rbp - 0x48], rbx
mov rdi, rcx
mov qword [rbp - 0x40], r15
mov dword [rbp - 0x4c], edx
mov qword [rbp - 0x58], rcx
test dl, 0xf
je 0x180019c70
mov edi, 1
jmp 0x180019e6a
lea eax, [r9 - 0x10]
test eax, 0xffffffe7
jne 0x180019e65
cmp r9d, 0x28
je 0x180019e65
mov r12d, dword [rbp + 0x78]
test r15, r15
jne 0x180019ca1
cmp r12d, r13d
jae 0x180019ca9
mov edi, 3
jmp 0x180019e6a
lea eax, [rdx - 0x10]
cmp r12d, eax
jmp 0x180019c95
mov r8d, r9d
lea rcx, [rbp - 0x38]
mov rdx, r10
call fcn.18001a094
mov r8, rbx
lea rcx, [rbp - 0x38]
mov rdx, rdi
call fcn.180019e90
mov rdx, qword [rbp + 0x68]
mov edi, 1
lea r14d, [rdi + 0xf]
test rdx, rdx
je 0x180019cef
mov rcx, rbx
sub rdx, rbx
mov r8d, r14d
mov al, byte [rdx + rcx]
xor byte [rcx], al
add rcx, rdi
sub r8, rdi
jne 0x180019ce2
mov r8, qword [rbp - 0x58]
mov esi, r13d
shr esi, 4
sub esi, edi
mov dword [rbp - 0x50], esi
cmp esi, edi
jbe 0x180019d5a
mov r13d, r14d
dec esi
mov r12, rbx
movsxd rbx, r13d
lea rcx, [rbp - 0x38]
lea rdx, [rbx + r8]
lea r15, [rbx + r12]
mov r8, r15
call fcn.180019e90
mov r8, qword [rbp - 0x58]
sub rbx, r15
mov rcx, r14
lea rdx, [rbx + r8]
mov al, byte [rdx + r15 - 0x10]
xor byte [r15], al
add r15, rdi
sub rcx, rdi
jne 0x180019d2f
add r13d, r14d
sub rsi, rdi
jne 0x180019d0a
mov esi, dword [rbp - 0x50]
mov r13d, dword [rbp - 0x4c]
mov r12d, dword [rbp + 0x78]
mov rbx, qword [rbp - 0x48]
mov r15, qword [rbp - 0x40]
shl esi, 4
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
cmp r13d, r14d
jbe 0x180019da3
mov edx, esi
lea rcx, [rbp - 0x38]
add rdx, r8
lea r8, [rbp - 0x20]
call fcn.180019e90
lea r8d, [rsi - 0x10]
xor edx, edx
lea rax, [rbp - 0x20]
sub r8, rax
add r8, qword [rbp - 0x58]
lea rcx, [rbp - 0x20]
add rcx, rdx
add rdx, rdi
mov al, byte [r8 + rcx]
xor byte [rcx], al
cmp rdx, r14
jl 0x180019d8c
jmp 0x180019dbf
mov r8d, r13d
lea rcx, [rbp - 0x20]
mov rdx, rbx
call fcn.1800ad7c0
mov r8d, r12d
xor edx, edx
mov rcx, rbx
call fcn.1800ade70
test r15, r15
je 0x180019e06
movzx edx, byte [rbp - 0x11]
mov r9d, r14d
sub r9d, edx
mov dword [r15], edx
cmp edx, r14d
ja 0x180019e5e
xor r8d, r8d
test edx, edx
je 0x180019dfa
mov eax, reloc.WS2_32.dll_ntohs
sub eax, r8d
movzx ecx, byte [rbp + rax - 0x20]
cmp ecx, edx
jne 0x180019e5e
add r8d, edi
cmp r8d, edx
jb 0x180019de1
lea eax, [rsi + r9]
cmp r12d, eax
jb 0x180019e57
mov r14d, r9d
mov ecx, esi
lea rdx, [rbp - 0x20]
add rcx, rbx
mov r8, r14
call fcn.1800ad7c0
xor ebx, ebx
mov rcx, qword [rbp - 0x38]
test rcx, rcx
je 0x180019e53
mov rdx, qword [rbp - 0x28]
mov rax, rcx
sub rdx, rcx
and rdx, 0xfffffffffffffff0
cmp rdx, 0x1000
jb 0x180019e4e
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180019e89
call fcn.1800ac2c0
mov eax, ebx
jmp 0x180019e6c
mov ebx, 3
jmp 0x180019e19
mov ebx, 4
jmp 0x180019e19
mov edi, 2
mov eax, edi
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1800ac760
add rsp, 0x78
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.1800b36a4
int3