Function at 0x140011730
Capabilities:
Link many functions at runtime

Disassembly:
sub rsp, 0x28
lea rcx, str.ws2_32.dll
call fcn.140034960
mov qword [0x1400c5fb0], rax
mov qword [0x1400c5fb8], rax
test rax, rax
jne 0x14001176f
lea rcx, str.wsock32.dll
call fcn.140034960
mov qword [0x1400c5fb0], rax
test rax, rax
je 0x140011ee5
lea rdx, str.getaddrinfo
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140011809
mov rcx, qword [0x1400c5fb0]
test rcx, rcx
je 0x140011877
lea rdx, str.getaddrinfo
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1400c5fb0]
mov qword [0x1400c5fc0], rax
test rcx, rcx
je 0x140011882
lea rdx, str.freeaddrinfo
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1400c5fb0]
mov qword [0x1400c5fc8], rax
test rcx, rcx
je 0x14001188d
lea rdx, str.getnameinfo
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1400c5fb0]
mov qword [0x1400c5fd0], rax
test rcx, rcx
jne 0x1400118b1
jmp 0x14001188d
lea rcx, str.wship6.dll
call fcn.140034960
mov qword [0x1400c5fe0], rax
test rax, rax
je 0x1400118c5
lea rdx, str.getaddrinfo
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1400c5fc0], rax
mov rcx, qword [0x1400c5fe0]
test rcx, rcx
je 0x140011891
lea rdx, str.freeaddrinfo
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1400c5fe0]
mov qword [0x1400c5fc8], rax
test rcx, rcx
je 0x14001189c
lea rdx, str.getnameinfo
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
jmp 0x14001189e
mov qword [0x1400c5fc0], 0
mov qword [0x1400c5fc8], 0
xor eax, eax
jmp 0x1400118be
mov qword [0x1400c5fc8], 0
xor eax, eax
mov qword [0x1400c5fd0], rax
mov rcx, qword [0x1400c5fb0]
test rcx, rcx
je 0x14001188d
lea rdx, str.gai_strerror
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1400c5fd8], rax
mov rcx, qword [0x1400c5fb8]
test rcx, rcx
je 0x1400118e0
lea rdx, str.WSAAddressToStringA
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
jmp 0x1400118e2
xor eax, eax
mov qword [0x1400c5fe8], rax
mov rcx, qword [0x1400c5fb0]
test rcx, rcx
je 0x140011d1f
lea rdx, str.WSAAsyncSelect
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1400c5fb0]
mov qword [0x1400c5ff0], rax
test rcx, rcx
je 0x140011d2a
lea rdx, str.WSAEventSelect
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1400c5fb0]
mov qword [0x1400c5ff8], rax
test rcx, rcx
je 0x140011d35
lea rdx, str.select
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1400c5fb0]
mov qword [0x1400c6000], rax
test rcx, rcx
je 0x140011d40
lea rdx, str.WSAGetLastError
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1400c5fb0]
mov qword [0x1400c6008], rax
test rcx, rcx
je 0x140011d4b
lea rdx, str.WSAEnumNetworkEvents
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1400c5fb0]
mov qword [0x1400c6010], rax
test rcx, rcx
je 0x140011d56
lea rdx, str.WSAStartup
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1400c5fb0]
mov qword [0x1400c6018], rax
test rcx, rcx
je 0x140011d61
lea rdx, str.WSACleanup
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1400c5fb0]
mov qword [0x1400c6020], rax
test rcx, rcx
je 0x140011d6c
lea rdx, str.closesocket
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1400c5fb0]
mov qword [0x1400c6028], rax
test rcx, rcx
je 0x140011d77
lea rdx, str.ntohl
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1400c5fb0]
mov qword [0x1400c6030], rax
test rcx, rcx
je 0x140011d82
lea rdx, str.htonl
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1400c5fb0]
mov qword [0x1400c6038], rax
test rcx, rcx
je 0x140011d8d
lea rdx, str.htons
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1400c5fb0]
mov qword [0x1400c6040], rax
test rcx, rcx
je 0x140011d98
lea rdx, str.ntohs
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1400c5fb0]
mov qword [0x1400c6048], rax
test rcx, rcx
je 0x140011da3
lea rdx, str.gethostname
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1400c5fb0]
mov qword [0x1400c6050], rax
test rcx, rcx
je 0x140011dae
lea rdx, str.gethostbyname
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1400c5fb0]
mov qword [0x1400c6058], rax
test rcx, rcx
je 0x140011db9
lea rdx, str.getservbyname
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1400c5fb0]
mov qword [0x1400c6060], rax
test rcx, rcx
je 0x140011dc4
lea rdx, str.inet_addr
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1400c5fb0]
mov qword [0x1400c6068], rax
test rcx, rcx
je 0x140011dcf
lea rdx, str.inet_ntoa
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1400c5fb0]
mov qword [0x1400c6070], rax
test rcx, rcx
je 0x140011dda
lea rdx, str.inet_ntop
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1400c5fb0]
mov qword [0x1400c6078], rax
test rcx, rcx
je 0x140011de5
lea rdx, [0x1400abda6]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1400c5fb0]
mov qword [0x1400c6080], rax
test rcx, rcx
je 0x140011df0
lea rdx, str.bind
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1400c5fb0]
mov qword [0x1400c6088], rax
test rcx, rcx
je 0x140011dfb
lea rdx, str.setsockopt
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1400c5fb0]
mov qword [0x1400c6090], rax
test rcx, rcx
je 0x140011e06
lea rdx, [0x1400abb32]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1400c5fb0]
mov qword [0x1400c6098], rax
test rcx, rcx
je 0x140011e11
lea rdx, str.listen
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1400c5fb0]
mov qword [0x1400c60a0], rax
test rcx, rcx
je 0x140011e1c
lea rdx, str.send
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1400c5fb0]
mov qword [0x1400c60a8], rax
test rcx, rcx
je 0x140011e27
lea rdx, [0x1400ad719]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1400c5fb0]
mov qword [0x1400c60b0], rax
test rcx, rcx
je 0x140011e32
lea rdx, str.ioctlsocket
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1400c5fb0]
mov qword [0x1400c60b8], rax
test rcx, rcx
je 0x140011e3d
lea rdx, str.accept
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1400c5fb0]
mov qword [0x1400c60c0], rax
test rcx, rcx
je 0x140011e48
lea rdx, str.getpeername
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1400c5fb0]
mov qword [0x1400c60c8], rax
test rcx, rcx
je 0x140011e53
lea rdx, str.recv
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1400c5fb0]
mov qword [0x1400c60d0], rax
test rcx, rcx
je 0x140011e5e
lea rdx, str.WSAIoctl
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
jmp 0x140011e60
mov qword [0x1400c5ff0], 0
mov qword [0x1400c5ff8], 0
mov qword [0x1400c6000], 0
mov qword [0x1400c6008], 0
mov qword [0x1400c6010], 0
mov qword [0x1400c6018], 0
mov qword [0x1400c6020], 0
mov qword [0x1400c6028], 0
mov qword [0x1400c6030], 0
mov qword [0x1400c6038], 0
mov qword [0x1400c6040], 0
mov qword [0x1400c6048], 0
mov qword [0x1400c6050], 0
mov qword [0x1400c6058], 0
mov qword [0x1400c6060], 0
mov qword [0x1400c6068], 0
mov qword [0x1400c6070], 0
mov qword [0x1400c6078], 0
mov qword [0x1400c6080], 0
mov qword [0x1400c6088], 0
mov qword [0x1400c6090], 0
mov qword [0x1400c6098], 0
mov qword [0x1400c60a0], 0
mov qword [0x1400c60a8], 0
mov qword [0x1400c60b0], 0
mov qword [0x1400c60b8], 0
mov qword [0x1400c60c0], 0
mov qword [0x1400c60c8], 0
mov qword [0x1400c60d0], 0
xor eax, eax
mov qword [0x1400c60d8], rax
lea rdx, [0x1400c60e8]
mov cx, 0x202
call qword [0x1400c6018]
test eax, eax
jne 0x140011e89
movzx eax, byte [0x1400c60e8]
cmp ax, 2
je 0x140011ecd
lea rdx, [0x1400c60e8]
mov cx, 2
call qword [0x1400c6018]
test eax, eax
jne 0x140011eab
movzx eax, byte [0x1400c60e8]
cmp ax, 2
je 0x140011ecd
lea rdx, [0x1400c60e8]
mov cx, 0x101
call qword [0x1400c6018]
test eax, eax
jne 0x140011ef1
movzx eax, byte [0x1400c60e8]
cmp ax, 1
jne 0x140011ef1
lea rcx, [0x140011f00]
call fcn.140018880
mov qword [0x1400c60e0], rax
add rsp, 0x28
ret
lea rcx, str.Unable_to_load_any_WinSock_library
call fcn.140003920
lea rcx, str.Unable_to_initialise_WinSock
call fcn.140003920
int3