Function at 0x180029e70
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 [0x1803a4a68]
test rax, rax
je 0x180029eb5
cmp qword [0x1803a4a60], 0
jne 0x18002a3db
movups xmm0, xmmword [0x180183710]
movups xmmword [rbp - 0x21], xmm0
movsd xmm0, qword [0x180183720]
movsd qword [rbp - 0x11], xmm0
mov eax, dword [0x180183728]
mov dword [rbp - 9], eax
movzx eax, word [0x18018372c]
mov word [rbp - 5], ax
xor r12d, r12d
mov esi, dword [reloc.WS2_32.dll_accept]
cmp byte [0x18018372d], r12b
je 0x18002a06c
mov ecx, r12d
cmp esi, 2
jl 0x18002a032
movdqa xmm5, xmmword [0x1801873c0]
movdqa xmm4, xmmword [0x180187650]
movdqa xmm6, xmmword [0x180187430]
movdqa xmm0, xmmword [str.00000000000000009999999999999999]
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 [0x180187520]
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 [0x180187520]
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 0x180029f30
cmp ecx, 0x1e
jge 0x18002a06c
movsxd rax, ecx
lea r8, [rbp - 0x21]
add r8, rax
nop dword [rax]
mov eax, 0x4ec4ec4f
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x34
movzx eax, cl
sub al, dl
add al, 0x30
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0x1e
jl 0x18002a040
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 0x18002a090
lea rdx, [rbp - 0x21]
lea rcx, [rbp - 0x49]
call fcn.1800091f0
nop
movsd xmm0, qword [0x180183740]
movsd qword [rbp - 0x59], xmm0
mov eax, dword [0x180183748]
mov dword [rbp - 0x51], eax
movzx eax, word [0x18018374c]
mov word [rbp - 0x4d], ax
movzx eax, byte [0x18018374e]
mov byte [rbp - 0x4b], al
mov r8d, r12d
cmp esi, 2
jl 0x18002a1dd
movdqa xmm4, xmmword [0x180187650]
movdqa xmm2, xmmword [0x1801873c0]
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 [0x180187430]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x180187520]
packuswb xmm2, xmm2
mov eax, dword [str.00000000000000009999999999999999]
movd xmm0, eax
paddb xmm2, xmm0
movd xmm0, dword [0x180183740]
xorps xmm2, xmm0
movd dword [rbp - 0x59], xmm2
movdqa xmm3, xmmword [0x180187400]
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 [0x180187430]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x180187520]
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, 0x4ec4ec4f
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x34
movzx eax, r8b
sub al, cl
add al, 0x30
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0xf
jl 0x18002a1f0
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 0x18002a233
mov r8, rbx
lea rdx, [rbp - 0x59]
lea rcx, [rbp - 1]
call fcn.1800091f0
nop
lea rcx, [rbp - 1]
call fcn.18002e050
mov rdx, rax
lea r8, [rbp - 0x49]
mov rcx, rdi
call fcn.180029a90
mov rbx, rax
mov rdx, qword [rbp + 0x17]
cmp rdx, 0xf
jbe 0x18002a2a3
inc rdx
mov rcx, qword [rbp - 1]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18002a29e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18002a415
call fcn.1800d9c4c
movdqa xmm0, xmmword [0x180187340]
movdqu xmmword [rbp + 0xf], xmm0
mov byte [rbp - 1], 0
mov rdx, qword [rbp - 0x31]
cmp rdx, 0xf
jbe 0x18002a2ef
inc rdx
mov rcx, qword [rbp - 0x49]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18002a2ea
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18002a40f
call fcn.1800d9c4c
test rbx, rbx
je 0x18002a3ec
lea rax, [rbx + 7]
mov dword [rbp + 0x7f], r12d
test rax, rax
je 0x18002a3ec
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 0x18002a3ec
movsxd rcx, dword [rbp + 0x7f]
add rcx, 0xb
add rcx, rbx
mov qword [0x1803a4a68], rcx
je 0x18002a3ec
mov qword [rbp - 0x41], r12
mov qword [rbp - 0x49], 0x33
mov qword [rbp - 0x39], rcx
lea rax, [0x1803a4a60]
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 0x18002a3ec
mov rax, qword [0x1803a4a68]
mov qword [r15], rax
mov rax, qword [0x1803a4a60]
mov qword [r14], rax
mov al, 1
jmp 0x18002a3ee
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.1800e5fb0
nop
call fcn.1800e5fb0
nop
int3