Function at 0x140058410
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 edi, r8d
mov esi, edx
mov rbx, rcx
call fcn.140034150
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp esi, eax
jne 0x14003408e
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
jmp 0x14003409b
mov r8d, esi
xor edx, edx
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rcx, qword [rbx]
mov rdi, rax
cmp rax, rcx
je 0x1400340b4
test rcx, rcx
jle 0x1400340b1
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx], rdi
cmp dword [0x1400d01bc], 0xa
jb 0x1400340f0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp esi, eax
jne 0x1400340f0
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 0x1400340f0
test rcx, rcx
jle 0x1400340ed
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx], rdi
mov rdi, qword [rbx]
test rdi, rdi
jg 0x14003412d
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
cmp rdi, rax
je 0x14003412d
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
cmp rdi, rax
je 0x14003412d
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 0x140058410
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xb0
mov rax, qword [0x1400cc0b8]
xor rax, rsp
mov qword [rbp + 0x2f], rax
mov r15, rcx
xor r12d, r12d
xorps xmm0, xmm0
movups xmmword [rbp - 1], xmm0
movups xmmword [rbp + 0xf], xmm0
movups xmmword [rbp + 0x1f], xmm0
lea rcx, [rbp - 1]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
cmp word [rbp - 1], r12w
jne 0x1400584e1
lea ecx, [r12 + 0x20]
call fcn.14006c558
mov rbx, rax
mov qword [rbp - 0x39], rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
mov rax, qword [r15]
lea r14, vtable.blackbone::Native.0
mov qword [rbx], r14
mov qword [rbx + 8], rax
mov qword [rbx + 0x10], r12
movups xmmword [rbp - 0x31], xmm0
movups xmmword [rbp - 0x21], xmm0
movups xmmword [rbp - 0x11], xmm0
lea rcx, [rbp - 0x31]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
mov eax, dword [rbp - 0x2d]
mov dword [rbx + 0x18], eax
mov word [rbx + 0x14], 0x101
mov dword [rbx + 0x10], r12d
mov byte [rbx + 0x16], 1
lea rax, vtable.blackbone::x86Native.0
mov qword [rbx], rax
lea rsi, [r15 + 0x10]
mov rcx, qword [rsi]
mov qword [rsi], rbx
test rcx, rcx
je 0x1400585b9
mov qword [rcx], r14
jmp 0x1400585af
mov dword [rbp - 0x41], r12d
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea rdx, [rbp - 0x41]
call qword [sym.imp.KERNEL32.dll_IsWow64Process]
lea rdi, [r15 + 0x10]
mov ecx, 0x20
cmp dword [rbp - 0x41], 1
jne 0x140058559
call fcn.14006c558
mov rbx, rax
mov qword [rbp - 0x39], rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
xor r8d, r8d
mov rdx, qword [r15]
mov rcx, rax
call fcn.140058f90
lea rax, vtable.blackbone::NativeWow64.0
mov qword [rbx], rax
mov rcx, qword [rdi]
mov qword [rdi], rbx
test rcx, rcx
je 0x140058554
lea r14, vtable.blackbone::Native.0
mov qword [rcx], r14
mov edx, 0x20
call fcn.14006c550
mov rsi, rdi
jmp 0x1400585b9
call fcn.14006c558
mov qword [rbp - 0x39], rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
xor r8d, r8d
mov rdx, qword [r15]
mov rcx, rax
call fcn.140058f90
lea rcx, [rbp - 0x39]
mov rsi, rdi
cmp rdi, rcx
je 0x14005859d
mov rcx, qword [rdi]
mov qword [rdi], rax
test rcx, rcx
je 0x1400585b9
lea r14, vtable.blackbone::Native.0
mov qword [rcx], r14
jmp 0x1400585af
test rax, rax
je 0x1400585b9
lea r14, vtable.blackbone::Native.0
mov qword [rax], r14
mov rcx, rax
mov edx, 0x20
call fcn.14006c550
mov rax, qword [rsi]
cmp byte [rax + 0x15], r12b
jne 0x1400585cc
mov byte [r15 + 0x18], 1
jmp 0x1400586cd
mov dword [rbp - 0x41], r12d
mov dword [rbp - 0x39], r12d
call fcn.140027a30
mov rdi, rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x31], xmm0
mov ecx, 0x20
call fcn.14006c558
mov rbx, rax
mov qword [rbp - 0x31], rax
mov qword [rbp - 0x21], 0x13
mov qword [rbp - 0x19], 0x1f
movups xmm0, xmmword [str.GetProcessDEPPolicy]
movups xmmword [rax], xmm0
movzx eax, word [0x1400b9f08]
mov word [rbx + 0x10], ax
movzx eax, byte [0x1400b9f0a]
mov byte [rbx + 0x12], al
mov byte [rbx + 0x13], r12b
call fcn.1400483a0
lea rsi, [rdi + 0x40]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
movabs r9, 0xcbf29ce484222325
mov rcx, r12
movabs rdx, 0x100000001b3
movzx eax, byte [rcx + rbx]
xor r9, rax
imul r9, rdx
inc rcx
cmp rcx, 0x13
jb 0x140058650
lea r8, [rbp - 0x31]
lea rdx, [rbp - 0x51]
mov rcx, rdi
call fcn.140028dd0
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x1400586a7
cmp rdx, qword [rdi + 8]
je 0x1400586a7
mov rdi, qword [rdx + 0x30]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test rdi, rdi
je 0x1400586b1
lea r8, [rbp - 0x39]
lea rdx, [rbp - 0x41]
mov rcx, qword [r15]
call rdi
mov r12d, eax
jmp 0x1400586b1
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop
mov edx, 0x20
mov rcx, rbx
call fcn.14006c550
test r12d, r12d
je 0x1400586cd
movzx eax, byte [rbp - 0x41]
and al, 1
mov byte [r15 + 0x18], al
xor eax, eax
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.14006c530
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret