Function at 0x18000ce80
Capabilities:
Encode data using xor

Disassembly:
push r12
push r15
sub rsp, 0x18
mov r12, rcx
xor r15d, r15d
mov ecx, r8d
add ecx, 0xffffff80
mov r9d, r8d
mov dword [0x1800213f8], r15d
je 0x18000ced3
sub ecx, 0x40
je 0x18000cec5
cmp ecx, 0x40
je 0x18000ceb7
lea eax, [r15 + 1]
add rsp, 0x18
pop r15
pop r12
ret
mov dword [r12 + 0x200], 0xe
jmp 0x18000cedf
mov dword [r12 + 0x200], 0xc
jmp 0x18000cedf
mov dword [r12 + 0x200], 0xa
mov qword [rsp + 0x38], rbp
mov eax, r8d
mov qword [rsp], r14
sar eax, 5
mov rbp, r12
test eax, eax
jle 0x18000cf31
mov r8, r12
add rdx, 2
mov r10d, eax
nop
movzx eax, byte [rdx - 1]
movzx ecx, byte [rdx - 2]
add r8, 4
shl ecx, 8
add rdx, 4
or ecx, eax
movzx eax, byte [rdx - 4]
shl ecx, 8
or ecx, eax
movzx eax, byte [rdx - 3]
shl ecx, 8
or ecx, eax
sub r10, 1
mov dword [r8 - 4], ecx
jne 0x18000cf00
add r9d, 0xffffff80
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x10], rdi
mov qword [rsp + 8], r13
lea r14, sym.version.dll_A8__Pe__JzV_Ko_hO_Mh_v8q__iZ_BHw
je 0x18000d289
sub r9d, 0x40
je 0x18000d06a
cmp r9d, 0x40
jne 0x18000d4be
lea r11, [0x18001aaa0]
lea rbx, [0x18001aabc]
nop
nop
nop
nop
mov r10d, dword [rbp + 0x1c]
add r11, 4
add rbp, 0x20
mov eax, r10d
shr eax, 0x10
movzx ecx, al
mov eax, r10d
mov edx, dword [r14 + rcx*4 + 0x182a0]
shr eax, 8
movzx ecx, al
shl edx, 8
movzx eax, r10b
xor edx, dword [r14 + rcx*4 + 0x182a0]
shl edx, 8
xor edx, dword [r14 + rax*4 + 0x182a0]
mov eax, r10d
shr eax, 0x18
shl edx, 8
movzx ecx, al
mov eax, dword [rbp - 0x1c]
xor edx, dword [r14 + rcx*4 + 0x182a0]
mov ecx, dword [rbp - 0x18]
xor edx, dword [r11 - 4]
xor edx, dword [rbp - 0x20]
xor eax, edx
mov dword [rbp], edx
mov edx, dword [rbp - 0x14]
xor ecx, eax
mov dword [rbp + 4], eax
xor edx, ecx
mov dword [rbp + 8], ecx
mov dword [rbp + 0xc], edx
mov eax, edx
shr eax, 0x18
movzx ecx, al
mov eax, edx
shr edx, 8
mov r8d, dword [r14 + rcx*4 + 0x182a0]
shr eax, 0x10
shl r8d, 8
movzx ecx, al
movzx eax, dl
xor r8d, dword [r14 + rcx*4 + 0x182a0]
mov ecx, dword [rbp - 8]
shl r8d, 8
xor r8d, dword [r14 + rax*4 + 0x182a0]
movzx eax, byte [rbp + 0xc]
shl r8d, 8
xor r8d, dword [r14 + rax*4 + 0x182a0]
mov eax, dword [rbp - 0xc]
xor r8d, dword [rbp - 0x10]
xor eax, r8d
mov dword [rbp + 0x10], r8d
xor ecx, eax
mov dword [rbp + 0x14], eax
xor r10d, ecx
cmp r11, rbx
mov dword [rbp + 0x18], ecx
mov dword [rbp + 0x1c], r10d
jl 0x18000cf80
jmp 0x18000d4be
mov qword [rsp + 0x40], rsi
lea r13, [0x18001aaa4]
lea r15, [0x18001aac4]
nop
mov edi, dword [rbp + 0x14]
mov esi, dword [rbp + 4]
mov edx, dword [rbp + 8]
mov r8d, dword [rbp + 0xc]
mov r9d, dword [rbp + 0x10]
mov eax, edi
shr eax, 0x10
movzx ecx, al
mov eax, edi
mov r10d, dword [r14 + rcx*4 + 0x182a0]
shr eax, 8
movzx ecx, al
shl r10d, 8
movzx eax, dil
xor r10d, dword [r14 + rcx*4 + 0x182a0]
shl r10d, 8
xor r10d, dword [r14 + rax*4 + 0x182a0]
mov eax, edi
shr eax, 0x18
shl r10d, 8
movzx ecx, al
xor r10d, dword [r14 + rcx*4 + 0x182a0]
xor r10d, dword [r13 - 4]
xor r10d, dword [rbp]
mov dword [rbp + 0x18], r10d
xor esi, r10d
mov dword [rbp + 0x1c], esi
xor edx, esi
mov dword [rbp + 0x20], edx
xor r8d, edx
mov dword [rbp + 0x24], r8d
xor r9d, r8d
xor edi, r9d
mov dword [rbp + 0x28], r9d
mov dword [rbp + 0x2c], edi
mov eax, edi
shr eax, 0x10
movzx ecx, al
mov eax, edi
mov r11d, dword [r14 + rcx*4 + 0x182a0]
shr eax, 8
movzx ecx, al
shl r11d, 8
movzx eax, dil
xor r11d, dword [r14 + rcx*4 + 0x182a0]
shl r11d, 8
xor r11d, dword [r14 + rax*4 + 0x182a0]
mov eax, edi
shr eax, 0x18
shl r11d, 8
movzx ecx, al
xor r11d, dword [r14 + rcx*4 + 0x182a0]
xor r11d, dword [r13]
xor r11d, r10d
xor esi, r11d
mov dword [rbp + 0x30], r11d
mov dword [rbp + 0x34], esi
mov r10d, esi
xor r10d, edx
mov dword [rbp + 0x38], r10d
mov edx, r10d
xor edx, r8d
mov dword [rbp + 0x3c], edx
mov r8d, edx
xor r8d, r9d
mov dword [rbp + 0x40], r8d
mov ebx, r8d
xor ebx, edi
mov dword [rbp + 0x44], ebx
mov eax, ebx
shr eax, 0x10
movzx ecx, al
mov eax, ebx
mov edi, dword [r14 + rcx*4 + 0x182a0]
shr eax, 8
shl edi, 8
movzx ecx, al
movzx eax, bl
xor edi, dword [r14 + rcx*4 + 0x182a0]
shl edi, 8
xor edi, dword [r14 + rax*4 + 0x182a0]
shl edi, 8
mov eax, ebx
add r13, 0x10
shr eax, 0x18
add rbp, 0x60
movzx ecx, al
xor edi, dword [r14 + rcx*4 + 0x182a0]
xor edi, dword [r13 - 0xc]
xor edi, r11d
xor esi, edi
mov dword [rbp - 0x18], edi
mov dword [rbp - 0x14], esi
mov r11d, esi
xor r11d, r10d
mov dword [rbp - 0x10], r11d
mov r10d, r11d
xor r10d, edx
mov dword [rbp - 0xc], r10d
mov r9d, r10d
xor r9d, r8d
mov dword [rbp - 8], r9d
mov r8d, r9d
xor r8d, ebx
mov dword [rbp - 4], r8d
mov eax, r8d
shr eax, 0x10
movzx ecx, al
mov eax, r8d
mov edx, dword [r14 + rcx*4 + 0x182a0]
shr eax, 8
shl edx, 8
movzx ecx, al
movzx eax, r8b
xor edx, dword [r14 + rcx*4 + 0x182a0]
shl edx, 8
xor edx, dword [r14 + rax*4 + 0x182a0]
mov eax, r8d
shl edx, 8
shr eax, 0x18
movzx ecx, al
xor edx, dword [r14 + rcx*4 + 0x182a0]
xor edx, dword [r13 - 8]
xor edx, edi
xor esi, edx
mov dword [rbp], edx
mov dword [rbp + 4], esi
xor esi, r11d
mov dword [rbp + 8], esi
xor esi, r10d
mov dword [rbp + 0xc], esi
xor esi, r9d
mov dword [rbp + 0x10], esi
xor esi, r8d
cmp r13, r15
mov dword [rbp + 0x14], esi
jl 0x18000d080
mov rsi, qword [rsp + 0x40]
xor r15d, r15d
jmp 0x18000d4be
lea r13, [0x18001aaa4]
lea rdi, [0x18001aacc]
nop
nop
nop
mov edx, dword [rbp + 0xc]
mov r8d, dword [rbp + 4]
mov eax, edx
shr eax, 0x10
movzx ecx, al
mov eax, edx
mov r10d, dword [r14 + rcx*4 + 0x182a0]
shr eax, 8
movzx ecx, al
movzx eax, dl
shl r10d, 8
xor r10d, dword [r14 + rcx*4 + 0x182a0]
shl r10d, 8
xor r10d, dword [r14 + rax*4 + 0x182a0]
mov eax, edx
shr eax, 0x18
shl r10d, 8
movzx ecx, al
xor r10d, dword [r14 + rcx*4 + 0x182a0]
xor r10d, dword [r13 - 4]
xor r10d, dword [rbp]
xor r8d, r10d
mov dword [rbp + 0x10], r10d
mov dword [rbp + 0x14], r8d
mov r9d, r8d
xor r9d, dword [rbp + 8]
mov dword [rbp + 0x18], r9d
mov ebx, r9d
xor ebx, edx
mov dword [rbp + 0x1c], ebx
mov eax, ebx
shr eax, 0x10
movzx ecx, al
mov eax, ebx
mov edx, dword [r14 + rcx*4 + 0x182a0]
shr eax, 8
movzx ecx, al
shl edx, 8
movzx eax, bl
xor edx, dword [r14 + rcx*4 + 0x182a0]
shl edx, 8
xor edx, dword [r14 + rax*4 + 0x182a0]
mov eax, ebx
shr eax, 0x18
shl edx, 8
movzx ecx, al
xor edx, dword [r14 + rcx*4 + 0x182a0]
xor edx, dword [r13]
xor edx, r10d
mov dword [rbp + 0x20], edx
mov r10d, edx
xor r10d, r8d
mov dword [rbp + 0x24], r10d
mov r11d, r10d
xor r11d, r9d
xor ebx, r11d
mov dword [rbp + 0x28], r11d
mov dword [rbp + 0x2c], ebx
mov eax, ebx
shr eax, 0x10
movzx ecx, al
mov eax, ebx
mov r8d, dword [r14 + rcx*4 + 0x182a0]
shr eax, 8
shl r8d, 8
movzx ecx, al
movzx eax, bl
xor r8d, dword [r14 + rcx*4 + 0x182a0]
shl r8d, 8
xor r8d, dword [r14 + rax*4 + 0x182a0]
mov eax, ebx
shl r8d, 8
shr eax, 0x18
movzx ecx, al
xor r8d, dword [r14 + rcx*4 + 0x182a0]
xor r8d, dword [r13 + 4]
xor r8d, edx
xor r10d, r8d
mov dword [rbp + 0x30], r8d
mov dword [rbp + 0x34], r10d
xor r11d, r10d
mov dword [rbp + 0x38], r11d
xor ebx, r11d
add r13, 0x14
mov dword [rbp + 0x3c], ebx
mov eax, ebx
add rbp, 0x50
shr eax, 0x10
movzx ecx, al
mov eax, ebx
mov r9d, dword [r14 + rcx*4 + 0x182a0]
shr eax, 8
movzx ecx, al
shl r9d, 8
movzx eax, bl
xor r9d, dword [r14 + rcx*4 + 0x182a0]
shl r9d, 8
xor r9d, dword [r14 + rax*4 + 0x182a0]
mov eax, ebx
shr eax, 0x18
shl r9d, 8
movzx ecx, al
xor r9d, dword [r14 + rcx*4 + 0x182a0]
xor r9d, dword [r13 - 0xc]
xor r9d, r8d
mov dword [rbp - 0x10], r9d
mov r8d, r9d
xor r8d, r10d
mov dword [rbp - 0xc], r8d
xor r11d, r8d
xor ebx, r11d
mov dword [rbp - 8], r11d
mov dword [rbp - 4], ebx
mov eax, ebx
shr eax, 0x10
movzx ecx, al
mov eax, ebx
mov edx, dword [r14 + rcx*4 + 0x182a0]
shr eax, 8
shl edx, 8
movzx ecx, al
movzx eax, bl
xor edx, dword [r14 + rcx*4 + 0x182a0]
shl edx, 8
xor edx, dword [r14 + rax*4 + 0x182a0]
mov eax, ebx
shl edx, 8
shr eax, 0x18
movzx ecx, al
xor edx, dword [r14 + rcx*4 + 0x182a0]
xor edx, dword [r13 - 8]
xor edx, r9d
xor r8d, edx
mov dword [rbp], edx
xor r11d, r8d
mov dword [rbp + 4], r8d
xor ebx, r11d
cmp r13, rdi
mov dword [rbp + 8], r11d
mov dword [rbp + 0xc], ebx
jl 0x18000d2a0
cmp dword [0x18001f2a0], 0
mov r13, qword [rsp + 8]
mov rdi, qword [rsp + 0x10]
mov rbx, qword [rsp + 0x30]
je 0x18000d618
mov rdx, r15
nop
mov ecx, dword [rdx + r14 + 0x182a0]
add rdx, 0x10
cmp rdx, 0x400
mov eax, dword [r14 + rcx*4 + 0x19aa0]
mov dword [rdx + r14 + 0x22f50], eax
mov eax, dword [r14 + rcx*4 + 0x19ea0]
mov dword [rdx + r14 + 0x22b50], eax
mov eax, dword [r14 + rcx*4 + 0x1a2a0]
mov dword [rdx + r14 + 0x22750], eax
mov eax, dword [r14 + rcx*4 + 0x1a6a0]
mov ecx, dword [rdx + r14 + 0x18294]
mov dword [rdx + r14 + 0x23350], eax
mov eax, dword [r14 + rcx*4 + 0x19aa0]
mov dword [rdx + r14 + 0x22f54], eax
mov eax, dword [r14 + rcx*4 + 0x19ea0]
mov dword [rdx + r14 + 0x22b54], eax
mov eax, dword [r14 + rcx*4 + 0x1a2a0]
mov dword [rdx + r14 + 0x22754], eax
mov eax, dword [r14 + rcx*4 + 0x1a6a0]
mov ecx, dword [rdx + r14 + 0x18298]
mov dword [rdx + r14 + 0x23354], eax
mov eax, dword [r14 + rcx*4 + 0x19aa0]
mov dword [rdx + r14 + 0x22f58], eax
mov eax, dword [r14 + rcx*4 + 0x19ea0]
mov dword [rdx + r14 + 0x22b58], eax
mov eax, dword [r14 + rcx*4 + 0x1a2a0]
mov dword [rdx + r14 + 0x22758], eax
mov eax, dword [r14 + rcx*4 + 0x1a6a0]
mov ecx, dword [rdx + r14 + 0x1829c]
mov dword [rdx + r14 + 0x23358], eax
mov eax, dword [r14 + rcx*4 + 0x19aa0]
mov dword [rdx + r14 + 0x22f5c], eax
mov eax, dword [r14 + rcx*4 + 0x19ea0]
mov dword [rdx + r14 + 0x22b5c], eax
mov eax, dword [r14 + rcx*4 + 0x1a2a0]
mov dword [rdx + r14 + 0x2275c], eax
mov eax, dword [r14 + rcx*4 + 0x1a6a0]
mov dword [rdx + r14 + 0x2335c], eax
jl 0x18000d4e0
mov dword [0x18001f2a0], r15d
mov eax, dword [rbp]
lea r10, [r12 + 0x100]
mov r11d, 1
mov dword [r10], eax
mov eax, dword [rbp + 4]
add r10, 0x10
mov dword [r10 - 0xc], eax
mov eax, dword [rbp + 8]
add rbp, 0x10
mov dword [r10 - 8], eax
mov eax, dword [rbp - 4]
mov dword [r10 - 4], eax
cmp dword [r12 + 0x200], r11d
jle 0x18000d792
nop
nop
nop
mov r9d, dword [rbp - 0x20]
add r11d, 1
add r10, 0x10
mov eax, r9d
add rbp, 0xfffffffffffffff0
shr eax, 0x18
movzx edx, al
mov eax, r9d
shr r9d, 8
mov r8d, dword [r14 + rdx*4 + 0x22f60]
shr eax, 0x10
movzx ecx, al
movzx eax, r9b
xor r8d, dword [r14 + rcx*4 + 0x22b60]
xor r8d, dword [r14 + rax*4 + 0x22760]
movzx eax, byte [rbp - 0x10]
xor r8d, dword [r14 + rax*4 + 0x23360]
mov dword [r10 - 0x10], r8d
mov r9d, dword [rbp - 0xc]
mov eax, r9d
shr eax, 0x18
movzx edx, al
mov eax, r9d
shr r9d, 8
mov r8d, dword [r14 + rdx*4 + 0x22f60]
shr eax, 0x10
movzx ecx, al
movzx eax, r9b
xor r8d, dword [r14 + rcx*4 + 0x22b60]
xor r8d, dword [r14 + rax*4 + 0x22760]
movzx eax, byte [rbp - 0xc]
xor r8d, dword [r14 + rax*4 + 0x23360]
mov dword [r10 - 0xc], r8d
mov r9d, dword [rbp - 8]
mov eax, r9d
shr eax, 0x18
movzx edx, al
mov eax, r9d
shr r9d, 8
mov r8d, dword [r14 + rdx*4 + 0x22f60]
shr eax, 0x10
movzx ecx, al
movzx eax, r9b
xor r8d, dword [r14 + rcx*4 + 0x22b60]
xor r8d, dword [r14 + rax*4 + 0x22760]
movzx eax, byte [rbp - 8]
xor r8d, dword [r14 + rax*4 + 0x23360]
mov dword [r10 - 8], r8d
mov r9d, dword [rbp - 4]
mov eax, r9d
shr eax, 0x18
movzx edx, al
mov eax, r9d
shr r9d, 8
mov r8d, dword [r14 + rdx*4 + 0x22f60]
shr eax, 0x10
movzx ecx, al
movzx eax, r9b
xor r8d, dword [r14 + rcx*4 + 0x22b60]
xor r8d, dword [r14 + rax*4 + 0x22760]
movzx eax, byte [rbp - 4]
xor r8d, dword [r14 + rax*4 + 0x23360]
mov dword [r10 - 4], r8d
cmp r11d, dword [r12 + 0x200]
jl 0x18000d660
mov eax, dword [rbp - 0x20]
mov r14, qword [rsp]
mov dword [r10], eax
mov eax, dword [rbp - 0x1c]
mov dword [r10 + 4], eax
mov eax, dword [rbp - 0x18]
mov dword [r10 + 8], eax
mov eax, dword [rbp - 0x14]
mov rbp, qword [rsp + 0x38]
mov dword [r10 + 0xc], eax
xor eax, eax
add rsp, 0x18
pop r15
pop r12
ret