Function at 0x140798df0
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r12
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xc0
movaps xmmword [rax - 0x28], xmm6
mov rax, qword [0x14084f1c0]
xor rax, rsp
mov qword [rbp + 0x2f], rax
xor ecx, ecx
mov r15, r8
mov r12d, edx
call qword [sym.imp.ole32.dll_CoInitialize]
lea rax, [rbp + 0x17]
xor ebx, ebx
lea r9, [0x140839fe0]
mov qword [rsp + 0x20], rax
xor edx, edx
mov qword [rbp + 0x17], rbx
mov r8d, 0x404
lea rcx, [0x140839fd0]
call qword [sym.imp.ole32.dll_CoCreateInstance]
mov r14d, dword [reloc.WS2_32.dll_accept]
mov edi, eax
test eax, eax
js 0x140799339
mov rcx, qword [rbp + 0x17]
lea r8, [rbp + 0x1f]
xor edx, edx
mov qword [rsp + 0xe0], rsi
mov rax, qword [rcx]
call qword [rax + Ordinal_26]
mov dword [rbp + 0x27], ebx
mov esi, 0x80070002
nop dword [rax + rax]
mov rcx, qword [rbp + 0x1f]
lea r9, [rbp + 0x27]
mov qword [rbp + 7], rbx
lea r8, [rbp + 0xf]
mov edx, 1
mov rax, qword [rcx]
call qword [rax + Ordinal_26]
mov edi, eax
test eax, eax
js 0x14079930c
cmp dword [rbp + 0x27], 1
jne 0x14079930c
mov rcx, qword [rbp + 0xf]
lea rdx, [rbp + 7]
mov rax, qword [rcx]
call qword [rax + gethostname]
mov edi, eax
test eax, eax
jne 0x1407992fe
mov r9, qword [rbp + 7]
test r12d, r12d
je 0x1407990d9
mov r10, qword [r9 + 0x18]
mov r8, r15
mov rax, r10
sub r8, r10
movzx edx, word [rax]
movzx ecx, word [rax + r8]
sub edx, ecx
jne 0x140798f05
add rax, 2
test ecx, ecx
jne 0x140798ef1
test edx, edx
jne 0x1407990d9
cmp byte [0x14081bb43], bl
movups xmm0, xmmword [0x14081bb28]
mov eax, dword [0x14081bb40]
mov dword [rbp - 0x31], eax
movups xmmword [rbp - 0x49], xmm0
movsd xmm0, qword [0x14081bb38]
movsd qword [rbp - 0x39], xmm0
je 0x1407990be
mov ecx, ebx
cmp r14d, 2
jl 0x140799084
movdqa xmm0, xmmword [0x14081dc30]
lea rdx, [rbp - 0x45]
movdqa xmm5, xmmword [0x14081dbd0]
movdqa xmm4, xmmword [0x14081dc20]
movdqa xmm6, xmmword [0x14081dbf0]
movdqa xmmword [rbp - 9], xmm0
mov r8d, dword [rbp - 9]
nop dword [rax]
nop word [rax + rax]
movd xmm2, ecx
lea eax, [rcx + 4]
pshufd xmm2, xmm2, 0
lea rdx, [rdx + 8]
paddd xmm2, xmm5
movd xmm3, eax
movdqa xmm1, xmm2
pshufd xmm3, xmm3, 0
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
paddd xmm3, xmm5
pmuldq xmm0, xmm4
add ecx, 8
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
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
movdqa xmm1, xmm3
andps xmm2, xmmword [0x14081dc10]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx - 0xc]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rdx - 0xc], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, r8d
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x14081dc10]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rdx - 8]
xorps xmm2, xmm0
movd dword [rdx - 8], xmm2
cmp ecx, 0x18
jl 0x140798f80
cmp ecx, 0x1c
jge 0x1407990be
movsxd rax, ecx
lea r9, [rbp - 0x49]
add r9, rax
nop
mov eax, 0x94f2095
lea r9, [r9 + 1]
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul r8d, eax, 0x37
movzx eax, cl
inc ecx
sub al, r8b
add al, 0x39
xor byte [r9 - 1], al
cmp ecx, 0x1c
jl 0x140799090
mov rdx, r10
lea rcx, [rbp - 0x49]
call fcn.1407acef0
mov rcx, qword [rbp + 0xf]
mov rax, qword [rcx]
call qword [rax + Ordinal_26]
jmp 0x1407992d6
mov r10, qword [r9 + 0x18]
mov r8, r15
mov rax, r10
sub r8, r10
nop word [rax + rax]
movzx edx, word [rax]
movzx ecx, word [rax + r8]
sub edx, ecx
jne 0x140799104
add rax, 2
test ecx, ecx
jne 0x1407990f0
test edx, edx
jne 0x1407992dc
mov eax, dword [0x14081bb60]
mov r8d, ebx
mov dword [rbp - 0x31], eax
movzx eax, byte [0x14081bb64]
mov byte [rbp - 0x2d], al
movups xmm0, xmmword [0x14081bb48]
movups xmmword [rbp - 0x49], xmm0
movsd xmm0, qword [0x14081bb58]
movsd qword [rbp - 0x39], xmm0
cmp r14d, 2
jl 0x140799277
movdqa xmm0, xmmword [0x14081dc30]
lea rcx, [rbp - 0x45]
movdqa xmm5, xmmword [0x14081dbd0]
movdqa xmm4, xmmword [0x14081dc20]
movdqa xmm6, xmmword [0x14081dbf0]
movdqa xmmword [rbp - 9], xmm0
mov edx, dword [rbp - 9]
movd xmm2, r8d
lea eax, [r8 + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 8]
paddd xmm2, xmm5
movd xmm3, eax
movdqa xmm1, xmm2
pshufd xmm3, xmm3, 0
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
paddd xmm3, xmm5
pmuldq xmm0, xmm4
add r8d, 8
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
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
movdqa xmm1, xmm3
andps xmm2, xmmword [0x14081dc10]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 0xc]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rcx - 0xc], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, edx
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x14081dc10]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp r8d, 0x18
jl 0x140799170
cmp r8d, 0x1d
jge 0x1407992c0
movsxd rax, r8d
lea r9, [rbp - 0x49]
add r9, rax
nop dword [rax]
nop word [rax + rax]
mov eax, 0x94f2095
lea r9, [r9 + 1]
imul r8d
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x37
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x39
xor byte [r9 - 1], al
cmp r8d, 0x1d
jl 0x140799290
mov rdx, r10
lea rcx, [rbp - 0x49]
call fcn.1407acef0
mov rcx, qword [rbp + 0xf]
mov rax, qword [rcx]
call qword [rax + reloc.WLDAP32.dll_Ordinal_32]
mov r9, qword [rbp + 7]
mov esi, eax
mov rcx, qword [r9 + 0x10]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov rcx, qword [rbp + 7]
mov rcx, qword [rcx + 0x18]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov rcx, qword [rbp + 7]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov rcx, qword [rbp + 0xf]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov qword [rbp + 0xf], rbx
test edi, edi
js 0x14079931a
cmp dword [rbp + 0x27], 1
je 0x140798e90
mov rcx, qword [rbp + 0x1f]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
test edi, edi
cmovns edi, esi
mov rsi, qword [rsp + 0xe0]
test edi, edi
jns 0x1407994f7
cmp edi, 0x800704d5
je 0x1407994f7
movzx eax, word [0x14081bb98]
mov word [rbp - 0x19], ax
movups xmm0, xmmword [str.zUNPY]
movups xmm1, xmmword [0x14081bb78]
movups xmmword [rbp - 0x49], xmm0
movups xmm0, xmmword [0x14081bb88]
movups xmmword [rbp - 0x39], xmm1
movups xmmword [rbp - 0x29], xmm0
cmp r14d, 2
jl 0x1407994b4
movdqa xmm0, xmmword [0x14081dc30]
lea rcx, [rbp - 0x45]
movdqa xmm5, xmmword [0x14081dbd0]
movdqa xmm4, xmmword [0x14081dc20]
movdqa xmm6, xmmword [0x14081dbf0]
movdqa xmmword [rbp - 9], xmm0
mov edx, dword [rbp - 9]
nop word [rax + rax]
movd xmm2, ebx
lea eax, [rbx + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 8]
paddd xmm2, xmm5
movd xmm3, eax
movdqa xmm1, xmm2
pshufd xmm3, xmm3, 0
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
paddd xmm3, xmm5
pmuldq xmm0, xmm4
add ebx, 8
pmuldq xmm1, xmm4
mov eax, ebx
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
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
movdqa xmm1, xmm3
andps xmm2, xmmword [0x14081dc10]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 0xc]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rcx - 0xc], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, edx
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x14081dc10]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp ebx, 0x30
jl 0x1407993b0
cmp eax, 0x32
jge 0x1407994ec
movsxd rax, ebx
lea r8, [rbp - 0x49]
add r8, rax
nop
mov eax, 0x94f2095
lea r8, [r8 + 1]
imul ebx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x37
movzx eax, bl
inc ebx
sub al, cl
add al, 0x39
xor byte [r8 - 1], al
cmp ebx, 0x32
jl 0x1407994c0
mov edx, edi
lea rcx, [rbp - 0x49]
call fcn.1407acef0
mov rcx, qword [rbp + 0x17]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
call qword [sym.imp.ole32.dll_CoUninitialize]
mov eax, edi
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.140813980
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop rbp
ret