Function at 0x140016400
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov rax, qword [0x140230040]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov rsi, qword [rcx + 8]
lea rdi, sym.MZ__EK3tihnfyn:sdGOhulW__sGsI7___x_T_.HuMBYZm
mov r15d, dword [rdx]
add rsi, 4
mov ebp, dword [rdx + 4]
mov ebx, 4
mov r14d, dword [rdx + 8]
mov r13, r8
mov r11d, dword [rcx]
mov r12d, dword [rdx + 0xc]
lea rsi, [rcx + rsi*4]
xor r15d, dword [rsi]
add rsi, rbx
sar r11d, 1
dec r11d
mov qword [rsp], r8
xor ebp, dword [rsi]
add rsi, rbx
xor r14d, dword [rsi]
add rsi, rbx
xor r12d, dword [rsi]
add rsi, rbx
test r11d, r11d
jle 0x1400166a8
lea r13, sym.MZ__EK3tihnfyn:sdGOhulW__sGsI7___x_T_.HuMBYZm
mov eax, r12d
shr eax, 8
movzx edx, al
mov eax, r14d
shr eax, 0x10
movzx ecx, al
mov eax, ebp
mov r10d, dword [r13 + rdx*4 + 0x24d680]
shr rax, 0x18
xor r10d, dword [r13 + rcx*4 + 0x24e680]
mov edx, r12d
shr rdx, 0x18
xor r10d, dword [r13 + rax*4 + 0x24c950]
movzx eax, r15b
mov r8d, dword [r13 + rdx*4 + 0x24c950]
xor r10d, dword [r13 + rax*4 + 0x24da80]
mov eax, r12d
xor r10d, dword [rsi]
add rsi, rbx
shr eax, 0x10
movzx ecx, al
mov eax, r14d
shr rax, 0x18
mov r9d, dword [r13 + rcx*4 + 0x24e680]
xor r9d, dword [r13 + rax*4 + 0x24c950]
mov eax, r15d
shr eax, 8
movzx ecx, al
movzx eax, bpl
xor r9d, dword [r13 + rcx*4 + 0x24d680]
xor r9d, dword [r13 + rax*4 + 0x24da80]
mov eax, ebp
xor r9d, dword [rsi]
add rsi, rbx
shr eax, 8
mov edx, r9d
movzx ecx, al
mov eax, r15d
shr eax, 0x10
shr rdx, 0x18
shr ebp, 0x10
xor r8d, dword [r13 + rcx*4 + 0x24d680]
movzx ecx, al
movzx eax, r14b
shr r14d, 8
xor r8d, dword [r13 + rcx*4 + 0x24e680]
xor r8d, dword [r13 + rax*4 + 0x24da80]
xor r8d, dword [rsi]
add rsi, rbx
movzx eax, bpl
movzx ecx, r14b
mov edi, dword [r13 + rcx*4 + 0x24d680]
xor edi, dword [r13 + rax*4 + 0x24e680]
mov eax, r15d
mov r15d, dword [r13 + rdx*4 + 0x24c950]
mov edx, r8d
shr rax, 0x18
shr rdx, 0x18
xor edi, dword [r13 + rax*4 + 0x24c950]
mov ebp, dword [r13 + rdx*4 + 0x24c950]
movzx eax, r12b
xor edi, dword [r13 + rax*4 + 0x24da80]
mov eax, r8d
xor edi, dword [rsi]
add rsi, rbx
shr eax, 0x10
movzx ecx, al
mov eax, edi
shr eax, 8
xor r15d, dword [r13 + rcx*4 + 0x24e680]
movzx ecx, al
movzx eax, r10b
xor r15d, dword [r13 + rcx*4 + 0x24d680]
xor r15d, dword [r13 + rax*4 + 0x24da80]
mov eax, edi
xor r15d, dword [rsi]
add rsi, rbx
shr eax, 0x10
movzx ecx, al
mov eax, r10d
xor ebp, dword [r13 + rcx*4 + 0x24e680]
shr eax, 8
dec r11d
movzx ecx, al
movzx eax, r9b
xor ebp, dword [r13 + rcx*4 + 0x24d680]
xor ebp, dword [r13 + rax*4 + 0x24da80]
mov eax, r9d
xor ebp, dword [rsi]
add rsi, rbx
shr eax, 8
movzx ecx, al
mov eax, edi
shr rax, 0x18
shr r9d, 0x10
mov r14d, dword [r13 + rcx*4 + 0x24d680]
xor r14d, dword [r13 + rax*4 + 0x24c950]
mov eax, r10d
shr eax, 0x10
movzx ecx, al
movzx eax, r8b
shr r8d, 8
shr r10, 0x18
xor r14d, dword [r13 + rcx*4 + 0x24e680]
xor r14d, dword [r13 + rax*4 + 0x24da80]
xor r14d, dword [rsi]
add rsi, rbx
movzx eax, r8b
movzx ecx, r9b
mov r12d, dword [r13 + rcx*4 + 0x24e680]
xor r12d, dword [r13 + rax*4 + 0x24d680]
xor r12d, dword [r13 + r10*4 + 0x24c950]
movzx eax, dil
xor r12d, dword [r13 + rax*4 + 0x24da80]
xor r12d, dword [rsi]
add rsi, rbx
test r11d, r11d
jg 0x140016488
mov r13, qword [rsp]
lea rdi, sym.MZ__EK3tihnfyn:sdGOhulW__sGsI7___x_T_.HuMBYZm
mov eax, r12d
shr eax, 8
movzx edx, al
mov eax, r14d
shr eax, 0x10
movzx ecx, al
mov eax, ebp
mov ebx, dword [rdi + rdx*4 + 0x24d680]
shr rax, 0x18
xor ebx, dword [rdi + rcx*4 + 0x24e680]
mov edx, r12d
shr rdx, 0x18
xor ebx, dword [rdi + rax*4 + 0x24c950]
movzx eax, r15b
mov r10d, dword [rdi + rdx*4 + 0x24c950]
xor ebx, dword [rdi + rax*4 + 0x24da80]
mov eax, r12d
xor ebx, dword [rsi]
shr eax, 0x10
movzx ecx, al
mov eax, r14d
shr rax, 0x18
mov r11d, dword [rdi + rcx*4 + 0x24e680]
xor r11d, dword [rdi + rax*4 + 0x24c950]
mov eax, r15d
shr eax, 8
movzx ecx, al
movzx eax, bpl
xor r11d, dword [rdi + rcx*4 + 0x24d680]
xor r11d, dword [rdi + rax*4 + 0x24da80]
mov eax, ebp
xor r11d, dword [rsi + 4]
shr eax, 8
movzx ecx, al
mov eax, r15d
shr eax, 0x10
shr ebp, 0x10
xor r10d, dword [rdi + rcx*4 + 0x24d680]
movzx ecx, al
movzx eax, r14b
shr r14d, 8
xor r10d, dword [rdi + rcx*4 + 0x24e680]
xor r10d, dword [rdi + rax*4 + 0x24da80]
xor r10d, dword [rsi + 8]
movzx ecx, r14b
movzx eax, bpl
mov edx, dword [rdi + rcx*4 + 0x24d680]
xor edx, dword [rdi + rax*4 + 0x24e680]
mov eax, r15d
shr rax, 0x18
xor edx, dword [rdi + rax*4 + 0x24c950]
movzx eax, r12b
xor edx, dword [rdi + rax*4 + 0x24da80]
mov eax, r11d
xor edx, dword [rsi + 0xc]
shr rax, 0x18
mov r8d, edx
movzx r9d, byte [rax + rdi + 0x24cd50]
mov eax, r10d
shr eax, 0x10
movzx ecx, al
shl r9d, 8
movzx eax, byte [rcx + rdi + 0x24cd50]
xor r9d, eax
mov eax, edx
shr eax, 8
movzx ecx, al
shl r9d, 8
movzx eax, byte [rcx + rdi + 0x24cd50]
xor r9d, eax
movzx eax, bl
shl r9d, 8
movzx eax, byte [rax + rdi + 0x24cd50]
xor r9d, eax
mov eax, r10d
xor r9d, dword [rsi + 0x10]
shr rax, 0x18
movzx edi, byte [rax + rdi + 0x24cd50]
mov eax, edx
shl edi, 8
shr eax, 0x10
movzx ecx, al
lea r14, sym.MZ__EK3tihnfyn:sdGOhulW__sGsI7___x_T_.HuMBYZm
movzx eax, byte [rcx + r14 + 0x24cd50]
xor edi, eax
mov eax, ebx
shr eax, 8
movzx ecx, al
shl edi, 8
movzx eax, byte [rcx + r14 + 0x24cd50]
xor edi, eax
movzx eax, r11b
shl edi, 8
movzx eax, byte [rax + r14 + 0x24cd50]
xor edi, eax
mov eax, edx
xor edi, dword [rsi + 0x14]
shr rax, 0x18
movzx edx, byte [rax + r14 + 0x24cd50]
mov eax, ebx
shr eax, 0x10
movzx ecx, al
shl edx, 8
shr rbx, 0x18
movzx eax, byte [rcx + r14 + 0x24cd50]
xor edx, eax
mov eax, r11d
shr eax, 8
movzx ecx, al
shl edx, 8
shr r11d, 0x10
movzx eax, byte [rcx + r14 + 0x24cd50]
movzx ecx, byte [rbx + r14 + 0x24cd50]
xor edx, eax
shl ecx, 8
movzx eax, r10b
shl edx, 8
shr r10d, 8
movzx eax, byte [rax + r14 + 0x24cd50]
xor edx, eax
movzx eax, r11b
xor edx, dword [rsi + 0x18]
movzx eax, byte [rax + r14 + 0x24cd50]
xor ecx, eax
movzx eax, r10b
shl ecx, 8
movzx eax, byte [rax + r14 + 0x24cd50]
xor ecx, eax
movzx eax, r8b
shl ecx, 8
movzx eax, byte [rax + r14 + 0x24cd50]
xor ecx, eax
xor ecx, dword [rsi + 0x1c]
xor eax, eax
mov dword [r13 + 4], edi
mov dword [r13 + 0xc], ecx
lea rdi, [rsp + 8]
mov dword [r13], r9d
mov dword [r13 + 8], edx
lea ecx, [rax + 0x20]
rep stosb byte [rdi], al
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.140138940
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x78]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
ret