Function at 0x14000b5dc
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x2260]
mov eax, 0x2360
call fcn.1400c2070
sub rsp, rax
mov qword [rbp - 8], 0xfffffffffffffffe
mov qword [rsp + 0x23b8], rbx
mov rax, qword [0x1401a0e90]
xor rax, rsp
mov qword [rbp + 0x2250], rax
mov r15, r8
mov rsi, rdx
mov rdi, rcx
mov qword [rbp - 0x10], r8
xor r12d, r12d
mov r14b, r12b
mov r9d, dword [0x1401a8d80]
mov ecx, r9d
imul ecx, r9d
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
shl eax, 3
sub ecx, eax
lea r13d, [r12 + 1]
cmp ecx, 5
jne 0x14000b6c1
lea eax, [r9 + 1]
imul eax, r9d
and eax, 0x8000000f
jge 0x14000b67a
sub eax, r13d
or eax, 0xfffffff0
add eax, r13d
cmp eax, r13d
jne 0x14000b6c1
mov r8d, r12d
mov r12d, 8
mov edx, r8d
mov r10, r12
mov ecx, edx
and ecx, r13d
sub ecx, r13d
not ecx
and ecx, r9d
mov eax, edx
sar eax, 1
mov edx, ecx
xor edx, eax
sub r10, r13
jne 0x14000b68e
add r9d, edx
add r8d, r13d
cmp r8d, 0x100
jl 0x14000b688
mov dword [0x1401a8d80], r9d
xor r12d, r12d
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x58], r12
mov rcx, qword [rdi + 0xa0]
test rcx, rcx
jne 0x14000b6ed
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x14000b6e8
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
jmp 0x14000bccc
mov rax, qword [rcx]
lea rdx, [rsp + 0x58]
call qword [rax + VariantChangeTypeEx]
mov ebx, eax
mov rcx, qword [rsp + 0x58]
test rcx, rcx
jne 0x14000b773
lea rcx, [0x1401a09a8]
mov rax, qword [0x1401a09a8]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbp - 0x60], rax
mov r8d, ebx
lea rdx, str.runJSFunction_get_Document__d
lea rcx, [rbp - 0x60]
call fcn.14000fc08
mov rax, qword [rdi]
lea rdx, [rbp - 0x60]
mov rcx, rdi
call qword [rax + RegisterTypeLib]
nop
mov rdx, qword [rbp - 0x60]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14000b75d
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x14000b76e
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
jmp 0x14000bccc
mov rax, qword [rcx]
lea r8, [rsp + 0x50]
lea rdx, [0x14012da28]
call qword [rax]
mov ebx, eax
cmp qword [rsp + 0x50], r12
jne 0x14000b7f9
lea rcx, [0x1401a09a8]
mov rax, qword [0x1401a09a8]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbp - 0x68], rax
mov r8d, ebx
lea rdx, str.runJSFunction_QueryInterface__d
lea rcx, [rbp - 0x68]
call fcn.14000fc08
mov rax, qword [rdi]
lea rdx, [rbp - 0x68]
mov rcx, rdi
call qword [rax + RegisterTypeLib]
nop
mov rdx, qword [rbp - 0x68]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14000b7e3
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x14000b7f4
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
jmp 0x14000bccc
mov qword [rsp + 0x60], r12
mov rcx, qword [rsp + 0x50]
mov rax, qword [rcx]
lea rdx, [rsp + 0x60]
call qword [rax + 0x38]
mov ebx, eax
cmp qword [rsp + 0x60], r12
jne 0x14000b894
lea rcx, [0x1401a09a8]
mov rax, qword [0x1401a09a8]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbp - 0x80], rax
mov r8d, ebx
lea rdx, str.runJSFunction_get_Script__d
lea rcx, [rbp - 0x80]
call fcn.14000fc08
mov rax, qword [rdi]
lea rdx, [rbp - 0x80]
mov rcx, rdi
call qword [rax + RegisterTypeLib]
nop
mov rdx, qword [rbp - 0x80]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14000b86d
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x14000b87e
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x14000b88f
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
jmp 0x14000bccc
mov rcx, qword [rsi]
test rcx, rcx
jne 0x14000b8a3
mov qword [rsp + 0x68], r12
jmp 0x14000b8be
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov qword [rsp + 0x68], rax
test rax, rax
jne 0x14000b8be
mov ecx, 0x8007000e
call fcn.140001874
nop
mov ecx, dword [0x1401a8d80]
lea r8d, [rcx + 2]
lea eax, [rcx + 1]
imul r8d, eax
imul r8d, ecx
mov eax, 0x2e8ba2e9
imul r8d
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
imul edx, edx, 0x16
sub r8d, edx
cmp r8d, 9
jne 0x14000b914
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
mov eax, 0xcccccccd
mul ecx
shr edx, 6
lea eax, [rdx + rdx*4]
shl eax, 4
sub ecx, eax
lea eax, [rcx + 1]
mov dword [0x1401a8d80], eax
mov dword [rsp + 0x70], r12d
mov rcx, qword [rsp + 0x60]
mov rax, qword [rcx]
lea rdx, [rsp + 0x70]
mov qword [rsp + 0x28], rdx
mov dword [rsp + 0x20], 0x800
mov r9d, r13d
lea r8, [rsp + 0x68]
lea rdx, [0x14012da08]
call qword [rax + 0x28]
mov ebx, eax
test eax, eax
jns 0x14000ba92
lea rcx, [0x1401a09a8]
mov rax, qword [0x1401a09a8]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x78], rax
mov r8d, ebx
lea rdx, str.runJSFunction_GetIDsOfNames__d
lea rcx, [rsp + 0x78]
call fcn.14000fc08
cmp ebx, 0x80020006
jne 0x14000ba33
mov rdx, qword [rsp + 0x68]
lea rcx, [rbp - 0x28]
call fcn.140001f2c
mov rbx, rax
lea rdx, [0x1401373c4]
lea rcx, [rbp - 0x20]
call fcn.140001f2c
nop
mov r8, rbx
mov rdx, rax
lea rcx, [rbp - 0x18]
call fcn.14000d870
nop
mov rdx, qword [rax]
mov r8d, dword [rdx - 0x10]
lea rcx, [rsp + 0x78]
call fcn.14000e294
nop
mov rdx, qword [rbp - 0x18]
add rdx, 0xffffffffffffffe8
or rcx, 0xffffffffffffffff
mov eax, ecx
lock xadd dword [rdx + 0x10], eax
add eax, ecx
test eax, eax
jg 0x14000b9f3
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
or rcx, 0xffffffffffffffff
mov rdx, qword [rbp - 0x20]
add rdx, 0xffffffffffffffe8
mov eax, ecx
lock xadd dword [rdx + 0x10], eax
add eax, ecx
test eax, eax
jg 0x14000ba15
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
or rcx, 0xffffffffffffffff
mov rdx, qword [rbp - 0x28]
add rdx, 0xffffffffffffffe8
mov eax, ecx
lock xadd dword [rdx + 0x10], eax
add eax, ecx
test eax, eax
jg 0x14000ba33
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rax, qword [rdi]
lea rdx, [rsp + 0x78]
mov rcx, rdi
call qword [rax + RegisterTypeLib]
nop
mov rdx, qword [rsp + 0x78]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14000ba5f
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
nop
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x14000ba7c
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x14000ba8d
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
jmp 0x14000bccc
xor eax, eax
mov qword [rbp - 0x58], rax
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x48], rax
mov dword [rbp - 0x48], r13d
mov eax, 0x18
mul r13
mov rsi, 0xffffffffffffffff
cmovo rax, rsi
mov rcx, rax
call fcn.1400bc638
mov qword [rbp - 0x58], rax
mov eax, dword [0x1401a8d80]
lea ecx, [rax + 1]
imul ecx, eax
and ecx, 0x8000000f
jge 0x14000bae0
sub ecx, r13d
or ecx, 0xfffffff0
add ecx, r13d
cmp ecx, r13d
jne 0x14000bb53
mov word [rbp + 0x40], r12w
xor edx, edx
mov r8d, 0x2206
lea rcx, [rbp + 0x42]
call fcn.1400c2400
mov r10, r12
mov r9, rsi
mov r8, r12
test r10, r10
je 0x14000bb2d
test r8, r8
je 0x14000bb2d
lea rcx, [r9 + r8]
lea rax, [r9 + r8]
movzx edx, word [rbp + rcx*2 - 0x42]
add dx, word [rbp + rax*2 + 0x40]
add dx, r13w
lea rax, [r9 + r8]
mov word [rbp + rax*2 + 0x42], dx
add r8, r13
cmp r8, 0x42
jl 0x14000bb04
add r10, r13
add r9, 0x42
cmp r9, 0x1103
jl 0x14000bb01
movsx eax, word [rbp + 0x2246]
mov dword [0x1401a8d80], eax
mov dword [rbp - 0x44], r12d
mov rcx, qword [r15]
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov rcx, rax
mov rax, qword [rbp - 0x58]
mov qword [rax + 8], rcx
mov rax, qword [rbp - 0x58]
mov ecx, 8
mov word [rax], cx
xor edx, edx
lea r8d, [rcx + 0x38]
lea rcx, [rbp]
call fcn.1400c2400
xor eax, eax
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x30], rax
lea rcx, [rbp - 0x40]
call qword [sym.imp.OLEAUT32.dll_VariantClear]
nop
or dword [rbp - 0x78], 0xffffffff
mov rcx, qword [rsp + 0x60]
mov rax, qword [rcx]
lea rdx, [rbp - 0x78]
mov qword [rsp + 0x40], rdx
lea rdx, [rbp]
mov qword [rsp + 0x38], rdx
lea rdx, [rbp - 0x40]
mov qword [rsp + 0x30], rdx
lea rdx, [rbp - 0x58]
mov qword [rsp + 0x28], rdx
mov word [rsp + 0x20], r13w
xor r9d, r9d
lea r8, [0x14012da08]
mov edx, dword [rsp + 0x70]
call qword [rax + 0x30]
mov ebx, eax
mov rcx, qword [rbp - 0x58]
call fcn.1400be0fc
test ebx, ebx
jns 0x14000bc90
lea rcx, [0x1401a09a8]
mov rax, qword [0x1401a09a8]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbp - 0x70], rax
mov r8d, ebx
lea rdx, str.runJSFunction_Invoke__d
lea rcx, [rbp - 0x70]
call fcn.14000fc08
mov rax, qword [rdi]
lea rdx, [rbp - 0x70]
mov rcx, rdi
call qword [rax + RegisterTypeLib]
nop
mov rdx, qword [rbp - 0x70]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
add eax, esi
test eax, eax
jg 0x14000bc55
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
lea rcx, [rbp - 0x40]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
nop
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
nop
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x14000bc7d
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x14000bc8e
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
jmp 0x14000bccc
mov r14b, r13b
lea rcx, [rbp - 0x40]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
nop
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
nop
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x14000bcbb
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x14000bccc
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x14000bcdd
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov rdx, qword [r15]
sub rdx, 0x18
or rax, 0xffffffffffffffff
mov ecx, eax
lock xadd dword [rdx + 0x10], ecx
add ecx, eax
test ecx, ecx
jg 0x14000bcff
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
mov al, r14b
mov rcx, qword [rbp + 0x2250]
xor rcx, rsp
call fcn.1400bcfc0
mov rbx, qword [rsp + 0x23b8]
add rsp, 0x2360
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret