Function at 0x140017560
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x1f8]
sub rsp, 0x2c0
movaps xmmword [rax - 0x48], xmm6
movaps xmmword [rax - 0x58], xmm7
mov rax, qword [0x1401b66f8]
xor rax, rsp
mov qword [rbp + 0x190], rax
mov r15, r9
mov rbx, r8
mov rsi, rdx
mov qword [rsp + 0x30], rdx
xor r12d, r12d
mov eax, dword [str.ZVS7]
mov dword [rsp + 0x30], eax
movzx eax, word [0x14018f9b0]
mov word [rsp + 0x34], ax
mov byte [rsp + 0x30], WSAGetLastError
xor byte [rsp + 0x31], 0x33
xor byte [rsp + 0x32], 0x34
xor byte [rsp + 0x33], 0x35
xor al, 0x36
mov byte [rsp + 0x34], al
xor byte [rsp + 0x35], 0x37
xorps xmm0, xmm0
movups xmmword [rbp - 0x60], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x50], xmm1
lea rax, [rsp + 0x30]
mov rdi, 0xffffffffffffffff
mov r8, rdi
nop dword [rax]
inc r8
cmp byte [rax + r8], r12b
jne 0x140017600
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x60]
call fcn.14001fd20
nop
lea rdx, [rbp - 0x60]
lea rcx, [rbp + 0x68]
call fcn.14001efa0
mov qword [rbp + 0x78], r12
lea rdx, [rbp + 0x28]
call fcn.140014400
nop
mov rdx, rax
lea rcx, [rbp + 0x80]
call fcn.14001efa0
mov qword [rbp + 0x90], r12
lea rax, [rbp + 0x68]
mov qword [rsp + 0x50], rax
lea rax, [rbp + 0x98]
mov qword [rsp + 0x58], rax
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0xe0]
call fcn.14001b170
mov qword [rbp + 0xf0], r12
movsd xmm0, qword [str.FZYPECYTJ_]
movsd qword [rsp + 0x38], xmm0
movzx eax, word [0x14018fc98]
mov word [rsp + 0x40], ax
cmp byte [0x14018fc99], 0
je 0x1400176cb
mov byte [rsp + 0x38], reloc.WS2_32.dll_WSACleanup
xor byte [rsp + 0x39], 0x33
xor byte [rsp + 0x3a], 0x34
xor byte [rsp + 0x3b], 0x35
xor byte [rsp + 0x3c], 0x36
xor byte [rsp + 0x3d], 0x37
xor byte [rsp + 0x3e], 0x38
xor byte [rsp + 0x3f], 0x39
xor byte [rsp + 0x40], 0x3a
xor byte [rsp + 0x41], 0x3b
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x70], xmm1
lea rax, [rsp + 0x38]
mov r8, rdi
inc r8
cmp byte [rax + r8], 0
jne 0x1400176e2
lea rdx, [rsp + 0x38]
lea rcx, [rbp - 0x80]
call fcn.14001fd20
nop
lea rdx, [rbp - 0x80]
lea rcx, [rbp + 0xa8]
call fcn.14001efa0
mov qword [rbp + 0xb8], r12
lea rdx, [rbp + 0x140]
lea rcx, [0x1401b6728]
call fcn.1400116d0
nop
mov rdx, rax
lea rcx, [rbp + 0xc0]
call fcn.14001efa0
mov qword [rbp + 0xd0], r12
lea rax, [rbp + 0xa8]
mov qword [rsp + 0x50], rax
lea rax, [rbp + 0xd8]
mov qword [rsp + 0x58], rax
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0xf8]
call fcn.14001b170
mov qword [rbp + 0x108], r12
mov rax, qword [0x14018fd78]
mov qword [rsp + 0x30], rax
mov eax, Ordinal_33
lea r13d, [rax - 0x1b]
mov r14d, dword [reloc.WS2_32.dll_accept]
cmp byte [reloc.WS2_32.dll_gethostname], 0
je 0x1400178e0
cmp r14d, 2
jl 0x14001789a
movdqa xmm4, xmmword [0x140198d70]
movd xmm6, r13d
movd xmm5, eax
movdqa xmm2, xmmword [0x140198b10]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x140198b70]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140198ce0]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x140198d10]
movd xmm0, dword [rsp + 0x30]
xorps xmm2, xmm0
movd dword [rsp + 0x30], xmm2
movdqa xmm3, xmmword [0x140198b20]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x140198b70]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140198ce0]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x140198d10]
movd xmm0, dword [rsp + 0x34]
xorps xmm2, xmm0
movd dword [rsp + 0x34], xmm2
jmp 0x1400178e0
lea r9, [rsp + 0x30]
mov r8d, r12d
nop dword [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, 0x32
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 8
jl 0x1400178b0
xorps xmm0, xmm0
movups xmmword [rbp + 0x48], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x58], xmm1
lea rax, [rsp + 0x30]
mov r8, rdi
nop word [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x140017900
lea rdx, [rsp + 0x30]
lea rcx, [rbp + 0x48]
call fcn.14001fd20
nop
lea rdx, [rbp + 0x48]
lea rcx, [rbp - 8]
call fcn.14001efa0
mov qword [rbp + 8], r12
lea rax, [rbp + 0x10]
mov qword [rsp + 0x30], rax
xorps xmm0, xmm0
movups xmmword [rbp + 0x10], xmm0
mov byte [rbp + 0x10], 0
xor eax, eax
mov qword [rbp + 0x18], rax
mov rdx, rbx
lea rcx, [rbp + 0x10]
call fcn.14002b910
nop
mov qword [rbp + 0x20], r12
lea rax, [rbp - 8]
mov qword [rsp + 0x50], rax
lea rax, [rbp + 0x28]
mov qword [rsp + 0x58], rax
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0x110]
call fcn.14001b170
mov qword [rbp + 0x120], r12
movsd xmm0, qword [str.F_FPWSKXHD_]
movsd qword [rsp + 0x38], xmm0
mov eax, dword [0x1401904a0]
mov dword [rsp + 0x40], eax
movzx eax, byte [0x1401904a4]
mov byte [rsp + 0x44], al
mov r8d, r12d
cmp r14d, 2
jl 0x140017abb
movdqa xmm4, xmmword [0x140198d70]
movd xmm6, r13d
mov eax, Ordinal_33
movd xmm5, eax
movdqa xmm2, xmmword [0x140198b10]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x140198b70]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140198ce0]
packuswb xmm2, xmm2
mov eax, dword [0x140198d10]
movd xmm0, eax
paddb xmm2, xmm0
movd xmm0, dword [str.F_FPWSKXHD_]
xorps xmm2, xmm0
movd dword [rsp + 0x38], xmm2
movdqa xmm3, xmmword [0x140198b20]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x140198b70]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140198ce0]
packuswb xmm2, xmm2
movd xmm0, eax
paddb xmm2, xmm0
movd xmm1, dword [rsp + 0x3c]
xorps xmm2, xmm1
movd dword [rsp + 0x3c], xmm2
mov r8d, 8
movsxd rax, r8d
lea r9, [rsp + 0x38]
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, 0x32
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0xd
jl 0x140017ad0
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x70], xmm1
lea rax, [rsp + 0x38]
mov r8, rdi
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x140017b20
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x60]
call fcn.14001fd20
nop
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x38]
call fcn.14001efa0
mov qword [rbp - 0x28], r12
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
mov byte [rbp - 0x20], 0
xor eax, eax
mov qword [rbp - 0x18], rax
mov rax, qword [rbp + 0x220]
movzx ebx, byte [rax]
xor edx, edx
lea rcx, [rbp - 0x18]
call fcn.14001dc80
mov byte [rbp - 0x20], 4
mov byte [rsp + 0x30], bl
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x18], rax
mov qword [rbp - 0x10], r12
lea rax, [rbp - 0x38]
mov qword [rsp + 0x50], rax
lea rax, [rbp - 8]
mov qword [rsp + 0x58], rax
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0x128]
call fcn.14001b170
mov qword [rbp + 0x138], r12
lea rax, [rbp + 0xe0]
mov qword [rsp + 0x50], rax
lea rax, [rbp + 0x140]
mov qword [rsp + 0x58], rax
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0x160]
call fcn.14001b170
nop
lea r9, [fcn.140019480]
mov r8, r13
mov edx, Ordinal_26
lea rcx, [rbp + 0xe0]
call fcn.14012edcc
nop
lea r9, [fcn.140019480]
mov edx, Ordinal_26
lea r8d, [rdx - 0x16]
lea rcx, [rbp - 0x38]
call fcn.14012edcc
nop
lea rcx, [rsp + 0x60]
call fcn.14000c460
nop
lea r9, [fcn.140019480]
mov edx, Ordinal_26
lea r8d, [rdx - 0x16]
lea rcx, [rbp - 8]
call fcn.14012edcc
nop
lea rcx, [rbp + 0x48]
call fcn.14000c460
nop
lea r9, [fcn.140019480]
mov edx, Ordinal_26
lea r8d, [rdx - 0x16]
lea rcx, [rbp + 0xa8]
call fcn.14012edcc
nop
lea rcx, [rbp + 0x140]
call fcn.14000c460
nop
lea rcx, [rbp - 0x80]
call fcn.14000c460
nop
lea r9, [fcn.140019480]
mov edx, Ordinal_26
lea r8d, [rdx - 0x16]
lea rcx, [rbp + 0x68]
call fcn.14012edcc
nop
lea rcx, [rbp + 0x28]
call fcn.14000c460
nop
lea rcx, [rbp - 0x60]
call fcn.14000c460
cmp qword [r15 + 0x10], 0
je 0x140017ebd
lea rax, [rsp + 0x50]
mov qword [rsp + 0x38], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
xor eax, eax
mov qword [rsp + 0x58], rax
mov rdx, r15
lea rcx, [rsp + 0x50]
call fcn.14002b910
nop
mov rax, qword [str.DVFF_XV9AVWZXSK9_V__YSKLYXYNM_]
mov qword [rsp + 0x30], rax
cmp byte [reloc.WS2_32.dll_gethostname], 0
je 0x140017e40
cmp r14d, 2
jl 0x140017dfc
movdqa xmm4, xmmword [0x140198d70]
movd xmm6, r13d
mov eax, Ordinal_33
movd xmm5, eax
movdqa xmm2, xmmword [0x140198b10]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x140198b70]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140198ce0]
packuswb xmm2, xmm2
mov eax, dword [0x140198d10]
movd xmm0, eax
paddb xmm2, xmm0
movd xmm1, dword [rsp + 0x30]
xorps xmm2, xmm1
movd dword [rsp + 0x30], xmm2
movdqa xmm3, xmmword [0x140198b20]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x140198b70]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140198ce0]
packuswb xmm2, xmm2
movd xmm0, eax
paddb xmm2, xmm0
movd xmm1, dword [rsp + 0x34]
xorps xmm2, xmm1
movd dword [rsp + 0x34], xmm2
jmp 0x140017e40
lea r9, [rsp + 0x30]
mov r8d, r12d
nop dword [rax]
nop dword [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, 0x32
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 8
jl 0x140017e10
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], r12
mov qword [rsp + 0x78], r12
lea rax, [rsp + 0x30]
mov r8, rdi
nop word [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x140017e60
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x60]
call fcn.14001fd20
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0x160]
call fcn.14001aa20
mov rdx, rax
movzx ecx, byte [rax]
movzx eax, byte [rsp + 0x50]
mov byte [rdx], al
mov byte [rsp + 0x50], cl
mov rax, qword [rdx + 8]
mov rcx, qword [rsp + 0x58]
mov qword [rdx + 8], rcx
mov qword [rsp + 0x58], rax
movzx edx, byte [rsp + 0x50]
lea rcx, [rsp + 0x58]
call fcn.14001dc80
nop
xorps xmm0, xmm0
movups xmmword [rbp + 0x170], xmm0
movdqa xmm1, xmmword [0x140198ad0]
movdqu xmmword [rbp + 0x180], xmm1
mov byte [rbp + 0x170], 0
lea rdx, [rbp + 0x28]
lea rcx, [rbp + 0x160]
call fcn.14001abe0
mov rbx, rax
mov eax, dword [str.bga6]
mov dword [rsp + 0x30], eax
movzx ecx, byte [0x14018fa68]
mov byte [rsp + 0x30], 0x50
xor byte [rsp + 0x31], 0x33
xor byte [rsp + 0x32], 0x34
xor byte [rsp + 0x33], 0x35
xor cl, 0x36
mov byte [rsp + 0x34], cl
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x70], xmm1
lea rax, [rsp + 0x30]
mov r8, rdi
inc r8
cmp byte [rax + r8], 0
jne 0x140017f34
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x80]
call fcn.14001fd20
nop
mov eax, dword [0x14018fd88]
mov dword [rsp + 0x30], eax
movzx eax, byte [0x14018fd8c]
mov byte [rsp + 0x30], Ordinal_50
xor byte [rsp + 0x31], 0x33
xor byte [rsp + 0x32], 0x34
xor byte [rsp + 0x33], 0x35
xor al, 0x36
mov byte [rsp + 0x34], al
xorps xmm0, xmm0
movups xmmword [rbp - 0x60], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x50], xmm1
lea rax, [rsp + 0x30]
nop dword [rax]
inc rdi
cmp byte [rax + rdi], 0
jne 0x140017f90
mov r8, rdi
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x60]
call fcn.14001fd20
nop
lea rax, [rbp + 0x170]
mov qword [rsp + 0x20], rax
mov r9, rbx
lea r8, [rbp - 0x80]
lea rdx, [rbp - 0x60]
lea rcx, [0x1401b6728]
call fcn.140012ee0
movzx ebx, al
lea rcx, [rbp - 0x60]
call fcn.14000c460
nop
lea rcx, [rbp - 0x80]
call fcn.14000c460
nop
lea rcx, [rbp + 0x28]
call fcn.14000c460
test bl, bl
je 0x140018064
lea rax, [rbp + 0x28]
mov qword [rsp + 0x38], rax
lea rdx, [rbp + 0x170]
lea rcx, [rbp + 0x28]
call fcn.14001c0b0
mov rbx, rax
mov qword [rbp + 0xa0], r12
lea r8, [rbp + 0x68]
lea rdx, [rbp + 0x170]
lea rcx, [rsp + 0x50]
call fcn.14001e6c0
nop
mov r9, rbx
mov r8, rax
mov rdx, rsi
lea rcx, [0x1401b6728]
call fcn.1400145a0
nop
lea rcx, [rbp + 0x170]
call fcn.14000c460
nop
movzx edx, byte [rbp + 0x160]
lea rcx, [rbp + 0x168]
call fcn.14001dc80
nop
jmp 0x1400180c9
mov word [rsi], 0
xorps xmm0, xmm0
movups xmmword [rsi + 8], xmm0
mov qword [rsi + 0x18], r12
mov qword [rsi + 0x20], reloc.WS2_32.dll_ntohs
mov byte [rsi + 8], 0
movups xmmword [rsi + 0x28], xmm0
mov qword [rsi + 0x38], r12
mov qword [rsi + 0x40], reloc.WS2_32.dll_ntohs
mov byte [rsi + 0x28], 0
movups xmmword [rsi + 0x48], xmm0
mov qword [rsi + 0x58], r12
mov qword [rsi + 0x60], reloc.WS2_32.dll_ntohs
mov byte [rsi + 0x48], 0
lea rcx, [rbp + 0x170]
call fcn.14000c460
nop
movzx edx, byte [rbp + 0x160]
lea rcx, [rbp + 0x168]
call fcn.14001dc80
nop
mov rax, rsi
mov rcx, qword [rbp + 0x190]
xor rcx, rsp
call fcn.14012e5c0
lea r11, [rsp + 0x2c0]
mov rbx, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret