Function at 0x140031db0
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.140015b00
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp esi, eax
jne 0x140015a3b
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
jmp 0x140015a4b
mov r8d, esi
xor edx, edx
mov ecx, 0xd7b
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rcx, qword [rbx]
mov rdi, rax
cmp rax, rcx
je 0x140015a64
test rcx, rcx
jle 0x140015a61
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx], rdi
cmp dword [0x14016ca6c], 0xa
jb 0x140015aa0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp esi, eax
jne 0x140015aa0
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 0x140015aa0
test rcx, rcx
jle 0x140015a9d
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx], rdi
mov rdi, qword [rbx]
test rdi, rdi
jg 0x140015add
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
cmp rdi, rax
je 0x140015add
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
cmp rdi, rax
je 0x140015add
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 0x140031db0
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xb0
mov rax, qword [0x1400e3040]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov r15, rcx
xorps xmm0, xmm0
movups xmmword [rbp - 9], xmm0
movups xmmword [rbp + 7], xmm0
movups xmmword [rbp + 0x17], xmm0
lea rcx, [rbp - 9]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
cmp word [rbp - 9], 0
jne 0x140031e8b
mov ecx, 0x20
call fcn.14004b1e8
mov rbx, rax
mov qword [rbp - 0x41], rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
mov rcx, qword [r15]
lea r14, vtable.blackbone::Native.0
mov qword [rax], r14
mov qword [rax + 8], rcx
xor r12d, r12d
mov qword [rax + 0x10], r12
movups xmmword [rbp - 0x39], xmm0
movups xmmword [rbp - 0x29], xmm0
movups xmmword [rbp - 0x19], xmm0
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], 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 0x140031f66
mov qword [rcx], r14
jmp 0x140031f5c
xor r12d, r12d
mov dword [rbp - 0x49], r12d
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea rdx, [rbp - 0x49]
call qword [sym.imp.KERNEL32.dll_IsWow64Process]
lea rdi, [r15 + 0x10]
lea ecx, [r12 + 0x20]
cmp dword [rbp - 0x49], 1
jne 0x140031f06
call fcn.14004b1e8
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 [r15]
mov rcx, rax
call fcn.140033410
lea rax, vtable.blackbone::NativeWow64.0
mov qword [rbx], rax
mov rcx, qword [rdi]
mov qword [rdi], rbx
test rcx, rcx
je 0x140031f01
lea r14, vtable.blackbone::Native.0
mov qword [rcx], r14
lea edx, [r12 + 0x20]
call fcn.14004b1e0
mov rsi, rdi
jmp 0x140031f66
call fcn.14004b1e8
mov qword [rbp - 0x41], 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.140033410
lea rcx, [rbp - 0x41]
mov rsi, rdi
cmp rdi, rcx
je 0x140031f4a
mov rcx, qword [rdi]
mov qword [rdi], rax
test rcx, rcx
je 0x140031f66
lea r14, vtable.blackbone::Native.0
mov qword [rcx], r14
jmp 0x140031f5c
test rax, rax
je 0x140031f66
lea r14, vtable.blackbone::Native.0
mov qword [rax], r14
mov rcx, rax
mov edx, 0x20
call fcn.14004b1e0
mov rax, qword [rsi]
cmp byte [rax + 0x15], 0
jne 0x140031f79
mov byte [r15 + 0x18], 1
jmp 0x1400320a1
mov dword [rbp - 0x49], r12d
mov dword [rbp - 0x41], r12d
call fcn.140015410
mov rdi, rax
mov qword [rbp - 0x39], r12
mov qword [rbp - 0x29], r12
mov qword [rbp - 0x21], 0xf
mov byte [rbp - 0x39], 0
mov r8d, 0x13
lea rdx, str.GetProcessDEPPolicy
lea rcx, [rbp - 0x39]
call fcn.140001d70
nop
call fcn.14002e730
lea rsi, [rdi + 0x40]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea rdx, [rbp - 0x39]
mov r14, qword [rbp - 0x21]
cmp r14, 0x10
setae r13b
mov rbx, qword [rbp - 0x39]
cmovae rdx, rbx
movabs r9, 0xcbf29ce484222325
mov rcx, r12
mov r8, qword [rbp - 0x29]
test r8, r8
je 0x140032013
movabs r10, 0x100000001b3
nop
movzx eax, byte [rcx + rdx]
xor r9, rax
imul r9, r10
inc rcx
cmp rcx, r8
jb 0x140032000
lea r8, [rbp - 0x39]
lea rdx, [rbp - 0x59]
mov rcx, rdi
call fcn.140015ce0
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x140032056
cmp rdx, qword [rdi + 8]
je 0x140032056
mov rdi, qword [rdx + 0x30]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test rdi, rdi
je 0x140032060
lea r8, [rbp - 0x41]
lea rdx, [rbp - 0x49]
mov rcx, qword [r15]
call rdi
mov r12d, eax
jmp 0x140032060
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop
test r13b, r13b
je 0x140032092
lea rdx, [r14 + 1]
mov rax, rbx
cmp rdx, 0x1000
jb 0x14003208a
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400320d0
mov rcx, rbx
call fcn.14004b1e0
test r12d, r12d
je 0x1400320a1
movzx eax, byte [rbp - 0x49]
and al, 1
mov byte [r15 + 0x18], al
xor eax, eax
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.14004b1c0
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.14008ac40
int3