Function at 0x140032000
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r13
push r14
push r15
mov eax, dword [rcx + 0xc]
lea r13, [0x140000000]
mov r9d, dword [rcx + 8]
mov edi, eax
mov r10d, dword [rcx + 4]
mov rsi, r8
mov r11d, dword [rcx]
mov ebx, r9d
rol eax, 8
mov ecx, 0xff00ff00
and eax, 0xff00ff
ror edi, 8
and rdi, rcx
ror ebx, 8
or rdi, rax
and rbx, rcx
mov eax, dword [r8 + 0xc]
mov r12, rdx
xor rdi, rax
mov eax, r9d
rol eax, 8
mov r9d, r10d
and eax, 0xff00ff
ror r9d, 8
or rbx, rax
and r9, rcx
mov eax, dword [r8 + 8]
xor rbx, rax
mov eax, r10d
rol eax, 8
and eax, 0xff00ff
or r9, rax
mov eax, dword [r8 + 4]
xor r9, rax
mov r8d, r11d
ror r8d, 8
mov eax, r11d
rol eax, 8
and r8, rcx
and eax, 0xff00ff
or r8, rax
mov eax, dword [rsi]
xor r8, rax
mov rax, rbx
shr rax, 8
movzx edx, al
mov rax, rdi
shr rax, 0x10
movzx ecx, al
mov rax, r8
shr rax, 0x18
mov ebp, dword [r13 + rdx*4 + 0x63dc0]
xor ebp, dword [r13 + rcx*4 + 0x639c0]
xor ebp, dword [r13 + rax*4 + 0x635c0]
movzx eax, r9b
xor ebp, dword [r13 + rax*4 + 0x641c0]
mov rax, r8
xor ebp, dword [rsi + 0x10]
shr rax, 0x10
movzx edx, al
mov rax, rdi
shr rax, 8
movzx ecx, al
mov rax, r9
shr rax, 0x18
mov r10d, dword [r13 + rdx*4 + 0x639c0]
xor r10d, dword [r13 + rcx*4 + 0x63dc0]
xor r10d, dword [r13 + rax*4 + 0x635c0]
movzx eax, bl
xor r10d, dword [r13 + rax*4 + 0x641c0]
mov rax, r9
xor r10d, dword [rsi + 0x14]
shr rax, 0x10
movzx edx, al
mov rax, r8
shr rax, 8
movzx ecx, al
mov rax, rbx
mov edx, dword [r13 + rdx*4 + 0x639c0]
xor edx, dword [r13 + rcx*4 + 0x63dc0]
shr rax, 0x18
xor edx, dword [r13 + rax*4 + 0x635c0]
lea r14, [rsi + 0x20]
mov r15d, dword [rsi + 0xf0]
shr r9, 8
movzx eax, dil
shr rbx, 0x10
shr rdi, 0x18
movzx ecx, bl
xor edx, dword [r13 + rax*4 + 0x641c0]
xor edx, dword [rsi + 0x18]
movzx eax, r9b
mov r9d, dword [r13 + rcx*4 + 0x639c0]
sar r15d, 1
xor r9d, dword [r13 + rax*4 + 0x63dc0]
xor r9d, dword [r13 + rdi*4 + 0x635c0]
movzx eax, r8b
xor r9d, dword [r13 + rax*4 + 0x641c0]
xor r9d, dword [rsi + 0x1c]
sub r15d, 1
je 0x140030527
nop dword [rax]
mov r8d, r9d
mov rax, r10
shr rax, 8
movzx ecx, al
mov rax, rdx
shr rax, 0x10
mov r9d, ebp
shr r9, 0x18
mov esi, dword [r13 + rcx*4 + 0x63dc0]
movzx ecx, al
mov eax, dword [r13 + rcx*4 + 0x639c0]
xor rsi, rax
mov eax, r8d
shr rax, 0x18
mov eax, dword [r13 + rax*4 + 0x635c0]
xor rsi, rax
movzx eax, bpl
mov eax, dword [r13 + rax*4 + 0x641c0]
xor rsi, rax
mov eax, dword [r14 + 0xc]
xor rsi, rax
mov eax, ebp
shr rax, 8
movzx ecx, al
mov rax, r10
shr rax, 0x10
mov edi, dword [r13 + rcx*4 + 0x63dc0]
movzx ecx, al
mov eax, dword [r13 + rcx*4 + 0x639c0]
xor rdi, rax
mov rax, rdx
shr rax, 0x18
mov eax, dword [r13 + rax*4 + 0x635c0]
xor rdi, rax
movzx eax, r8b
mov eax, dword [r13 + rax*4 + 0x641c0]
xor rdi, rax
mov eax, dword [r14 + 8]
xor rdi, rax
mov eax, ebp
shr rax, 0x10
movzx ecx, al
mov eax, r8d
shr rax, 8
shr r8, 0x10
mov ebx, dword [r13 + rcx*4 + 0x639c0]
movzx ecx, al
mov eax, dword [r13 + rcx*4 + 0x63dc0]
xor rbx, rax
mov rax, r10
shr rax, 0x18
mov eax, dword [r13 + rax*4 + 0x635c0]
xor rbx, rax
movzx eax, dl
shr rdx, 8
mov eax, dword [r13 + rax*4 + 0x641c0]
xor rbx, rax
mov eax, dword [r14 + 4]
xor rbx, rax
movzx eax, dl
mov r11d, dword [r13 + rax*4 + 0x63dc0]
movzx eax, r8b
mov eax, dword [r13 + rax*4 + 0x639c0]
xor r11, rax
mov eax, dword [r13 + r9*4 + 0x635c0]
xor r11, rax
movzx eax, r10b
mov eax, dword [r13 + rax*4 + 0x641c0]
xor r11, rax
mov eax, dword [r14]
xor r11, rax
mov rax, rdi
shr rax, 8
movzx edx, al
mov rax, rsi
shr rax, 0x10
movzx ecx, al
mov rax, r11
mov ebp, dword [r13 + rdx*4 + 0x63dc0]
xor ebp, dword [r13 + rcx*4 + 0x639c0]
shr rax, 0x18
xor ebp, dword [r13 + rax*4 + 0x635c0]
movzx eax, bl
xor ebp, dword [r13 + rax*4 + 0x641c0]
mov rax, r11
xor ebp, dword [r14 + 0x10]
shr rax, 0x10
movzx edx, al
mov rax, rsi
shr rax, 8
movzx ecx, al
mov rax, rbx
shr rax, 0x18
mov r10d, dword [r13 + rdx*4 + 0x639c0]
xor r10d, dword [r13 + rcx*4 + 0x63dc0]
xor r10d, dword [r13 + rax*4 + 0x635c0]
movzx eax, dil
xor r10d, dword [r13 + rax*4 + 0x641c0]
mov rax, r11
xor r10d, dword [r14 + 0x14]
shr rax, 8
movzx edx, al
mov rax, rbx
shr rax, 0x10
movzx ecx, al
mov rax, rdi
shr rax, 0x18
mov edx, dword [r13 + rdx*4 + 0x63dc0]
shr rbx, 8
xor edx, dword [r13 + rcx*4 + 0x639c0]
xor edx, dword [r13 + rax*4 + 0x635c0]
movzx eax, sil
shr rdi, 0x10
shr rsi, 0x18
movzx ecx, bl
xor edx, dword [r13 + rax*4 + 0x641c0]
xor edx, dword [r14 + 0x18]
movzx eax, dil
mov r9d, dword [r13 + rcx*4 + 0x63dc0]
xor r9d, dword [r13 + rax*4 + 0x639c0]
xor r9d, dword [r13 + rsi*4 + 0x635c0]
movzx eax, r11b
xor r9d, dword [r13 + rax*4 + 0x641c0]
xor r9d, dword [r14 + 0x1c]
add r14, 0x20
sub r15d, 1
jne 0x1400302e0
mov r8d, edx
mov ebx, 0xff00ff00
mov rax, r9
shr rax, 0x10
movzx ecx, al
mov eax, ebp
shr rax, 0x18
movzx edx, byte [rcx + r13 + 0x645c0]
movzx eax, byte [rax + r13 + 0x645c0]
shl eax, 8
xor edx, eax
mov eax, r8d
shr rax, 8
movzx ecx, al
shl edx, 8
movzx eax, byte [rcx + r13 + 0x645c0]
xor edx, eax
movzx eax, r10b
shl edx, 8
movzx eax, byte [rax + r13 + 0x645c0]
xor edx, eax
xor edx, dword [r14]
mov eax, edx
rol edx, 8
ror eax, 8
and edx, 0xff00ff
and eax, ebx
or eax, edx
mov dword [r12], eax
mov rax, r10
shr rax, 0x18
movzx edx, byte [rax + r13 + 0x645c0]
shl edx, 8
mov eax, ebp
shr rax, 0x10
movzx ecx, al
movzx eax, byte [rcx + r13 + 0x645c0]
xor edx, eax
mov rax, r9
shr rax, 8
movzx ecx, al
shl edx, 8
movzx eax, byte [rcx + r13 + 0x645c0]
xor edx, eax
movzx eax, r8b
shl edx, 8
movzx eax, byte [rax + r13 + 0x645c0]
xor edx, eax
xor edx, dword [r14 + 4]
mov eax, edx
rol edx, 8
ror eax, 8
and edx, 0xff00ff
and eax, ebx
or eax, edx
mov dword [r12 + 4], eax
mov rax, r10
shr rax, 0x10
movzx ecx, al
mov eax, r8d
shr rax, 0x18
movzx edx, byte [rcx + r13 + 0x645c0]
movzx eax, byte [rax + r13 + 0x645c0]
shl eax, 8
xor edx, eax
mov eax, ebp
shr rax, 8
movzx ecx, al
shl edx, 8
movzx eax, byte [rcx + r13 + 0x645c0]
xor edx, eax
movzx eax, r9b
shl edx, 8
movzx eax, byte [rax + r13 + 0x645c0]
xor edx, eax
xor edx, dword [r14 + 8]
mov eax, edx
rol edx, 8
ror eax, 8
and eax, ebx
and edx, 0xff00ff
mov rsi, qword [rsp + 0x38]
or eax, edx
mov rdi, qword [rsp + 0x40]
mov dword [r12 + 8], eax
shr r8, 0x10
movzx eax, r8b
shr r9, 0x18
shr r10, 8
movzx ecx, byte [rax + r13 + 0x645c0]
movzx eax, byte [r9 + r13 + 0x645c0]
shl eax, 8
xor ecx, eax
movzx eax, r10b
shl ecx, 8
movzx eax, byte [rax + r13 + 0x645c0]
xor ecx, eax
movzx eax, bpl
mov rbp, qword [rsp + 0x30]
shl ecx, 8
movzx eax, byte [rax + r13 + 0x645c0]
xor ecx, eax
xor ecx, dword [r14 + 0xc]
mov eax, ecx
rol ecx, 8
ror eax, 8
and ecx, 0xff00ff
and eax, ebx
mov rbx, qword [rsp + 0x28]
or eax, ecx
mov dword [r12 + 0xc], eax
pop r15
pop r14
pop r13
pop r12
ret
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r13
push r14
push r15
mov eax, dword [rcx + 8]
lea r13, [0x140000000]
mov r9d, dword [rcx + 4]
mov edi, eax
mov r11d, dword [rcx]
mov rsi, r8
mov r10d, dword [rcx + 0xc]
mov ebx, r9d
rol eax, 8
mov ecx, 0xff00ff00
and eax, 0xff00ff
ror edi, 8
and rdi, rcx
ror ebx, 8
or rdi, rax
and rbx, rcx
mov eax, dword [r8 + 8]
mov r12, rdx
xor rdi, rax
mov eax, r9d
rol eax, 8
mov r9d, r10d
and eax, 0xff00ff
ror r9d, 8
or rbx, rax
and r9, rcx
mov eax, dword [r8 + 4]
xor rbx, rax
mov eax, r10d
rol eax, 8
and eax, 0xff00ff
or r9, rax
mov eax, dword [r8 + 0xc]
xor r9, rax
mov r8d, r11d
mov eax, r11d
ror r8d, 8
rol eax, 8
and r8, rcx
and eax, 0xff00ff
or r8, rax
mov eax, dword [rsi]
xor r8, rax
mov rax, rbx
shr rax, 0x10
movzx edx, al
mov rax, rdi
shr rax, 8
movzx ecx, al
mov rax, r8
shr rax, 0x18
mov ebp, dword [r13 + rdx*4 + 0x629c0]
xor ebp, dword [r13 + rcx*4 + 0x62dc0]
xor ebp, dword [r13 + rax*4 + 0x625c0]
movzx eax, r9b
xor ebp, dword [r13 + rax*4 + 0x631c0]
mov rax, r9
xor ebp, dword [rsi + 0x10]
shr rax, 8
movzx edx, al
mov rax, rdi
shr rax, 0x10
movzx ecx, al
mov rax, rbx
shr rax, 0x18
mov r11d, dword [r13 + rdx*4 + 0x62dc0]
xor r11d, dword [r13 + rcx*4 + 0x629c0]
xor r11d, dword [r13 + rax*4 + 0x625c0]
movzx eax, r8b
xor r11d, dword [r13 + rax*4 + 0x631c0]
mov rax, r9
xor r11d, dword [rsi + 0x14]
shr rax, 0x10
movzx edx, al
mov rax, r8
shr rax, 8
movzx ecx, al
mov rax, rdi
mov edx, dword [r13 + rdx*4 + 0x629c0]
xor edx, dword [r13 + rcx*4 + 0x62dc0]
shr rax, 0x18
xor edx, dword [r13 + rax*4 + 0x625c0]
lea r14, [rsi + 0x20]
mov r15d, dword [rsi + 0xf0]
movzx eax, bl
shr rbx, 8
shr r8, 0x10
shr r9, 0x18
xor edx, dword [r13 + rax*4 + 0x631c0]
xor edx, dword [rsi + 0x18]
movzx eax, r8b
movzx ecx, bl
sar r15d, 1
mov r10d, dword [r13 + rcx*4 + 0x62dc0]
xor r10d, dword [r13 + rax*4 + 0x629c0]
xor r10d, dword [r13 + r9*4 + 0x625c0]
movzx eax, dil
xor r10d, dword [r13 + rax*4 + 0x631c0]
xor r10d, dword [rsi + 0x1c]
sub r15d, 1
je 0x140030b1c
nop dword [rax]
mov r8d, edx
mov edx, r11d
mov eax, ebp
shr rax, 8
movzx ecx, al
mov eax, r10d
shr rax, 0x10
mov r11d, r10d
mov esi, dword [r13 + rcx*4 + 0x62dc0]
movzx ecx, al
mov r9d, ebp
shr r9, 0x18
mov eax, dword [r13 + rcx*4 + 0x629c0]
xor rsi, rax
mov eax, r8d
shr rax, 0x18
mov eax, dword [r13 + rax*4 + 0x625c0]
xor rsi, rax
movzx eax, dl
mov eax, dword [r13 + rax*4 + 0x631c0]
xor rsi, rax
mov eax, dword [r14 + 8]
xor rsi, rax
mov eax, r10d
shr rax, 8
movzx ecx, al
mov eax, r8d
shr rax, 0x10
mov edi, dword [r13 + rcx*4 + 0x62dc0]
movzx ecx, al
mov eax, dword [r13 + rcx*4 + 0x629c0]
xor rdi, rax
mov eax, edx
shr rax, 0x18
mov eax, dword [r13 + rax*4 + 0x625c0]
xor rdi, rax
movzx eax, bpl
mov eax, dword [r13 + rax*4 + 0x631c0]
xor rdi, rax
mov eax, dword [r14 + 4]
xor rdi, rax
mov eax, ebp
shr rax, 0x10
movzx ecx, al
mov eax, edx
shr rax, 8
shr rdx, 0x10
mov ebx, dword [r13 + rcx*4 + 0x629c0]
movzx ecx, al
mov eax, dword [r13 + rcx*4 + 0x62dc0]
xor rbx, rax
mov eax, r10d
shr rax, 0x18
mov eax, dword [r13 + rax*4 + 0x625c0]
xor rbx, rax
movzx eax, r8b
shr r8, 8
mov eax, dword [r13 + rax*4 + 0x631c0]
xor rbx, rax
mov eax, dword [r14 + 0xc]
xor rbx, rax
movzx eax, dl
mov r10d, dword [r13 + rax*4 + 0x629c0]
movzx eax, r8b
mov eax, dword [r13 + rax*4 + 0x62dc0]
xor r10, rax
mov eax, dword [r13 + r9*4 + 0x625c0]
xor r10, rax
movzx eax, r11b
mov eax, dword [r13 + rax*4 + 0x631c0]
xor r10, rax
mov eax, dword [r14]
xor r10, rax
mov rax, rdi
shr rax, 0x10
movzx edx, al
mov rax, rsi
shr rax, 8
movzx ecx, al
mov ebp, dword [r13 + rdx*4 + 0x629c0]
xor ebp, dword [r13 + rcx*4 + 0x62dc0]
mov rax, r10
shr rax, 0x18
xor ebp, dword [r13 + rax*4 + 0x625c0]
movzx eax, bl
xor ebp, dword [r13 + rax*4 + 0x631c0]
mov rax, rbx
xor ebp, dword [r14 + 0x10]
shr rax, 8
movzx edx, al
mov rax, rsi
shr rax, 0x10
movzx ecx, al
mov rax, rdi
shr rax, 0x18
mov r11d, dword [r13 + rdx*4 + 0x62dc0]
xor r11d, dword [r13 + rcx*4 + 0x629c0]
xor r11d, dword [r13 + rax*4 + 0x625c0]
movzx eax, r10b
xor r11d, dword [r13 + rax*4 + 0x631c0]
mov rax, r10
xor r11d, dword [r14 + 0x14]
shr rax, 8
movzx edx, al
mov rax, rbx
shr rax, 0x10
movzx ecx, al
mov rax, rsi
shr r10, 0x10
mov edx, dword [r13 + rdx*4 + 0x62dc0]
shr rax, 0x18
xor edx, dword [r13 + rcx*4 + 0x629c0]
movzx ecx, r10b
shr rbx, 0x18
xor edx, dword [r13 + rax*4 + 0x625c0]
movzx eax, dil
mov r10d, dword [r13 + rcx*4 + 0x629c0]
shr rdi, 8
xor edx, dword [r13 + rax*4 + 0x631c0]
xor edx, dword [r14 + 0x18]
movzx eax, dil
xor r10d, dword [r13 + rax*4 + 0x62dc0]
xor r10d, dword [r13 + rbx*4 + 0x625c0]
movzx eax, sil
xor r10d, dword [r13 + rax*4 + 0x631c0]
xor r10d, dword [r14 + 0x1c]
add r14, 0x20
sub r15d, 1
jne 0x1400308d0
mov r9d, r11d
mov ebx, 0xff00ff00
mov r11d, edx
mov eax, r9d
shr rax, 0x10
movzx ecx, al
mov eax, r11d
shr rax, 8
mov r8d, ebp
mov edx, dword [r13 + rcx*4 + 0x631c0]
movzx ecx, al
and edx, 0xff0000
mov eax, dword [r13 + rcx*4 + 0x625c0]
and eax, 0xff00
xor edx, eax
mov eax, ebp
shr rax, 0x18
mov ecx, dword [r13 + rax*4 + 0x62dc0]
and ecx, 0xff000000
movzx eax, r10b
xor edx, ecx
movzx eax, byte [r13 + rax*4 + 0x629c0]
xor edx, eax
xor edx, dword [r14]
mov eax, edx
rol edx, 8
ror eax, 8
and edx, 0xff00ff
and eax, ebx
or eax, edx
mov dword [r12], eax
mov eax, r11d
shr rax, 0x10
movzx ecx, al
mov rax, r10
shr rax, 8
mov edx, dword [r13 + rcx*4 + 0x631c0]
movzx ecx, al
and edx, 0xff0000
mov eax, dword [r13 + rcx*4 + 0x625c0]
and eax, 0xff00
xor edx, eax
mov eax, r9d
shr rax, 0x18
mov eax, dword [r13 + rax*4 + 0x62dc0]
and eax, 0xff000000
xor edx, eax
movzx eax, bpl
movzx eax, byte [r13 + rax*4 + 0x629c0]
xor edx, eax
xor edx, dword [r14 + 4]
mov eax, edx
rol edx, 8
ror eax, 8
and edx, 0xff00ff
and eax, ebx
or eax, edx
mov dword [r12 + 4], eax
mov rax, r10
shr rax, 0x10
movzx ecx, al
mov eax, ebp
shr rax, 8
mov edx, dword [r13 + rcx*4 + 0x631c0]
movzx ecx, al
and edx, 0xff0000
mov eax, dword [r13 + rcx*4 + 0x625c0]
and eax, 0xff00
xor edx, eax
mov eax, r11d
shr rax, 0x18
mov eax, dword [r13 + rax*4 + 0x62dc0]
and eax, 0xff000000
xor edx, eax
movzx eax, r9b
movzx eax, byte [r13 + rax*4 + 0x629c0]
xor edx, eax
xor edx, dword [r14 + 8]
mov eax, edx
ror eax, 8
and eax, ebx
mov rbp, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
rol edx, 8
and edx, 0xff00ff
shr r8, 0x10
or eax, edx
shr r9, 8
mov dword [r12 + 8], eax
movzx eax, r8b
shr r10, 0x18
mov edx, dword [r13 + rax*4 + 0x631c0]
and edx, 0xff0000
movzx eax, r9b
mov ecx, dword [r13 + rax*4 + 0x625c0]
mov eax, dword [r13 + r10*4 + 0x62dc0]
and ecx, 0xff00
and eax, 0xff000000
xor edx, ecx
xor edx, eax
movzx eax, r11b
movzx eax, byte [r13 + rax*4 + 0x629c0]
xor edx, eax
xor edx, dword [r14 + 0xc]
mov eax, edx
rol edx, 8
ror eax, 8
and edx, 0xff00ff
and eax, ebx
mov rbx, qword [rsp + 0x28]
or eax, edx
mov dword [r12 + 0xc], eax
pop r15
pop r14
pop r13
pop r12
ret
mov eax, 0x28
call fcn.140034840
sub rsp, rax
cmp r9d, 1
jne 0x14003201c
add rsp, 0x28
jmp 0x140030700
add rsp, 0x28
jmp 0x140030110