Function at 0x14007a7ec
Capabilities:
Link many functions at runtime

Disassembly:
sub rsp, 0x28
lea rcx, str.ws2_32.dll
call fcn.14007a0b2
mov qword [0x1400db7d0], rax
mov qword [0x1400db7d8], rax
test rax, rax
jne 0x14007a82b
lea rcx, str.wsock32.dll
call fcn.14007a0b2
mov qword [0x1400db7d0], rax
test rax, rax
je 0x14007afa0
lea rdx, str.getaddrinfo
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14007a8b8
mov rcx, qword [0x1400db7d0]
test rcx, rcx
je 0x14007a926
lea rdx, str.getaddrinfo
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1400db7d0]
mov qword [0x1400db7e0], rax
test rcx, rcx
je 0x14007a931
lea rdx, str.freeaddrinfo
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1400db7d0]
mov qword [0x1400db7e8], rax
test rcx, rcx
je 0x14007a96d
lea rdx, str.getnameinfo
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1400db7d0]
mov qword [0x1400db7f0], rax
jmp 0x14007a959
lea rcx, str.wship6.dll
call fcn.14007a0b2
mov qword [0x1400db800], rax
test rax, rax
je 0x14007a976
lea rdx, str.getaddrinfo
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1400db7e0], rax
mov rcx, qword [0x1400db800]
test rcx, rcx
je 0x14007a93e
lea rdx, str.freeaddrinfo
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1400db800]
mov qword [0x1400db7e8], rax
test rcx, rcx
je 0x14007a949
lea rdx, str.getnameinfo
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
jmp 0x14007a94b
mov qword [0x1400db7e0], 0
mov qword [0x1400db7e8], 0
jmp 0x14007a96d
mov qword [0x1400db7e8], 0
xor eax, eax
mov qword [0x1400db7f0], rax
mov rcx, qword [0x1400db7d0]
test rcx, rcx
je 0x14007a96d
lea rdx, str.gai_strerror
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
jmp 0x14007a96f
xor eax, eax
mov qword [0x1400db7f8], rax
mov rcx, qword [0x1400db7d8]
test rcx, rcx
je 0x14007a991
lea rdx, str.WSAAddressToStringA
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
jmp 0x14007a993
xor eax, eax
mov qword [0x1400db808], rax
mov rcx, qword [0x1400db7d0]
test rcx, rcx
je 0x14007add0
lea rdx, str.WSAAsyncSelect
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1400db7d0]
mov qword [0x1400db810], rax
test rcx, rcx
je 0x14007addb
lea rdx, str.WSAEventSelect
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1400db7d0]
mov qword [0x1400db818], rax
test rcx, rcx
je 0x14007ade6
lea rdx, [0x1400bc77c]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1400db7d0]
mov qword [0x1400db820], rax
test rcx, rcx
je 0x14007adf1
lea rdx, str.WSAGetLastError
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1400db7d0]
mov qword [0x1400db828], rax
test rcx, rcx
je 0x14007adfc
lea rdx, str.WSAEnumNetworkEvents
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1400db7d0]
mov qword [0x1400db830], rax
test rcx, rcx
je 0x14007ae07
lea rdx, str.WSAStartup
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1400db7d0]
mov qword [0x1400db838], rax
test rcx, rcx
je 0x14007ae12
lea rdx, str.WSACleanup
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1400db7d0]
mov qword [0x1400db840], rax
test rcx, rcx
je 0x14007ae1d
lea rdx, str.closesocket
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1400db7d0]
mov qword [0x1400db848], rax
test rcx, rcx
je 0x14007ae28
lea rdx, str.ntohl
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1400db7d0]
mov qword [0x1400db850], rax
test rcx, rcx
je 0x14007ae33
lea rdx, str.htonl
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1400db7d0]
mov qword [0x1400db858], rax
test rcx, rcx
je 0x14007ae3e
lea rdx, str.htons
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1400db7d0]
mov qword [0x1400db860], rax
test rcx, rcx
je 0x14007ae49
lea rdx, str.ntohs
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1400db7d0]
mov qword [0x1400db868], rax
test rcx, rcx
je 0x14007ae54
lea rdx, str.gethostname
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1400db7d0]
mov qword [0x1400db870], rax
test rcx, rcx
je 0x14007ae5f
lea rdx, str.gethostbyname
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1400db7d0]
mov qword [0x1400db878], rax
test rcx, rcx
je 0x14007ae6a
lea rdx, str.getservbyname
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1400db7d0]
mov qword [0x1400db880], rax
test rcx, rcx
je 0x14007ae75
lea rdx, str.inet_addr
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1400db7d0]
mov qword [0x1400db888], rax
test rcx, rcx
je 0x14007ae80
lea rdx, str.inet_ntoa
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1400db7d0]
mov qword [0x1400db890], rax
test rcx, rcx
je 0x14007ae8b
lea rdx, str.inet_ntop
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1400db7d0]
mov qword [0x1400db898], rax
test rcx, rcx
je 0x14007ae96
lea rdx, [0x1400bc769]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1400db7d0]
mov qword [0x1400db8a0], rax
test rcx, rcx
je 0x14007aea1
lea rdx, str.bind
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1400db7d0]
mov qword [0x1400db8a8], rax
test rcx, rcx
je 0x14007aeac
lea rdx, str.setsockopt
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1400db7d0]
mov qword [0x1400db8b0], rax
test rcx, rcx
je 0x14007aeb7
lea rdx, [0x1400bc513]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1400db7d0]
mov qword [0x1400db8b8], rax
test rcx, rcx
je 0x14007aec2
lea rdx, str.listen
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1400db7d0]
mov qword [0x1400db8c0], rax
test rcx, rcx
je 0x14007aecd
lea rdx, str.send
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1400db7d0]
mov qword [0x1400db8c8], rax
test rcx, rcx
je 0x14007aed8
lea rdx, [0x1400bf0b4]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1400db7d0]
mov qword [0x1400db8d0], rax
test rcx, rcx
je 0x14007aee3
lea rdx, str.ioctlsocket
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1400db7d0]
mov qword [0x1400db8d8], rax
test rcx, rcx
je 0x14007aeee
lea rdx, str.accept
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1400db7d0]
mov qword [0x1400db8e0], rax
test rcx, rcx
je 0x14007aef9
lea rdx, str.getpeername
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1400db7d0]
mov qword [0x1400db8e8], rax
test rcx, rcx
je 0x14007af8e
lea rdx, str.recv
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1400db7d0]
mov qword [0x1400db8f0], rax
test rcx, rcx
je 0x14007af99
lea rdx, str.WSAIoctl
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
jmp 0x14007af09
mov qword [0x1400db810], 0
mov qword [0x1400db818], 0
mov qword [0x1400db820], 0
mov qword [0x1400db828], 0
mov qword [0x1400db830], 0
mov qword [0x1400db838], 0
mov qword [0x1400db840], 0
mov qword [0x1400db848], 0
mov qword [0x1400db850], 0
mov qword [0x1400db858], 0
mov qword [0x1400db860], 0
mov qword [0x1400db868], 0
mov qword [0x1400db870], 0
mov qword [0x1400db878], 0
mov qword [0x1400db880], 0
mov qword [0x1400db888], 0
mov qword [0x1400db890], 0
mov qword [0x1400db898], 0
mov qword [0x1400db8a0], 0
mov qword [0x1400db8a8], 0
mov qword [0x1400db8b0], 0
mov qword [0x1400db8b8], 0
mov qword [0x1400db8c0], 0
mov qword [0x1400db8c8], 0
mov qword [0x1400db8d0], 0
mov qword [0x1400db8d8], 0
mov qword [0x1400db8e0], 0
xor eax, eax
mov qword [0x1400db8e8], rax
mov qword [0x1400db8f0], rax
mov qword [0x1400db8f8], rax
lea rdx, [0x1400db908]
mov cx, 0x202
call qword [0x1400db838]
test eax, eax
jne 0x14007af2e
cmp byte [0x1400db908], 2
je 0x14007af6a
lea rdx, [0x1400db908]
mov cx, 2
call qword [0x1400db838]
test eax, eax
jne 0x14007af4c
cmp byte [0x1400db908], 2
je 0x14007af6a
lea rdx, [0x1400db908]
mov cx, 0x101
call qword [0x1400db838]
test eax, eax
jne 0x14007af82
cmp byte [0x1400db908], 1
jne 0x14007af82
lea rcx, [0x14007afad]
call fcn.140063378
mov qword [0x1400db900], rax
add rsp, 0x28
ret
lea rcx, str.Unable_to_initialise_WinSock
call fcn.14006e215
mov qword [0x1400db8f0], 0
xor eax, eax
jmp 0x14007af09
lea rcx, str.Unable_to_load_any_WinSock_library
call fcn.14006e215
int3