Function at 0x41618a
Capabilities:
Create tcp socket
Create thread
Create udp socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov dword [ebp - 0x1c], ecx
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp + 0x14]
mov dword [eax + 0x34], ecx
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp + 8]
mov dword [edx + 4], eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp + 0xc]
mov dword [ecx + 0x2c], edx
push 1
push 0
push 0
push 0
push 1
push 2
call dword [sym.imp.WS2_32.dll_WSASocketA]
mov ecx, dword [ebp - 0x1c]
mov dword [ecx + 0x30], eax
mov edx, dword [ebp - 0x1c]
cmp dword [edx + 0x30], 0xffffffff
jne 0x4161ff
mov eax, 1
test eax, eax
je 0x4161e1
mov dword [ebp - 0x20], 0
jmp 0x4161f8
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.Could_not_create_listen_socket__ld_n
call fcn.00411220
add esp, 8
mov dword [ebp - 0x20], eax
xor al, al
jmp 0x4163c3
call dword [sym.imp.WS2_32.dll_WSACreateEvent]
mov ecx, dword [ebp - 0x1c]
mov dword [ecx + 0x7c], eax
mov edx, dword [ebp - 0x1c]
cmp dword [edx + 0x7c], 0
jne 0x416251
mov eax, 1
test eax, eax
je 0x416226
mov dword [ebp - 0x24], 0
jmp 0x41623d
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.WSACreateEvent___error__ld_n
call fcn.00411220
add esp, 8
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx + 0x30]
push edx
call dword [sym.imp.WS2_32.dll_closesocket]
xor al, al
jmp 0x4163c3
push 8
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 0x7c]
push ecx
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx + 0x30]
push eax
call dword [sym.imp.WS2_32.dll_WSAEventSelect]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x4162ad
mov ecx, 1
test ecx, ecx
je 0x416282
mov dword [ebp - 0x28], 0
jmp 0x416299
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.WSAAsyncSelect___error__ld_n
call fcn.00411220
add esp, 8
mov dword [ebp - 0x28], eax
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx + 0x30]
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
xor al, al
jmp 0x4163c3
mov cx, word [ebp + 0x10]
push ecx
call dword [sym.imp.WS2_32.dll_htons]
mov word [ebp - 0x16], ax
mov word [ebp - 0x18], 2
mov dword [ebp - 0x14], 0
push 0x10
lea edx, [ebp - 0x18]
push edx
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 0x30]
push ecx
call dword [sym.imp.WS2_32.dll_bind]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x416322
mov edx, 1
test edx, edx
je 0x4162f7
mov dword [ebp - 0x2c], 0
jmp 0x41630e
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.bind___error__ld_n
call fcn.00411220
add esp, 8
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 0x30]
push ecx
call dword [sym.imp.WS2_32.dll_closesocket]
xor al, al
jmp 0x4163c3
push OleUIAddVerbMenuA
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx + 0x30]
push eax
call dword [sym.imp.WS2_32.dll_listen]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x416377
mov ecx, 1
test ecx, ecx
je 0x41634f
mov dword [ebp - 0x30], 0
jmp 0x416366
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.listen___error__ld_n
call fcn.00411220
add esp, 8
mov dword [ebp - 0x30], eax
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx + 0x30]
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
xor al, al
jmp 0x4163c3
mov dword [ebp - 4], 0
lea ecx, [ebp - 4]
push ecx
push 0
mov edx, dword [ebp - 0x1c]
push edx
push 0x41648e
push 0
push 0
call fcn.004add40
add esp, 0x18
mov ecx, dword [ebp - 0x1c]
mov dword [ecx + 0x84], eax
mov edx, dword [ebp - 0x1c]
cmp dword [edx + 0x84], 0xffffffff
je 0x4163c1
mov ecx, dword [ebp - 0x1c]
call fcn.0041680a
mov eax, dword [ebp - 0x1c]
mov byte [eax + 0x3c], 1
mov al, 1
jmp 0x4163c3
xor al, al
mov esp, ebp
pop ebp
ret 0x10