Function at 0x140006440
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
mov rbp, rsp
sub rsp, 0x30
movzx eax, word [0x14001e6b0]
movsd xmm0, qword [str._WQ]
mov word [rbp - 8], ax
movzx eax, byte [0x14001e6b2]
mov byte [rbp - 6], al
movsd qword [rbp - 0x10], xmm0
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop word [rax + rax]
mov r10, qword [rax + 0x30]
movsxd rcx, dword [r10 + 0x3c]
mov ebx, dword [rcx + r10 + 0x88]
add rbx, r10
cmp rbx, r10
je 0x140006507
mov r9d, dword [rbx + 0x18]
test r9d, r9d
je 0x140006507
mov edi, dword [rbx + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
mov r8d, 0x811c9dc5
lea rcx, [rdi + r9*4]
mov ecx, dword [rcx + r10]
add rcx, r10
movzx edx, byte [rcx]
inc rcx
test dl, dl
je 0x140006502
nop
movsx edx, dl
lea rcx, [rcx + 1]
xor edx, r8d
imul r8d, edx, 0x1000193
movzx edx, byte [rcx - 1]
test dl, dl
jne 0x1400064e0
cmp r8d, 0x491e0a9c
je 0x14000650c
test r9d, r9d
jne 0x1400064c0
mov rax, qword [rax]
jmp 0x140006490
mov ecx, dword [rbx + 0x24]
add rcx, r10
movzx edx, word [rcx + r9*2]
mov ecx, dword [rbx + 0x1c]
add rcx, r10
mov eax, dword [rcx + rdx*4]
lea rcx, [rbp - 0x10]
xor byte [rbp - 0xf], 0x32
add rax, r10
xor byte [rbp - 0xe], 0x33
xor byte [rbp - 0xd], 0x34
xor byte [rbp - 0xc], 0x35
xor byte [rbp - 0xb], 0x36
xor byte [rbp - 0xa], 0x37
xor byte [rbp - 9], 0x38
xor byte [rbp - 8], 0x39
xor byte [rbp - 7], 0x3a
xor byte [rbp - 6], 0x3b
mov byte [rbp - 0x10], 0x6d
call rax
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str._n____n_______________________________________________n
call fcn.1400048a0
mov rcx, rax
mov rbx, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x30
pop rbp
jmp 0x14001a750
mov byte [rsp + 0x10], dl
mov qword [rsp + 8], rcx
push rbx
push rsi
push rdi
push r14
push r15
sub rsp, 0x30
mov rdi, rcx
xor ebx, ebx
mov dword [rsp + 0x68], ebx
mov r15, rcx
mov qword [rsp + 0x20], rcx
mov rax, qword [rcx]
movsxd rdx, dword [rax + 4]
mov rcx, qword [rdx + rcx + 0x48]
test rcx, rcx
je 0x14001a78d
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rax, qword [rdi]
movsxd rcx, dword [rax + 4]
add rcx, rdi
call qword [sym.imp.MSVCP140.dll_public:_bool___cdecl_std::ios_base::good_void_const___ptr64]
test al, al
je 0x14001a7d1
mov rax, qword [rdi]
movsxd rcx, dword [rax + 4]
mov rcx, qword [rcx + rdi + 0x50]
test rcx, rcx
je 0x14001a7cf
cmp rcx, rdi
je 0x14001a7cf
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__::flush_void____ptr64]
mov rax, qword [rdi]
movsxd rcx, dword [rax + 4]
add rcx, rdi
call qword [sym.imp.MSVCP140.dll_public:_bool___cdecl_std::ios_base::good_void_const___ptr64]
jmp 0x14001a7d1
mov al, 1
mov byte [rsp + 0x28], al
test al, al
je 0x14001a8a2
mov rcx, qword [rdi]
movsxd rdx, dword [rcx + 4]
mov r8, qword [rdx + rdi + 0x28]
lea rax, [r8 - 1]
xor esi, esi
cmp r8, 1
cmovg rsi, rax
mov eax, dword [rdx + rdi + 0x18]
and eax, 0x1c0
cmp eax, 0x40
je 0x14001a83e
mov r14d, ebx
test ebx, ebx
jne 0x14001a860
test rsi, rsi
jle 0x14001a83b
mov rax, qword [rdi]
movsxd rcx, dword [rax + 4]
movzx edx, byte [rcx + rdi + 0x58]
mov rcx, qword [rcx + rdi + 0x48]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::sputc_char____ptr64]
dec rsi
or ebx, 4
cmp eax, 0xffffffff
cmovne ebx, r14d
mov dword [rsp + 0x68], ebx
jmp 0x14001a805
mov rcx, qword [rdi]
movsxd rcx, dword [rcx + 4]
mov dl, 0xa
mov rcx, qword [rcx + rdi + 0x48]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::sputc_char____ptr64]
mov ecx, 4
cmp eax, 0xffffffff
cmove ebx, ecx
mov dword [rsp + 0x68], ebx
nop
mov r14d, ebx
test ebx, ebx
jne 0x14001a892
test rsi, rsi
jle 0x14001a892
mov rax, qword [rdi]
movsxd rcx, dword [rax + 4]
movzx edx, byte [rcx + rdi + 0x58]
mov rcx, qword [rcx + rdi + 0x48]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::sputc_char____ptr64]
dec rsi
or ebx, 4
cmp eax, 0xffffffff
cmovne ebx, r14d
jmp 0x14001a85a
jmp 0x14001a8a2
mov rax, qword [rdi]
movsxd rcx, dword [rax + 4]
mov qword [rcx + rdi + 0x28], 0
mov rax, qword [rdi]
movsxd rcx, dword [rax + 4]
add rcx, rdi
xor r8d, r8d
mov edx, ebx
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
nop
call qword [sym.imp.MSVCP140.dll_bool___cdecl_std::uncaught_exception_void_]
test al, al
jne 0x14001a8dc
mov rcx, r15
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::_Osfx_void____ptr64]
nop
mov rax, qword [r15]
movsxd rcx, dword [rax + 4]
mov rcx, qword [rcx + r15 + 0x48]
test rcx, rcx
je 0x14001a8f4
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov rax, rdi
add rsp, 0x30
pop r15
pop r14
pop rdi
pop rsi
pop rbx
ret