Function at 0x180009610
Capabilities:
Link many functions at runtime

Disassembly:
sub rsp, 0x28
lea rcx, [0x180026990]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [0x180052f60], rax
test rax, rax
jne 0x180009688
lea r8, [rsp + 0x30]
mov dl, 1
lea rcx, str.ws2_32.dll
call fcn.180003820
test eax, eax
jns 0x180009666
lea r8, [rsp + 0x30]
mov dl, 1
lea rcx, str.wsock32.dll
call fcn.180003820
test eax, eax
js 0x1800099ae
mov byte [0x180052d98], 1
mov rcx, qword [rsp + 0x30]
call fcn.180003660
mov rcx, qword [rsp + 0x30]
mov qword [0x180052f60], rax
call fcn.1800038e0
mov rax, qword [0x180052f60]
lea rdx, str.WSAStartup
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x180052f60]
lea rdx, str.WSACleanup
mov qword [0x180052f68], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x180052f60]
lea rdx, str.WSAGetLastError
mov qword [0x180052f70], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x180052f60]
lea rdx, str.WSASetLastError
mov qword [0x180052f78], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x180052f60]
lea rdx, str.WSACreateEvent
mov qword [0x180052f80], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x180052f60]
lea rdx, str.WSACloseEvent
mov qword [0x180052f88], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x180052f60]
lea rdx, str.WSASetEvent
mov qword [0x180052f90], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x180052f60]
lea rdx, str.WSAEventSelect
mov qword [0x180052f98], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x180052f60]
lea rdx, str.WSAEnumNetworkEvents
mov qword [0x180052fa0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x180052f60]
lea rdx, str.WSASocketW
mov qword [0x180052fa8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x180052f60]
lea rdx, str.WSASend
mov qword [0x180052fb0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x180052f60]
lea rdx, str.socket
mov qword [0x180052fb8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x180052f60]
lea rdx, str.closesocket
mov qword [0x180052fc0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x180052f60]
lea rdx, str.recv
mov qword [0x180052fc8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x180052f60]
lea rdx, str.send
mov qword [0x180052fd0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x180052f60]
lea rdx, str.recvfrom
mov qword [0x180052fd8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x180052f60]
lea rdx, str.sendto
mov qword [0x180052fe0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x180052f60]
lea rdx, str.bind
mov qword [0x180052fe8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x180052f60]
lea rdx, str.listen
mov qword [0x180052ff0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x180052f60]
lea rdx, str.accept
mov qword [0x180052ff8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x180053000], rax
lea rdx, str.connect
mov rcx, qword [0x180052f60]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x180052f60]
lea rdx, str.shutdown
mov qword [0x180053008], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x180052f60]
lea rdx, str.getsockopt
mov qword [0x180053010], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x180052f60]
lea rdx, str.setsockopt
mov qword [0x180053018], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x180052f60]
lea rdx, str.ioctlsocket
mov qword [0x180053020], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x180052f60]
lea rdx, str.getpeername
mov qword [0x180053028], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x180052f60]
lea rdx, str.getsockname
mov qword [0x180053030], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x180052f60]
lea rdx, str.__WSAFDIsSet
mov qword [0x180053038], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x180052f60]
lea rdx, str.select
mov qword [0x180053040], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x180052f60]
lea rdx, str.gethostbyname
mov qword [0x180053048], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x180053050], rax
add rsp, 0x28
ret