Function at 0x14001666c
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 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 0x140016915
lea r13, sym.MZ_KYX__nCiq_dRpf_LPp:j::J6hH:2AMD_t54D_hAaa
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 + 0x26e060]
shr rax, 0x18
xor r10d, dword [r13 + rcx*4 + 0x26f060]
mov edx, r12d
shr rdx, 0x18
xor r10d, dword [r13 + rax*4 + 0x26d330]
movzx eax, r15b
mov edx, dword [r13 + rdx*4 + 0x26d330]
xor r10d, dword [r13 + rax*4 + 0x26e460]
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 + 0x26f060]
xor r9d, dword [r13 + rax*4 + 0x26d330]
mov eax, r15d
shr eax, 8
movzx ecx, al
movzx eax, bpl
xor r9d, dword [r13 + rcx*4 + 0x26e060]
xor r9d, dword [r13 + rax*4 + 0x26e460]
mov eax, ebp
xor r9d, dword [rsi]
add rsi, rbx
shr eax, 8
movzx ecx, al
mov eax, r15d
shr eax, 0x10
shr ebp, 0x10
xor edx, dword [r13 + rcx*4 + 0x26e060]
movzx ecx, al
movzx eax, r14b
shr r14d, 8
xor edx, dword [r13 + rcx*4 + 0x26f060]
xor edx, dword [r13 + rax*4 + 0x26e460]
xor edx, dword [rsi]
add rsi, rbx
movzx eax, bpl
mov r8d, edx
movzx ecx, r14b
mov edi, dword [r13 + rcx*4 + 0x26e060]
xor edi, dword [r13 + rax*4 + 0x26f060]
mov eax, r15d
shr rax, 0x18
xor edi, dword [r13 + rax*4 + 0x26d330]
movzx eax, r12b
xor edi, dword [r13 + rax*4 + 0x26e460]
mov eax, edx
xor edi, dword [rsi]
add rsi, rbx
shr eax, 0x10
movzx edx, al
mov eax, edi
shr eax, 8
movzx ecx, al
mov eax, r9d
shr rax, 0x18
mov r15d, dword [r13 + rdx*4 + 0x26f060]
mov edx, r8d
shr rdx, 0x18
xor r15d, dword [r13 + rcx*4 + 0x26e060]
xor r15d, dword [r13 + rax*4 + 0x26d330]
movzx eax, r10b
mov ebp, dword [r13 + rdx*4 + 0x26d330]
xor r15d, dword [r13 + rax*4 + 0x26e460]
mov eax, edi
xor r15d, dword [rsi]
add rsi, rbx
shr eax, 0x10
movzx ecx, al
xor ebp, dword [r13 + rcx*4 + 0x26f060]
mov eax, r10d
mov edx, edi
shr eax, 8
dec r11d
movzx ecx, al
movzx eax, r9b
shr rdx, 0x18
xor ebp, dword [r13 + rcx*4 + 0x26e060]
xor ebp, dword [r13 + rax*4 + 0x26e460]
mov eax, r10d
xor ebp, dword [rsi]
add rsi, rbx
mov r14d, dword [r13 + rdx*4 + 0x26d330]
shr eax, 0x10
movzx ecx, al
mov eax, r9d
shr eax, 8
shr r10, 0x18
shr r9d, 0x10
xor r14d, dword [r13 + rcx*4 + 0x26f060]
movzx ecx, al
movzx eax, r8b
shr r8d, 8
xor r14d, dword [r13 + rcx*4 + 0x26e060]
xor r14d, dword [r13 + rax*4 + 0x26e460]
xor r14d, dword [rsi]
add rsi, rbx
movzx eax, r8b
mov r12d, dword [r13 + rax*4 + 0x26e060]
xor r12d, dword [r13 + r10*4 + 0x26d330]
movzx eax, r9b
xor r12d, dword [r13 + rax*4 + 0x26f060]
movzx eax, dil
xor r12d, dword [r13 + rax*4 + 0x26e460]
xor r12d, dword [rsi]
add rsi, rbx
test r11d, r11d
jg 0x1400166f4
mov r13, qword [rsp]
lea rdi, sym.MZ_KYX__nCiq_dRpf_LPp:j::J6hH:2AMD_t54D_hAaa
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 + 0x26e060]
shr rax, 0x18
xor ebx, dword [rdi + rcx*4 + 0x26f060]
mov edx, r12d
shr rdx, 0x18
xor ebx, dword [rdi + rax*4 + 0x26d330]
movzx eax, r15b
mov r10d, dword [rdi + rdx*4 + 0x26d330]
xor ebx, dword [rdi + rax*4 + 0x26e460]
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 + 0x26f060]
xor r11d, dword [rdi + rax*4 + 0x26d330]
mov eax, r15d
shr eax, 8
movzx ecx, al
movzx eax, bpl
xor r11d, dword [rdi + rcx*4 + 0x26e060]
xor r11d, dword [rdi + rax*4 + 0x26e460]
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 + 0x26e060]
movzx ecx, al
movzx eax, r14b
shr r14d, 8
xor r10d, dword [rdi + rcx*4 + 0x26f060]
xor r10d, dword [rdi + rax*4 + 0x26e460]
xor r10d, dword [rsi + 8]
movzx ecx, r14b
movzx eax, bpl
mov edx, dword [rdi + rcx*4 + 0x26e060]
xor edx, dword [rdi + rax*4 + 0x26f060]
mov eax, r15d
shr rax, 0x18
xor edx, dword [rdi + rax*4 + 0x26d330]
movzx eax, r12b
xor edx, dword [rdi + rax*4 + 0x26e460]
mov eax, r11d
xor edx, dword [rsi + 0xc]
shr rax, 0x18
mov r8d, edx
movzx r9d, byte [rax + rdi + 0x26d730]
mov eax, r10d
shr eax, 0x10
movzx ecx, al
shl r9d, 8
movzx eax, byte [rcx + rdi + 0x26d730]
xor r9d, eax
mov eax, edx
shr eax, 8
movzx ecx, al
shl r9d, 8
movzx eax, byte [rcx + rdi + 0x26d730]
xor r9d, eax
movzx eax, bl
shl r9d, 8
movzx eax, byte [rax + rdi + 0x26d730]
xor r9d, eax
mov eax, r10d
xor r9d, dword [rsi + 0x10]
shr rax, 0x18
movzx edi, byte [rax + rdi + 0x26d730]
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 + 0x26d730]
xor edi, eax
mov eax, ebx
shr eax, 8
movzx ecx, al
shl edi, 8
movzx eax, byte [rcx + r14 + 0x26d730]
xor edi, eax
movzx eax, r11b
shl edi, 8
movzx eax, byte [rax + r14 + 0x26d730]
xor edi, eax
mov eax, edx
xor edi, dword [rsi + 0x14]
shr rax, 0x18
movzx edx, byte [rax + r14 + 0x26d730]
mov eax, ebx
shr eax, 0x10
movzx ecx, al
shl edx, 8
shr rbx, 0x18
movzx eax, byte [rcx + r14 + 0x26d730]
xor edx, eax
mov eax, r11d
shr eax, 8
movzx ecx, al
shl edx, 8
shr r11d, 0x10
movzx eax, byte [rcx + r14 + 0x26d730]
movzx ecx, byte [rbx + r14 + 0x26d730]
xor edx, eax
shl ecx, 8
movzx eax, r10b
shl edx, 8
shr r10d, 8
movzx eax, byte [rax + r14 + 0x26d730]
xor edx, eax
movzx eax, r11b
xor edx, dword [rsi + 0x18]
movzx eax, byte [rax + r14 + 0x26d730]
xor ecx, eax
movzx eax, r10b
shl ecx, 8
movzx eax, byte [rax + r14 + 0x26d730]
xor ecx, eax
movzx eax, r8b
shl ecx, 8
movzx eax, byte [rax + r14 + 0x26d730]
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