Function at 0x140002080
Capabilities:
Encode data using xor
Get system information on windows
Hash data using fnv

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x258]
sub rsp, 0x358
mov rax, qword [0x14000e040]
xor rax, rsp
mov qword [rbp + 0x240], rax
mov r13, r9
mov qword [rsp + 0x60], r9
mov qword [rsp + 0x38], r8
mov rbx, rdx
mov qword [rsp + 0x40], rdx
mov r15, rcx
mov qword [rsp + 0x58], rcx
xor edi, edi
mov dword [rsp + 0x30], edi
lea rcx, [rbp - 0x30]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov rsi, qword [rbp - 0x28]
mov qword [rsp + 0x48], rsi
cmp rsi, qword [rbp - 0x20]
jae 0x14000285a
movabs r12, 0xcbf29ce484222325
movabs r14, 0x100000001b3
nop dword [rax]
nop word [rax + rax]
mov r9d, 0x30
lea r8, [rbp - 0x60]
mov rdx, rsi
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_VirtualQueryEx]
test rax, rax
je 0x14000285a
cmp dword [rbp - 0x40], 0x1000
jne 0x140002847
cmp dword [rbp - 0x38], 0x20000
jne 0x140002847
test byte [rbp - 0x3c], 0x44
je 0x140002847
mov r8, qword [rbp - 0x60]
mov rax, r8
shr rax, 8
movzx edx, al
movzx eax, r8b
xor rax, r12
imul rax, r14
xor rdx, rax
imul rdx, r14
mov rax, r8
shr rax, 0x10
movzx ecx, al
xor rdx, rcx
imul rdx, r14
mov rax, r8
shr rax, 0x18
movzx ecx, al
xor rdx, rcx
imul rdx, r14
mov rax, r8
shr rax, 0x20
movzx ecx, al
xor rdx, rcx
imul rdx, r14
mov rax, r8
shr rax, 0x28
movzx ecx, al
xor rdx, rcx
imul rdx, r14
mov rax, r8
shr rax, 0x30
movzx ecx, al
xor rdx, rcx
imul rdx, r14
mov rax, r8
shr rax, 0x38
xor rdx, rax
imul rdx, r14
mov rcx, qword [rbx + 0x30]
and rcx, rdx
shl rcx, 4
add rcx, qword [rbx + 0x18]
mov rax, qword [rcx + 8]
mov rdx, qword [rbx + 8]
cmp rax, rdx
je 0x140002211
mov rcx, qword [rcx]
cmp r8, qword [rax + 0x10]
je 0x140002213
nop dword [rax + rax]
cmp rax, rcx
je 0x140002211
mov rax, qword [rax + 8]
cmp r8, qword [rax + 0x10]
jne 0x140002200
jmp 0x140002213
xor eax, eax
test rax, rax
cmove rax, rdx
cmp rax, rdx
je 0x14000222d
mov rcx, qword [rbp - 0x48]
cmp qword [rax + 0x18], rcx
je 0x140002847
mov qword [rsp + 0x30], r8
lea r8, [rsp + 0x30]
lea rdx, [rbp - 0x80]
mov rcx, rbx
call fcn.140005b00
mov rcx, qword [rax]
mov rax, qword [rbp - 0x48]
mov qword [rcx + 0x18], rax
xorps xmm0, xmm0
mov rbx, qword [rbp - 0x48]
movdqu xmmword [rbp + 0x20], xmm0
xor r12d, r12d
mov qword [rbp + 0x30], r12
test rbx, rbx
je 0x1400022d9
movabs rax, 0x7fffffffffffffff
cmp rbx, rax
ja 0x14000288b
cmp rbx, 0x1000
jb 0x1400022ab
lea rcx, [rbx + 0x27]
cmp rcx, rbx
jbe 0x140002891
call fcn.140007270
test rax, rax
je 0x140002884
lea r14, [rax + 0x27]
and r14, 0xffffffffffffffe0
mov qword [r14 - 8], rax
jmp 0x1400022b6
mov rcx, rbx
call fcn.140007270
mov r14, rax
mov qword [rbp + 0x20], r14
lea r12, [rbx + r14]
mov qword [rbp + 0x30], r12
mov r8, rbx
xor edx, edx
mov rcx, r14
call sub.VCRUNTIME140.dll_memset
mov qword [rbp + 0x28], r12
mov rbx, qword [rbp - 0x48]
jmp 0x1400022dd
mov r14, qword [rbp + 0x20]
lea rax, [rbp + 0x38]
mov qword [rsp + 0x20], rax
mov r9, rbx
mov r8, r14
mov rdx, qword [rbp - 0x60]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x1400027fa
xor edx, edx
mov r8d, 0xe8
lea rcx, [rbp + 0x40]
call sub.VCRUNTIME140.dll_memset
lea rax, [0x140009ba0]
mov qword [rbp + 0x40], rax
lea rcx, [rbp + 0xc8]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::constructor_void____ptr64]
nop
or edi, 1
mov dword [rsp + 0x30], edi
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp + 0x48]
lea rcx, [rbp + 0x40]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char______ptr64__bool____ptr64]
nop
mov rax, qword [rbp + 0x40]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rbp + rcx + 0x40], rax
mov rax, qword [rbp + 0x40]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x88]
mov dword [rbp + rcx + 0x3c], edx
lea rcx, [rbp + 0x48]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void____ptr64]
lea rax, vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rbp + 0x48], rax
mov qword [rbp + 0xb0], 0
mov dword [rbp + 0xb8], 4
lea rdx, str.DIWNESS_Auto_Dynamic_Dump_
lea rcx, [rbp + 0x40]
call fcn.140005510
mov edx, dword [r13]
lea ecx, [rdx + 1]
mov dword [r13], ecx
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___int____ptr64]
mov rcx, rax
lea rdx, str..bin
call fcn.140005510
nop
xorps xmm0, xmm0
movups xmmword [rbp], xmm0
xor esi, esi
mov qword [rbp + 0x10], rsi
mov r13d, 0xf
mov qword [rbp + 0x18], r13
mov byte [rbp], sil
or edi, 4
mov dword [rsp + 0x30], edi
movups xmmword [rsp + 0x68], xmm0
mov ecx, dword [rbp + 0xb8]
mov eax, ecx
and al, 0x22
cmp al, 2
je 0x14000242a
mov rax, qword [rbp + 0x88]
mov r8, qword [rax]
test r8, r8
je 0x14000242a
mov rax, qword [rbp + 0x68]
mov rdx, qword [rax]
cmp r8, qword [rbp + 0xb0]
cmovb r8, qword [rbp + 0xb0]
sub r8, rdx
jmp 0x140002461
test cl, 4
jne 0x140002457
mov rax, qword [rbp + 0x80]
mov rcx, qword [rax]
test rcx, rcx
je 0x140002457
mov rax, qword [rbp + 0x60]
mov rdx, qword [rax]
mov rax, qword [rbp + 0x98]
movsxd r8, dword [rax]
sub r8, rdx
add r8, rcx
jmp 0x140002461
mov r8, qword [rsp + 0x70]
mov rdx, qword [rsp + 0x68]
test rdx, rdx
je 0x140002477
lea rcx, [rbp]
call fcn.1400051d0
mov r13, qword [rbp + 0x18]
mov rsi, qword [rbp + 0x10]
and edi, 0xfffffffb
or edi, 2
mov dword [rsp + 0x30], edi
lea r8, [rbp]
mov r15, qword [rbp]
cmp r13, 0xf
cmova r8, r15
movabs rdx, 0xcbf29ce484222325
xor ecx, ecx
test rsi, rsi
je 0x1400024c4
movabs r9, 0x100000001b3
nop dword [rax]
movzx eax, byte [rcx + r8]
xor rdx, rax
imul rdx, r9
inc rcx
cmp rcx, rsi
jb 0x1400024b0
mov r8, qword [rsp + 0x38]
mov rcx, qword [r8 + 0x30]
and rcx, rdx
add rcx, rcx
mov rax, qword [r8 + 0x18]
mov rbx, qword [rax + rcx*8 + 8]
mov rdi, qword [r8 + 8]
cmp rbx, rdi
je 0x14000252c
mov rax, qword [rax + rcx*8]
mov qword [rsp + 0x50], rax
nop
lea rdx, [rbx + 0x10]
mov rax, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0xf
jbe 0x140002502
mov rdx, qword [rdx]
lea rcx, [rbp]
cmp r13, 0xf
cmova rcx, r15
cmp rsi, rax
jne 0x14000251f
mov r8, rsi
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x14000252e
cmp rbx, qword [rsp + 0x50]
je 0x14000252c
mov rbx, qword [rbx + 8]
jmp 0x1400024f0
xor ebx, ebx
test rbx, rbx
cmove rbx, rdi
cmp rbx, rdi
jne 0x140002756
xor edx, edx
mov r8d, 0x108
lea rcx, [rbp + 0x130]
call sub.VCRUNTIME140.dll_memset
lea rdx, [rbp]
cmp r13, 0xf
cmova rdx, r15
mov r8d, 0x20
lea rcx, [rbp + 0x130]
call fcn.140003d10
nop
mov r8, qword [rbp + 0x38]
mov rdx, r14
lea rcx, [rbp + 0x130]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::write_char_const____ptr64__long_long___int64_____ptr64]
lea rcx, [rbp + 0x138]
call fcn.140004e60
test rax, rax
jne 0x1400025b9
mov rax, qword [rbp + 0x130]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0x130]
add rcx, rax
xor r8d, r8d
mov edx, 2
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
lea r8, [rbp]
lea rdx, [rbp - 0x70]
mov rcx, qword [rsp + 0x38]
call fcn.140005710
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
cmp rax, 0xffffffffffffffff
je 0x1400025ea
mov edx, 0xd
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
lea rdx, str._DIWNESS__Found_data_at_address:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140005510
lea rdx, [0x140001290]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::ios_base____ptr64____cdecl___class_std::ios_base____ptr64_____ptr64]
mov rdx, qword [rbp - 0x60]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_long_long_unsigned___int64_____ptr64]
mov rcx, rax
lea rdx, [0x1400096d4]
call fcn.140005510
lea rdx, str._DIWNESS__Saved_data_to_disk_____
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140005510
lea rdx, [rbp]
cmp qword [rbp + 0x18], 0xf
cmova rdx, qword [rbp]
mov r8, qword [rbp + 0x10]
mov rcx, rax
call fcn.140006b50
lea rdx, [0x140009834]
mov rcx, rax
call fcn.140005510
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
cmp rax, 0xffffffffffffffff
je 0x140002684
mov edx, 0xf
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
lea rcx, [rbp]
call fcn.1400016d0
nop
mov rax, qword [rbp + 0x130]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0x130], rax
mov rax, qword [rbp + 0x130]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx + 0x12c], edx
lea rax, vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov qword [rbp + 0x138], rax
cmp qword [rbp + 0x1b8], 0
je 0x140002711
lea rcx, [rbp + 0x1a8]
mov rax, qword [rbp + 0x150]
cmp qword [rax], rcx
jne 0x140002711
mov rdx, qword [rbp + 0x1c8]
mov rcx, qword [rbp + 0x1c0]
mov qword [rax], rcx
mov rax, qword [rbp + 0x170]
mov qword [rax], rcx
sub edx, ecx
mov rax, qword [rbp + 0x188]
mov dword [rax], edx
cmp byte [rbp + 0x1b4], 0
je 0x140002726
lea rcx, [rbp + 0x138]
call fcn.140004e60
lea rcx, [rbp + 0x138]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
lea rcx, [rbp + 0x140]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0x1d8]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
mov r13, qword [rbp + 0x18]
mov r15, qword [rbp]
cmp r13, 0xf
jbe 0x14000278d
lea rdx, [r13 + 1]
mov rax, r15
cmp rdx, 0x1000
jb 0x140002785
add rdx, 0x27
mov r15, qword [r15 - 8]
sub rax, r15
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000287d
mov rcx, r15
call fcn.1400072ac
mov qword [rbp + 0x10], 0
mov qword [rbp + 0x18], 0xf
mov byte [rbp], 0
mov rax, qword [rbp + 0x40]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rbp + rcx + 0x40], rax
mov rax, qword [rbp + 0x40]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x88]
mov dword [rbp + rcx + 0x3c], edx
lea rcx, [rbp + 0x48]
call fcn.140003bf0
lea rcx, [rbp + 0x50]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0xc8]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
mov edi, dword [rsp + 0x30]
mov rsi, qword [rsp + 0x48]
mov r15, qword [rsp + 0x58]
mov r13, qword [rsp + 0x60]
test r14, r14
je 0x14000282e
sub r12, r14
mov rax, r14
cmp r12, 0x1000
jb 0x140002823
add r12, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002884
mov rdx, r12
mov rcx, r14
call fcn.1400072ac
movabs r12, 0xcbf29ce484222325
movabs r14, 0x100000001b3
mov rbx, qword [rsp + 0x40]
add rsi, qword [rbp - 0x48]
mov qword [rsp + 0x48], rsi
cmp rsi, qword [rbp - 0x20]
jb 0x140002110
mov rcx, qword [rbp + 0x240]
xor rcx, rsp
call fcn.140007250
add rsp, 0x358
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140006b30
int3
call fcn.140001110
int3