Function at 0x18001992c
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 [0x180375980]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov r13, qword [rbp + 0x70]
mov r10, r8
mov r15, qword [rbp + 0x80]
mov r14d, edx
mov qword [rbp - 0x48], r13
mov rbx, rcx
mov qword [rbp - 0x40], r15
mov dword [rbp - 0x54], edx
mov qword [rbp - 0x50], rcx
test dl, 0xf
je 0x180019980
mov ebx, 1
jmp 0x180019b73
lea eax, [r9 - 0x10]
test eax, 0xffffffe7
jne 0x180019b6e
cmp r9d, 0x28
je 0x180019b6e
mov r12d, dword [rbp + 0x78]
test r15, r15
jne 0x1800199b1
cmp r12d, r14d
jae 0x1800199b9
mov ebx, 3
jmp 0x180019b73
lea eax, [rdx - 0x10]
cmp r12d, eax
jmp 0x1800199a5
mov r8d, r9d
lea rcx, [rbp - 0x38]
mov rdx, r10
call fcn.180019d9c
mov r8, r13
lea rcx, [rbp - 0x38]
mov rdx, rbx
call fcn.180019b98
mov rdx, qword [rbp + 0x68]
mov ebx, 1
lea esi, [rbx + 0xf]
test rdx, rdx
je 0x1800199fe
mov rcx, r13
sub rdx, r13
mov r8d, esi
mov al, byte [rdx + rcx]
xor byte [rcx], al
add rcx, rbx
sub r8, rbx
jne 0x1800199f1
mov edi, r14d
shr edi, 4
sub edi, ebx
mov dword [rbp - 0x58], edi
cmp edi, ebx
jbe 0x180019a65
lea r14d, [rdi - 1]
mov r12d, esi
mov rdi, qword [rbp - 0x50]
movsxd r15, r12d
lea rcx, [rbp - 0x38]
add r15, r13
movsxd r13, r12d
mov r8, r15
lea rdx, [rdi + r13]
call fcn.180019b98
sub r13, r15
mov rcx, rsi
add r13, rdi
mov al, byte [r15 + r13 - 0x10]
xor byte [r15], al
add r15, rbx
sub rcx, rbx
jne 0x180019a3a
mov r13, qword [rbp - 0x48]
add r12d, esi
sub r14, rbx
jne 0x180019a18
mov edi, dword [rbp - 0x58]
mov r14d, dword [rbp - 0x54]
mov r12d, dword [rbp + 0x78]
mov r15, qword [rbp - 0x40]
shl edi, 4
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
cmp r14d, esi
jbe 0x180019aaf
mov edx, edi
lea r8, [rbp - 0x20]
add rdx, qword [rbp - 0x50]
lea rcx, [rbp - 0x38]
call fcn.180019b98
lea r8d, [rdi - 0x10]
xor edx, edx
lea rax, [rbp - 0x20]
sub r8, rax
add r8, qword [rbp - 0x50]
lea rcx, [rbp - 0x20]
add rcx, rdx
add rdx, rbx
mov al, byte [r8 + rcx]
xor byte [rcx], al
cmp rdx, rsi
jl 0x180019a98
jmp 0x180019acb
mov r8d, r14d
lea rcx, [rbp - 0x20]
mov rdx, r13
call fcn.1800e3e40
mov r8d, r12d
xor edx, edx
mov rcx, r13
call fcn.1800e44e0
test r15, r15
je 0x180019b11
movzx edx, byte [rbp - 0x11]
mov r9d, esi
sub r9d, edx
mov dword [r15], edx
cmp edx, esi
ja 0x180019b67
xor r8d, r8d
test edx, edx
je 0x180019b05
mov eax, reloc.WS2_32.dll_ntohs
sub eax, r8d
movzx ecx, byte [rbp + rax - 0x20]
cmp ecx, edx
jne 0x180019b67
add r8d, ebx
cmp r8d, edx
jb 0x180019aec
lea eax, [rdi + r9]
cmp r12d, eax
jb 0x180019b60
mov esi, r9d
mov ecx, edi
lea rdx, [rbp - 0x20]
add rcx, r13
mov r8, rsi
call fcn.1800e3e40
xor ebx, ebx
mov rcx, qword [rbp - 0x38]
test rcx, rcx
je 0x180019b73
mov rdx, qword [rbp - 0x28]
mov rax, rcx
sub rdx, rcx
and rdx, 0xfffffffffffffff0
cmp rdx, 0x1000
jb 0x180019b59
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180019b92
call fcn.1800af2ac
jmp 0x180019b73
mov ebx, 3
jmp 0x180019b24
mov ebx, 4
jmp 0x180019b24
mov ebx, 2
mov eax, ebx
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1800af730
add rsp, 0x78
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.1800b698c
int3