Function at 0x18007ad90
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x188]
sub rsp, 0x260
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
mov r13, rcx
mov qword [rsp + 0x50], rcx
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
xor r14d, r14d
mov qword [rcx + 0x10], r14
mov qword [rcx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rcx], r14b
movups xmmword [rcx + 0x20], xmm0
mov qword [rcx + 0x30], r14
mov qword [rcx + 0x38], reloc.WS2_32.dll_ntohs
mov byte [rcx + 0x20], r14b
lea r15, [rcx + 0x48]
mov qword [rsp + 0x58], r15
mov eax, dword [str.T_NO6]
mov dword [rsp + 0x20], eax
movzx eax, byte [0x18016c7d4]
mov byte [rsp + 0x20], 0x66
xor byte [rsp + 0x21], 0x33
xor byte [rsp + 0x22], 0x34
xor byte [rsp + 0x23], 0x35
xor al, 0x36
mov byte [rsp + 0x24], al
movups xmmword [rsp + 0x60], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x70], xmm1
lea rax, [rsp + 0x20]
mov rbx, 0xffffffffffffffff
mov r8, rbx
inc r8
cmp byte [rax + r8], 0
jne 0x18007ae43
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x60]
call fcn.18004a030
mov byte [rbp - 0x80], 1
mov eax, dword [str.a_US7]
mov dword [rsp + 0x20], eax
movzx eax, word [0x18016c7dc]
mov word [rsp + 0x24], ax
mov byte [rsp + 0x20], 0x53
xor byte [rsp + 0x21], 0x33
xor byte [rsp + 0x22], 0x34
xor byte [rsp + 0x23], 0x35
xor al, 0x36
mov byte [rsp + 0x24], al
xor byte [rsp + 0x25], 0x37
xorps xmm0, xmm0
movups xmmword [rbp - 0x78], xmm0
mov qword [rbp - 0x68], r14
mov qword [rbp - 0x60], r14
lea rax, [rsp + 0x20]
mov r8, rbx
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x18007aeb0
lea rdx, [rsp + 0x20]
lea rcx, [rbp - 0x78]
call fcn.18004a030
mov byte [rbp - 0x58], 1
mov eax, dword [str.VRF6]
mov dword [rsp + 0x20], eax
movzx eax, byte [0x18016c7e4]
mov byte [rsp + 0x20], 0x64
xor byte [rsp + 0x21], 0x33
xor byte [rsp + 0x22], 0x34
xor byte [rsp + 0x23], 0x35
xor al, 0x36
mov byte [rsp + 0x24], al
xorps xmm0, xmm0
movups xmmword [rbp - 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x40], xmm1
lea rax, [rsp + 0x20]
mov r8, rbx
nop
inc r8
cmp byte [rax + r8], 0
jne 0x18007af10
lea rdx, [rsp + 0x20]
lea rcx, [rbp - 0x50]
call fcn.18004a030
mov byte [rbp - 0x30], 1
mov rax, qword [str.TRFX_Y9BVAON7]
mov qword [rsp + 0x20], rax
movdqa xmm7, xmmword [0x18016fe50]
mov edi, dword [reloc.WS2_32.dll_accept]
cmp byte [reloc.WS2_32.dll_gethostname], 0
je 0x18007b079
mov r8d, r14d
cmp edi, 2
jl 0x18007b03f
movdqa xmm4, xmmword [0x18016ff30]
movdqa xmm2, xmmword [0x180168c90]
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 [str.3333]
psubd xmm2, xmm0
andps xmm2, xmm7
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmmword [str.2222222222222222]
movd xmm0, dword [rsp + 0x20]
xorps xmm2, xmm0
movd dword [rsp + 0x20], xmm2
movdqa xmm3, xmmword [0x18016fd90]
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 [str.3333]
psubd xmm3, xmm0
andps xmm3, xmm7
packuswb xmm3, xmm3
packuswb xmm3, xmm3
paddb xmm3, xmmword [str.2222222222222222]
movd xmm0, dword [rsp + 0x24]
xorps xmm3, xmm0
movd dword [rsp + 0x24], xmm3
jmp 0x18007b079
lea r9, [rsp + 0x20]
nop dword [rax]
nop dword [rax + rax]
mov eax, 0xa0a0a0a1
mul r8d
shr edx, 5
movsx eax, dl
imul ecx, eax, 0x33
movzx eax, r8b
sub al, cl
add al, 0x32
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 8
jl 0x18007b050
xorps xmm0, xmm0
movups xmmword [rbp - 0x28], xmm0
mov qword [rbp - 0x18], r14
mov qword [rbp - 0x10], r14
lea rax, [rsp + 0x20]
mov r8, rbx
inc r8
cmp byte [rax + r8], 0
jne 0x18007b090
lea rdx, [rsp + 0x20]
lea rcx, [rbp - 0x28]
call fcn.18004a030
mov byte [rbp - 8], 1
mov eax, dword [0x18016c7f0]
mov dword [rsp + 0x20], eax
movzx eax, word [0x18016c7f4]
mov word [rsp + 0x24], ax
mov byte [rsp + 0x20], reloc.WS2_32.dll_WSASetLastError
xor byte [rsp + 0x21], 0x33
xor byte [rsp + 0x22], 0x34
xor byte [rsp + 0x23], 0x35
xor al, 0x36
mov byte [rsp + 0x24], al
xor byte [rsp + 0x25], 0x37
xorps xmm0, xmm0
movups xmmword [rbp], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x10], xmm1
lea rax, [rsp + 0x20]
mov r8, rbx
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x18007b100
lea rdx, [rsp + 0x20]
lea rcx, [rbp]
call fcn.18004a030
mov byte [rbp + 0x20], 1
movsd xmm0, qword [str.x____VKZ_I_YQ_]
movsd qword [rsp + 0x20], xmm0
mov ecx, dword [0x18016c800]
mov dword [rsp + 0x28], ecx
movzx eax, word [0x18016c804]
mov word [rsp + 0x2c], ax
cmp byte [0x18016c805], 0
je 0x18007b2f3
mov r8d, r14d
cmp edi, 2
jl 0x18007b2aa
movdqa xmm4, xmmword [0x18016ff30]
movdqa xmm5, xmmword [str.3333]
movdqa xmm3, xmmword [0x180168c90]
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, xmm5
psubd xmm3, xmm0
andps xmm3, xmm7
packuswb xmm3, xmm3
packuswb xmm3, xmm3
mov eax, dword [str.2222222222222222]
movd xmm0, eax
paddb xmm3, xmm0
movd xmm0, dword [str.x____VKZ_I_YQ_]
xorps xmm3, xmm0
movd dword [rsp + 0x20], xmm3
movdqa xmm2, xmmword [0x18016fd90]
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, xmm5
psubd xmm2, xmm0
andps xmm2, xmm7
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, eax
paddb xmm2, xmm0
movd xmm1, dword [rsp + 0x24]
xorps xmm2, xmm1
movd dword [rsp + 0x24], xmm2
movdqa xmm3, xmmword [0x18016fdb0]
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, xmm5
psubd xmm3, xmm0
andps xmm3, xmm7
packuswb xmm3, xmm3
packuswb xmm3, xmm3
movd xmm0, eax
paddb xmm3, xmm0
movd xmm1, ecx
xorps xmm3, xmm1
movd dword [rsp + 0x28], xmm3
mov r8d, listen
mov eax, r8d
lea r9, [rsp + 0x20]
add r9, rax
nop word [rax + rax]
mov eax, 0xa0a0a0a1
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x33
movzx eax, r8b
sub al, cl
add al, 0x32
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0xe
jl 0x18007b2c0
xorps xmm0, xmm0
movups xmmword [rbp + 0x28], xmm0
mov qword [rbp + 0x38], r14
mov qword [rbp + 0x40], r14
lea rax, [rsp + 0x20]
mov r8, rbx
nop word [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x18007b310
lea rdx, [rsp + 0x20]
lea rcx, [rbp + 0x28]
call fcn.18004a030
mov byte [rbp + 0x48], 1
mov eax, dword [0x18016c808]
mov dword [rsp + 0x20], eax
movzx eax, word [0x18016c80c]
mov word [rsp + 0x24], ax
mov byte [rsp + 0x20], 0x61
xor byte [rsp + 0x21], 0x33
xor byte [rsp + 0x22], 0x34
xor byte [rsp + 0x23], 0x35
xor al, 0x36
mov byte [rsp + 0x24], al
xor byte [rsp + 0x25], 0x37
xorps xmm0, xmm0
movups xmmword [rbp + 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x60], xmm1
lea rax, [rsp + 0x20]
mov r8, rbx
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x18007b380
lea rdx, [rsp + 0x20]
lea rcx, [rbp + 0x50]
call fcn.18004a030
mov byte [rbp + 0x70], 1
movsd xmm0, qword [str._U_V_VTZ_U_QV_]
movsd qword [rsp + 0x20], xmm0
mov ecx, dword [0x18016c818]
mov dword [rsp + 0x28], ecx
movzx eax, word [0x18016c81c]
mov word [rsp + 0x2c], ax
movzx eax, byte [0x18016c81e]
mov byte [rsp + 0x2e], al
mov r8d, r14d
cmp edi, 2
jl 0x18007b528
movdqa xmm4, xmmword [0x18016ff30]
movdqa xmm5, xmmword [str.3333]
movdqa xmm3, xmmword [0x180168c90]
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, xmm5
psubd xmm3, xmm0
andps xmm3, xmm7
packuswb xmm3, xmm3
packuswb xmm3, xmm3
mov eax, dword [str.2222222222222222]
movd xmm0, eax
paddb xmm3, xmm0
movd xmm0, dword [str._U_V_VTZ_U_QV_]
xorps xmm3, xmm0
movd dword [rsp + 0x20], xmm3
movdqa xmm2, xmmword [0x18016fd90]
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, xmm5
psubd xmm2, xmm0
andps xmm2, xmm7
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, eax
paddb xmm2, xmm0
movd xmm1, dword [rsp + 0x24]
xorps xmm2, xmm1
movd dword [rsp + 0x24], xmm2
movdqa xmm3, xmmword [0x18016fdb0]
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, xmm5
psubd xmm3, xmm0
andps xmm3, xmm7
packuswb xmm3, xmm3
packuswb xmm3, xmm3
movd xmm0, eax
paddb xmm3, xmm0
movd xmm1, ecx
xorps xmm3, xmm1
movd dword [rsp + 0x28], xmm3
mov r8d, listen
mov eax, r8d
lea r9, [rsp + 0x20]
add r9, rax
nop dword [rax]
nop word [rax + rax]
mov eax, 0xa0a0a0a1
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x33
movzx eax, r8b
sub al, cl
add al, 0x32
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0xf
jl 0x18007b540
xorps xmm0, xmm0
movups xmmword [rbp + 0x78], xmm0
mov qword [rbp + 0x88], r14
mov qword [rbp + 0x90], r14
lea rax, [rsp + 0x20]
mov r8, rbx
inc r8
cmp byte [rax + r8], 0
jne 0x18007b590
lea rdx, [rsp + 0x20]
lea rcx, [rbp + 0x78]
call fcn.18004a030
mov byte [rbp + 0x98], 1
mov eax, dword [0x18016c820]
mov dword [rsp + 0x20], eax
movzx eax, word [0x18016c824]
mov word [rsp + 0x24], ax
mov byte [rsp + 0x20], WSASetLastError
xor byte [rsp + 0x21], 0x33
xor byte [rsp + 0x22], 0x34
xor byte [rsp + 0x23], 0x35
xor al, 0x36
mov byte [rsp + 0x24], al
xor byte [rsp + 0x25], 0x37
xorps xmm0, xmm0
movups xmmword [rbp + 0xa0], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0xb0], xmm1
lea rax, [rsp + 0x20]
mov r8, rbx
inc r8
cmp byte [rax + r8], 0
jne 0x18007b601
lea rdx, [rsp + 0x20]
lea rcx, [rbp + 0xa0]
call fcn.18004a030
mov byte [rbp + 0xc0], 1
mov eax, dword [str.S__TN7]
mov dword [rsp + 0x20], eax
movzx eax, word [0x18016c82c]
mov word [rsp + 0x24], ax
mov byte [rsp + 0x20], 0x61
xor byte [rsp + 0x21], 0x33
xor byte [rsp + 0x22], 0x34
xor byte [rsp + 0x23], 0x35
xor al, 0x36
mov byte [rsp + 0x24], al
xor byte [rsp + 0x25], 0x37
xorps xmm0, xmm0
movups xmmword [rbp + 0xc8], xmm0
mov qword [rbp + 0xd8], r14
mov qword [rbp + 0xe0], r14
lea rax, [rsp + 0x20]
mov r8, rbx
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x18007b680
lea rdx, [rsp + 0x20]
lea rcx, [rbp + 0xc8]
call fcn.18004a030
mov byte [rbp + 0xe8], 1
movsd xmm0, qword [str.UA_YZXKVVTM]
movsd qword [rsp + 0x20], xmm0
mov ecx, dword [0x18016c838]
mov dword [rsp + 0x28], ecx
cmp byte [0x18016c83b], 0
je 0x18007b859
mov r8d, r14d
cmp edi, 2
jl 0x18007b820
movdqa xmm4, xmmword [0x18016ff30]
movdqa xmm5, xmmword [str.3333]
movdqa xmm3, xmmword [0x180168c90]
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, xmm5
psubd xmm3, xmm0
andps xmm3, xmm7
packuswb xmm3, xmm3
packuswb xmm3, xmm3
mov eax, dword [str.2222222222222222]
movd xmm0, eax
paddb xmm3, xmm0
movd xmm0, dword [str.UA_YZXKVVTM]
xorps xmm3, xmm0
movd dword [rsp + 0x20], xmm3
movdqa xmm2, xmmword [0x18016fd90]
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, xmm5
psubd xmm2, xmm0
andps xmm2, xmm7
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, eax
paddb xmm2, xmm0
movd xmm1, dword [rsp + 0x24]
xorps xmm2, xmm1
movd dword [rsp + 0x24], xmm2
movdqa xmm3, xmmword [0x18016fdb0]
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, xmm5
psubd xmm3, xmm0
andps xmm3, xmm7
packuswb xmm3, xmm3
packuswb xmm3, xmm3
movd xmm0, eax
paddb xmm3, xmm0
movd xmm1, ecx
xorps xmm3, xmm1
movd dword [rsp + 0x28], xmm3
jmp 0x18007b859
lea r9, [rsp + 0x20]
nop word [rax + rax]
mov eax, 0xa0a0a0a1
mul r8d
shr edx, 5
movsx eax, dl
imul ecx, eax, 0x33
movzx eax, r8b
sub al, cl
add al, 0x32
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0xc
jl 0x18007b830
xorps xmm0, xmm0
movups xmmword [rbp + 0xf0], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x100], xmm1
lea rax, [rsp + 0x20]
inc rbx
cmp byte [rax + rbx], 0
jne 0x18007b873
mov r8, rbx
lea rdx, [rsp + 0x20]
lea rcx, [rbp + 0xf0]
call fcn.18004a030
mov byte [rbp + 0x110], 1
mov qword [r15], r14
mov qword [r15 + 8], r14
mov ecx, 0x48
call fcn.180157834
mov r12, rax
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rax + 0x10], rax
mov word [rax + 0x18], 0x101
mov qword [r15], rax
lea rbx, [rsp + 0x60]
movabs rdi, 0x38e38e38e38e38e
nop
mov r9, rbx
mov r8, r12
lea rdx, [rbp + 0x120]
mov rcx, r15
call fcn.180070830
movups xmm6, xmmword [rax]
movsd xmm0, qword [rax + 0x10]
movsd qword [rsp + 0x40], xmm0
cmp byte [rsp + 0x40], 0
jne 0x18007b974
cmp qword [r15 + 8], rdi
je 0x18007b9d3
mov rsi, qword [r15]
mov qword [rsp + 0x20], r15
mov qword [rsp + 0x28], r14
mov ecx, 0x48
call fcn.180157834
mov r14, rax
mov qword [rsp + 0x28], rax
mov rdx, rbx
lea rcx, [rax + 0x20]
call fcn.18005cc80
movzx eax, byte [rbx + 0x20]
mov byte [r14 + 0x40], al
mov qword [r14], rsi
mov qword [r14 + 8], rsi
mov qword [r14 + 0x10], rsi
mov word [r14 + 0x18], 0
mov qword [rsp + 0x28], 0
movaps xmmword [rsp + 0x30], xmm6
mov r8, r14
lea rdx, [rsp + 0x30]
mov rcx, r15
call fcn.18002a790
xor r14d, r14d
movabs rdi, 0x38e38e38e38e38e
add rbx, 0x28
lea rax, [rbp + 0x118]
cmp rbx, rax
jne 0x18007b8d0
lea r9, [fcn.18004ac00]
mov edx, Ordinal_41
mov r8d, listen
lea rcx, [rsp + 0x60]
call fcn.180157764
nop
mov rax, r13
lea r11, [rsp + 0x260]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.18002aa10
nop
int3