Function at 0x14008d6c0
Capabilities:
Initialize winsock library
Resolve dns

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x100]
sub rsp, 0x200
mov rax, qword [0x1403c3d98]
xor rax, rsp
mov qword [rbp + 0xf0], rax
mov rdi, rdx
mov rbx, rcx
mov qword [rsp + 0x28], rcx
xor r13d, r13d
mov r14, qword [rdx + 0x10]
mov rsi, rdx
cmp qword [rdx + 0x18], 0x10
jb 0x14008d70f
mov rsi, qword [rdx]
test r14, r14
je 0x14008d772
xor edx, edx
mov r8d, 0x100
lea rcx, [rsp + 0x50]
call fcn.140297340
lea rcx, [0x1402d11a8]
lea rdx, [0x1402d11b3]
nop dword [rax]
nop dword [rax + rax]
movzx eax, byte [rcx]
mov byte [rsp + rax + 0x50], 1
inc rcx
cmp rcx, rdx
jne 0x14008d740
lea rdx, [r14 + rsi]
mov rcx, rsi
cmp rsi, rdx
jae 0x14008d772
nop dword [rax]
movzx eax, byte [rcx]
cmp byte [rsp + rax + 0x50], r13b
je 0x14008d7aa
inc rcx
cmp rcx, rdx
jb 0x14008d760
mov rdx, rdi
mov rcx, rbx
call fcn.14007e350
mov rax, rbx
mov rcx, qword [rbp + 0xf0]
xor rcx, rsp
call fcn.1402959c0
mov rbx, qword [rsp + 0x250]
add rsp, 0x200
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
sub rcx, rsi
cmp rcx, 0xffffffffffffffff
je 0x14008d772
mov ecx, 0x202
lea rdx, [rsp + 0x50]
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x14008d88f
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], r13
mov qword [rsp + 0x48], reloc.WS2_32.dll_ntohs
mov edx, 0x20
lea rcx, [rsp + 0x30]
call fcn.14007b800
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x40], reloc.WS2_32.dll_send
mov qword [rsp + 0x48], 0x1f
movups xmm0, xmmword [str.WSA_Startup_Failed_]
movups xmmword [rax], xmm0
movzx ecx, word [0x1402d11c8]
mov word [rax + 0x10], cx
movzx ecx, byte [0x1402d11ca]
mov byte [rax + 0x12], cl
mov byte [rax + 0x13], r13b
lea rcx, [rsp + 0x30]
call fcn.140087e20
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 0x10
jb 0x14008d872
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14008d86d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14008da93
call fcn.14029591c
call qword [sym.imp.WS2_32.dll_WSACleanup]
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], r13
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
jmp 0x14008d77d
mov rcx, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x14008d89c
mov rcx, qword [rdi]
call qword [sym.imp.WS2_32.dll_gethostbyname]
test rax, rax
jne 0x14008da2e
mov r15, qword [rdi + 0x10]
movabs rcx, 0x7fffffffffffffff
mov rax, rcx
sub rax, r15
cmp rax, 0x16
jb 0x14008da99
cmp qword [rdi + 0x18], 0x10
jb 0x14008d8d3
mov rdi, qword [rdi]
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x40], xmm1
lea r12, [r15 + 0x16]
mov esi, reloc.WS2_32.dll_ntohs
lea r14, [rsp + 0x30]
cmp r12, rsi
jbe 0x14008d972
mov rsi, r12
or rsi, 0xf
cmp rsi, rcx
jbe 0x14008d933
mov rsi, rcx
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.1402958e0
test rax, rax
je 0x14008da87
lea r14, [rax + 0x27]
and r14, 0xffffffffffffffe0
mov qword [r14 - 8], rax
jmp 0x14008d96d
mov eax, reloc.WS2_32.dll_shutdown
cmp rsi, rax
cmovb rsi, rax
lea rcx, [rsi + 1]
cmp rcx, 0x1000
jb 0x14008d95b
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x14008da8d
jmp 0x14008d914
test rcx, rcx
je 0x14008d96a
call fcn.1402958e0
mov r14, rax
jmp 0x14008d96d
mov r14, r13
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x48], rsi
movups xmm0, xmmword [str.DNS_lookup_failed__on]
movups xmmword [r14], xmm0
mov eax, dword [0x1402d11e0]
mov dword [r14 + 0x10], eax
movzx eax, word [0x1402d11e4]
mov word [r14 + 0x14], ax
lea rcx, [r14 + 0x16]
mov r8, r15
mov rdx, rdi
call fcn.140296c90
mov byte [r14 + r12], r13b
lea rcx, [rsp + 0x30]
call fcn.140087e20
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 0x10
jb 0x14008d9f8
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14008d9f3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14008da87
call fcn.14029591c
call qword [sym.imp.WS2_32.dll_WSACleanup]
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], 3
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov r8d, 3
lea rdx, [0x1402d0ee4]
mov rcx, rbx
call fcn.140296c90
jmp 0x14008d77d
mov rax, qword [rax + 0x18]
mov rcx, qword [rax]
mov ecx, dword [rcx]
call qword [sym.imp.WS2_32.dll_inet_ntoa]
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x40], xmm1
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], r13b
jne 0x14008da55
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.14007d410
call qword [sym.imp.WS2_32.dll_WSACleanup]
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rsp + 0x40]
movups xmmword [rbx + 0x10], xmm1
jmp 0x14008d77d
call fcn.14029ca04
int3
call fcn.14007b7c0
int3
call fcn.14029ca04
int3
call fcn.14007b7e0
int3