Function at 0x14005f590
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.140041a30
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp esi, eax
jne 0x14004196b
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
jmp 0x14004197b
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 0x140041994
test rcx, rcx
jle 0x140041991
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx], rdi
cmp dword [0x1400e4a3c], 0xa
jb 0x1400419d0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp esi, eax
jne 0x1400419d0
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 0x1400419d0
test rcx, rcx
jle 0x1400419cd
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx], rdi
mov rdi, qword [rbx]
test rdi, rdi
jg 0x140041a0d
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
cmp rdi, rax
je 0x140041a0d
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
cmp rdi, rax
je 0x140041a0d
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 0x14005f590
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 [0x1400dd040]
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 0x14005f66d
lea ecx, [rsi + 0x20]
call fcn.140075970
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 0x14005f708
jmp 0x14005f6fb
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 0x14005f6c8
call fcn.140075970
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.14005f870
lea rax, vtable.blackbone::NativeWow64.0
mov qword [rbx], rax
mov rcx, qword [rdi]
mov qword [rdi], rbx
jmp 0x14005f6ef
call fcn.140075970
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.14005f870
mov rcx, qword [rdi]
mov qword [rdi], rax
test rcx, rcx
je 0x14005f708
lea r15, vtable.blackbone::Native.0
mov qword [rcx], r15
mov edx, 0x20
call fcn.140075bec
mov rax, qword [rdi]
cmp byte [rax + 0x15], sil
jne 0x14005f71b
mov byte [r14 + 0x18], 1
jmp 0x14005f840
mov dword [rbp - 0x49], esi
mov dword [rbp - 0x41], esi
call fcn.140041310
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.140032b70
nop
call fcn.14005bef0
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, 0xf
cmova rdx, rbx
movabs r9, 0xcbf29ce484222325
mov rcx, rsi
mov r8, qword [rbp - 0x29]
test r8, r8
je 0x14005f7b3
movabs r10, 0x100000001b3
nop word [rax + rax]
movzx eax, byte [rcx + rdx]
xor r9, rax
imul r9, r10
inc rcx
cmp rcx, r8
jb 0x14005f7a0
lea r8, [rbp - 0x39]
lea rdx, [rbp - 0x59]
mov rcx, rdi
call fcn.140041c10
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x14005f7f5
cmp rdx, qword [rdi + 8]
je 0x14005f7f5
mov rdi, qword [rdx + 0x30]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test rdi, rdi
je 0x14005f7ff
lea r8, [rbp - 0x41]
lea rdx, [rbp - 0x49]
mov rcx, qword [r14]
call rdi
mov esi, eax
jmp 0x14005f7ff
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop
cmp r13, 0xf
jbe 0x14005f832
lea rdx, [r13 + 1]
mov rax, rbx
cmp rdx, 0x1000
jb 0x14005f82a
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005f86a
mov rcx, rbx
call fcn.140075bec
test esi, esi
je 0x14005f840
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.140075950
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.14007cae0
int3