Function at 0x180029c30
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 [0x1803a3a20]
test rax, rax
je 0x180029c75
cmp qword [0x1803a3a18], 0
jne 0x18002a1ae
movups xmm0, xmmword [str._rR_]
movups xmmword [rbp - 0x21], xmm0
movsd xmm0, qword [0x180182740]
movsd qword [rbp - 0x11], xmm0
mov eax, dword [0x180182748]
mov dword [rbp - 9], eax
movzx eax, word [0x18018274c]
mov word [rbp - 5], ax
xor r12d, r12d
mov esi, dword [reloc.WS2_32.dll_accept]
cmp byte [0x18018274d], r12b
je 0x180029e3e
mov ecx, r12d
cmp esi, 2
jl 0x180029dfa
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 - 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
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, 0x18
jl 0x180029cf0
cmp ecx, 0x1e
jge 0x180029e3e
movsxd rax, ecx
lea r8, [rbp - 0x21]
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, 0x1e
jl 0x180029e10
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 + rax]
inc r8
cmp byte [rax + r8], r12b
jne 0x180029e60
lea rdx, [rbp - 0x21]
lea rcx, [rbp - 0x49]
call fcn.1800091f0
nop
movsd xmm0, qword [0x1801826f0]
movsd qword [rbp - 0x59], xmm0
mov eax, dword [0x1801826f8]
mov dword [rbp - 0x51], eax
movzx eax, word [0x1801826fc]
mov word [rbp - 0x4d], ax
movzx eax, byte [0x1801826fe]
mov byte [rbp - 0x4b], al
mov r8d, r12d
cmp esi, 2
jl 0x180029fb5
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 [0x1801826f0]
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 0x180029fc0
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 0x18002a006
mov r8, rbx
lea rdx, [rbp - 0x59]
lea rcx, [rbp - 1]
call fcn.1800091f0
nop
lea rcx, [rbp - 1]
call fcn.18002de30
mov rdx, rax
lea r8, [rbp - 0x49]
mov rcx, rdi
call fcn.180029850
mov rbx, rax
mov rdx, qword [rbp + 0x17]
cmp rdx, 0xf
jbe 0x18002a076
inc rdx
mov rcx, qword [rbp - 1]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18002a071
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18002a1e8
call fcn.1800d95dc
movdqa xmm0, xmmword [0x1801862c0]
movdqu xmmword [rbp + 0xf], xmm0
mov byte [rbp - 1], 0
mov rdx, qword [rbp - 0x31]
cmp rdx, 0xf
jbe 0x18002a0c2
inc rdx
mov rcx, qword [rbp - 0x49]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18002a0bd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18002a1e2
call fcn.1800d95dc
test rbx, rbx
je 0x18002a1bf
lea rax, [rbx + 7]
mov dword [rbp + 0x7f], r12d
test rax, rax
je 0x18002a1bf
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 0x18002a1bf
movsxd rcx, dword [rbp + 0x7f]
add rcx, 0xb
add rcx, rbx
mov qword [0x1803a3a20], rcx
je 0x18002a1bf
mov qword [rbp - 0x41], r12
mov qword [rbp - 0x49], 0x33
mov qword [rbp - 0x39], rcx
lea rax, [0x1803a3a18]
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 0x18002a1bf
mov rax, qword [0x1803a3a20]
mov qword [r15], rax
mov rax, qword [0x1803a3a18]
mov qword [r14], rax
mov al, 1
jmp 0x18002a1c1
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.1800e5940
nop
call fcn.1800e5940
nop
int3