Function at 0x140010520
Capabilities:
Link many functions at runtime

Disassembly:
sub rsp, 0x28
lea rcx, str.WS2_32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [0x1400ad8c0], rax
test rax, rax
je 0x140010aea
lea rdx, str.WSACleanup
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1400ad8c0]
lea rdx, str.closesocket
mov qword [0x1400969c8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1400ad8c0]
lea rdx, str.shutdown
mov qword [0x1400abc70], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1400ad8c0]
lea rdx, str.WSAAsyncSelect
mov qword [0x1400acde0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1400ad8c0]
lea rdx, str.WSAGetLastError
mov qword [0x1400acf10], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1400ad8c0]
lea rdx, str.connect
mov qword [0x1400acda0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1400ad8c0]
lea rdx, str.socket
mov qword [0x1400acde8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1400ad8c0]
lea rdx, str.ntohs
mov qword [0x1400acd98], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1400ad8c0]
lea rdx, str.ntohl
mov qword [0x1400acdd0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1400ad8c0]
lea rdx, str.htons
mov qword [0x1400ace18], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1400ad8c0]
lea rdx, str.WSASend
mov qword [0x1400acd50], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1400ad8c0]
lea rdx, str.recv
mov qword [0x1400abcf8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1400ad8c0]
lea rdx, str.getsockopt
mov qword [0x1400abca8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1400ad8c0]
lea rdx, str.WSAAsyncGetHostByName
mov qword [0x140096a28], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1400ad8c0]
lea rdx, str.inet_addr
mov qword [0x1400ace80], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1400ad8c0]
lea rdx, str.WSARecv
mov qword [0x1400acf88], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1400ad8c0]
lea rdx, str.WSASendTo
mov qword [0x1400abc60], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1400ad8c0]
lea rdx, str.WSARecvFrom
mov qword [0x1400acf38], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1400ad8c0]
lea rdx, str.getpeername
mov qword [0x1400acdd8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1400ad8c0]
lea rdx, str.inet_ntoa
mov qword [0x1400abc68], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.WSAAccept
mov qword [0x1400accf0], rax
mov rcx, qword [0x1400ad8c0]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1400ad8c0]
lea rdx, str.send
mov qword [0x1400ad470], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1400ad8c0]
lea rdx, str.WSAStartup
mov qword [0x1400acfe8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1400ad8c0]
lea rdx, str.getsockname
mov qword [0x1400acf40], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1400ad8c0]
lea rdx, str.listen
mov qword [0x1400acdf8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1400ad8c0]
lea rdx, str.bind
mov qword [0x1400abcb0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1400ad8c0]
lea rdx, str.setsockopt
mov qword [0x1400acd60], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1400ad8c0]
lea rdx, str.htonl
mov qword [0x1400acf28], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1400ad8c0]
lea rdx, str.WSASocketA
mov qword [0x1400acd48], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1400ad8c0]
lea rdx, str.gethostbyname
mov qword [0x1400acce0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1400ad8c0]
lea rdx, str.select
mov qword [0x1400abcb8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1400ad8c0]
lea rdx, str.ioctlsocket
mov qword [0x1400acd90], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1400ad8c0]
lea rdx, str.gethostname
mov qword [0x1400ace08], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1400ad8c0]
lea rdx, str.recvfrom
mov qword [0x1400accf8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1400ad8c0]
lea rdx, str.sendto
mov qword [0x1400acfb8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1400ad8c0]
lea rdx, str.__WSAFDIsSet
mov qword [0x1400acf58], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp qword [0x1400969c8], 0
mov qword [0x1400a9630], rax
je 0x140010ad2
cmp qword [0x1400abc70], 0
je 0x140010ad2
cmp qword [0x1400acde0], 0
je 0x140010ad2
cmp qword [0x1400acf10], 0
je 0x140010ad2
cmp qword [0x1400acda0], 0
je 0x140010ad2
cmp qword [0x1400acde8], 0
je 0x140010ad2
cmp qword [0x1400acd98], 0
je 0x140010ad2
cmp qword [0x1400acdd0], 0
je 0x140010ad2
cmp qword [0x1400ace18], 0
je 0x140010ad2
cmp qword [0x1400acd50], 0
je 0x140010ad2
cmp qword [0x1400abcf8], 0
je 0x140010ad2
cmp qword [0x1400abca8], 0
je 0x140010ad2
cmp qword [0x140096a28], 0
je 0x140010ad2
cmp qword [0x1400ace80], 0
je 0x140010ad2
cmp qword [0x1400acf88], 0
je 0x140010ad2
cmp qword [0x1400abc60], 0
je 0x140010ad2
cmp qword [0x1400acf38], 0
je 0x140010ad2
cmp qword [0x1400acdd8], 0
je 0x140010ad2
cmp qword [0x1400abc68], 0
je 0x140010ad2
cmp qword [0x1400accf0], 0
je 0x140010ad2
cmp qword [0x1400ad470], 0
je 0x140010ad2
cmp qword [0x1400acfe8], 0
je 0x140010ad2
cmp qword [0x1400acf40], 0
je 0x140010ad2
cmp qword [0x1400acdf8], 0
je 0x140010ad2
cmp qword [0x1400abcb0], 0
je 0x140010ad2
cmp qword [0x1400acd60], 0
je 0x140010ad2
cmp qword [0x1400acf28], 0
je 0x140010ad2
cmp qword [0x1400acd48], 0
je 0x140010ad2
cmp qword [0x1400acce0], 0
je 0x140010ad2
cmp qword [0x1400abcb8], 0
je 0x140010ad2
cmp qword [0x1400acd90], 0
je 0x140010ad2
cmp qword [0x1400ace08], 0
je 0x140010ad2
cmp qword [0x1400accf8], 0
je 0x140010ad2
cmp qword [0x1400acfb8], 0
je 0x140010ad2
cmp qword [0x1400acf58], 0
je 0x140010ad2
test rax, rax
je 0x140010ad2
mov eax, 1
add rsp, 0x28
ret
mov rcx, qword [0x1400ad8c0]
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov qword [0x1400ad8c0], 0
xor eax, eax
add rsp, 0x28
ret