Function at 0x100dc83e
Capabilities:
Link many functions at runtime

Disassembly:
push ebx
push esi
xor eax, eax
mov ebx, ecx
mov dword [0x1047f1c8], eax
mov dword [0x1047f1cc], eax
push str.WS2_32.DLL
call fcn.100d1b88
add esp, 4
xor esi, esi
mov dword [0x1047fc28], eax
dec esi
test eax, eax
je 0x100dccbd
push 0x10457ee5
push eax
call sub.KERNEL32.dll_GetProcAddress
test eax, eax
mov dword [0x1047f2d0], eax
je 0x100dcca4
push str.WSACleanup
push dword [0x1047fc28]
call sub.KERNEL32.dll_GetProcAddress
test eax, eax
mov dword [0x1047f2d4], eax
je 0x100dcca4
push 0x10457efb
push dword [0x1047fc28]
call sub.KERNEL32.dll_GetProcAddress
test eax, eax
mov dword [0x1047f2e8], eax
je 0x100dcca4
push 0x10457f02
push dword [0x1047fc28]
call sub.KERNEL32.dll_GetProcAddress
test eax, eax
mov dword [0x1047f314], eax
je 0x100dcca4
push 0x10457f09
push dword [0x1047fc28]
call sub.KERNEL32.dll_GetProcAddress
test eax, eax
mov dword [0x1047f320], eax
je 0x100dcca4
push 0x10457f10
push dword [0x1047fc28]
call sub.KERNEL32.dll_GetProcAddress
test eax, eax
mov dword [0x1047f310], eax
je 0x100dcca4
push 0x10457f19
push dword [0x1047fc28]
call sub.KERNEL32.dll_GetProcAddress
test eax, eax
mov dword [0x1047f30c], eax
je 0x100dcca4
push 0x10457f1e
push dword [0x1047fc28]
call sub.KERNEL32.dll_GetProcAddress
test eax, eax
mov dword [0x1047f308], eax
je 0x100dcca4
push 0x10457f23
push dword [0x1047fc28]
call sub.KERNEL32.dll_GetProcAddress
test eax, eax
mov dword [0x1047f2e0], eax
je 0x100dcca4
push 0x10457f28
push dword [0x1047fc28]
call sub.KERNEL32.dll_GetProcAddress
test eax, eax
mov dword [0x1047f2f8], eax
je 0x100dcca4
push str.shutdown
push dword [0x1047fc28]
call sub.KERNEL32.dll_GetProcAddress
test eax, eax
mov dword [0x1047f318], eax
je 0x100dcca4
push 0x10457f3d
push dword [0x1047fc28]
call sub.KERNEL32.dll_GetProcAddress
test eax, eax
mov dword [0x1047f31c], eax
je 0x100dcca4
push 0x10457f49
push dword [0x1047fc28]
call sub.KERNEL32.dll_GetProcAddress
test eax, eax
mov dword [0x1047f2ec], eax
je 0x100dcca4
push str.getsockopt
push dword [0x1047fc28]
call sub.KERNEL32.dll_GetProcAddress
test eax, eax
mov dword [0x1047f300], eax
je 0x100dcca4
push 0x10457f5f
push dword [0x1047fc28]
call sub.KERNEL32.dll_GetProcAddress
test eax, eax
mov dword [0x1047fc2c], eax
je 0x100dcca4
push 0x10457f6b
push dword [0x1047fc28]
call sub.KERNEL32.dll_GetProcAddress
test eax, eax
mov dword [0x1047fc30], eax
je 0x100dcca4
push str.WSASetLastError
push dword [0x1047fc28]
call sub.KERNEL32.dll_GetProcAddress
test eax, eax
mov dword [0x1047fc34], eax
je 0x100dcca4
push 0x10457f8b
push dword [0x1047fc28]
call sub.KERNEL32.dll_GetProcAddress
test eax, eax
mov dword [0x1047f2f4], eax
je 0x100dcca4
push str.accept
push dword [0x1047fc28]
call sub.KERNEL32.dll_GetProcAddress
test eax, eax
mov dword [0x1047f304], eax
je 0x100dcca4
push str.listen
push dword [0x1047fc28]
call sub.KERNEL32.dll_GetProcAddress
test eax, eax
mov dword [0x1047f2e4], eax
je 0x100dcca4
push str.getpeername
push dword [0x1047fc28]
call sub.KERNEL32.dll_GetProcAddress
test eax, eax
mov dword [0x1047f2fc], eax
je 0x100dcca4
push str.getprotobyname
push dword [0x1047fc28]
call sub.KERNEL32.dll_GetProcAddress
test eax, eax
mov dword [0x1047fc38], eax
je 0x100dcca4
push 0x10457fbc
push dword [0x1047fc28]
call sub.KERNEL32.dll_GetProcAddress
test eax, eax
mov dword [0x1047fc3c], eax
je 0x100dcca4
push 0x10457fc8
push dword [0x1047fc28]
call sub.KERNEL32.dll_GetProcAddress
test eax, eax
mov dword [0x1047fc40], eax
je 0x100dcca4
push 0x10457fd6
push dword [0x1047fc28]
call sub.KERNEL32.dll_GetProcAddress
test eax, eax
mov dword [0x1047fc44], eax
je 0x100dcca4
push 0x10457fe4
push dword [0x1047fc28]
call sub.KERNEL32.dll_GetProcAddress
test eax, eax
mov dword [0x1047fc48], eax
je 0x100dcca4
push 0x10457ff2
push dword [0x1047fc28]
call sub.KERNEL32.dll_GetProcAddress
test eax, eax
mov dword [0x1047fc4c], eax
je 0x100dcca4
push 0x10457ffc
push dword [0x1047fc28]
call sub.KERNEL32.dll_GetProcAddress
test eax, eax
mov dword [0x1047fc50], eax
je 0x100dcca4
push 0x10458006
push dword [0x1047fc28]
call sub.KERNEL32.dll_GetProcAddress
test eax, eax
mov dword [0x1047fc54], eax
je 0x100dcca4
push 0x1045800c
push dword [0x1047fc28]
call sub.KERNEL32.dll_GetProcAddress
test eax, eax
mov dword [0x1047f2d8], eax
je 0x100dcca4
push 0x10458012
push dword [0x1047fc28]
call sub.KERNEL32.dll_GetProcAddress
test eax, eax
mov dword [0x1047fc58], eax
je 0x100dcca4
push 0x10458018
push dword [0x1047fc28]
call sub.KERNEL32.dll_GetProcAddress
test eax, eax
mov dword [0x1047f2dc], eax
je 0x100dcca4
push 0x1045801e
push dword [0x1047fc28]
call sub.KERNEL32.dll_GetProcAddress
test eax, eax
mov dword [0x1047f324], eax
je 0x100dcca4
push str.WSAStringToAddressA
push dword [0x1047fc28]
call sub.KERNEL32.dll_GetProcAddress
test eax, eax
mov dword [0x1047f2f0], eax
je 0x100dcca4
push str.WSAAddressToStringA
push dword [0x1047fc28]
call sub.KERNEL32.dll_GetProcAddress
test eax, eax
mov dword [0x1047fc24], eax
je 0x100dcca4
xor esi, esi
test bl, 2
mov dword [0x1047f1c8], 1
je 0x100dccbd
push str.getaddrinfo
push dword [0x1047fc28]
call sub.KERNEL32.dll_GetProcAddress
test eax, eax
mov dword [0x1047fc5c], eax
je 0x100dccbd
push str.freeaddrinfo
push dword [0x1047fc28]
call sub.KERNEL32.dll_GetProcAddress
test eax, eax
mov dword [0x1047fc60], eax
je 0x100dccbd
mov dword [0x1047f1cc], 1
jmp 0x100dccbd
mov eax, dword [0x1047fc28]
test eax, eax
je 0x100dccbd
push eax
call sub.KERNEL32.dll_FreeLibrary
mov dword [0x1047fc28], 0
mov eax, esi
pop esi
pop ebx
ret