Function at 0x14001613c
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 [0x140250040]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov rsi, qword [rcx + 8]
lea rdi, sym.MZ_KYX__nCiq_dRpf_LPp:j::J6hH:2AMD_t54D_hAaa
mov ebp, dword [rdx]
add rsi, 4
mov r14d, dword [rdx + 4]
mov ebx, 4
mov r15d, dword [rdx + 8]
mov r13, r8
mov r11d, dword [rcx]
mov r12d, dword [rdx + 0xc]
lea rsi, [rcx + rsi*4]
xor ebp, dword [rsi]
add rsi, rbx
sar r11d, 1
dec r11d
mov qword [rsp], r8
xor r14d, dword [rsi]
add rsi, rbx
xor r15d, dword [rsi]
add rsi, rbx
xor r12d, dword [rsi]
add rsi, rbx
test r11d, r11d
jle 0x1400163e5
lea r13, sym.MZ_KYX__nCiq_dRpf_LPp:j::J6hH:2AMD_t54D_hAaa
mov eax, r15d
mov edx, r12d
shr eax, 0x10
movzx ecx, al
mov eax, r14d
shr eax, 8
shr rdx, 0x18
mov r10d, dword [r13 + rdx*4 + 0x26d860]
xor r10d, dword [r13 + rcx*4 + 0x26dc60]
movzx ecx, al
movzx eax, bpl
xor r10d, dword [r13 + rcx*4 + 0x26e860]
xor r10d, dword [r13 + rax*4 + 0x26ec60]
mov eax, r12d
xor r10d, dword [rsi]
add rsi, rbx
shr eax, 0x10
movzx edx, al
mov eax, r15d
shr eax, 8
movzx ecx, al
mov eax, ebp
mov r9d, dword [r13 + rdx*4 + 0x26dc60]
shr rax, 0x18
xor r9d, dword [r13 + rcx*4 + 0x26e860]
xor r9d, dword [r13 + rax*4 + 0x26d860]
movzx eax, r14b
xor r9d, dword [r13 + rax*4 + 0x26ec60]
mov eax, r12d
xor r9d, dword [rsi]
add rsi, rbx
shr eax, 8
movzx ecx, al
mov eax, r14d
shr rax, 0x18
shr r14d, 0x10
mov edx, dword [r13 + rcx*4 + 0x26e860]
xor edx, dword [r13 + rax*4 + 0x26d860]
mov eax, ebp
shr eax, 0x10
movzx ecx, al
shr ebp, 8
movzx eax, r15b
xor edx, dword [r13 + rcx*4 + 0x26dc60]
mov ecx, r15d
xor edx, dword [r13 + rax*4 + 0x26ec60]
xor edx, dword [rsi]
add rsi, rbx
shr rcx, 0x18
movzx eax, r14b
mov r8d, edx
mov edi, dword [r13 + rcx*4 + 0x26d860]
xor edi, dword [r13 + rax*4 + 0x26dc60]
movzx eax, bpl
xor edi, dword [r13 + rax*4 + 0x26e860]
movzx eax, r12b
xor edi, dword [r13 + rax*4 + 0x26ec60]
mov eax, edx
xor edi, dword [rsi]
add rsi, rbx
shr eax, 0x10
movzx edx, al
mov eax, r9d
shr eax, 8
movzx ecx, al
mov eax, edi
shr rax, 0x18
mov ebp, dword [r13 + rdx*4 + 0x26dc60]
xor ebp, dword [r13 + rcx*4 + 0x26e860]
xor ebp, dword [r13 + rax*4 + 0x26d860]
movzx eax, r10b
xor ebp, dword [r13 + rax*4 + 0x26ec60]
mov eax, r8d
xor ebp, dword [rsi]
add rsi, rbx
shr eax, 8
movzx ecx, al
mov eax, r10d
shr rax, 0x18
mov r14d, dword [r13 + rcx*4 + 0x26e860]
xor r14d, dword [r13 + rax*4 + 0x26d860]
mov eax, edi
mov edx, r9d
shr eax, 0x10
dec r11d
movzx ecx, al
movzx eax, r9b
shr rdx, 0x18
shr r9d, 0x10
xor r14d, dword [r13 + rcx*4 + 0x26dc60]
xor r14d, dword [r13 + rax*4 + 0x26ec60]
mov eax, r10d
xor r14d, dword [rsi]
add rsi, rbx
mov r15d, dword [r13 + rdx*4 + 0x26d860]
shr eax, 0x10
movzx ecx, al
mov eax, edi
shr eax, 8
shr r10d, 8
xor r15d, dword [r13 + rcx*4 + 0x26dc60]
movzx ecx, al
movzx eax, r8b
shr r8, 0x18
xor r15d, dword [r13 + rcx*4 + 0x26e860]
xor r15d, dword [r13 + rax*4 + 0x26ec60]
xor r15d, dword [rsi]
add rsi, rbx
mov r12d, dword [r13 + r8*4 + 0x26d860]
movzx eax, r9b
xor r12d, dword [r13 + rax*4 + 0x26dc60]
movzx eax, r10b
xor r12d, dword [r13 + rax*4 + 0x26e860]
movzx eax, dil
xor r12d, dword [r13 + rax*4 + 0x26ec60]
xor r12d, dword [rsi]
add rsi, rbx
test r11d, r11d
jg 0x1400161c4
mov r13, qword [rsp]
lea rdi, sym.MZ_KYX__nCiq_dRpf_LPp:j::J6hH:2AMD_t54D_hAaa
mov eax, r15d
mov edx, r12d
shr eax, 0x10
movzx ecx, al
mov eax, r14d
shr eax, 8
shr rdx, 0x18
mov ebx, dword [rdi + rdx*4 + 0x26d860]
xor ebx, dword [rdi + rcx*4 + 0x26dc60]
movzx ecx, al
movzx eax, bpl
xor ebx, dword [rdi + rcx*4 + 0x26e860]
xor ebx, dword [rdi + rax*4 + 0x26ec60]
mov eax, r12d
xor ebx, dword [rsi]
shr eax, 0x10
movzx edx, al
mov eax, r15d
shr eax, 8
movzx ecx, al
mov eax, ebp
mov r11d, dword [rdi + rdx*4 + 0x26dc60]
shr rax, 0x18
xor r11d, dword [rdi + rcx*4 + 0x26e860]
xor r11d, dword [rdi + rax*4 + 0x26d860]
movzx eax, r14b
xor r11d, dword [rdi + rax*4 + 0x26ec60]
mov eax, r12d
xor r11d, dword [rsi + 4]
shr eax, 8
movzx ecx, al
mov eax, r14d
shr rax, 0x18
shr r14d, 0x10
mov r10d, dword [rdi + rcx*4 + 0x26e860]
xor r10d, dword [rdi + rax*4 + 0x26d860]
mov eax, ebp
shr eax, 0x10
movzx ecx, al
movzx eax, r15b
shr ebp, 8
xor r10d, dword [rdi + rcx*4 + 0x26dc60]
xor r10d, dword [rdi + rax*4 + 0x26ec60]
xor r10d, dword [rsi + 8]
movzx eax, r14b
mov ecx, r15d
shr rcx, 0x18
mov edx, dword [rdi + rcx*4 + 0x26d860]
xor edx, dword [rdi + rax*4 + 0x26dc60]
movzx eax, bpl
xor edx, dword [rdi + rax*4 + 0x26e860]
movzx eax, r12b
xor edx, dword [rdi + rax*4 + 0x26ec60]
xor edx, dword [rsi + 0xc]
mov eax, edx
shr rax, 0x18
mov r8d, edx
movzx r9d, byte [rax + rdi + 0x26d230]
mov eax, r10d
shr eax, 0x10
movzx ecx, al
shl r9d, 8
movzx eax, byte [rcx + rdi + 0x26d230]
xor r9d, eax
mov eax, r11d
shr eax, 8
movzx ecx, al
shl r9d, 8
movzx eax, byte [rcx + rdi + 0x26d230]
xor r9d, eax
movzx eax, bl
shl r9d, 8
movzx eax, byte [rax + rdi + 0x26d230]
xor r9d, eax
mov eax, ebx
xor r9d, dword [rsi + 0x10]
shr rax, 0x18
movzx edi, byte [rax + rdi + 0x26d230]
mov eax, edx
shl edi, 8
shr eax, 0x10
movzx ecx, al
lea r14, sym.MZ_KYX__nCiq_dRpf_LPp:j::J6hH:2AMD_t54D_hAaa
movzx eax, byte [rcx + r14 + 0x26d230]
xor edi, eax
mov eax, r10d
shr eax, 8
movzx ecx, al
shl edi, 8
movzx eax, byte [rcx + r14 + 0x26d230]
xor edi, eax
movzx eax, r11b
shl edi, 8
movzx eax, byte [rax + r14 + 0x26d230]
xor edi, eax
mov eax, r11d
xor edi, dword [rsi + 0x14]
shr rax, 0x18
shr r11d, 0x10
movzx edx, byte [rax + r14 + 0x26d230]
mov eax, ebx
shr eax, 0x10
movzx ecx, al
shl edx, 8
shr ebx, 8
movzx eax, byte [rcx + r14 + 0x26d230]
xor edx, eax
mov eax, r8d
shr eax, 8
movzx ecx, al
shl edx, 8
movzx eax, byte [rcx + r14 + 0x26d230]
xor edx, eax
movzx eax, r10b
shl edx, 8
shr r10, 0x18
movzx eax, byte [rax + r14 + 0x26d230]
xor edx, eax
movzx eax, r11b
xor edx, dword [rsi + 0x18]
movzx ecx, byte [r10 + r14 + 0x26d230]
shl ecx, 8
movzx eax, byte [rax + r14 + 0x26d230]
xor ecx, eax
movzx eax, bl
shl ecx, 8
movzx eax, byte [rax + r14 + 0x26d230]
xor ecx, eax
movzx eax, r8b
shl ecx, 8
movzx eax, byte [rax + r14 + 0x26d230]
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.14014f050
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