Function at 0x1400789b0
Capabilities:
Encode data using xor

Disassembly:
movzx r8d, byte [rcx + 0x228]
sub r8d, 4
je 0x140053ac4
sub r8d, 2
je 0x140053abf
sub r8d, 1
je 0x140053aba
cmp r8d, 1
je 0x140088aa0
mov eax, 0xffffff53
ret
jmp 0x140088970
jmp 0x1400789b0
jmp 0x140086890
sub rsp, 0x38
mov rax, qword [0x1403d4408]
xor rax, rsp
mov qword [rsp + 0x20], rax
mov r10, rdx
mov r8, rcx
test rcx, rcx
je 0x140078b19
test rdx, rdx
je 0x140078b19
lea rcx, [rsp]
mov rax, r8
or rax, rcx
test al, 3
jne 0x140078abd
mov ecx, dword [r8]
mov eax, ecx
rol ecx, 8
ror eax, 8
xor ecx, eax
and ecx, 0xff00ff
xor ecx, eax
mov dword [rsp], ecx
mov ecx, dword [r8 + 4]
mov eax, ecx
rol ecx, 8
ror eax, 8
xor ecx, eax
and ecx, 0xff00ff
xor ecx, eax
mov dword [rsp + 4], ecx
mov ecx, dword [r8 + 8]
mov eax, ecx
rol ecx, 8
ror eax, 8
xor ecx, eax
and ecx, 0xff00ff
xor ecx, eax
mov dword [rsp + 8], ecx
mov ecx, dword [r8 + 0xc]
mov eax, ecx
rol ecx, 8
ror eax, 8
xor ecx, eax
and ecx, 0xff00ff
xor ecx, eax
mov dword [rsp + 0xc], ecx
mov ecx, dword [r8 + 0x10]
mov eax, ecx
rol ecx, 8
ror eax, 8
xor ecx, eax
and ecx, 0xff00ff
xor ecx, eax
mov dword [rsp + 0x10], ecx
mov ecx, dword [r8 + 0x14]
mov eax, ecx
rol ecx, 8
ror eax, 8
xor ecx, eax
and ecx, 0xff00ff
xor ecx, eax
mov dword [rsp + 0x14], ecx
mov ecx, dword [r8 + 0x18]
mov eax, ecx
rol ecx, 8
ror eax, 8
xor ecx, eax
and ecx, 0xff00ff
xor ecx, eax
mov dword [rsp + 0x18], ecx
mov ecx, dword [r8 + 0x1c]
mov eax, ecx
rol ecx, 8
ror eax, 8
xor ecx, eax
and ecx, 0xff00ff
xor ecx, eax
mov dword [rsp + 0x1c], ecx
jmp 0x140078af3
lea rcx, [rsp]
mov r9d, 8
sub r8, rcx
lea rax, [rsp]
nop
mov edx, dword [r8 + rax]
lea rax, [rax + 4]
mov ecx, edx
rol edx, 8
ror ecx, 8
xor edx, ecx
and edx, 0xff00ff
xor edx, ecx
mov dword [rax - 4], edx
sub r9, 1
jne 0x140078ad0
movups xmm0, xmmword [rsp]
xor eax, eax
movups xmm1, xmmword [rsp + 0x10]
movups xmmword [r10], xmm0
movups xmmword [r10 + 0x10], xmm1
mov rcx, qword [rsp + 0x20]
xor rcx, rsp
call fcn.1400b5880
add rsp, 0x38
ret
mov eax, 0xffffff53
mov rcx, qword [rsp + 0x20]
xor rcx, rsp
call fcn.1400b5880
add rsp, 0x38
ret
sub rsp, 0x28
mov rax, qword [0x1403d4408]
xor rax, rsp
mov qword [rsp + 0x18], rax
mov r10, rdx
test rcx, rcx
je 0x1400869c7
test rdx, rdx
je 0x1400869c7
lea r8, [rcx + 0x4c]
mov rax, r8
lea rcx, [rsp]
or rax, rcx
test al, 3
jne 0x140086968
mov ecx, dword [r8]
mov eax, ecx
rol ecx, 8
ror eax, 8
xor ecx, eax
and ecx, 0xff00ff
xor ecx, eax
mov dword [rsp], ecx
mov ecx, dword [r8 + 4]
mov eax, ecx
rol ecx, 8
ror eax, 8
xor ecx, eax
and ecx, 0xff00ff
xor ecx, eax
mov dword [rsp + 4], ecx
mov ecx, dword [r8 + 8]
mov eax, ecx
rol ecx, 8
ror eax, 8
xor ecx, eax
and ecx, 0xff00ff
xor ecx, eax
mov dword [rsp + 8], ecx
mov ecx, dword [r8 + 0xc]
mov eax, ecx
rol ecx, 8
ror eax, 8
xor ecx, eax
and ecx, 0xff00ff
xor ecx, eax
mov dword [rsp + 0xc], ecx
mov ecx, dword [r8 + 0x10]
mov eax, ecx
movups xmm0, xmmword [rsp]
rol ecx, 8
ror eax, 8
xor ecx, eax
and ecx, 0xff00ff
xor ecx, eax
movups xmmword [rdx], xmm0
mov dword [rdx + 0x10], ecx
xor eax, eax
mov rcx, qword [rsp + 0x18]
xor rcx, rsp
call fcn.1400b5880
add rsp, 0x28
ret
lea rcx, [rsp]
mov r9d, 5
sub r8, rcx
lea rax, [rsp]
nop dword [rax]
mov edx, dword [r8 + rax]
lea rax, [rax + 4]
mov ecx, edx
rol edx, 8
ror ecx, 8
xor edx, ecx
and edx, 0xff00ff
xor edx, ecx
mov dword [rax - 4], edx
sub r9, 1
jne 0x140086980
movups xmm0, xmmword [rsp]
mov ecx, dword [rsp + 0x10]
xor eax, eax
movups xmmword [r10], xmm0
mov dword [r10 + 0x10], ecx
mov rcx, qword [rsp + 0x18]
xor rcx, rsp
call fcn.1400b5880
add rsp, 0x28
ret
mov eax, 0xffffff53
mov rcx, qword [rsp + 0x18]
xor rcx, rsp
call fcn.1400b5880
add rsp, 0x28
ret
push rbx
sub rsp, 0x70
mov rax, qword [0x1403d4408]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rbx, r8
mov r10, rdx
test rcx, rcx
je 0x14008735d
test rdx, rdx
je 0x14008735d
mov rdx, rcx
mov r8d, 0x40
lea rcx, [rsp + 0x20]
call fcn.140086da0
mov r8, rbx
lea rdx, [rsp + 0x20]
mov rcx, r10
call sub.VCRUNTIME140.dll_memcpy
xor eax, eax
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1400b5880
add rsp, 0x70
pop rbx
ret
mov eax, 0xffffff53
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1400b5880
add rsp, 0x70
pop rbx
ret
sub rsp, 0x68
mov rax, qword [0x1403d4408]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov r10, rdx
test rcx, rcx
je 0x1400889d4
test rdx, rdx
je 0x1400889d4
mov rdx, rcx
mov r8d, 0x30
lea rcx, [rsp + 0x20]
call fcn.140086da0
movups xmm0, xmmword [rsp + 0x20]
xor eax, eax
movups xmm1, xmmword [rsp + 0x30]
movups xmmword [r10], xmm0
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [r10 + 0x10], xmm1
movups xmmword [r10 + 0x20], xmm0
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1400b5880
add rsp, 0x68
ret
mov eax, 0xffffff53
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1400b5880
add rsp, 0x68
ret
mov r8d, 0x40
jmp 0x140087300