Function at 0x18005c210
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], r8
mov qword [rax + 0x10], rdx
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x60]
sub rsp, 0x160
movaps xmmword [rax - 0x48], xmm6
movaps xmmword [rax - 0x58], xmm7
movaps xmmword [rax - 0x68], xmm8
movaps xmmword [rax - 0x78], xmm9
mov r14, r8
mov rdi, rdx
mov rsi, rcx
xor r12d, r12d
mov dword [rsp + 0x60], r12d
mov dword [rbp + 0xb8], r12d
lea rax, [rbp]
mov qword [rbp - 8], rax
mov rdx, r8
lea rcx, [rbp]
call fcn.1800053e0
mov rbx, rax
movups xmm0, xmmword [str.gpzrm]
movups xmmword [rbp - 0x58], xmm0
movups xmm1, xmmword [0x180159ac8]
movups xmmword [rbp - 0x48], xmm1
movsd xmm0, qword [0x180159ad8]
movsd qword [rbp - 0x38], xmm0
movzx ecx, word [0x180159ae0]
mov word [rbp - 0x30], cx
mov r8d, r12d
cmp dword [reloc.WS2_32.dll_accept], 2
jl 0x18005c3e7
movdqa xmm5, xmmword [0x18015bd50]
movdqa xmm4, xmmword [0x18015bf90]
mov eax, 5
movd xmm6, eax
movdqa xmm7, xmmword [0x18015bdf0]
mov eax, 0x1f
movd xmm8, eax
movdqa xmm9, xmmword [0x18015be60]
lea rcx, [rbp - 0x58]
nop dword [rax + rax]
movd xmm2, r8d
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm3, xmm1, 0xd8
movq xmm2, xmm9
paddw xmm3, xmm2
movq xmm0, qword [rcx]
xorps xmm3, xmm0
movq qword [rcx], xmm3
lea eax, [r8 + 4]
movd xmm2, eax
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm3, xmm1, 0xd8
movq xmm2, xmm9
paddw xmm3, xmm2
movq xmm0, qword [rcx + 8]
xorps xmm3, xmm0
movq qword [rcx + 8], xmm3
add r8d, 8
lea rcx, [rcx + 0x10]
cmp r8d, 0x10
jl 0x18005c2f0
cmp r8d, 0x15
jge 0x18005c437
movsxd rax, r8d
lea r9, [rbp - 0x58]
lea r9, [r9 + rax*2]
nop dword [rax]
nop word [rax + rax]
mov eax, 0x8d3dcb09
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul ecx, eax, 0x3a
movzx eax, r8w
sub ax, cx
add ax, 0x34
xor word [r9], ax
inc r8d
lea r9, [r9 + 2]
cmp r8d, 0x15
jl 0x18005c400
lea rax, [rbp - 0x58]
mov rcx, 0xffffffffffffffff
inc rcx
cmp word [rax + rcx*2], 0
jne 0x18005c442
mov rdx, qword [rdi + 0x10]
movabs rax, 0x7ffffffffffffffe
sub rax, rdx
cmp rax, rcx
jb 0x18005c79c
mov rax, rdi
cmp qword [rdi + 0x18], 8
jb 0x18005c473
mov rax, qword [rdi]
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea r9, [rbp - 0x58]
lea rcx, [rbp - 0x28]
call fcn.1800079c0
nop
lea rax, [rbp + 0xb8]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x60]
mov r8, rbx
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x70]
call fcn.180060c90
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x58], r12
xor r8d, r8d
lea rdx, [0x18011edd0]
lea rcx, [rsp + 0x40]
call fcn.180006af0
nop
mov r15, qword [rbp - 0x68]
mov rbx, qword [rbp - 0x70]
cmp rbx, r15
je 0x18005c50a
mov rdx, rbx
cmp qword [rbx + 0x18], 8
jb 0x18005c4f3
mov rdx, qword [rbx]
mov r8, qword [rbx + 0x10]
lea rcx, [rsp + 0x40]
call fcn.1800082a0
add rbx, 0x20
cmp rbx, r15
jne 0x18005c4e6
mov rdx, qword [rsp + 0x50]
test rdx, rdx
jne 0x18005c657
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
mov qword [rsi + 0x10], r12
mov qword [rsi + 0x18], send
mov byte [rsi], dl
mov rdx, qword [rsp + 0x58]
cmp rdx, 8
jb 0x18005c56e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18005c569
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18005c790
call fcn.1800b98ec
mov word [rsp + 0x40], r12w
mov qword [rsp + 0x58], 7
mov qword [rsp + 0x50], r12
lea rcx, [rbp - 0x70]
call fcn.180011880
nop
mov rdx, qword [rdi + 0x18]
cmp rdx, 8
jb 0x18005c5cb
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
mov rcx, qword [rdi]
jb 0x18005c5c6
mov r8, qword [rcx - 8]
sub rcx, r8
add rdx, 0x27
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x18005c78a
mov rcx, r8
call fcn.1800b98ec
mov qword [rdi + 0x10], r12
mov qword [rdi + 0x18], 7
mov word [rdi], r12w
mov rdx, qword [r14 + 0x18]
cmp rdx, 8
jb 0x18005c61a
lea rdx, [rdx*2 + 2]
mov rcx, qword [r14]
cmp rdx, 0x1000
jb 0x18005c615
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x18005c796
mov rcx, r8
call fcn.1800b98ec
mov rax, rsi
mov word [r14], r12w
mov qword [r14 + 0x18], 7
mov qword [r14 + 0x10], r12
lea r11, [rsp + 0x160]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
lea rcx, [rsp + 0x40]
cmp qword [rsp + 0x58], 8
cmovae rcx, qword [rsp + 0x40]
lea r8, [rcx + rdx*2]
lea rdx, [rsp + 0x40]
cmovae rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0x70]
call fcn.1800069b0
nop
lea rdx, [rsp + 0x70]
lea rcx, [rbp]
call fcn.180005730
mov rdx, rax
lea rcx, [rbp - 0x28]
call fcn.18005bf50
mov rbx, rax
lea rax, [rsp + 0x70]
cmp rax, rbx
je 0x18005c6fd
mov rdx, qword [rbp - 0x78]
cmp rdx, 0x10
jb 0x18005c6e5
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18005c6e0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18005c7a2
call fcn.1800b98ec
movups xmm6, xmmword [rbx]
movups xmm7, xmmword [rbx + 0x10]
mov qword [rbx + 0x10], r12
mov qword [rbx + 0x18], send
mov byte [rbx], 0
jmp 0x18005c706
movups xmm7, xmmword [rbp - 0x80]
movups xmm6, xmmword [rsp + 0x70]
mov rdx, qword [rbp - 0x10]
cmp rdx, 0x10
jb 0x18005c73d
inc rdx
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18005c738
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18005c7a2
call fcn.1800b98ec
movups xmmword [rsi], xmm6
movups xmmword [rsi + 0x10], xmm7
mov rdx, qword [rsp + 0x58]
cmp rdx, 8
jb 0x18005c56e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18005c569
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18005c790
jmp 0x18005c569
call fcn.1800c5784
nop
call fcn.1800c5784
nop
call fcn.1800c5784
nop
call fcn.180001570
nop
call fcn.1800c5784
int3