Function at 0x41b93c
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 + 8]
mov dword [eax + 4], ecx
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp + 0xc]
mov dword [edx + 8], eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp + 0x10]
mov dword [ecx + 0x1c], 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 + 0x68], eax
mov edx, dword [ebp - 0x1c]
cmp dword [edx + 0x68], 0xffffffff
jne 0x41b9b1
mov eax, 1
test eax, eax
je 0x41b993
mov dword [ebp - 0x20], 0
jmp 0x41b9aa
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.Could_not_create_listen_socket__ld_n
call fcn.00419990
add esp, 8
mov dword [ebp - 0x20], eax
xor al, al
jmp 0x41bb6f
call dword [sym.imp.WS2_32.dll_WSACreateEvent]
mov ecx, dword [ebp - 0x1c]
mov dword [ecx + 0x64], eax
mov edx, dword [ebp - 0x1c]
cmp dword [edx + 0x64], 0
jne 0x41ba03
mov eax, 1
test eax, eax
je 0x41b9d8
mov dword [ebp - 0x24], 0
jmp 0x41b9ef
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.WSACreateEvent___error__ld_n
call fcn.00419990
add esp, 8
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx + 0x68]
push edx
call dword [sym.imp.WS2_32.dll_closesocket]
xor al, al
jmp 0x41bb6f
push 8
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 0x64]
push ecx
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx + 0x68]
push eax
call dword [sym.imp.WS2_32.dll_WSAEventSelect]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x41ba5f
mov ecx, 1
test ecx, ecx
je 0x41ba34
mov dword [ebp - 0x28], 0
jmp 0x41ba4b
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.WSAAsyncSelect___error__ld_n
call fcn.00419990
add esp, 8
mov dword [ebp - 0x28], eax
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx + 0x68]
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
xor al, al
jmp 0x41bb6f
mov cx, word [ebp + 0x14]
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 + 0x68]
push ecx
call dword [sym.imp.WS2_32.dll_bind]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x41bad4
mov edx, 1
test edx, edx
je 0x41baa9
mov dword [ebp - 0x2c], 0
jmp 0x41bac0
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.bind___error__ld_n
call fcn.00419990
add esp, 8
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 0x68]
push ecx
call dword [sym.imp.WS2_32.dll_closesocket]
xor al, al
jmp 0x41bb6f
push bind
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx + 0x68]
push eax
call dword [sym.imp.WS2_32.dll_listen]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x41bb29
mov ecx, 1
test ecx, ecx
je 0x41bb01
mov dword [ebp - 0x30], 0
jmp 0x41bb18
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.listen___error__ld_n
call fcn.00419990
add esp, 8
mov dword [ebp - 0x30], eax
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx + 0x68]
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
xor al, al
jmp 0x41bb6f
mov dword [ebp - 4], 0
lea ecx, [ebp - 4]
push ecx
push 0
mov edx, dword [ebp - 0x1c]
push edx
push 0x41bb75
push 0
push 0
call fcn.005fceec
add esp, 0x18
mov ecx, dword [ebp - 0x1c]
mov dword [ecx + 0x70], eax
mov edx, dword [ebp - 0x1c]
cmp dword [edx + 0x70], 0xffffffff
je 0x41bb6d
mov ecx, dword [ebp - 0x1c]
call fcn.0041bf44
mov eax, dword [ebp - 0x1c]
mov byte [eax + 0x24], 1
mov al, 1
jmp 0x41bb6f
xor al, al
mov esp, ebp
pop ebp
ret 0x10