Function at 0x1400651d0
Capabilities:
Encode data using xor
Get system information on windows
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov rbx, rcx
call fcn.140047840
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp esi, eax
jne 0x14004777b
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
jmp 0x14004778b
mov r8d, esi
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rcx, qword [rbx]
mov rdi, rax
cmp rax, rcx
je 0x1400477a4
test rcx, rcx
jle 0x1400477a1
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx], rdi
cmp dword [0x1400f8a9c], 0xa
jb 0x1400477e0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp esi, eax
jne 0x1400477e0
mov r8d, esi
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rcx, qword [rbx]
mov rdi, rax
cmp rax, rcx
je 0x1400477e0
test rcx, rcx
jle 0x1400477dd
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx], rdi
mov rdi, qword [rbx]
test rdi, rdi
jg 0x14004781d
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
cmp rdi, rax
je 0x14004781d
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
cmp rdi, rax
je 0x14004781d
mov rax, qword gs:[0x30]
mov eax, dword [rax + 0x1250]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov rcx, rbx
mov dword [rbx + 8], esi
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp 0x1400651d0
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r13
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xb0
mov rax, qword [0x1400f5098]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov r14, rcx
xor esi, esi
mov dword [rbp - 9], esi
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 5], xmm0
movups xmmword [rbp + 0xb], xmm0
mov qword [rbp + 0x1b], rax
mov dword [rbp + 0x23], eax
lea rcx, [rbp - 9]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
cmp word [rbp - 9], si
jne 0x1400652ad
lea ecx, [rsi + 0x20]
call fcn.14007b9c0
mov rbx, rax
mov qword [rbp - 0x41], rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
mov rax, qword [r14]
lea r15, vtable.blackbone::Native.0
mov qword [rbx], r15
mov qword [rbx + 8], rax
mov qword [rbx + 0x10], rsi
mov dword [rbp - 0x39], esi
xor eax, eax
movups xmmword [rbp - 0x35], xmm0
movups xmmword [rbp - 0x25], xmm0
mov qword [rbp - 0x15], rax
mov dword [rbp - 0xd], eax
lea rcx, [rbp - 0x39]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
mov eax, dword [rbp - 0x35]
mov dword [rbx + 0x18], eax
mov word [rbx + 0x14], 0x101
mov dword [rbx + 0x10], esi
mov byte [rbx + 0x16], 1
lea rax, vtable.blackbone::x86Native.0
mov qword [rbx], rax
lea rdi, [r14 + 0x10]
mov rcx, qword [rdi]
mov qword [rdi], rbx
test rcx, rcx
je 0x140065348
jmp 0x14006533b
mov dword [rbp - 0x49], esi
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea rdx, [rbp - 0x49]
call qword [sym.imp.KERNEL32.dll_IsWow64Process]
lea rdi, [r14 + 0x10]
mov ecx, 0x20
cmp dword [rbp - 0x49], 1
jne 0x140065308
call fcn.14007b9c0
mov rbx, rax
mov qword [rbp - 0x41], rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
xor r8d, r8d
mov rdx, qword [r14]
mov rcx, rax
call fcn.1400654b0
lea rax, vtable.blackbone::NativeWow64.0
mov qword [rbx], rax
mov rcx, qword [rdi]
mov qword [rdi], rbx
jmp 0x14006532f
call fcn.14007b9c0
mov qword [rbp - 0x41], rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
xor r8d, r8d
mov rdx, qword [r14]
mov rcx, rax
call fcn.1400654b0
mov rcx, qword [rdi]
mov qword [rdi], rax
test rcx, rcx
je 0x140065348
lea r15, vtable.blackbone::Native.0
mov qword [rcx], r15
mov edx, 0x20
call fcn.14007bc4c
mov rax, qword [rdi]
cmp byte [rax + 0x15], sil
jne 0x14006535b
mov byte [r14 + 0x18], 1
jmp 0x140065480
mov dword [rbp - 0x49], esi
mov dword [rbp - 0x41], esi
call fcn.140047130
mov rdi, rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x39], xmm0
mov qword [rbp - 0x29], rsi
mov qword [rbp - 0x21], rsi
mov r8d, 0x13
lea rdx, str.GetProcessDEPPolicy
lea rcx, [rbp - 0x39]
call fcn.140038350
nop
call fcn.140061aa0
lea r15, [rdi + 0x40]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea rdx, [rbp - 0x39]
mov rbx, qword [rbp - 0x39]
mov r13, qword [rbp - 0x21]
cmp r13, 0x10
cmovae rdx, rbx
movabs r9, 0xcbf29ce484222325
mov rcx, rsi
mov r8, qword [rbp - 0x29]
test r8, r8
je 0x1400653f3
movabs r10, 0x100000001b3
nop word [rax + rax]
movzx eax, byte [rcx + rdx]
xor r9, rax
imul r9, r10
inc rcx
cmp rcx, r8
jb 0x1400653e0
lea r8, [rbp - 0x39]
lea rdx, [rbp - 0x59]
mov rcx, rdi
call fcn.140047a20
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x140065435
cmp rdx, qword [rdi + 8]
je 0x140065435
mov rdi, qword [rdx + 0x30]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test rdi, rdi
je 0x14006543f
lea r8, [rbp - 0x41]
lea rdx, [rbp - 0x49]
mov rcx, qword [r14]
call rdi
mov esi, eax
jmp 0x14006543f
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop
cmp r13, 0x10
jb 0x140065472
lea rdx, [r13 + 1]
mov rax, rbx
cmp rdx, 0x1000
jb 0x14006546a
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400654aa
mov rcx, rbx
call fcn.14007bc4c
test esi, esi
je 0x140065480
movzx eax, byte [rbp - 0x49]
and al, 1
mov byte [r14 + 0x18], al
xor eax, eax
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.14007b9a0
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop rdi
pop rbp
ret
call fcn.140082678
int3