Function at 0x1400b9e40
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 0x1400b9e80
mov rdi, qword [rdx]
mov ecx, 0x18
mov qword [rsp + 0x158], r15
call fcn.1400dccdc
mov rbx, rax
test rax, rax
je 0x1400ba5ca
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 0x1400b9ec3
test rdi, rdi
jne 0x1400ba5ca
cmp byte [0x1401126d7], sil
mov ecx, 4
mov r15, rax
mov eax, dword [0x1401126d4]
mov dword [rbp + 0x67], eax
lea edx, [rcx + 0x1b]
je 0x1400b9faa
cmp dword [0x140248200], 2
mov r8d, esi
jl 0x1400b9f79
movdqa xmm3, xmmword [0x14010c2c0]
movdqa xmm2, xmm3
movdqa xmm0, xmm3
punpckldq xmm2, xmm3
pmuldq xmm2, xmmword [0x14010c320]
punpckhdq xmm0, xmm3
pmuldq xmm0, xmmword [0x14010c320]
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 [0x14010c2e0]
psubd xmm3, xmm1
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x14010c300]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x140110dd0]
movd xmm0, eax
pxor xmm2, xmm0
movd dword [rbp + 0x67], xmm2
jmp 0x1400b9faa
lea r9, [rbp + 0x67]
nop dword [rax]
mov eax, 0x51eb851f
lea r9, [r9 + 1]
mul r8d
shr edx, 4
movsx eax, dl
imul ecx, eax, 0x32
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x31
xor byte [r9 - 1], al
cmp r8d, 4
jl 0x1400b9f80
mov ecx, 0x18
call fcn.1400dccdc
mov rdi, rax
test rax, rax
je 0x1400ba5ca
lea rcx, [rbp + 0x67]
mov qword [rax + 8], rsi
mov dword [rax + 0x10], 1
call fcn.1400ddce0
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 0x1400ba040
mov rcx, qword [rdi]
test rcx, rcx
je 0x1400ba021
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rdi], rsi
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x1400ba033
call fcn.1400dcd18
mov qword [rdi + 8], rsi
mov edx, 0x18
mov rcx, rdi
call fcn.1400dcd18
mov eax, 0xffffffff
lock xadd dword [rbx + 0x10], eax
cmp eax, 1
jne 0x1400ba07f
mov rcx, qword [rbx]
test rcx, rcx
je 0x1400ba060
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rbx], rsi
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x1400ba072
call fcn.1400dcd18
mov qword [rbx + 8], rsi
mov edx, 0x18
mov rcx, rbx
call fcn.1400dcd18
test r15b, r15b
je 0x1400ba2aa
cmp dword [0x140248200], 2
movups xmm0, xmmword [0x1401126d8]
mov eax, dword [0x140112700]
movups xmm1, xmmword [0x1401126e8]
mov dword [rbp - 0x71], eax
movzx eax, word [0x140112704]
movups xmmword [rsp + 0x40], xmm0
mov word [rbp - 0x6d], ax
movsd xmm0, qword [0x1401126f8]
movsd qword [rbp - 0x79], xmm0
movups xmmword [rsp + 0x50], xmm1
jl 0x1400ba240
movdqa xmm5, xmmword [0x14010c2c0]
lea rcx, [rsp + 0x40]
movdqa xmm4, xmmword [0x14010c320]
mov eax, 4
movaps xmmword [rsp + 0xf0], xmm6
movaps xmmword [rsp + 0xe0], xmm7
movdqa xmm7, xmmword [0x14010c2e0]
movaps xmmword [rsp + 0xd0], xmm8
movd xmm6, eax
mov eax, 0x1f
movaps xmmword [rsp + 0xc0], xmm9
movdqa xmm9, xmmword [0x140110dc0]
movd xmm8, eax
nop dword [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 0x1400ba130
movaps xmm9, xmmword [rsp + 0xc0]
movaps xmm8, xmmword [rsp + 0xd0]
movaps xmm7, xmmword [rsp + 0xe0]
movaps xmm6, xmmword [rsp + 0xf0]
cmp esi, 0x17
jge 0x1400ba281
movsxd rax, esi
lea r8, [rsp + 0x40]
lea r8, [r8 + rax*2]
nop dword [rax]
mov eax, 0x51eb851f
lea r8, [r8 + 2]
imul esi
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul ecx, eax, 0x32
movzx eax, si
inc esi
sub ax, cx
add ax, 0x31
xor word [r8 - 2], ax
cmp esi, 0x17
jl 0x1400ba250
mov edx, r14d
lea rcx, [rsp + 0x40]
call fcn.1400a1310
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 0x1400ba5b7
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 0x1400ba5b2
mov rax, qword [rbp + 0x77]
mov rbx, qword [rax]
mov rax, qword [rax + 8]
mov qword [rbp - 0x39], rax
cmp rbx, rax
je 0x1400ba58d
nop dword [rax]
mov r8, rbx
lea rdx, [rbp - 0x59]
mov rcx, r12
call fcn.1400b3060
mov r14, qword [rbp - 0x49]
cmp byte [r14 + 0x19], sil
jne 0x1400ba33c
lea r8, [r14 + 0x20]
mov rdx, rbx
mov rcx, r12
call fcn.1400b3570
test al, al
je 0x1400ba340
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 0x1400ba358
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 0x1400ba57f
mov rdi, qword [rbp - 0x29]
test rdi, rdi
je 0x1400ba57f
mov r13, qword [r12]
cmp r14, r13
jne 0x1400ba4cc
mov r8, rbx
lea rdx, [rbp - 0x59]
mov rcx, r12
call fcn.1400b3060
mov r14, qword [rbp - 0x49]
cmp byte [r14 + 0x19], sil
jne 0x1400ba3be
lea r8, [r14 + 0x20]
mov rdx, rbx
mov rcx, r12
call fcn.1400b3570
test al, al
je 0x1400ba49f
cmp qword [r12 + 8], r15
je 0x1400ba5d5
mov ecx, 0x58
call fcn.1400dccdc
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 0x1400ba400
mov rcx, qword [rbx]
mov qword [rbp + 0x67], rcx
cmp rax, 8
jae 0x1400ba416
movups xmm0, xmmword [rcx]
mov r14d, 7
movups xmmword [r15 + 0x20], xmm0
jmp 0x1400ba45d
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.14000df30
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.1400deed0
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.1400a7890
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 0x1400ba4c0
jmp 0x1400ba4f0
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 0x1400ba4e6
mov rdx, rdi
lea rcx, [rsp + 0x40]
call fcn.14000e060
mov rdx, qword [r14 + 0x48]
cmp rdx, qword [r14 + 0x50]
je 0x1400ba51f
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 0x1400ba56b
lea r8, [rsp + 0x40]
lea rcx, [r14 + 0x40]
call fcn.14009b060
mov rdx, qword [rsp + 0x58]
cmp rdx, 8
jb 0x1400ba56b
mov rcx, qword [rsp + 0x40]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400ba566
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400ba5c4
call fcn.1400dcd18
lea rcx, [rbp - 0x31]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
movabs r15, 0x2e8ba2e8ba2e8ba
add rbx, 0x20
cmp rbx, qword [rbp - 0x39]
jne 0x1400ba310
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 0x1400ba2d0
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov al, 1
jmp 0x1400ba290
mov rcx, qword [rsp + 0x38]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov al, 1
jmp 0x1400ba290
call fcn.1400e39cc
int3
mov ecx, 0x8007000e
call fcn.1400ddcd0
int3
call fcn.14008f730
int3