Function at 0x140006b30
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 [0x140090160]
movsd xmm0, qword [0x140090158]
mov word [rbp - 8], ax
movzx eax, byte [0x140090162]
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 0x140006bf7
mov r9d, dword [rbx + 0x18]
test r9d, r9d
je 0x140006bf7
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 0x140006bf2
nop
movsx edx, dl
lea rcx, [rcx + 1]
xor edx, r8d
imul r8d, edx, 0x1000193
movzx edx, byte [rcx - 1]
test dl, dl
jne 0x140006bd0
cmp r8d, 0x491e0a9c
je 0x140006bfc
test r9d, r9d
jne 0x140006bb0
mov rax, qword [rax]
jmp 0x140006b80
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], 0x34
add rax, r10
xor byte [rbp - 0xe], 0x35
xor byte [rbp - 0xd], 0x36
xor byte [rbp - 0xc], 0x37
xor byte [rbp - 0xb], 0x38
xor byte [rbp - 0xa], 0x39
xor byte [rbp - 9], 0x3a
xor byte [rbp - 8], 0x3b
xor byte [rbp - 7], 0x3c
xor byte [rbp - 6], 0x3d
mov byte [rbp - 0x10], WSASetLastError
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______..._________________n_______________..__________n_______________..___________n____..._.______...___________n________...____.._______.____n___._____..___._.______:.___n__.._____..._cl:.____._____n_________::clodlc_.___..____n_____..__...____:c:.__.._____n___________...:oxxl_._._____n_________...._cloxkkdc_______n________..._:codddoc_.______n________.._:cllol:_..________n_______...______..___________n_________......______________n_______________________________________________n
call fcn.140004d20
mov rcx, rax
mov rbx, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x30
pop rbp
jmp 0x14001c280
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 0x14001c2bd
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
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 0x14001c301
mov rax, qword [rdi]
movsxd rcx, dword [rax + 4]
mov rcx, qword [rcx + rdi + 0x50]
test rcx, rcx
je 0x14001c2ff
cmp rcx, rdi
je 0x14001c2ff
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 0x14001c301
mov al, 1
mov byte [rsp + 0x28], al
test al, al
je 0x14001c3d2
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 0x14001c36e
mov r14d, ebx
test ebx, ebx
jne 0x14001c390
test rsi, rsi
jle 0x14001c36b
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 0x14001c335
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 0x14001c3c2
test rsi, rsi
jle 0x14001c3c2
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 0x14001c38a
jmp 0x14001c3d2
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 0x14001c40c
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 0x14001c424
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
nop
mov rax, rdi
add rsp, 0x30
pop r15
pop r14
pop rdi
pop rsi
pop rbx
ret