Function at 0x44e8f8
Capabilities:
Create tcp socket
Create udp socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x30], ebx
test dl, dl
je 0x44e917
add esp, 0xfffffff0
call fcn.0040454c
mov ebx, dword [ebp + 0x18]
add ebx, ebx
inc ebx
test ebx, ebx
js 0x44e92b
shr ebx, 2
mov esi, dword [ecx + ebx*4]
dec ebx
push esi
jns 0x44e924
mov ecx, esp
mov dword [ebp - 0xa], ecx
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
call fcn.004054f4
xor eax, eax
push ebp
push 0x44eb6a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
push eax
mov cl, 1
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.0043a67c
mov eax, dword [ebp + 8]
cmp byte [eax], 0
jne 0x44eb47
mov eax, dword [ebp + 0x18]
inc eax
push eax
mov eax, dword [ebp - 4]
add eax, 0x14
mov ecx, 1
mov edx, dword [0x44e81c]
call fcn.00406528
add esp, 4
mov eax, dword [ebp + 0x18]
inc eax
push eax
mov eax, dword [ebp - 4]
add eax, 0x24
mov ecx, 1
mov edx, dword [0x44e844]
call fcn.00406528
add esp, 4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x14]
call fcn.0040634c
dec eax
test eax, eax
jl 0x44e9de
inc eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 0xa]
mov edx, dword [ebp - 0x10]
mov ax, word [eax + edx*2]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x14]
mov ecx, dword [ebp - 0x10]
mov word [edx + ecx*2], ax
inc dword [ebp - 0x10]
dec dword [ebp - 0x14]
jne 0x44e9bf
mov eax, dword [ebp - 4]
mov dl, byte [ebp + 0x14]
mov byte [eax + 0x18], dl
mov eax, dword [ebp - 4]
mov edx, dword [ebp + 0x10]
mov dword [eax + 0x1c], edx
mov eax, dword [ebp - 4]
add eax, 0x20
mov edx, dword [ebp + 0xc]
call fcn.00405098
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
call fcn.0040634c
dec eax
test eax, eax
jl 0x44eb47
inc eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
mov edx, dword [ebp - 0x10]
mov dword [eax + edx*4], 0xffffffff
mov eax, dword [ebp - 4]
mov al, byte [eax + 4]
sub al, 1
jne 0x44eb3b
lea eax, [ebp - 0x24]
xor ecx, ecx
mov edx, 0x10
call fcn.004036c0
mov word [ebp - 0x24], 2
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x14]
mov edx, dword [ebp - 0x10]
mov ax, word [eax + edx*2]
push eax
call sub.wsock32.dll_htons
mov word [ebp - 0x22], ax
xor eax, eax
mov dword [ebp - 0x20], eax
push 0
push 1
push 2
call sub.wsock32.dll_socket
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x24]
mov ecx, dword [ebp - 0x10]
mov dword [edx + ecx*4], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
mov edx, dword [ebp - 0x10]
cmp dword [eax + edx*4], 0xffffffff
je 0x44eaea
push 0x10
lea eax, [ebp - 0x24]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
mov edx, dword [ebp - 0x10]
mov eax, dword [eax + edx*4]
push eax
call sub.wsock32.dll_bind
inc eax
je 0x44eaea
push pe_nt_image_headers32
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
mov edx, dword [ebp - 0x10]
mov eax, dword [eax + edx*4]
push eax
call sub.wsock32.dll_listen
inc eax
je 0x44eaea
push 8
push 0x464
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
mov edx, dword [ebp - 0x10]
mov eax, dword [eax + edx*4]
push eax
call sub.wsock32.dll_WSAAsyncSelect
inc eax
jne 0x44eb3b
push 0x44eba0
call sub.wsock32.dll_WSAGetLastError
lea edx, [ebp - 0x2c]
call fcn.00437924
push dword [ebp - 0x2c]
push 0x44ebc0
lea edx, [ebp - 0x30]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x14]
mov ecx, dword [ebp - 0x10]
movzx eax, word [eax + ecx*2]
call fcn.00409ea8
push dword [ebp - 0x30]
lea eax, [ebp - 0x28]
mov edx, 3
call fcn.004053c4
mov ecx, dword [ebp - 0x28]
mov eax, dword [ebp + 8]
mov edx, 0x44ebd0
call fcn.004374a0
jmp 0x44eb47
inc dword [ebp - 0x10]
dec dword [ebp - 0x14]
jne 0x44ea1d
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44eb71
lea eax, [ebp - 0x30]
mov edx, 3
call fcn.00405068
lea eax, [ebp + 0xc]
call fcn.00405044
ret