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

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0xb0
movaps xmmword [rax - 0x18], xmm6
mov rax, qword [0x14009c900]
xor rax, rsp
mov qword [rbp + 0x37], rax
movups xmm0, xmmword [str.YFGDF_f]
movups xmmword [rbp - 0x31], xmm0
movups xmm1, xmmword [0x14007b788]
movups xmmword [rbp - 0x21], xmm1
movzx eax, word [0x14007b798]
mov word [rbp - 0x11], ax
xor r8d, r8d
cmp dword [reloc.WS2_32.dll_accept], 2
jl 0x1400083c5
movdqa xmm5, xmmword [0x14007ad70]
movdqa xmm4, xmmword [0x14007b6e0]
movdqa xmm6, xmmword [str.7777]
movdqa xmm0, xmmword [0x14007b6f0]
movdqa xmmword [rbp - 9], xmm0
lea rcx, [rbp - 0x2d]
mov edx, dword [rbp - 9]
nop word [rax + rax]
movd xmm2, r8d
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x14007ad90]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
xorps xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [r8 + 4]
movd xmm3, eax
pshufd xmm3, xmm3, 0
paddd xmm3, xmm5
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x14007ad90]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
xorps xmm2, xmm0
movd dword [rcx], xmm2
add r8d, 8
lea rcx, [rcx + 8]
cmp r8d, 0x20
jl 0x1400082c0
cmp r8d, 0x22
jge 0x1400083ff
movsxd rax, r8d
lea r9, [rbp - 0x31]
add r9, rax
nop
mov eax, 0x94f2095
imul r8d
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x37
movzx eax, r8b
sub al, cl
add al, 0x31
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x22
jl 0x1400083d0
xorps xmm0, xmm0
movups xmmword [rbp + 0x17], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x27], xmm1
lea rax, [rbp - 0x31]
mov rbx, 0xffffffffffffffff
mov r8, rbx
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x140008420
lea rdx, [rbp - 0x31]
lea rcx, [rbp + 0x17]
call fcn.140004bf0
nop
xorps xmm0, xmm0
movups xmmword [rbp - 9], xmm0
mov qword [rbp + 7], 0
mov qword [rbp + reloc.WS2_32.dll_ntohs], 0xf
mov byte [rbp - 9], 0
call qword [fcn.140029640]
mov rdi, rax
test rax, rax
je 0x14000865a
lea r8, [rbp + 0x17]
cmp qword [rbp + 0x2f], 0xf
cmova r8, qword [rbp + 0x17]
mov edx, 0x2712
mov rcx, rax
call qword [fcn.14002bee0]
lea r8, [0x1400091b0]
mov edx, 0x4e2b
mov rcx, rdi
call qword [fcn.14002bee0]
lea r8, [rbp - 9]
mov edx, 0x2711
mov rcx, rdi
call qword [fcn.14002bee0]
mov rcx, rdi
call qword [fcn.140029700]
mov rsi, qword [rbp + 0xf]
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x140008662
movzx eax, word [0x14007b79c]
mov word [rbp - 0x39], ax
cmp byte [reloc.WLDAP32.dll_Ordinal_50], 0
je 0x1400084dd
mov byte [rbp - 0x39], Ordinal_50
xor byte [rbp - 0x38], 0x32
lea rax, [rbp - 0x39]
inc rbx
cmp byte [rax + rbx], 0
jne 0x1400084e1
lea rcx, [rbp - 9]
cmp rsi, 0xf
cmova rcx, rdi
mov r8, qword [rbp + 7]
cmp r8, rbx
jne 0x140008513
lea rdx, [rbp - 0x39]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x140008513
mov bl, 1
jmp 0x140008664
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop dword [rax]
nop dword [rax + rax]
mov r10, qword [rax + 0x30]
movsxd rcx, dword [r10 + 0x3c]
mov edi, dword [rcx + r10 + 0x88]
add rdi, r10
cmp rdi, r10
je 0x1400085a6
mov r9d, dword [rdi + 0x18]
test r9d, r9d
je 0x1400085a6
mov ebx, dword [rdi + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
lea rcx, [rbx + r9*4]
mov ecx, dword [rcx + r10]
add rcx, r10
mov r8d, 0x31499662
movzx edx, byte [rcx]
inc rcx
test dl, dl
je 0x1400085a1
nop
movsx edx, dl
xor edx, r8d
imul r8d, edx, 0x1000193
movzx edx, byte [rcx]
lea rcx, [rcx + 1]
test dl, dl
jne 0x140008580
cmp r8d, 0xd4e84eba
je 0x1400085ab
test r9d, r9d
jne 0x140008560
mov rax, qword [rax]
jmp 0x140008530
mov ecx, dword [rdi + 0x1c]
add rcx, r10
mov eax, dword [rdi + 0x24]
add rax, r10
movzx eax, word [rax + r9*2]
mov edx, dword [rcx + rax*4]
add rdx, r10
xor ecx, ecx
call rdx
nop
mov rdx, qword [rbp + 0xf]
cmp rdx, 0xf
jbe 0x140008602
inc rdx
mov rcx, qword [rbp - 9]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400085fd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000868f
call fcn.140077578
mov qword [rbp + 7], 0
mov qword [rbp + reloc.WS2_32.dll_ntohs], 0xf
mov byte [rbp - 9], 0
mov rdx, qword [rbp + 0x2f]
cmp rdx, 0xf
jbe 0x1400086f3
inc rdx
mov rcx, qword [rbp + 0x17]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140008650
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400086e4
call fcn.140077578
jmp 0x1400086f3
mov rsi, qword [rbp + 0xf]
mov rdi, qword [rbp - 9]
xor bl, bl
cmp rsi, 0xf
jbe 0x14000869e
lea rdx, [rsi + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x140008696
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140008696
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rdi
call fcn.140077578
mov qword [rbp + 7], 0
mov qword [rbp + reloc.WS2_32.dll_ntohs], 0xf
mov byte [rbp - 9], 0
mov rdx, qword [rbp + 0x2f]
cmp rdx, 0xf
jbe 0x1400086f0
inc rdx
mov rcx, qword [rbp + 0x17]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400086eb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400086eb
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140077578
movzx eax, bl
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.140077370
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop rbp
ret