Function at 0x140087a40
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.14006c6f0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp esi, eax
jne 0x14006c62b
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
jmp 0x14006c63b
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 0x14006c654
test rcx, rcx
jle 0x14006c651
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx], rdi
cmp dword [0x14076bf0c], 0xa
jb 0x14006c690
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp esi, eax
jne 0x14006c690
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 0x14006c690
test rcx, rcx
jle 0x14006c68d
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx], rdi
mov rdi, qword [rbx]
test rdi, rdi
jg 0x14006c6cd
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
cmp rdi, rax
je 0x14006c6cd
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
cmp rdi, rax
je 0x14006c6cd
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 0x140087a40
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x47]
sub rsp, 0xb0
mov rax, qword [0x140124080]
xor rax, rsp
mov qword [rbp + 0x37], rax
mov r14, rcx
xor esi, esi
mov dword [rbp + 7], esi
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0xb], xmm0
movups xmmword [rbp + 0x1b], xmm0
mov qword [rbp + 0x2b], rax
mov dword [rbp + 0x33], eax
lea rcx, [rbp + 7]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
cmp word [rbp + 7], si
jne 0x140087b21
mov ecx, reloc.WLDAP32.dll_Ordinal_32
call fcn.1400e9780
mov rbx, rax
mov qword [rbp - 0x31], 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 - 0x29], esi
xor eax, eax
movups xmmword [rbp - 0x25], xmm0
movups xmmword [rbp - 0x15], xmm0
mov qword [rbp - 5], rax
mov dword [rbp + 3], eax
lea rcx, [rbp - 0x29]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
mov eax, dword [rbp - 0x25]
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 0x140087bbc
jmp 0x140087baf
mov dword [rbp - 0x39], esi
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea rdx, [rbp - 0x39]
call qword [sym.imp.KERNEL32.dll_IsWow64Process]
lea rdi, [r14 + 0x10]
mov ecx, reloc.WLDAP32.dll_Ordinal_32
cmp dword [rbp - 0x39], 1
jne 0x140087b7c
call fcn.1400e9780
mov rbx, rax
mov qword [rbp - 0x31], 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.1400890a0
lea rax, vtable.blackbone::NativeWow64.0
mov qword [rbx], rax
mov rcx, qword [rdi]
mov qword [rdi], rbx
jmp 0x140087ba3
call fcn.1400e9780
mov qword [rbp - 0x31], 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.1400890a0
mov rcx, qword [rdi]
mov qword [rdi], rax
test rcx, rcx
je 0x140087bbc
lea r15, vtable.blackbone::Native.0
mov qword [rcx], r15
mov edx, reloc.WLDAP32.dll_Ordinal_32
call fcn.1400e99fc
mov rax, qword [rdi]
cmp byte [rax + 0x15], sil
jne 0x140087bcf
mov byte [r14 + 0x18], 1
jmp 0x140087cc6
mov dword [rbp - 0x39], esi
mov dword [rbp - 0x31], esi
call fcn.14006c030
mov rbx, rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x29], xmm0
mov qword [rbp - 0x19], rsi
mov qword [rbp - 0x11], rsi
mov r8d, reloc.WS2_32.dll_send
lea rdx, str.GetProcessDEPPolicy
lea rcx, [rbp - 0x29]
call fcn.1400559a0
nop
call fcn.140084380
lea rdi, [rbx + 0x40]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea rdx, [rbp - 0x29]
cmp qword [rbp - 0x11], 0xf
cmova rdx, qword [rbp - 0x29]
movabs r9, 0xcbf29ce484222325
mov rcx, rsi
mov r8, qword [rbp - 0x19]
test r8, r8
je 0x140087c63
movabs r10, 0x100000001b3
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [rdx + rcx]
xor r9, rax
imul r9, r10
inc rcx
cmp rcx, r8
jb 0x140087c50
lea r8, [rbp - 0x29]
lea rdx, [rbp - 0x49]
mov rcx, rbx
call fcn.14006c820
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x140087ca5
cmp rdx, qword [rbx + 8]
je 0x140087ca5
mov rbx, qword [rdx + 0x30]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test rbx, rbx
je 0x140087caf
lea r8, [rbp - 0x31]
lea rdx, [rbp - 0x39]
mov rcx, qword [r14]
call rbx
mov esi, eax
jmp 0x140087caf
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop
lea rcx, [rbp - 0x29]
call fcn.140055220
test esi, esi
je 0x140087cc6
movzx eax, byte [rbp - 0x39]
and al, 1
mov byte [r14 + 0x18], al
xor eax, eax
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.1400e9640
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret