Function at 0x1400c6770
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], r8
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
lea rbp, [rsp - 0x27]
sub rsp, 0x100
mov r14, qword [rcx + 8]
xor esi, esi
cmp qword [rdx + 0x18], 8
mov r12, r9
mov qword [rsp + 0x38], rsi
mov rdi, rdx
mov rax, qword [r14]
mov r13, qword [rax + 0xa0]
jb 0x1400c67b0
mov rdi, qword [rdx]
mov ecx, 0x18
mov qword [rsp + 0x158], r15
call fcn.1400e9714
mov rbx, rax
test rax, rax
je 0x1400c6f0a
mov rcx, rdi
mov qword [rax + 8], rsi
mov dword [rax + 0x10], 1
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov qword [rbx], rax
test rax, rax
jne 0x1400c67f3
test rdi, rdi
jne 0x1400c6f0a
cmp byte [0x140120157], sil
mov ecx, 4
mov r15, rax
mov eax, dword [0x140120154]
mov dword [rbp + 0x67], eax
lea edx, [rcx + 0x1b]
je 0x1400c68e3
cmp dword [0x1402567d0], 2
mov r8d, esi
jl 0x1400c68a9
movdqa xmm3, xmmword [0x140119390]
movdqa xmm2, xmm3
movdqa xmm0, xmm3
punpckldq xmm2, xmm3
pmuldq xmm2, xmmword [0x14011d140]
punpckhdq xmm0, xmm3
pmuldq xmm0, xmmword [0x14011d140]
shufps xmm2, xmm0, 0xdd
movd xmm0, ecx
psrad xmm2, xmm0
movd xmm0, edx
movdqa xmm1, xmm2
psrld xmm1, xmm0
paddd xmm1, xmm2
pmulld xmm1, xmmword [str.6666]
psubd xmm3, xmm1
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x1401193d0]
packuswb xmm2, xmm2
paddb xmm2, xmmword [str.1111111111111111t]
movd xmm0, eax
pxor xmm2, xmm0
movd dword [rbp + 0x67], xmm2
jmp 0x1400c68e3
lea r9, [rbp + 0x67]
nop dword [rax]
mov eax, 0x2f684bdb
lea r9, [r9 + 1]
mul r8d
mov eax, r8d
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 5
movsx eax, al
imul ecx, eax, 0x36
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x31
xor byte [r9 - 1], al
cmp r8d, 4
jl 0x1400c68b0
mov ecx, 0x18
call fcn.1400e9714
mov rdi, rax
test rax, rax
je 0x1400c6f0a
lea rcx, [rbp + 0x67]
mov qword [rax + 8], rsi
mov dword [rax + 0x10], 1
call fcn.1400ea720
lea rcx, [rsp + 0x38]
mov qword [rdi], rax
mov qword [rsp + 0x28], rcx
mov r9d, 0x30
mov rcx, r14
mov qword [rsp + 0x20], rsi
mov r8, r15
mov rdx, rax
call r13
test eax, eax
mov r14d, eax
mov ecx, 0xffffffff
sets r15b
lock xadd dword [rdi + 0x10], ecx
cmp ecx, 1
jne 0x1400c6979
mov rcx, qword [rdi]
test rcx, rcx
je 0x1400c695a
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rdi], rsi
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x1400c696c
call fcn.1400e9750
mov qword [rdi + 8], rsi
mov edx, 0x18
mov rcx, rdi
call fcn.1400e9750
mov eax, 0xffffffff
lock xadd dword [rbx + 0x10], eax
cmp eax, 1
jne 0x1400c69b8
mov rcx, qword [rbx]
test rcx, rcx
je 0x1400c6999
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rbx], rsi
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x1400c69ab
call fcn.1400e9750
mov qword [rbx + 8], rsi
mov edx, 0x18
mov rcx, rbx
call fcn.1400e9750
test r15b, r15b
je 0x1400c6bea
cmp dword [0x1402567d0], 2
movups xmm0, xmmword [0x140120158]
mov eax, dword [0x140120180]
movups xmm1, xmmword [0x140120168]
mov dword [rbp - 0x71], eax
movzx eax, word [0x140120184]
movups xmmword [rsp + 0x40], xmm0
mov word [rbp - 0x6d], ax
movsd xmm0, qword [0x140120178]
movsd qword [rbp - 0x79], xmm0
movups xmmword [rsp + 0x50], xmm1
jl 0x1400c6b80
movdqa xmm5, xmmword [0x140119390]
lea rcx, [rsp + 0x40]
movdqa xmm4, xmmword [0x14011d140]
mov eax, 4
movaps xmmword [rsp + 0xf0], xmm6
movaps xmmword [rsp + 0xe0], xmm7
movdqa xmm7, xmmword [str.6666]
movaps xmmword [rsp + 0xd0], xmm8
movd xmm6, eax
mov eax, 0x1f
movaps xmmword [rsp + 0xc0], xmm9
movdqa xmm9, xmmword [str.11111111]
movd xmm8, eax
nop dword [rax]
nop word [rax + rax]
movd xmm2, esi
lea eax, [rsi + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 0x10]
paddd xmm2, xmm5
add esi, 8
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movq xmm2, xmm9
pshufhw xmm1, xmm0, 0xd8
movq xmm0, qword [rcx - 0x10]
pshufd xmm3, xmm1, 0xd8
paddw xmm3, xmm2
movd xmm2, eax
pshufd xmm2, xmm2, 0
pxor xmm3, xmm0
movq qword [rcx - 0x10], xmm3
paddd xmm2, xmm5
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movq xmm2, xmm9
pshufhw xmm1, xmm0, 0xd8
movq xmm0, qword [rcx - 8]
pshufd xmm3, xmm1, 0xd8
paddw xmm3, xmm2
pxor xmm3, xmm0
movq qword [rcx - 8], xmm3
cmp esi, 0x10
jl 0x1400c6a70
movaps xmm9, xmmword [rsp + 0xc0]
movaps xmm8, xmmword [rsp + 0xd0]
movaps xmm7, xmmword [rsp + 0xe0]
movaps xmm6, xmmword [rsp + 0xf0]
cmp esi, 0x17
jge 0x1400c6bc1
movsxd rax, esi
lea r8, [rsp + 0x40]
lea r8, [r8 + rax*2]
nop dword [rax]
mov eax, 0x4bda12f7
lea r8, [r8 + 2]
imul esi
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul ecx, eax, 0x36
movzx eax, si
inc esi
sub ax, cx
add ax, 0x31
xor word [r8 - 2], ax
cmp esi, 0x17
jl 0x1400c6b90
mov edx, r14d
lea rcx, [rsp + 0x40]
call fcn.1400add30
xor al, al
mov r15, qword [rsp + 0x158]
add rsp, 0x100
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov rcx, qword [rsp + 0x38]
mov qword [rbp - 0x69], rsi
mov dword [rbp + 0x6f], esi
test rcx, rcx
je 0x1400c6ef7
movabs r15, 0x2e8ba2e8ba2e8ba
nop dword [rax]
mov rax, qword [rcx]
lea rdx, [rbp + 0x6f]
mov qword [rsp + 0x20], rdx
lea r9, [rbp - 0x69]
mov edx, 0xffffffff
lea r8d, [rdx + 2]
call qword [rax + 0x20]
cmp dword [rbp + 0x6f], esi
je 0x1400c6ef2
mov rax, qword [rbp + 0x77]
mov rbx, qword [rax]
mov rax, qword [rax + 8]
mov qword [rbp - 0x39], rax
cmp rbx, rax
je 0x1400c6ecd
nop dword [rax]
mov r8, rbx
lea rdx, [rbp - 0x59]
mov rcx, r12
call fcn.1400bfc70
mov r14, qword [rbp - 0x49]
cmp byte [r14 + 0x19], sil
jne 0x1400c6c7c
lea r8, [r14 + 0x20]
mov rdx, rbx
mov rcx, r12
call fcn.1400c0180
test al, al
je 0x1400c6c80
mov r14, qword [r12]
cmp qword [rbx + 0x18], 8
mov rdx, rbx
mov rcx, qword [rbp - 0x69]
mov rax, qword [rcx]
mov r10, qword [rax + 0x20]
jb 0x1400c6c98
mov rdx, qword [rbx]
mov qword [rsp + 0x28], rsi
lea r9, [rbp - 0x31]
xor r8d, r8d
mov qword [rsp + 0x20], rsi
call r10
test eax, eax
js 0x1400c6ebf
mov rdi, qword [rbp - 0x29]
test rdi, rdi
je 0x1400c6ebf
mov r13, qword [r12]
cmp r14, r13
jne 0x1400c6e0c
mov r8, rbx
lea rdx, [rbp - 0x59]
mov rcx, r12
call fcn.1400bfc70
mov r14, qword [rbp - 0x49]
cmp byte [r14 + 0x19], sil
jne 0x1400c6cfe
lea r8, [r14 + 0x20]
mov rdx, rbx
mov rcx, r12
call fcn.1400c0180
test al, al
je 0x1400c6ddf
cmp qword [r12 + 8], r15
je 0x1400c6f15
mov ecx, 0x58
call fcn.1400e9714
mov r15, rax
mov qword [rbp + 0x67], rbx
mov rcx, rbx
mov qword [rax + 0x20], rsi
mov qword [rax + 0x30], rsi
mov qword [rax + 0x38], rsi
cmp qword [rbx + 0x18], 8
mov rax, qword [rbx + 0x10]
mov qword [rsp + 0x30], rax
jb 0x1400c6d40
mov rcx, qword [rbx]
mov qword [rbp + 0x67], rcx
cmp rax, 8
jae 0x1400c6d56
movups xmm0, xmmword [rcx]
mov r14d, 7
movups xmmword [r15 + 0x20], xmm0
jmp 0x1400c6d9d
mov r14, rax
lea rcx, [r15 + 0x20]
movabs rax, 0x7ffffffffffffffe
or r14, 7
cmp r14, rax
cmova r14, rax
lea rdx, [r14 + 1]
call fcn.14000e740
mov r8, qword [rsp + 0x30]
mov rcx, rax
mov rdx, qword [rbp + 0x67]
mov qword [r15 + 0x20], rax
lea r8, [r8*2 + 2]
call fcn.1400eb910
mov rax, qword [rsp + 0x30]
mov qword [r15 + 0x30], rax
lea rdx, [rbp - 0x59]
mov qword [r15 + 0x38], r14
mov r8, r15
movups xmm0, xmmword [rbp - 0x59]
mov qword [r15 + 0x40], rsi
mov rcx, r12
mov qword [r15 + 0x48], rsi
mov qword [r15 + 0x50], rsi
mov qword [r15], r13
mov qword [r15 + 8], r13
mov qword [r15 + 0x10], r13
mov word [r15 + 0x18], si
movaps xmmword [rbp - 0x59], xmm0
call fcn.1400b44f0
mov rdi, qword [rbp - 0x29]
mov r14, rax
mov qword [rsp + 0x40], rsi
mov r8, 0xffffffffffffffff
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], 7
nop dword [rax]
inc r8
cmp word [rdi + r8*2], si
jne 0x1400c6e00
jmp 0x1400c6e30
mov qword [rsp + 0x40], rsi
mov r8, 0xffffffffffffffff
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], 7
inc r8
cmp word [rdi + r8*2], si
jne 0x1400c6e26
mov rdx, rdi
lea rcx, [rsp + 0x40]
call fcn.14000e870
mov rdx, qword [r14 + 0x48]
cmp rdx, qword [r14 + 0x50]
je 0x1400c6e5f
movups xmm0, xmmword [rsp + 0x40]
movups xmm1, xmmword [rsp + 0x50]
movups xmmword [rdx], xmm0
movups xmmword [rdx + 0x10], xmm1
add qword [r14 + 0x48], 0x20
jmp 0x1400c6eab
lea r8, [rsp + 0x40]
lea rcx, [r14 + 0x40]
call fcn.1400a7bc0
mov rdx, qword [rsp + 0x58]
cmp rdx, 8
jb 0x1400c6eab
mov rcx, qword [rsp + 0x40]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400c6ea6
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400c6f04
call fcn.1400e9750
lea rcx, [rbp - 0x31]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
movabs r15, 0x2e8ba2e8ba2e8ba
add rbx, 0x20
cmp rbx, qword [rbp - 0x39]
jne 0x1400c6c50
mov rcx, qword [rbp - 0x69]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rsp + 0x38]
test rcx, rcx
jne 0x1400c6c10
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov al, 1
jmp 0x1400c6bd0
mov rcx, qword [rsp + 0x38]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov al, 1
jmp 0x1400c6bd0
call fcn.1400f040c
int3
mov ecx, 0x8007000e
call fcn.1400ea710
int3
call fcn.140091620
int3