Function at 0x180029f80
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, 0xe0
movaps xmmword [rax - 0x38], xmm6
mov r14, r8
mov r15, rdx
mov rdi, rcx
mov rax, qword [0x1803adc40]
test rax, rax
je 0x180029fc5
cmp qword [0x1803adc38], 0
jne 0x18002a4eb
movups xmm0, xmmword [str.vM_UyZ]
movups xmmword [rbp - 0x21], xmm0
movsd xmm0, qword [0x1801836e8]
movsd qword [rbp - 0x11], xmm0
mov eax, dword [0x1801836f0]
mov dword [rbp - 9], eax
movzx eax, word [0x1801836f4]
mov word [rbp - 5], ax
xor r12d, r12d
mov esi, dword [reloc.WS2_32.dll_accept]
cmp byte [0x1801836f5], r12b
je 0x18002a17c
mov ecx, r12d
cmp esi, 2
jl 0x18002a142
movdqa xmm5, xmmword [0x180187330]
movdqa xmm4, xmmword [0x1801875d0]
movdqa xmm6, xmmword [0x1801873d0]
movdqa xmm0, xmmword [str.88888888888888889999999999999999]
movdqa xmmword [rbp - 0x59], xmm0
lea rdx, [rbp - 0x1d]
mov r8d, dword [rbp - 0x59]
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
psrad xmm1, 4
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 [0x1801874b0]
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
psrad xmm1, 4
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 [0x1801874b0]
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, 0x18
jl 0x18002a040
cmp ecx, 0x1e
jge 0x18002a17c
movsxd rax, ecx
lea r8, [rbp - 0x21]
add r8, rax
nop dword [rax]
mov eax, 0x4bda12f7
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x36
movzx eax, cl
sub al, dl
add al, 0x38
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0x1e
jl 0x18002a150
xorps xmm0, xmm0
movups xmmword [rbp - 0x49], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x39], xmm1
lea rax, [rbp - 0x21]
mov rbx, 0xffffffffffffffff
mov r8, rbx
nop dword [rax]
inc r8
cmp byte [rax + r8], r12b
jne 0x18002a1a0
lea rdx, [rbp - 0x21]
lea rcx, [rbp - 0x49]
call fcn.1800091d0
nop
movsd xmm0, qword [0x180183738]
movsd qword [rbp - 0x59], xmm0
mov eax, dword [0x180183740]
mov dword [rbp - 0x51], eax
movzx eax, word [0x180183744]
mov word [rbp - 0x4d], ax
movzx eax, byte [0x180183746]
mov byte [rbp - 0x4b], al
mov r8d, r12d
cmp esi, 2
jl 0x18002a2ed
movdqa xmm4, xmmword [0x1801875d0]
movdqa xmm2, xmmword [0x180187330]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1801873d0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1801874b0]
packuswb xmm2, xmm2
mov eax, dword [str.88888888888888889999999999999999]
movd xmm0, eax
paddb xmm2, xmm0
movd xmm0, dword [0x180183738]
xorps xmm2, xmm0
movd dword [rbp - 0x59], xmm2
movdqa xmm3, xmmword [0x180187370]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1801873d0]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1801874b0]
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 word [rax + rax]
mov eax, 0x4bda12f7
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x36
movzx eax, r8b
sub al, cl
add al, 0x38
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0xf
jl 0x18002a300
xorps xmm0, xmm0
movups xmmword [rbp - 1], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0xf], xmm1
lea rax, [rbp - 0x59]
inc rbx
cmp byte [rax + rbx], 0
jne 0x18002a343
mov r8, rbx
lea rdx, [rbp - 0x59]
lea rcx, [rbp - 1]
call fcn.1800091d0
nop
lea rcx, [rbp - 1]
call fcn.18002e160
mov rdx, rax
lea r8, [rbp - 0x49]
mov rcx, rdi
call fcn.180029ba0
mov rbx, rax
mov rdx, qword [rbp + 0x17]
cmp rdx, 0xf
jbe 0x18002a3b3
inc rdx
mov rcx, qword [rbp - 1]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18002a3ae
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18002a525
call fcn.1800d9c1c
movdqa xmm0, xmmword [0x1801872b0]
movdqu xmmword [rbp + 0xf], xmm0
mov byte [rbp - 1], 0
mov rdx, qword [rbp - 0x31]
cmp rdx, 0xf
jbe 0x18002a3ff
inc rdx
mov rcx, qword [rbp - 0x49]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18002a3fa
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18002a51f
call fcn.1800d9c1c
test rbx, rbx
je 0x18002a4fc
lea rax, [rbx + 7]
mov dword [rbp + 0x7f], r12d
test rax, rax
je 0x18002a4fc
mov qword [rbp - 0x41], r12
mov qword [rbp - 0x49], 0x33
mov qword [rbp - 0x39], rax
lea rax, [rbp + 0x7f]
mov qword [rbp - 0x31], rax
mov qword [rbp - 0x29], 4
mov dword [rbp - 0x69], r12d
mov qword [rsp + 0x38], r12
lea rax, [rbp - 0x69]
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, rdi
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x18002a4fc
movsxd rcx, dword [rbp + 0x7f]
add rcx, 0xb
add rcx, rbx
mov qword [0x1803adc40], rcx
je 0x18002a4fc
mov qword [rbp - 0x41], r12
mov qword [rbp - 0x49], 0x33
mov qword [rbp - 0x39], rcx
lea rax, [0x1803adc38]
mov qword [rbp - 0x31], rax
mov qword [rbp - 0x29], 8
mov dword [rbp - 0x69], r12d
mov qword [rsp + 0x38], r12
lea rax, [rbp - 0x69]
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, rdi
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x18002a4fc
mov rax, qword [0x1803adc40]
mov qword [r15], rax
mov rax, qword [0x1803adc38]
mov qword [r14], rax
mov al, 1
jmp 0x18002a4fe
xor al, al
lea r11, [rsp + 0xe0]
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.1800e5f80
nop
call fcn.1800e5f80
nop
int3