Function at 0x129d230
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push 0x12ce0bc
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [0x12fe414], eax
test eax, eax
jne 0x129d29e
lea eax, [ebp - 4]
push eax
push 1
push str.ws2_32.dll
call fcn.01290100
add esp, 0xc
test eax, eax
jns 0x129d281
lea eax, [ebp - 4]
push eax
push 1
push str.wsock32.dll
call fcn.01290100
add esp, 0xc
test eax, eax
js 0x129d52d
mov byte [0x12fe29c], 1
push dword [ebp - 4]
call fcn.0128fcb0
push dword [ebp - 4]
mov dword [0x12fe414], eax
call fcn.01295330
mov eax, dword [0x12fe414]
add esp, 8
push str.WSAStartup
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.WSACleanup
push dword [0x12fe414]
mov dword [0x12fe418], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.WSAGetLastError
push dword [0x12fe414]
mov dword [0x12fe41c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.WSASetLastError
push dword [0x12fe414]
mov dword [0x12fe420], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.WSACreateEvent
push dword [0x12fe414]
mov dword [0x12fe424], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.WSACloseEvent
push dword [0x12fe414]
mov dword [0x12fe428], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.WSASetEvent
push dword [0x12fe414]
mov dword [0x12fe42c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.WSAEventSelect
push dword [0x12fe414]
mov dword [0x12fe430], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.WSAEnumNetworkEvents
push dword [0x12fe414]
mov dword [0x12fe434], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.WSASocketW
push dword [0x12fe414]
mov dword [0x12fe438], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.WSASend
push dword [0x12fe414]
mov dword [0x12fe43c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.socket
push dword [0x12fe414]
mov dword [0x12fe440], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.closesocket
push dword [0x12fe414]
mov dword [0x12fe444], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.recv
push dword [0x12fe414]
mov dword [0x12fe448], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.send
push dword [0x12fe414]
mov dword [0x12fe44c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.recvfrom
push dword [0x12fe414]
mov dword [0x12fe450], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.sendto
push dword [0x12fe414]
mov dword [0x12fe454], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.bind
push dword [0x12fe414]
mov dword [0x12fe458], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.listen
push dword [0x12fe414]
mov dword [0x12fe45c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.accept
push dword [0x12fe414]
mov dword [0x12fe460], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x12fe464], eax
push str.connect
push dword [0x12fe414]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.shutdown
push dword [0x12fe414]
mov dword [0x12fe468], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.getsockopt
push dword [0x12fe414]
mov dword [0x12fe46c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.setsockopt
push dword [0x12fe414]
mov dword [0x12fe470], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.ioctlsocket
push dword [0x12fe414]
mov dword [0x12fe474], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.getpeername
push dword [0x12fe414]
mov dword [0x12fe478], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.getsockname
push dword [0x12fe414]
mov dword [0x12fe47c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.__WSAFDIsSet
push dword [0x12fe414]
mov dword [0x12fe480], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.select
push dword [0x12fe414]
mov dword [0x12fe484], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.gethostbyname
push dword [0x12fe414]
mov dword [0x12fe488], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x12fe48c], eax
mov esp, ebp
pop ebp
ret