Function at 0x140074328
Capabilities:
Link many functions at runtime

Disassembly:
sub rsp, 0x28
lea rcx, str.ws2_32.dll
call fcn.140073bf6
mov qword [0x1400ce640], rax
mov qword [0x1400ce648], rax
test rax, rax
jne 0x140074367
lea rcx, str.wsock32.dll
call fcn.140073bf6
mov qword [0x1400ce640], rax
test rax, rax
je 0x140074ae8
lea rdx, str.getaddrinfo
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1400743f4
mov rcx, qword [0x1400ce640]
test rcx, rcx
je 0x140074462
lea rdx, str.getaddrinfo
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1400ce640]
mov qword [0x1400ce650], rax
test rcx, rcx
je 0x14007446d
lea rdx, str.freeaddrinfo
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1400ce640]
mov qword [0x1400ce658], rax
test rcx, rcx
je 0x1400744a9
lea rdx, str.getnameinfo
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1400ce640]
mov qword [0x1400ce660], rax
jmp 0x140074495
lea rcx, str.wship6.dll
call fcn.140073bf6
mov qword [0x1400ce670], rax
test rax, rax
je 0x1400744b2
lea rdx, str.getaddrinfo
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1400ce650], rax
mov rcx, qword [0x1400ce670]
test rcx, rcx
je 0x14007447a
lea rdx, str.freeaddrinfo
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1400ce670]
mov qword [0x1400ce658], rax
test rcx, rcx
je 0x140074485
lea rdx, str.getnameinfo
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
jmp 0x140074487
mov qword [0x1400ce650], 0
mov qword [0x1400ce658], 0
jmp 0x1400744a9
mov qword [0x1400ce658], 0
xor eax, eax
mov qword [0x1400ce660], rax
mov rcx, qword [0x1400ce640]
test rcx, rcx
je 0x1400744a9
lea rdx, str.gai_strerror
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
jmp 0x1400744ab
xor eax, eax
mov qword [0x1400ce668], rax
mov rcx, qword [0x1400ce648]
test rcx, rcx
je 0x1400744cd
lea rdx, str.WSAAddressToStringA
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
jmp 0x1400744cf
xor eax, eax
mov qword [0x1400ce678], rax
mov rcx, qword [0x1400ce640]
test rcx, rcx
je 0x14007490c
lea rdx, str.WSAAsyncSelect
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1400ce640]
mov qword [0x1400cd080], rax
test rcx, rcx
je 0x140074917
lea rdx, str.WSAEventSelect
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1400ce640]
mov qword [0x1400cdcf0], rax
test rcx, rcx
je 0x140074922
lea rdx, [0x1400afb48]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1400ce640]
mov qword [0x1400cedb0], rax
test rcx, rcx
je 0x14007492d
lea rdx, str.WSAGetLastError
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1400ce640]
mov qword [0x1400cd088], rax
test rcx, rcx
je 0x140074938
lea rdx, str.WSAEnumNetworkEvents
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1400ce640]
mov qword [0x1400cdcf8], rax
test rcx, rcx
je 0x140074943
lea rdx, str.WSAStartup
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1400ce640]
mov qword [0x1400ce680], rax
test rcx, rcx
je 0x14007494e
lea rdx, str.WSACleanup
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1400ce640]
mov qword [0x1400ce688], rax
test rcx, rcx
je 0x140074959
lea rdx, str.closesocket
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1400ce640]
mov qword [0x1400ce690], rax
test rcx, rcx
je 0x140074964
lea rdx, str.ntohl
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1400ce640]
mov qword [0x1400ce698], rax
test rcx, rcx
je 0x14007496f
lea rdx, str.htonl
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1400ce640]
mov qword [0x1400ce6a0], rax
test rcx, rcx
je 0x14007497a
lea rdx, str.htons
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1400ce640]
mov qword [0x1400ce6a8], rax
test rcx, rcx
je 0x140074985
lea rdx, str.ntohs
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1400ce640]
mov qword [0x1400ce6b0], rax
test rcx, rcx
je 0x140074990
lea rdx, str.gethostname
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1400ce640]
mov qword [0x1400ce6b8], rax
test rcx, rcx
je 0x14007499b
lea rdx, str.gethostbyname
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1400ce640]
mov qword [0x1400ce6c0], rax
test rcx, rcx
je 0x1400749a6
lea rdx, str.getservbyname
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1400ce640]
mov qword [0x1400ce6c8], rax
test rcx, rcx
je 0x1400749b1
lea rdx, str.inet_addr
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1400ce640]
mov qword [0x1400ce6d0], rax
test rcx, rcx
je 0x1400749bc
lea rdx, str.inet_ntoa
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1400ce640]
mov qword [0x1400ce6d8], rax
test rcx, rcx
je 0x1400749c7
lea rdx, str.inet_ntop
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1400ce640]
mov qword [0x1400ce6e0], rax
test rcx, rcx
je 0x1400749d2
lea rdx, [0x1400afb35]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1400ce640]
mov qword [0x1400ce6e8], rax
test rcx, rcx
je 0x1400749dd
lea rdx, str.bind
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1400ce640]
mov qword [0x1400ce6f0], rax
test rcx, rcx
je 0x1400749e8
lea rdx, str.setsockopt
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1400ce640]
mov qword [0x1400ce6f8], rax
test rcx, rcx
je 0x1400749f3
lea rdx, [0x1400af8d4]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1400ce640]
mov qword [0x1400ce700], rax
test rcx, rcx
je 0x1400749fe
lea rdx, str.listen
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1400ce640]
mov qword [0x1400ce708], rax
test rcx, rcx
je 0x140074a09
lea rdx, str.send
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1400ce640]
mov qword [0x1400ce710], rax
test rcx, rcx
je 0x140074a14
lea rdx, [0x1400b2380]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1400ce640]
mov qword [0x1400ce718], rax
test rcx, rcx
je 0x140074a1f
lea rdx, str.ioctlsocket
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1400ce640]
mov qword [0x1400ce720], rax
test rcx, rcx
je 0x140074a2a
lea rdx, str.accept
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1400ce640]
mov qword [0x1400ce728], rax
test rcx, rcx
je 0x140074a35
lea rdx, str.getpeername
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1400ce640]
mov qword [0x1400ce730], rax
test rcx, rcx
je 0x140074aca
lea rdx, str.recv
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1400ce640]
mov qword [0x1400ce738], rax
test rcx, rcx
je 0x140074ad5
lea rdx, str.WSAIoctl
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
jmp 0x140074a45
mov qword [0x1400cd080], 0
mov qword [0x1400cdcf0], 0
mov qword [0x1400cedb0], 0
mov qword [0x1400cd088], 0
mov qword [0x1400cdcf8], 0
mov qword [0x1400ce680], 0
mov qword [0x1400ce688], 0
mov qword [0x1400ce690], 0
mov qword [0x1400ce698], 0
mov qword [0x1400ce6a0], 0
mov qword [0x1400ce6a8], 0
mov qword [0x1400ce6b0], 0
mov qword [0x1400ce6b8], 0
mov qword [0x1400ce6c0], 0
mov qword [0x1400ce6c8], 0
mov qword [0x1400ce6d0], 0
mov qword [0x1400ce6d8], 0
mov qword [0x1400ce6e0], 0
mov qword [0x1400ce6e8], 0
mov qword [0x1400ce6f0], 0
mov qword [0x1400ce6f8], 0
mov qword [0x1400ce700], 0
mov qword [0x1400ce708], 0
mov qword [0x1400ce710], 0
mov qword [0x1400ce718], 0
mov qword [0x1400ce720], 0
mov qword [0x1400ce728], 0
xor eax, eax
mov qword [0x1400ce730], rax
mov qword [0x1400ce738], rax
mov qword [0x1400ce740], rax
lea rdx, [0x1400ce750]
mov cx, 0x202
call qword [0x1400ce680]
test eax, eax
jne 0x140074a6e
movzx eax, byte [0x1400ce750]
cmp ax, 2
je 0x140074ab2
lea rdx, [0x1400ce750]
mov cx, 2
call qword [0x1400ce680]
test eax, eax
jne 0x140074a90
movzx eax, byte [0x1400ce750]
cmp ax, 2
je 0x140074ab2
lea rdx, [0x1400ce750]
mov cx, 0x101
call qword [0x1400ce680]
test eax, eax
jne 0x140074adc
movzx eax, byte [0x1400ce750]
cmp ax, 1
jne 0x140074adc
lea rcx, [0x140074af5]
call fcn.14005dc0c
mov qword [0x1400ce748], rax
add rsp, 0x28
ret
mov qword [0x1400ce738], 0
xor eax, eax
jmp 0x140074a45
lea rcx, str.Unable_to_initialise_WinSock
call fcn.1400682b3
lea rcx, str.Unable_to_load_any_WinSock_library
call fcn.1400682b3
int3