Function at 0x140090340
Capabilities:
Access peb ldr_data
Encode data using xor
Get kernel32 base address
Hash data using fnv
Resolve function by fnv-1a hash
Resolve function by parsing pe exports

Disassembly:
mov rax, rsp
push rbp
mov rbp, rsp
sub rsp, 0x80
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax - 0x10], r14
mov qword [rax - 0x18], r15
mov rax, qword gs:[0x60]
mov rcx, qword [rax + 0x18]
mov rax, qword [rcx + 0x10]
mov r14, qword [rax]
mov rsi, r14
nop dword [rax]
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 0x1400903f8
mov r8d, dword [rdi + 0x18]
test r8d, r8d
je 0x1400903f8
mov r11d, dword [rdi + 0x20]
nop word [rax + rax]
dec r8d
mov edx, 0x811c9dc5
lea rax, [r11 + r8*4]
mov eax, dword [rax + r9]
add rax, r9
movzx ecx, byte [rax]
inc rax
test cl, cl
je 0x1400903f3
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 0x1400903d0
cmp edx, 0x53b2070f
je 0x1400907af
test r8d, r8d
jne 0x1400903b0
mov rax, qword [rsi]
mov rsi, rax
cmp rax, r14
je 0x14009040d
cmp qword [rax + 0x30], rbx
jne 0x140090380
mov r8, rbx
cmp byte [0x140170079], bl
movsd xmm0, qword [str.WN_PQ]
movzx eax, word [0x140170078]
movsd qword [rbp - 0x60], xmm0
mov word [rbp - 0x58], ax
je 0x140090458
xor byte [rbp - 0x5f], 0x3a
xor byte [rbp - 0x5e], 0x3b
xor byte [rbp - 0x5d], 0x3c
xor byte [rbp - 0x5c], 0x3d
xor byte [rbp - 0x5b], 0x3e
xor byte [rbp - 0x5a], 0x3f
xor byte [rbp - 0x59], 0x40
xor byte [rbp - 0x58], 0x41
xor byte [rbp - 0x57], 0x42
mov byte [rbp - 0x60], WSAGetLastError
lea rcx, [rbp - 0x60]
call r8
mov rcx, qword gs:[0x60]
mov r15, rax
mov rdx, qword [rcx + 0x18]
mov rcx, qword [rdx + 0x10]
mov r14, qword [rcx]
mov rsi, r14
nop dword [rax]
mov r9, qword [rsi + 0x30]
movsxd rcx, dword [r9 + 0x3c]
mov edi, dword [rcx + r9 + 0x88]
add rdi, r9
cmp rdi, r9
je 0x1400904f8
mov r8d, dword [rdi + 0x18]
test r8d, r8d
je 0x1400904f8
mov r11d, dword [rdi + 0x20]
nop word [rax + rax]
dec r8d
mov edx, 0x811c9dc5
lea rax, [r11 + r8*4]
mov ecx, dword [rax + r9]
add rcx, r9
movzx eax, byte [rcx]
inc rcx
test al, al
je 0x1400904f3
nop dword [rax]
movsx eax, al
lea rcx, [rcx + 1]
xor eax, edx
imul edx, eax, 0x1000193
movzx eax, byte [rcx - 1]
test al, al
jne 0x1400904d0
cmp edx, 0xf8f45725
je 0x1400907cc
test r8d, r8d
jne 0x1400904b0
mov rax, qword [rsi]
mov rsi, rax
cmp rax, r14
je 0x14009050d
cmp qword [rax + 0x30], rbx
jne 0x140090480
mov r10, rbx
cmp byte [0x140170279], bl
movups xmm0, xmmword [str.wNjIXLF_t___6_3__e____R]
movzx eax, word [0x140170278]
mov r14, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x98]
movups xmmword [rbp - 0x40], xmm0
mov word [rbp - 0x28], ax
movsd xmm0, qword [0x140170270]
movsd qword [rbp - 0x30], xmm0
je 0x1400906e1
cmp dword [reloc.WS2_32.dll_accept], 2
jl 0x1400906a1
movdqa xmm0, xmmword [0x140176220]
lea rcx, [rbp - 0x3c]
movdqa xmm5, xmmword [0x140176070]
movdqa xmm4, xmmword [0x140176370]
movdqa xmmword [rbp - 0x50], xmm0
mov edx, dword [rbp - 0x50]
movaps xmmword [rsp + 0x60], xmm6
movdqa xmm6, xmmword [0x140176100]
nop word [rax + rax]
movd xmm2, ebx
lea eax, [rbx + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 8]
paddd xmm2, xmm5
movd xmm3, eax
movdqa xmm1, xmm2
pshufd xmm3, xmm3, 0
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
paddd xmm3, xmm5
pmuldq xmm0, xmm4
add ebx, 8
pmuldq xmm1, xmm4
mov eax, ebx
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
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
movdqa xmm1, xmm3
andps xmm2, xmmword [0x1401761c0]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 0xc]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rcx - 0xc], xmm2
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, edx
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1401761c0]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp ebx, 0x18
jl 0x140090590
movaps xmm6, xmmword [rsp + 0x60]
cmp eax, 0x1a
jge 0x1400906e1
movsxd rax, ebx
lea r8, [rbp - 0x40]
add r8, rax
nop dword [rax + 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, 0x1a
jl 0x1400906b0
lea rdx, [rbp - 0x40]
mov rcx, r15
call r10
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
call fcn.14008f320
mov rdi, qword gs:[0x60]
mov r15, qword [rsp + 0x70]
mov rax, qword [rdi + 0x18]
add rax, 0x10
mov rbx, qword [rax]
cmp rbx, rax
je 0x14009074c
test rbx, rbx
je 0x14009074c
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
cmp qword [rbx + 0x30], rax
jne 0x14009073c
mov rcx, qword [rbx]
mov rax, qword [rbx + 8]
mov qword [rcx + 8], rax
mov rcx, qword [rbx + 8]
mov rax, qword [rbx]
mov qword [rcx], rax
mov rax, qword [rdi + 0x18]
mov rbx, qword [rbx]
add rax, 0x10
cmp rbx, rax
jne 0x140090714
mov r8, qword gs:[0x60]
mov rdi, qword [rsp + 0xa0]
mov rbx, qword [rsp + 0x90]
mov rax, qword [r8 + 0x18]
add rax, 0x30
mov rdx, qword [rax]
cmp rdx, rax
je 0x1400907a6
test rdx, rdx
je 0x1400907a6
cmp qword [rdx + 0x10], 0
je 0x140090796
mov rcx, qword [rdx]
mov rax, qword [rdx + 8]
mov qword [rcx + 8], rax
mov rcx, qword [rdx + 8]
mov rax, qword [rdx]
mov qword [rcx], rax
mov rax, qword [r8 + 0x18]
mov rdx, qword [rdx]
add rax, 0x30
cmp rdx, rax
jne 0x140090775
add rsp, 0x80
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 0x140090410
mov ecx, dword [rdi + 0x24]
add rcx, r9
movzx edx, word [rcx + r8*2]
mov ecx, dword [rdi + 0x1c]
add rcx, r9
mov r10d, dword [rcx + rdx*4]
add r10, r9
jmp 0x140090510