Function at 0x18002a1f0
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xd0
movaps xmmword [rax - 0x38], xmm6
mov rsi, r8
mov r15, rdx
mov r14, rcx
mov rax, qword [0x1803a3a38]
test rax, rax
je 0x18002a234
cmp byte [0x1803a3a28], 0
jne 0x18002a6e4
movups xmm0, xmmword [str._rR]
movups xmmword [rbp - 0x49], xmm0
movups xmm1, xmmword [0x180182760]
movups xmmword [rbp - 0x39], xmm1
mov eax, dword [0x180182770]
mov dword [rbp - 0x29], eax
movzx eax, byte [0x180182774]
mov byte [rbp - 0x25], al
xor r12d, r12d
mov ecx, r12d
mov edi, dword [reloc.WS2_32.dll_accept]
cmp edi, 2
jl 0x18002a3aa
movdqa xmm5, xmmword [0x180186340]
movdqa xmm4, xmmword [0x180186680]
movdqa xmm6, xmmword [0x180186400]
movdqa xmm0, xmmword [str.3333333333333333]
movdqa xmmword [rbp - 0x59], xmm0
lea rdx, [rbp - 0x45]
mov r8d, dword [rbp - 0x59]
nop
movd xmm2, ecx
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, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1801864b0]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx - 4]
xorps xmm2, xmm0
movd dword [rdx - 4], xmm2
lea eax, [rcx + 4]
movd xmm3, eax
pshufd xmm3, xmm3, 0
paddd xmm3, xmm5
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1801864b0]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx]
xorps xmm2, xmm0
movd dword [rdx], xmm2
add ecx, 8
lea rdx, [rdx + 8]
cmp ecx, 0x20
jl 0x18002a2a0
cmp ecx, 0x25
jge 0x18002a3ee
movsxd rax, ecx
lea r8, [rbp - 0x49]
add r8, rax
nop dword [rax]
nop dword [rax + rax]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x38
movzx eax, cl
sub al, dl
add al, 0x33
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0x25
jl 0x18002a3c0
xorps xmm0, xmm0
movups xmmword [rbp - 1], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0xf], xmm1
lea rax, [rbp - 0x49]
mov rbx, 0xffffffffffffffff
mov r8, rbx
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], r12b
jne 0x18002a410
lea rdx, [rbp - 0x49]
lea rcx, [rbp - 1]
call fcn.1800091f0
nop
movsd xmm0, qword [0x180182720]
movsd qword [rbp - 0x59], xmm0
mov eax, dword [0x180182728]
mov dword [rbp - 0x51], eax
movzx eax, word [0x18018272c]
mov word [rbp - 0x4d], ax
movzx eax, byte [0x18018272e]
mov byte [rbp - 0x4b], al
mov r8d, r12d
cmp edi, 2
jl 0x18002a565
movdqa xmm4, xmmword [0x180186680]
movdqa xmm2, xmmword [0x180186340]
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, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x180186400]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1801864b0]
packuswb xmm2, xmm2
mov eax, dword [str.3333333333333333]
movd xmm0, eax
paddb xmm2, xmm0
movd xmm0, dword [0x180182720]
xorps xmm2, xmm0
movd dword [rbp - 0x59], xmm2
movdqa xmm3, xmmword [0x180186380]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x180186400]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1801864b0]
packuswb xmm2, xmm2
movd xmm0, eax
paddb xmm2, xmm0
movd xmm1, dword [rbp - 0x55]
xorps xmm2, xmm1
movd dword [rbp - 0x55], xmm2
mov r8d, 8
movsxd rax, r8d
lea r9, [rbp - 0x59]
add r9, rax
nop
mov eax, 0x92492493
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x38
movzx eax, r8b
sub al, cl
add al, 0x33
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0xf
jl 0x18002a570
xorps xmm0, xmm0
movups xmmword [rbp - 0x21], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x11], xmm1
lea rax, [rbp - 0x59]
inc rbx
cmp byte [rax + rbx], 0
jne 0x18002a5b6
mov r8, rbx
lea rdx, [rbp - 0x59]
lea rcx, [rbp - 0x21]
call fcn.1800091f0
nop
lea rcx, [rbp - 0x21]
call fcn.18002de30
mov rdx, rax
lea r8, [rbp - 1]
mov rcx, r14
call fcn.180029850
mov rbx, rax
mov rdx, qword [rbp - 9]
cmp rdx, 0xf
jbe 0x18002a626
inc rdx
mov rcx, qword [rbp - 0x21]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18002a621
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18002a729
call fcn.1800d95dc
movdqa xmm0, xmmword [0x1801862c0]
movdqu xmmword [rbp - 0x11], xmm0
mov byte [rbp - 0x21], 0
mov rdx, qword [rbp + 0x17]
cmp rdx, 0xf
jbe 0x18002a672
inc rdx
mov rcx, qword [rbp - 1]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18002a66d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18002a723
call fcn.1800d95dc
test rbx, rbx
je 0x18002a700
mov qword [0x1803a3a38], rbx
mov qword [rbp - 0x41], r12
mov qword [rbp - 0x49], 0x33
mov qword [rbp - 0x39], rbx
lea rax, [0x1803a3a28]
mov qword [rbp - 0x31], rax
mov qword [rbp - 0x29], send
mov dword [rbp + 0x7f], r12d
mov qword [rsp + 0x38], r12
lea rax, [rbp + 0x7f]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], r12d
mov qword [rsp + 0x20], r12
mov r9d, 0x28
lea r8, [rbp - 0x49]
mov edx, 0x80862007
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x18002a700
mov rax, qword [0x1803a3a38]
mov qword [r15], rax
movsd xmm0, qword [0x1803a3a28]
movsd qword [rsi], xmm0
mov eax, dword [0x1803a3a30]
mov dword [rsi + 8], eax
mov al, 1
jmp 0x18002a702
xor al, al
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
call fcn.1800e5940
nop
call fcn.1800e5940
nop
int3