Function at 0x1400c5c40
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 0x1400c5c80
mov rdi, qword [rdx]
mov ecx, 0x18
mov qword [rsp + 0x158], r15
call fcn.1400e8b94
mov rbx, rax
test rax, rax
je 0x1400c63da
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 0x1400c5cc3
test rdi, rdi
jne 0x1400c63da
cmp byte [0x14011f137], sil
mov ecx, 5
mov r15, rax
mov eax, dword [0x14011f134]
mov dword [rbp + 0x67], eax
lea edx, [rcx + 0x1a]
je 0x1400c5dab
cmp dword [0x1402557d0], 2
mov r8d, esi
jl 0x1400c5d7d
movdqa xmm3, xmmword [0x140118390]
movdqa xmm2, xmm3
movdqa xmm0, xmm3
punpckldq xmm2, xmm3
pmuldq xmm2, xmmword [0x1401183f0]
punpckhdq xmm0, xmm3
pmuldq xmm0, xmmword [0x1401183f0]
shufps xmm2, xmm0, 0xdd
paddd xmm2, xmm3
movd xmm0, ecx
psrad xmm2, xmm0
movd xmm0, edx
movdqa xmm1, xmm2
psrld xmm1, xmm0
paddd xmm1, xmm2
pmulld xmm1, xmmword [0x1401183b0]
psubd xmm3, xmm1
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x1401183d0]
packuswb xmm2, xmm2
paddb xmm2, xmmword [str.1111111111111111]
movd xmm0, eax
pxor xmm2, xmm0
movd dword [rbp + 0x67], xmm2
jmp 0x1400c5dab
lea r9, [rbp + 0x67]
mov eax, 0xa0a0a0a1
lea r9, [r9 + 1]
mul r8d
shr edx, 5
movsx eax, dl
imul ecx, eax, 0x33
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x31
xor byte [r9 - 1], al
cmp r8d, 4
jl 0x1400c5d81
mov ecx, 0x18
call fcn.1400e8b94
mov rdi, rax
test rax, rax
je 0x1400c63da
lea rcx, [rbp + 0x67]
mov qword [rax + 8], rsi
mov dword [rax + 0x10], 1
call fcn.1400e9ba0
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 0x1400c5e41
mov rcx, qword [rdi]
test rcx, rcx
je 0x1400c5e22
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rdi], rsi
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x1400c5e34
call fcn.1400e8bd0
mov qword [rdi + 8], rsi
mov edx, 0x18
mov rcx, rdi
call fcn.1400e8bd0
mov eax, 0xffffffff
lock xadd dword [rbx + 0x10], eax
cmp eax, 1
jne 0x1400c5e80
mov rcx, qword [rbx]
test rcx, rcx
je 0x1400c5e61
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rbx], rsi
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x1400c5e73
call fcn.1400e8bd0
mov qword [rbx + 8], rsi
mov edx, 0x18
mov rcx, rbx
call fcn.1400e8bd0
test r15b, r15b
je 0x1400c60bc
cmp dword [0x1402557d0], 2
movups xmm0, xmmword [0x14011f138]
mov eax, dword [0x14011f160]
movups xmm1, xmmword [0x14011f148]
mov dword [rbp - 0x71], eax
movzx eax, word [0x14011f164]
movups xmmword [rsp + 0x40], xmm0
mov word [rbp - 0x6d], ax
movsd xmm0, qword [0x14011f158]
movsd qword [rbp - 0x79], xmm0
movups xmmword [rsp + 0x50], xmm1
jl 0x1400c6048
movdqa xmm5, xmmword [0x140118390]
lea rcx, [rsp + 0x40]
movdqa xmm4, xmmword [0x1401183f0]
mov eax, 5
movaps xmmword [rsp + 0xf0], xmm6
movaps xmmword [rsp + 0xe0], xmm7
movdqa xmm7, xmmword [0x1401183b0]
movaps xmmword [rsp + 0xd0], xmm8
movd xmm6, eax
mov eax, 0x1f
movaps xmmword [rsp + 0xc0], xmm9
movdqa xmm9, xmmword [0x1401183c0]
movd xmm8, eax
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
paddd xmm1, xmm2
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
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
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 0x1400c5f30
movaps xmm9, xmmword [rsp + 0xc0]
movaps xmm8, xmmword [rsp + 0xd0]
movaps xmm7, xmmword [rsp + 0xe0]
movaps xmm6, xmmword [rsp + 0xf0]
cmp esi, 0x17
jge 0x1400c6093
movsxd rax, esi
lea r8, [rsp + 0x40]
lea r8, [r8 + rax*2]
nop dword [rax]
nop dword [rax + rax]
mov eax, 0xa0a0a0a1
lea r8, [r8 + 2]
imul esi
add edx, esi
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul ecx, eax, 0x33
movzx eax, si
inc esi
sub ax, cx
add ax, 0x31
xor word [r8 - 2], ax
cmp esi, 0x17
jl 0x1400c6060
mov edx, r14d
lea rcx, [rsp + 0x40]
call fcn.1400ad210
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 0x1400c63c7
movabs r15, 0x2e8ba2e8ba2e8ba
nop dword [rax + 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 0x1400c63c2
mov rax, qword [rbp + 0x77]
mov rbx, qword [rax]
mov rax, qword [rax + 8]
mov qword [rbp - 0x39], rax
cmp rbx, rax
je 0x1400c639d
nop dword [rax]
mov r8, rbx
lea rdx, [rbp - 0x59]
mov rcx, r12
call fcn.1400bf100
mov r14, qword [rbp - 0x49]
cmp byte [r14 + 0x19], sil
jne 0x1400c614c
lea r8, [r14 + 0x20]
mov rdx, rbx
mov rcx, r12
call fcn.1400bf610
test al, al
je 0x1400c6150
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 0x1400c6168
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 0x1400c638f
mov rdi, qword [rbp - 0x29]
test rdi, rdi
je 0x1400c638f
mov r13, qword [r12]
cmp r14, r13
jne 0x1400c62dc
mov r8, rbx
lea rdx, [rbp - 0x59]
mov rcx, r12
call fcn.1400bf100
mov r14, qword [rbp - 0x49]
cmp byte [r14 + 0x19], sil
jne 0x1400c61ce
lea r8, [r14 + 0x20]
mov rdx, rbx
mov rcx, r12
call fcn.1400bf610
test al, al
je 0x1400c62af
cmp qword [r12 + 8], r15
je 0x1400c63e5
mov ecx, 0x58
call fcn.1400e8b94
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 0x1400c6210
mov rcx, qword [rbx]
mov qword [rbp + 0x67], rcx
cmp rax, 8
jae 0x1400c6226
movups xmm0, xmmword [rcx]
mov r14d, 7
movups xmmword [r15 + 0x20], xmm0
jmp 0x1400c626d
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.14000e9a0
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.1400ead90
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.1400b39c0
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 0x1400c62d0
jmp 0x1400c6300
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 0x1400c62f6
mov rdx, rdi
lea rcx, [rsp + 0x40]
call fcn.14000eac0
mov rdx, qword [r14 + 0x48]
cmp rdx, qword [r14 + 0x50]
je 0x1400c632f
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 0x1400c637b
lea r8, [rsp + 0x40]
lea rcx, [r14 + 0x40]
call fcn.1400a6f90
mov rdx, qword [rsp + 0x58]
cmp rdx, 8
jb 0x1400c637b
mov rcx, qword [rsp + 0x40]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400c6376
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400c63d4
call fcn.1400e8bd0
lea rcx, [rbp - 0x31]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
movabs r15, 0x2e8ba2e8ba2e8ba
add rbx, 0x20
cmp rbx, qword [rbp - 0x39]
jne 0x1400c6120
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 0x1400c60e0
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov al, 1
jmp 0x1400c60a2
mov rcx, qword [rsp + 0x38]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov al, 1
jmp 0x1400c60a2
call fcn.1400ef88c
int3
mov ecx, 0x8007000e
call fcn.1400e9b90
int3
call fcn.1400907e0
int3