Function at 0x42a011
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 + 0x50], edx
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp + 0x14]
mov dword [eax + 0xc], ecx
push 1
push 0
push 0
push 0
push 1
push 2
call dword [sym.imp.WS2_32.dll_WSASocketA]
mov edx, dword [ebp - 0x1c]
mov dword [edx + 0x54], eax
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 0x54], 0xffffffff
jne 0x42a08f
mov ecx, 1
test ecx, ecx
je 0x42a071
mov dword [ebp - 0x20], 0
jmp 0x42a088
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push 0x60d9d8
call fcn.0041ab00
add esp, 8
mov dword [ebp - 0x20], eax
xor al, al
jmp 0x42a25c
call dword [sym.imp.WS2_32.dll_WSACreateEvent]
mov edx, dword [ebp - 0x1c]
mov dword [edx + 0x9c], eax
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 0x9c], 0
jne 0x42a0e7
mov ecx, 1
test ecx, ecx
je 0x42a0bc
mov dword [ebp - 0x24], 0
jmp 0x42a0d3
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push 0x60d9fc
call fcn.0041ab00
add esp, 8
mov dword [ebp - 0x24], eax
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx + 0x54]
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
xor al, al
jmp 0x42a25c
push 8
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx + 0x9c]
push edx
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 0x54]
push ecx
call dword [sym.imp.WS2_32.dll_WSAEventSelect]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x42a146
mov edx, 1
test edx, edx
je 0x42a11b
mov dword [ebp - 0x28], 0
jmp 0x42a132
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push 0x60da18
call fcn.0041ab00
add esp, 8
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 0x54]
push ecx
call dword [sym.imp.WS2_32.dll_closesocket]
xor al, al
jmp 0x42a25c
mov dx, word [ebp + 0x14]
push edx
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 eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx + 0x54]
push edx
call dword [sym.imp.WS2_32.dll_bind]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x42a1bb
mov eax, 1
test eax, eax
je 0x42a190
mov dword [ebp - 0x2c], 0
jmp 0x42a1a7
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push 0x60da34
call fcn.0041ab00
add esp, 8
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx + 0x54]
push edx
call dword [sym.imp.WS2_32.dll_closesocket]
xor al, al
jmp 0x42a25c
push 0x7fffffff
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 0x54]
push ecx
call dword [sym.imp.WS2_32.dll_listen]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x42a210
mov edx, 1
test edx, edx
je 0x42a1e8
mov dword [ebp - 0x30], 0
jmp 0x42a1ff
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push 0x60da48
call fcn.0041ab00
add esp, 8
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 0x54]
push ecx
call dword [sym.imp.WS2_32.dll_closesocket]
xor al, al
jmp 0x42a25c
mov dword [ebp - 4], 0
lea edx, [ebp - 4]
push edx
push 0
mov eax, dword [ebp - 0x1c]
push eax
push 0x42a262
push 0
push 0
call fcn.0045b8a2
add esp, 0x18
mov ecx, dword [ebp - 0x1c]
mov dword [ecx + 0xa4], eax
mov edx, dword [ebp - 0x1c]
cmp dword [edx + 0xa4], 0xffffffff
je 0x42a25a
mov ecx, dword [ebp - 0x1c]
call fcn.0042a644
mov eax, dword [ebp - 0x1c]
mov byte [eax + 0x5c], 1
mov al, 1
jmp 0x42a25c
xor al, al
mov esp, ebp
pop ebp
ret 0x10