Function at 0x18000c6c0
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r13
push r15
mov rbp, rsp
sub rsp, 0x68
mov rax, qword [0x1800d5100]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rdi, qword [rbp + 0x70]
mov r10, r8
mov r15, qword [rbp + 0x60]
mov r13d, edx
mov qword [rbp - 0x20], rdi
mov rbx, rcx
mov dword [rbp - 0x44], edx
mov qword [rbp - 0x40], rcx
test dl, 0xf
je 0x18000c709
mov esi, 1
jmp 0x18000ca41
lea eax, [r9 - 0x10]
test eax, 0xffffffe7
jne 0x18000ca3c
cmp r9d, 0x28
je 0x18000ca3c
test rdi, rdi
jne 0x18000c735
cmp dword [rbp + 0x68], r13d
jae 0x18000c747
lea esi, [rdi + 3]
jmp 0x18000ca41
lea eax, [rdx - 0x10]
cmp dword [rbp + 0x68], eax
jae 0x18000c747
mov esi, 3
jmp 0x18000ca41
xorps xmm0, xmm0
mov qword [rsp + 0xb0], r12
xor eax, eax
mov qword [rsp + 0x60], r14
mov r8d, r9d
mov qword [rbp - 0x28], rax
mov rdx, r10
lea rcx, [rbp - 0x38]
movups xmmword [rbp - 0x38], xmm0
call fcn.18000bd30
mov r8, r15
lea rcx, [rbp - 0x38]
mov rdx, rbx
call fcn.18000c1c0
mov r8, qword [rbp + 0x58]
xor esi, esi
lea r12d, [rsi + 0x10]
test r8, r8
je 0x18000c7d6
lea rax, [r8 + 0xf]
lea rcx, [r15 + 0xf]
cmp r15, rax
ja 0x18000c7c3
cmp rcx, r8
jb 0x18000c7c3
sub r8, r15
lea rax, [r15 + rsi]
mov edx, r12d
sub rdx, rsi
nop dword [rax]
movzx ecx, byte [r8 + rax]
xor byte [rax], cl
lea rax, [rax + 1]
sub rdx, 1
jne 0x18000c7b0
jmp 0x18000c7d6
movdqu xmm0, xmmword [r15]
movdqu xmm1, xmmword [r8]
pxor xmm1, xmm0
movdqu xmmword [r15], xmm1
mov r14d, r13d
shr r14d, 4
dec r14d
cmp r14d, 1
jbe 0x18000c896
lea r13d, [r14 - 1]
mov rsi, rbx
movsxd rax, r12d
lea rcx, [rbp - 0x38]
lea rdi, [rax + r15]
lea rbx, [rax + rsi]
mov r8, rdi
mov rdx, rbx
call fcn.18000c1c0
movzx eax, byte [rbx - 0x10]
add r12d, 0x10
xor byte [rdi], al
movzx eax, byte [rbx - 0xf]
xor byte [rdi + 1], al
movzx eax, byte [rbx - 0xe]
xor byte [rdi + 2], al
movzx eax, byte [rbx - 0xd]
xor byte [rdi + 3], al
movzx eax, byte [rbx - 0xc]
xor byte [rdi + 4], al
movzx eax, byte [rbx - 0xb]
xor byte [rdi + 5], al
movzx eax, byte [rbx - 0xa]
xor byte [rdi + 6], al
movzx eax, byte [rbx - 9]
xor byte [rdi + 7], al
movzx eax, byte [rbx - 8]
xor byte [rdi + 8], al
movzx eax, byte [rbx - 7]
xor byte [rdi + 9], al
movzx eax, byte [rbx - 6]
xor byte [rdi + 0xa], al
movzx eax, byte [rbx - 5]
xor byte [rdi + 0xb], al
movzx eax, byte [rbx - 4]
xor byte [rdi + 0xc], al
movzx eax, byte [rbx - 3]
xor byte [rdi + 0xd], al
movzx eax, byte [rbx - 2]
xor byte [rdi + 0xe], al
movzx eax, byte [rbx - 1]
xor byte [rdi + 0xf], al
sub r13, 1
jne 0x18000c7f1
mov r13d, dword [rbp - 0x44]
xor esi, esi
mov rdi, qword [rbp - 0x20]
lea r12d, [rsi + 0x10]
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
cmp r13d, 0x10
jbe 0x18000c960
mov r13, qword [rbp - 0x40]
lea r8, [rbp - 0x20]
mov eax, r14d
lea rcx, [rbp - 0x38]
shl eax, 4
mov ebx, eax
lea rdx, [rax + r13]
call fcn.18000c1c0
lea eax, [rbx - 0x10]
mov ebx, dword [rbp + 0x68]
mov ecx, eax
movzx eax, byte [rax + r13]
xor byte [rbp - 0x20], al
movzx eax, byte [rcx + r13 + 1]
xor byte [rbp - 0x1f], al
movzx eax, byte [rcx + r13 + 2]
xor byte [rbp - 0x1e], al
movzx eax, byte [rcx + r13 + 3]
xor byte [rbp - 0x1d], al
movzx eax, byte [rcx + r13 + 4]
xor byte [rbp - 0x1c], al
movzx eax, byte [rcx + r13 + 5]
xor byte [rbp - 0x1b], al
movzx eax, byte [rcx + r13 + 6]
xor byte [rbp - 0x1a], al
movzx eax, byte [rcx + r13 + 7]
xor byte [rbp - 0x19], al
movzx eax, byte [rcx + r13 + 8]
xor byte [rbp - 0x18], al
movzx eax, byte [rcx + r13 + 9]
xor byte [rbp - 0x17], al
movzx eax, byte [rcx + r13 + 0xa]
xor byte [rbp - 0x16], al
movzx eax, byte [rcx + r13 + 0xb]
xor byte [rbp - 0x15], al
movzx eax, byte [rcx + r13 + 0xc]
xor byte [rbp - 0x14], al
movzx eax, byte [rcx + r13 + 0xd]
xor byte [rbp - 0x13], al
movzx eax, byte [rcx + r13 + 0xe]
xor byte [rbp - 0x12], al
movzx eax, byte [rbp - 0x11]
xor al, byte [rcx + r13 + 0xf]
mov byte [rbp - 0x11], al
jmp 0x18000c983
mov r8d, r13d
lea rcx, [rbp - 0x20]
mov rdx, r15
call fcn.180073fd0
mov ebx, dword [rbp + 0x68]
xor edx, edx
mov r8d, ebx
mov rcx, r15
call fcn.180074680
movzx eax, byte [rbp - 0x11]
test rdi, rdi
je 0x18000c9e6
movzx r8d, al
sub r12d, r8d
mov dword [rdi], r8d
cmp r8d, 0x10
ja 0x18000c9df
mov edx, esi
test al, al
je 0x18000c9b8
nop
mov eax, reloc.WS2_32.dll_ntohs
sub eax, edx
movzx ecx, byte [rbp + rax - 0x20]
cmp ecx, r8d
jne 0x18000c9df
inc edx
cmp edx, r8d
jb 0x18000c9a0
shl r14d, 4
mov ecx, r14d
lea eax, [r14 + r12]
cmp ebx, eax
jb 0x18000c9d8
mov r8d, r12d
lea rdx, [rbp - 0x20]
add rcx, r15
call fcn.180073fd0
jmp 0x18000c9f3
mov esi, 3
jmp 0x18000c9f3
mov esi, 4
jmp 0x18000c9f3
movups xmm0, xmmword [rbp - 0x20]
shl r14d, 4
movups xmmword [r14 + r15], xmm0
mov rcx, qword [rbp - 0x38]
mov r14, qword [rsp + 0x60]
mov r12, qword [rsp + 0xb0]
test rcx, rcx
je 0x18000ca41
mov rdx, qword [rbp - 0x28]
mov rax, rcx
sub rdx, rcx
and rdx, 0xfffffffffffffff0
cmp rdx, 0x1000
jb 0x18000ca35
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000ca5c
call fcn.180071ba8
jmp 0x18000ca41
mov esi, 2
mov eax, esi
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.180071b80
add rsp, 0x68
pop r15
pop r13
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.18007a274
int3