Function at 0x140107748
Capabilities:
Encode data using xor

Disassembly:
test r8, r8
je 0x140107acf
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x17]
sub rsp, 0xc0
mov rax, qword [0x1405f8008]
xor rax, rsp
mov qword [rbp + 0xf], rax
mov r12d, dword [rbp + 0x77]
mov r13, rcx
mov rcx, qword [rbp + 0x7f]
mov r14, r8
mov qword [rsp + 8], rdx
mov esi, r12d
mov r15, r8
not esi
mov al, byte [r8 + r13 - 1]
mov byte [rcx], al
and r14d, 7
jne 0x1401077aa
xor eax, eax
jmp 0x14010795f
movzx ebx, r9w
mov rax, r9
shr rax, 0x10
mov r8, r9
movzx r11d, ax
mov ecx, r12d
ror ecx, 0xa
mov r10, r9
shr r8, 0x30
shr r10, 0x20
mov eax, r8d
xor eax, r12d
movzx edx, r10w
imul eax, r11d
mov qword [rbp - 0x21], r9
mov qword [rsp + 0x28], r9
mov qword [rbp - 1], r9
mov qword [rbp - 0x71], r9
sub eax, ecx
mov qword [rbp - 0x31], r9
xor esi, eax
mov qword [rbp - 0x61], r9
mov edi, esi
mov qword [rbp - 0x11], r9
ror edi, 9
mov eax, r8d
xor eax, esi
mov qword [rbp - 0x51], r9
imul eax, ebx
mov qword [rsp + 0x18], r9
mov qword [rbp - 0x41], r9
mov qword [rsp + 0x20], r9
mov qword [rbp - 0x79], r9
add edi, eax
mov qword [rbp - 0x69], r9
xor edi, r12d
mov qword [rbp - 0x59], r9
mov ecx, edi
mov qword [rbp - 0x49], r9
sub ecx, r9d
mov qword [rbp - 0x39], r9
ror ecx, 0x1b
mov eax, edi
imul ecx, r8d
ror eax, 0x1b
add ecx, eax
xor esi, ecx
mov eax, esi
ror eax, 0x19
lea ecx, [r9 + rsi]
ror ecx, 0x16
imul ecx, edx
add ecx, eax
xor edi, ecx
mov ecx, edx
xor ecx, edi
mov eax, edi
rol ecx, 5
imul ecx, r11d
ror eax, 0x13
sub ecx, eax
xor esi, ecx
mov ecx, esi
mov eax, esi
sub ecx, r10d
ror eax, 0x10
ror ecx, 0xa
imul ecx, ebx
xor ecx, eax
xor edi, ecx
mov ecx, ebx
mov eax, edi
sub eax, r8d
xor eax, r9d
xor esi, eax
xor ecx, esi
mov eax, esi
rol ecx, 5
imul ecx, edx
shr eax, 0xb
add ecx, eax
and qword [rsp + 0x10], 0
lea r8, [rsp + 0x10]
xor edi, ecx
mov qword [rbp - 0x29], r9
mov ecx, r10d
mov qword [rbp - 0x19], r9
xor ecx, edi
mov qword [rbp - 9], r9
ror ecx, 0x1f
mov eax, edi
imul ecx, r11d
mov rdx, r14
ror eax, 0xe
mov qword [rbp + 7], r9
sub ecx, eax
xor esi, ecx
mov rcx, r13
xor r10d, esi
mov dword [rsp], esi
ror r10d, 0x11
imul r10d, ebx
ror esi, 9
add r10d, esi
xor edi, r10d
mov dword [rsp + 4], edi
sub r8, r13
mov al, byte [rcx]
mov byte [r8 + rcx], al
inc rcx
sub rdx, 1
jne 0x1401078f5
mov ecx, dword [rsp + 0x14]
xor dword [rsp + 4], ecx
lea ecx, [rdx + 8]
mov rax, qword [rsp + 0x10]
lea rdx, [rsp]
xor dword [rsp], eax
lea rdx, [rdx + r14]
sub rcx, r14
je 0x140107930
mov byte [rdx], 0
inc rdx
sub rcx, 1
jne 0x140107924
mov r10, qword [rsp + 8]
lea rcx, [rsp]
sub r10, rcx
lea rdx, [rsp]
mov r8, r14
mov cl, byte [rdx]
mov byte [r10 + rdx], cl
inc rdx
sub r8, 1
jne 0x140107943
mov r12d, dword [rsp + 4]
mov esi, dword [rsp]
mov rdx, qword [rsp + 8]
shr r15, 3
lea rcx, [r14 + rdx]
mov qword [rsp + 8], rcx
test r15, r15
je 0x140107aa9
mov rbx, r9
movzx r10d, r9w
mov rdi, r9
shr rbx, 0x20
mov r14, r9
shr rdi, 0x30
shr r14, 0x10
sub r13, rdx
mov dword [rsp], r10d
xor esi, dword [r13 + rcx]
mov edx, ebx
mov rcx, qword [r13 + rcx]
xor edx, esi
ror edx, 0x11
imul edx, r10d
shr rcx, 0x20
xor r12d, ecx
movzx r11d, r14w
mov ecx, esi
movzx r8d, bx
ror ecx, 9
add edx, ecx
xor r12d, edx
mov edx, ebx
xor edx, r12d
mov ecx, r12d
ror edx, 0x1f
imul edx, r11d
ror ecx, 0xe
sub edx, ecx
xor esi, edx
mov edx, r10d
xor edx, esi
mov ecx, esi
rol edx, 5
mov r10d, edi
imul edx, r8d
shr ecx, 0xb
add edx, ecx
xor r12d, edx
mov ecx, r12d
sub ecx, edi
xor ecx, r9d
xor esi, ecx
mov edx, esi
mov ecx, esi
sub edx, ebx
ror ecx, 0x10
ror edx, 0xa
imul edx, dword [rsp]
xor edx, ecx
xor r12d, edx
mov edx, r8d
xor edx, r12d
mov ecx, r12d
rol edx, 5
imul edx, r11d
ror ecx, 0x13
sub edx, ecx
xor esi, edx
mov ecx, esi
ror ecx, 0x19
lea edx, [r9 + rsi]
ror edx, 0x16
imul edx, r8d
add edx, ecx
xor r12d, edx
mov edx, r12d
mov ecx, r12d
sub edx, r9d
ror ecx, 0x1b
ror edx, 0x1b
imul edx, edi
add edx, ecx
mov ecx, edi
xor esi, edx
xor ecx, esi
mov edx, esi
imul ecx, dword [rsp]
ror edx, 9
add edx, ecx
xor r12d, edx
xor r10d, r12d
mov ecx, r12d
imul r10d, r11d
ror ecx, 0xa
sub r10d, ecx
xor r10d, eax
xor esi, r10d
shr rax, 0x20
mov rcx, qword [rsp + 8]
xor r12d, eax
mov r10d, dword [rsp]
mov rax, qword [r13 + rcx]
mov dword [rcx], esi
mov dword [rcx + 4], r12d
add rcx, 8
mov qword [rsp + 8], rcx
sub r15, 1
jne 0x140107995
mov rcx, qword [rbp + 0xf]
xor rcx, rsp
call fcn.14001af80
mov rbx, qword [rsp + 0x100]
add rsp, 0xc0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret