Function at 0x140056da0
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.140031550
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp esi, eax
jne 0x14003148e
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
jmp 0x14003149b
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 0x1400314b4
test rcx, rcx
jle 0x1400314b1
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx], rdi
xor edx, edx
xor r9d, r9d
lea ecx, [rdx + 0xa]
call fcn.140013574
test al, al
je 0x1400314f8
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp esi, eax
jne 0x1400314f8
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 0x1400314f8
test rcx, rcx
jle 0x1400314f5
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx], rdi
mov rdi, qword [rbx]
test rdi, rdi
jg 0x140031535
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
cmp rdi, rax
je 0x140031535
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
cmp rdi, rax
je 0x140031535
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 0x140056da0
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 [0x1400ee020]
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 0x140056e75
mov ecx, 0x20
call fcn.14006a79c
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 0x140056f50
mov qword [rcx], r14
jmp 0x140056f46
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 0x140056ef0
call fcn.14006a79c
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.140057980
lea rax, vtable.blackbone::NativeWow64.0
mov qword [rbx], rax
mov rcx, qword [rdi]
mov qword [rdi], rbx
test rcx, rcx
je 0x140056eeb
lea r14, vtable.blackbone::Native.0
mov qword [rcx], r14
lea edx, [r12 + 0x20]
call fcn.14006a794
mov rsi, rdi
jmp 0x140056f50
call fcn.14006a79c
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.140057980
lea rcx, [rbp - 0x41]
mov rsi, rdi
cmp rdi, rcx
je 0x140056f34
mov rcx, qword [rdi]
mov qword [rdi], rax
test rcx, rcx
je 0x140056f50
lea r14, vtable.blackbone::Native.0
mov qword [rcx], r14
jmp 0x140056f46
test rax, rax
je 0x140056f50
lea r14, vtable.blackbone::Native.0
mov qword [rax], r14
mov rcx, rax
mov edx, 0x20
call fcn.14006a794
mov rax, qword [rsi]
cmp byte [rax + 0x15], 0
jne 0x140056f63
mov byte [r15 + 0x18], 1
jmp 0x140057092
mov dword [rbp - 0x49], r12d
mov dword [rbp - 0x41], r12d
call fcn.140024040
mov rbx, rax
mov qword [rbp - 0x29], r12
mov qword [rbp - 0x21], 0xf
mov byte [rbp - 0x39], 0
lea rdx, str.GetProcessDEPPolicy
lea rcx, [rbp - 0x39]
call fcn.140006a18
nop
call fcn.140046300
lea rdi, [rbx + 0x40]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea rdx, [rbp - 0x39]
cmp qword [rbp - 0x21], 0x10
cmovae rdx, qword [rbp - 0x39]
movabs r9, 0xcbf29ce484222325
mov rcx, r12
mov r8, qword [rbp - 0x29]
test r8, r8
je 0x140056ff3
movabs r10, 0x100000001b3
nop dword [rax]
nop dword [rax + rax]
movzx eax, byte [rcx + rdx]
xor r9, rax
imul r9, r10
inc rcx
cmp rcx, r8
jb 0x140056fe0
lea r8, [rbp - 0x39]
lea rdx, [rbp - 0x59]
mov rcx, rbx
call fcn.140025670
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x140057012
mov rax, qword [rbx + 8]
jmp 0x140057019
mov rcx, qword [rbx + 8]
mov rax, rcx
cmp rcx, rax
je 0x140057042
mov rbx, qword [rcx + 0x30]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test rbx, rbx
je 0x14005704c
lea r8, [rbp - 0x41]
lea rdx, [rbp - 0x49]
mov rcx, qword [r15]
call rbx
mov r12d, eax
jmp 0x14005704c
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop
mov rdx, qword [rbp - 0x21]
cmp rdx, 0x10
jb 0x140057083
inc rdx
mov rcx, qword [rbp - 0x39]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005707e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400570bc
call fcn.14006a794
test r12d, r12d
je 0x140057092
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.14006a770
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
call fcn.140095e24
int3