Function at 0x14003d9f0
Capabilities:
Link many functions at runtime

Disassembly:
sub rsp, 0x28
lea rcx, str.ws2_32.dll
call fcn.1400459f0
mov qword [0x14012a5f0], rax
mov qword [0x14012a5f8], rax
test rax, rax
jne 0x14003da2f
lea rcx, str.wsock32.dll
call fcn.1400459f0
mov qword [0x14012a5f0], rax
test rax, rax
je 0x14003e137
lea rdx, str.getaddrinfo
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14003da8e
mov rcx, qword [0x14012a5f0]
test rcx, rcx
je 0x14003daf8
lea rdx, str.getaddrinfo
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x14012a5f0]
mov qword [0x14012a600], rax
test rcx, rcx
je 0x14003db03
lea rdx, str.freeaddrinfo
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x14012a5f0]
jmp 0x14003dadd
lea rcx, str.wship6.dll
call fcn.1400459f0
mov qword [0x14012a618], rax
test rax, rax
je 0x14003db17
lea rdx, str.getaddrinfo
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14012a600], rax
mov rcx, qword [0x14012a618]
test rcx, rcx
je 0x14003db03
lea rdx, str.freeaddrinfo
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x14012a618]
mov qword [0x14012a608], rax
test rcx, rcx
je 0x14003db0e
lea rdx, str.getnameinfo
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
jmp 0x14003db10
mov qword [0x14012a600], 0
mov qword [0x14012a608], 0
xor eax, eax
mov qword [0x14012a610], rax
mov rcx, qword [0x14012a5f8]
test rcx, rcx
je 0x14003db32
lea rdx, str.WSAAddressToStringA
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
jmp 0x14003db34
xor eax, eax
mov qword [0x14012a620], rax
mov rcx, qword [0x14012a5f0]
test rcx, rcx
je 0x14003df71
lea rdx, str.WSAAsyncSelect
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x14012a5f0]
mov qword [0x14012a628], rax
test rcx, rcx
je 0x14003df7c
lea rdx, str.WSAEventSelect
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x14012a5f0]
mov qword [0x14012a630], rax
test rcx, rcx
je 0x14003df87
lea rdx, [0x140102bf9]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x14012a5f0]
mov qword [0x14012a638], rax
test rcx, rcx
je 0x14003df92
lea rdx, str.WSAGetLastError
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x14012a5f0]
mov qword [0x14012a640], rax
test rcx, rcx
je 0x14003df9d
lea rdx, str.WSAEnumNetworkEvents
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x14012a5f0]
mov qword [0x14012a648], rax
test rcx, rcx
je 0x14003dfa8
lea rdx, str.WSAStartup
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x14012a5f0]
mov qword [0x14012a650], rax
test rcx, rcx
je 0x14003dfb3
lea rdx, str.WSACleanup
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x14012a5f0]
mov qword [0x14012a658], rax
test rcx, rcx
je 0x14003dfbe
lea rdx, str.closesocket
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x14012a5f0]
mov qword [0x14012a660], rax
test rcx, rcx
je 0x14003dfc9
lea rdx, str.ntohl
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x14012a5f0]
mov qword [0x14012a668], rax
test rcx, rcx
je 0x14003dfd4
lea rdx, str.htonl
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x14012a5f0]
mov qword [0x14012a670], rax
test rcx, rcx
je 0x14003dfdf
lea rdx, str.htons
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x14012a5f0]
mov qword [0x14012a678], rax
test rcx, rcx
je 0x14003dfea
lea rdx, str.ntohs
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x14012a5f0]
mov qword [0x14012a680], rax
test rcx, rcx
je 0x14003dff5
lea rdx, str.gethostname
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x14012a5f0]
mov qword [0x14012a688], rax
test rcx, rcx
je 0x14003e000
lea rdx, str.gethostbyname
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x14012a5f0]
mov qword [0x14012a690], rax
test rcx, rcx
je 0x14003e00b
lea rdx, str.getservbyname
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x14012a5f0]
mov qword [0x14012a698], rax
test rcx, rcx
je 0x14003e016
lea rdx, str.inet_addr
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x14012a5f0]
mov qword [0x14012a6a0], rax
test rcx, rcx
je 0x14003e021
lea rdx, str.inet_ntoa
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x14012a5f0]
mov qword [0x14012a6a8], rax
test rcx, rcx
je 0x14003e02c
lea rdx, str.inet_ntop
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x14012a5f0]
mov qword [0x14012a6b0], rax
test rcx, rcx
je 0x14003e037
lea rdx, [0x140102be6]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x14012a5f0]
mov qword [0x14012a6b8], rax
test rcx, rcx
je 0x14003e042
lea rdx, str.bind
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x14012a5f0]
mov qword [0x14012a6c0], rax
test rcx, rcx
je 0x14003e04d
lea rdx, str.setsockopt
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x14012a5f0]
mov qword [0x14012a6c8], rax
test rcx, rcx
je 0x14003e058
lea rdx, [0x140102986]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x14012a5f0]
mov qword [0x14012a6d0], rax
test rcx, rcx
je 0x14003e063
lea rdx, str.listen
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x14012a5f0]
mov qword [0x14012a6d8], rax
test rcx, rcx
je 0x14003e06e
lea rdx, str.send
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x14012a5f0]
mov qword [0x14012a6e0], rax
test rcx, rcx
je 0x14003e079
lea rdx, [0x1401059d3]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x14012a5f0]
mov qword [0x14012a6e8], rax
test rcx, rcx
je 0x14003e084
lea rdx, str.ioctlsocket
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x14012a5f0]
mov qword [0x14012a6f0], rax
test rcx, rcx
je 0x14003e08f
lea rdx, str.accept
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x14012a5f0]
mov qword [0x14012a6f8], rax
test rcx, rcx
je 0x14003e09a
lea rdx, str.getpeername
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x14012a5f0]
mov qword [0x14012a700], rax
test rcx, rcx
je 0x14003e0a5
lea rdx, str.recv
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x14012a5f0]
mov qword [0x14012a708], rax
test rcx, rcx
je 0x14003e0b0
lea rdx, str.WSAIoctl
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
jmp 0x14003e0b2
mov qword [0x14012a628], 0
mov qword [0x14012a630], 0
mov qword [0x14012a638], 0
mov qword [0x14012a640], 0
mov qword [0x14012a648], 0
mov qword [0x14012a650], 0
mov qword [0x14012a658], 0
mov qword [0x14012a660], 0
mov qword [0x14012a668], 0
mov qword [0x14012a670], 0
mov qword [0x14012a678], 0
mov qword [0x14012a680], 0
mov qword [0x14012a688], 0
mov qword [0x14012a690], 0
mov qword [0x14012a698], 0
mov qword [0x14012a6a0], 0
mov qword [0x14012a6a8], 0
mov qword [0x14012a6b0], 0
mov qword [0x14012a6b8], 0
mov qword [0x14012a6c0], 0
mov qword [0x14012a6c8], 0
mov qword [0x14012a6d0], 0
mov qword [0x14012a6d8], 0
mov qword [0x14012a6e0], 0
mov qword [0x14012a6e8], 0
mov qword [0x14012a6f0], 0
mov qword [0x14012a6f8], 0
mov qword [0x14012a700], 0
mov qword [0x14012a708], 0
xor eax, eax
mov qword [0x14012a710], rax
lea rdx, [0x14012a720]
mov cx, 0x202
call qword [0x14012a650]
test eax, eax
jne 0x14003e0db
movzx eax, byte [0x14012a720]
cmp ax, 2
je 0x14003e11f
lea rdx, [0x14012a720]
mov cx, 2
call qword [0x14012a650]
test eax, eax
jne 0x14003e0fd
movzx eax, byte [0x14012a720]
cmp ax, 2
je 0x14003e11f
lea rdx, [0x14012a720]
mov cx, 0x101
call qword [0x14012a650]
test eax, eax
jne 0x14003e143
movzx eax, byte [0x14012a720]
cmp ax, 1
jne 0x14003e143
lea rcx, [0x14003e150]
call fcn.140044150
mov qword [0x14012a718], rax
add rsp, 0x28
ret
lea rcx, str.Unable_to_load_any_WinSock_library
call fcn.140005f50
lea rcx, str.Unable_to_initialise_WinSock
call fcn.140005f50
int3