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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x47]
sub rsp, 0x90
mov rax, qword gs:[0x60]
mov rcx, qword [rax + 0x18]
mov r14, qword [rcx + 0x10]
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 0x1400396b8
mov r8d, dword [rdi + 0x18]
test r8d, r8d
je 0x1400396b8
mov r11d, dword [rdi + 0x20]
nop dword [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 0x1400396b3
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 0x140039690
cmp edx, 0x53b2070f
je 0x1400399cb
test r8d, r8d
jne 0x140039670
mov rax, qword [rsi]
mov rsi, rax
cmp rax, r14
jne 0x140039644
mov r8, rbx
cmp byte [0x1400cfa09], bl
movsd xmm0, qword [str.ZAR_T]
movzx eax, word [0x1400cfa08]
movsd qword [rbp - 0x29], xmm0
mov word [rbp - 0x21], ax
je 0x14003970e
xor byte [rbp - 0x28], 0x35
xor byte [rbp - 0x27], 0x36
xor byte [rbp - 0x26], 0x37
xor byte [rbp - 0x25], 0x38
xor byte [rbp - 0x24], 0x39
xor byte [rbp - 0x23], 0x3a
xor byte [rbp - 0x22], 0x3b
xor byte [rbp - 0x21], 0x3c
xor byte [rbp - 0x20], 0x3d
mov byte [rbp - 0x29], WSASetLastError
lea rcx, [rbp - 0x29]
call r8
mov r15, rax
lea rcx, [rax - 1]
cmp rcx, 0xfffffffffffffffd
ja 0x140039a05
mov rcx, qword gs:[0x60]
mov rdx, qword [rcx + 0x18]
mov r14, qword [rdx + 0x10]
mov rsi, r14
nop word [rax + rax]
mov r9, qword [rsi + 0x30]
movsxd rax, dword [r9 + 0x3c]
mov edi, dword [rax + r9 + 0x88]
add rdi, r9
cmp rdi, r9
je 0x1400397b8
mov r8d, dword [rdi + 0x18]
test r8d, r8d
je 0x1400397b8
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 0x1400397b3
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 0x140039790
cmp edx, 0xf8f45725
je 0x1400399e8
test r8d, r8d
jne 0x140039770
mov rax, qword [rsi]
mov rsi, rax
cmp rax, r14
jne 0x140039740
mov r10, rbx
cmp byte [0x1400cfa31], bl
movups xmm0, xmmword [str.zAgB_KCrR_QM__6]
movzx eax, word [0x1400cfa30]
mov word [rbp + 0xf], ax
movups xmmword [rbp - 9], xmm0
movsd xmm0, qword [0x1400cfa28]
movsd qword [rbp + 7], xmm0
je 0x1400399af
cmp dword [reloc.WS2_32.dll_accept], 2
jl 0x140039975
movdqa xmm0, xmmword [0x1400d0610]
lea rcx, [rbp - 5]
movdqa xmm5, xmmword [0x1400d0400]
mov eax, 4
movdqa xmm4, xmmword [0x1400d07f0]
movaps xmmword [rsp + 0x80], xmm6
movaps xmmword [rsp + 0x70], xmm7
movdqa xmm7, xmmword [0x1400d0420]
movd xmm6, eax
mov eax, Ordinal_32
movdqa xmmword [rbp - 0x19], xmm0
mov edx, dword [rbp - 0x19]
movaps xmmword [rsp + 0x60], xmm8
movd xmm8, eax
nop dword [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
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x1400d0480]
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
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, edx
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1400d0480]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp ebx, 0x18
jl 0x140039860
movaps xmm8, xmmword [rsp + 0x60]
movaps xmm7, xmmword [rsp + 0x70]
movaps xmm6, xmmword [rsp + 0x80]
cmp eax, 0x1a
jge 0x1400399af
movsxd rax, ebx
lea r8, [rbp - 9]
add r8, rax
nop
mov eax, 0x4ec4ec4f
lea r8, [r8 + 1]
imul ebx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 1
sub al, dl
movsx eax, al
imul ecx, eax, 0x34
add cl, bl
inc ebx
xor byte [r8 - 1], cl
cmp ebx, 0x1a
jl 0x140039980
lea rdx, [rbp - 9]
mov rcx, r15
call r10
test rax, rax
je 0x140039a05
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov eax, 1
jmp 0x140039a07
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 0x1400396c6
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 0x1400397ca
xor eax, eax
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret