Function at 0x1503586d0
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
mov r11, r9
mov r9, rcx
mov ebp, edx
test rcx, rcx
je 0x150358dc6
test r11, r11
je 0x150358dc6
lea eax, [rdx - 0x10]
test eax, 0xffffffe7
jne 0x150358dbf
cmp edx, 0x28
je 0x150358dbf
test r8d, r8d
je 0x15035873c
mov eax, edx
cdq
and edx, 7
add eax, edx
sar eax, 3
lea eax, [rax*2 + 6]
cmp r8d, eax
je 0x15035873c
mov eax, 4
jmp 0x150358dcb
mov eax, ebp
cdq
and edx, 7
add eax, edx
sar eax, 3
lea eax, [rax*2 + 6]
mov dword [r11 + 0x1e0], eax
movzx eax, byte [rcx + 1]
movzx esi, byte [rcx]
shl esi, 8
or esi, eax
movzx eax, byte [rcx + 2]
shl esi, 8
or esi, eax
movzx eax, byte [rcx + 3]
shl esi, 8
or esi, eax
mov dword [r11], esi
movzx eax, byte [rcx + 5]
movzx r10d, byte [rcx + 4]
shl r10d, 8
or r10d, eax
movzx eax, byte [rcx + 6]
shl r10d, 8
or r10d, eax
movzx eax, byte [rcx + 7]
shl r10d, 8
or r10d, eax
mov dword [r11 + 4], r10d
movzx eax, byte [rcx + 9]
movzx r14d, byte [rcx + 8]
shl r14d, 8
or r14d, eax
movzx eax, byte [rcx + 0xa]
shl r14d, 8
or r14d, eax
movzx eax, byte [rcx + 0xb]
shl r14d, 8
or r14d, eax
mov dword [r11 + 8], r14d
movzx eax, byte [rcx + 0xd]
movzx edi, byte [rcx + 0xc]
shl edi, 8
or edi, eax
movzx eax, byte [rcx + 0xe]
shl edi, 8
or edi, eax
movzx eax, byte [rcx + 0xf]
shl edi, 8
or edi, eax
mov dword [r11 + 0xc], edi
cmp ebp, 0x10
jne 0x1503588df
mov eax, edi
mov edx, edi
shr eax, 0x10
lea rbx, [0x150000000]
movzx ecx, al
mov eax, edi
shr eax, 8
shr rdx, 0x18
mov r8d, dword [rbx + rdx*4 + 0x14eb40]
xor r8d, dword [rbx + rcx*4 + 0x14f810]
movzx ecx, al
movzx eax, dil
xor r8d, dword [rbx + rcx*4 + 0x14bf10]
xor r8d, dword [rbx + rax*4 + 0x14cb10]
xor r8d, esi
lea rsi, [r11 + 0x10]
btc r8d, 0x18
xor r10d, r8d
mov dword [rsi], r8d
mov dword [r11 + 0x14], r10d
xor r10d, r14d
xor edi, r10d
mov dword [r11 + 0x18], r10d
mov dword [r11 + 0x1c], edi
lea r14, [0x15014df38]
lea rdi, [0x15014df14]
mov r10d, dword [rsi + 0xc]
mov r9, rsi
add rsi, 0x10
mov eax, r10d
shr eax, 0x10
mov edx, r10d
movzx ecx, al
mov eax, r10d
shr eax, 8
shr rdx, 0x18
mov r8d, dword [rbx + rdx*4 + 0x14eb40]
xor r8d, dword [rbx + rcx*4 + 0x14f810]
movzx ecx, al
movzx eax, r10b
xor r8d, dword [rbx + rcx*4 + 0x14bf10]
xor r8d, dword [rbx + rax*4 + 0x14cb10]
xor r8d, dword [rdi]
add rdi, 4
xor r8d, dword [r9]
mov dword [rsi], r8d
xor r8d, dword [rsi - 0xc]
mov dword [rsi + 4], r8d
xor r8d, dword [rsi - 8]
mov dword [rsi + 8], r8d
xor r8d, r10d
mov dword [rsi + 0xc], r8d
cmp rdi, r14
jne 0x150358869
jmp 0x150358c35
cmp ebp, 0x18
jne 0x150358a3d
movzx ecx, byte [rcx + 0x10]
lea rbx, [0x150000000]
movzx eax, byte [r9 + 0x11]
shl ecx, 8
or ecx, eax
movzx eax, byte [r9 + 0x12]
shl ecx, 8
or ecx, eax
movzx eax, byte [r9 + 0x13]
shl ecx, 8
or ecx, eax
mov dword [r11 + 0x10], ecx
movzx ecx, byte [r9 + 0x14]
movzx edx, byte [r9 + 0x15]
mov eax, ecx
movzx r8d, byte [r9 + 0x16]
movzx r9d, byte [r9 + 0x17]
shl eax, 8
or edx, eax
mov eax, edx
shl eax, 8
or r8d, eax
mov eax, r8d
shl eax, 8
or r9d, eax
movzx eax, dl
mov edx, dword [rbx + rcx*4 + 0x14eb40]
mov dword [r11 + 0x14], r9d
xor edx, dword [rbx + rax*4 + 0x14f810]
movzx eax, r8b
xor edx, dword [rbx + rax*4 + 0x14bf10]
movzx eax, r9b
xor edx, dword [rbx + rax*4 + 0x14cb10]
xor edx, esi
mov rsi, 0xffffffffffffffd8
btc edx, 0x18
xor r10d, edx
mov dword [r11 + 0x18], edx
mov dword [r11 + 0x1c], r10d
xor r10d, r14d
mov dword [r11 + 0x20], r10d
lea r14, [0x15014df30]
xor r10d, edi
lea rdi, [0x15014df14]
mov dword [r11 + 0x24], r10d
sub rsi, r11
lea r10, [r11 + 0x28]
mov eax, dword [r10 - 0x18]
xor eax, dword [r10 - 4]
mov dword [r10], eax
xor eax, dword [r10 - 0x14]
mov dword [r10 + 4], eax
lea r10, [r10 + 0x18]
lea rax, [rsi + r10]
sar rax, 2
mov r8d, dword [r11 + rax*4 + 0x14]
mov eax, r8d
mov edx, r8d
shr eax, 0x10
movzx ecx, al
mov eax, r8d
shr eax, 8
shr rdx, 0x18
mov r9d, dword [rbx + rdx*4 + 0x14eb40]
xor r9d, dword [rbx + rcx*4 + 0x14f810]
movzx ecx, al
movzx eax, r8b
xor r9d, dword [rbx + rcx*4 + 0x14bf10]
xor r9d, dword [rbx + rax*4 + 0x14cb10]
xor r9d, dword [r10 - 0x28]
xor r9d, dword [rdi]
add rdi, 4
mov dword [r10 - 0x10], r9d
xor r9d, dword [r10 - 0x24]
mov dword [r10 - 0xc], r9d
xor r9d, dword [r10 - 0x20]
mov dword [r10 - 8], r9d
xor r9d, dword [r10 - 0x1c]
mov dword [r10 - 4], r9d
cmp rdi, r14
jne 0x1503589a7
jmp 0x150358c35
cmp ebp, 0x20
jne 0x150358db8
movzx ecx, byte [rcx + 0x10]
lea rbx, [0x150000000]
movzx eax, byte [r9 + 0x11]
shl ecx, 8
or ecx, eax
movzx eax, byte [r9 + 0x12]
shl ecx, 8
or ecx, eax
movzx eax, byte [r9 + 0x13]
shl ecx, 8
or ecx, eax
mov dword [r11 + 0x10], ecx
movzx eax, byte [r9 + 0x15]
movzx ecx, byte [r9 + 0x14]
shl ecx, 8
or ecx, eax
movzx eax, byte [r9 + 0x16]
shl ecx, 8
or ecx, eax
movzx eax, byte [r9 + 0x17]
shl ecx, 8
or ecx, eax
mov dword [r11 + 0x14], ecx
movzx eax, byte [r9 + 0x19]
movzx ecx, byte [r9 + 0x18]
shl ecx, 8
or ecx, eax
movzx eax, byte [r9 + 0x1a]
shl ecx, 8
or ecx, eax
movzx eax, byte [r9 + 0x1b]
shl ecx, 8
or ecx, eax
mov dword [r11 + 0x18], ecx
movzx ecx, byte [r9 + 0x1c]
movzx edx, byte [r9 + 0x1d]
mov eax, ecx
movzx r8d, byte [r9 + 0x1e]
movzx r9d, byte [r9 + 0x1f]
shl eax, 8
or edx, eax
mov eax, edx
shl eax, 8
or r8d, eax
mov eax, r8d
shl eax, 8
or r9d, eax
movzx eax, dl
mov edx, dword [rbx + rcx*4 + 0x14eb40]
mov dword [r11 + 0x1c], r9d
xor edx, dword [rbx + rax*4 + 0x14f810]
movzx eax, r8b
xor edx, dword [rbx + rax*4 + 0x14bf10]
movzx eax, r9b
xor edx, dword [rbx + rax*4 + 0x14cb10]
xor edx, esi
mov rsi, 0xffffffffffffffd0
btc edx, 0x18
xor r10d, edx
mov dword [r11 + 0x20], edx
mov dword [r11 + 0x24], r10d
xor r10d, r14d
mov dword [r11 + 0x28], r10d
lea r14, [0x15014df2c]
xor r10d, edi
lea rdi, [0x15014df14]
mov dword [r11 + 0x2c], r10d
sub rsi, r11
lea r10, [r11 + 0x30]
mov r8d, dword [r10 - 4]
ror r8d, 8
mov eax, r8d
mov edx, r8d
shr eax, 0x10
movzx ecx, al
mov eax, r8d
shr eax, 8
shr rdx, 0x18
mov r9d, dword [rbx + rdx*4 + 0x14eb40]
xor r9d, dword [rbx + rcx*4 + 0x14f810]
movzx ecx, al
movzx eax, r8b
xor r9d, dword [rbx + rcx*4 + 0x14bf10]
xor r9d, dword [rbx + rax*4 + 0x14cb10]
xor r9d, dword [r10 - 0x20]
mov dword [r10], r9d
xor r9d, dword [r10 - 0x1c]
mov dword [r10 + 4], r9d
xor r9d, dword [r10 - 0x18]
mov dword [r10 + 8], r9d
xor r9d, dword [r10 - 0x14]
mov dword [r10 + 0xc], r9d
lea r10, [r10 + 0x20]
lea rax, [rsi + r10]
sar rax, 2
mov r8d, dword [r11 + rax*4 + 0x1c]
mov eax, r8d
mov edx, r8d
shr eax, 0x10
movzx ecx, al
mov eax, r8d
shr eax, 8
shr rdx, 0x18
mov r9d, dword [rbx + rdx*4 + 0x14eb40]
xor r9d, dword [rbx + rcx*4 + 0x14f810]
movzx ecx, al
movzx eax, r8b
xor r9d, dword [rbx + rcx*4 + 0x14bf10]
xor r9d, dword [rbx + rax*4 + 0x14cb10]
xor r9d, dword [r10 - 0x30]
xor r9d, dword [rdi]
add rdi, 4
mov dword [r10 - 0x10], r9d
xor r9d, dword [r10 - 0x2c]
mov dword [r10 - 0xc], r9d
xor r9d, dword [r10 - 0x28]
mov dword [r10 - 8], r9d
xor r9d, dword [r10 - 0x24]
mov dword [r10 - 4], r9d
cmp rdi, r14
jne 0x150358b53
lea r10, [r11 + 0xf0]
mov esi, 1
lea eax, [rbp + 0x1c]
movsxd rdi, eax
add rdi, 0xfffffffffffffffc
lea rdi, [r11 + rdi*4]
mov eax, dword [rdi]
mov dword [r10], eax
mov eax, dword [rdi + 4]
mov dword [r10 + 4], eax
mov eax, dword [rdi + 8]
mov dword [r10 + 8], eax
mov eax, dword [rdi + 0xc]
mov dword [r10 + 0xc], eax
cmp dword [r11 + 0x1e0], esi
jle 0x150358d98
sub rdi, 0x10
add r10, 0x10
inc esi
mov eax, dword [rdi]
mov edx, dword [rdi]
shr eax, 0x10
movzx ecx, al
mov eax, dword [rdi]
shr eax, 8
shr rdx, 0x18
mov r8d, dword [rbx + rdx*4 + 0x14cf10]
xor r8d, dword [rbx + rcx*4 + 0x14db10]
movzx ecx, al
movzx eax, byte [rdi]
xor r8d, dword [rbx + rcx*4 + 0x14f410]
xor r8d, dword [rbx + rax*4 + 0x14e340]
mov dword [r10], r8d
mov r9d, dword [rdi + 4]
mov eax, r9d
mov edx, r9d
shr eax, 0x10
movzx ecx, al
mov eax, r9d
shr eax, 8
shr rdx, 0x18
mov r8d, dword [rbx + rdx*4 + 0x14cf10]
xor r8d, dword [rbx + rcx*4 + 0x14db10]
movzx ecx, al
movzx eax, r9b
xor r8d, dword [rbx + rcx*4 + 0x14f410]
xor r8d, dword [rbx + rax*4 + 0x14e340]
mov dword [r10 + 4], r8d
mov r9d, dword [rdi + 8]
mov eax, r9d
mov edx, r9d
shr eax, 0x10
movzx ecx, al
mov eax, r9d
shr eax, 8
shr rdx, 0x18
mov r8d, dword [rbx + rdx*4 + 0x14cf10]
xor r8d, dword [rbx + rcx*4 + 0x14db10]
movzx ecx, al
movzx eax, r9b
xor r8d, dword [rbx + rcx*4 + 0x14f410]
xor r8d, dword [rbx + rax*4 + 0x14e340]
mov dword [r10 + 8], r8d
mov r9d, dword [rdi + 0xc]
mov eax, r9d
mov edx, r9d
shr eax, 0x10
movzx ecx, al
mov eax, r9d
shr eax, 8
shr rdx, 0x18
mov r8d, dword [rbx + rdx*4 + 0x14cf10]
xor r8d, dword [rbx + rcx*4 + 0x14db10]
movzx ecx, al
movzx eax, r9b
xor r8d, dword [rbx + rcx*4 + 0x14f410]
xor r8d, dword [rbx + rax*4 + 0x14e340]
mov dword [r10 + 0xc], r8d
cmp esi, dword [r11 + 0x1e0]
jl 0x150358c76
mov eax, dword [rdi - 0x10]
mov dword [r10 + 0x10], eax
mov eax, dword [rdi - 0xc]
mov dword [r10 + 0x14], eax
mov eax, dword [rdi - 8]
mov dword [r10 + 0x18], eax
mov eax, dword [rdi - 4]
mov dword [r10 + 0x1c], eax
xor eax, eax
jmp 0x150358dcb
mov eax, 1
jmp 0x150358dcb
mov eax, 3
jmp 0x150358dcb
mov eax, reloc.OLEAUT32.dll_SafeArrayGetDim
mov rbx, qword [rsp + 0x10]
mov rbp, qword [rsp + 0x18]
mov rsi, qword [rsp + 0x20]
mov rdi, qword [rsp + 0x28]
pop r14
ret