Function at 0x447e78
Capabilities:
Create udp socket
Get socket status
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffcc0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x340], ebx
mov dword [ebp - 0x33c], ebx
mov dword [ebp - 0x204], ebx
mov dword [ebp - 0x20c], ecx
mov dword [ebp - 0x208], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4481f5
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 0xc]
mov edx, dword [0x40b9b4]
call fcn.00408a84
mov eax, dword [ebp + 8]
mov edx, dword [0x40b9b4]
call fcn.00408a84
push 0x11
push 2
push 2
call sub.wsock32.dll_socket
mov esi, eax
cmp esi, 0xffffffff
je 0x4481c6
mov word [ebp - 0x234], 2
xor eax, eax
mov dword [ebp - 0x230], eax
mov word [ebp - 0x232], 0
push 0x10
lea eax, [ebp - 0x234]
push eax
push esi
call sub.wsock32.dll_bind
inc eax
je 0x4481c0
lea eax, [ebp - 0x200]
mov edx, 0x200
call fcn.0040b570
mov byte [ebp - 0x1ff], 1
mov byte [ebp - 0x1fe], 1
mov byte [ebp - 0x1fb], 1
lea eax, [ebp - 0x204]
mov ecx, ebx
mov edx, 0x448214
call fcn.00406058
mov ebx, 1
push 0x7fffffff
mov edi, dword [0x722328]
mov edi, dword [edi]
lea ecx, [ebx + 1]
mov edx, dword [ebp - 0x204]
mov eax, 0x448214
call edi
mov dword [ebp - 0x218], eax
cmp dword [ebp - 0x218], 0
jle 0x447fb4
lea eax, [ebp - 0x204]
xor edx, edx
call fcn.00405dc4
call fcn.00405f5c
cmp eax, dword [ebp - 0x218]
jle 0x447fb4
movzx eax, byte [ebp - 0x218]
sub al, bl
dec eax
mov edx, dword [ebp - 0x204]
mov byte [edx + ebx - 1], al
mov ebx, dword [ebp - 0x218]
jmp 0x447f52
lea eax, [ebp - 0x204]
xor edx, edx
call fcn.00405dc4
call fcn.00405f5c
sub al, bl
mov edx, dword [ebp - 0x204]
mov byte [edx + ebx - 1], al
lea eax, [ebp - 0x204]
xor edx, edx
call fcn.00405dc4
call fcn.00405f5c
push eax
lea eax, [ebp - 0x204]
xor edx, edx
call fcn.00405dc4
lea eax, [ebp - 0x204]
call fcn.004063d0
lea edx, [ebp - 0x1f4]
pop ecx
call fcn.0040331c
lea eax, [ebp - 0x204]
xor edx, edx
call fcn.00405dc4
call fcn.00405f5c
add eax, 0xc
mov dword [ebp - 0x214], eax
mov eax, dword [ebp - 0x214]
movzx edx, byte [ebp + 0x10]
mov byte [ebp + eax - 0x1fe], dl
mov eax, dword [ebp - 0x214]
mov byte [ebp + eax - 0x1fc], 1
add dword [ebp - 0x214], 5
xor eax, eax
mov dword [ebp - 0x21c], eax
mov edi, dword [ebp - 0x20c]
test edi, edi
jl 0x4480cf
inc edi
mov ebx, dword [ebp - 0x208]
cmp dword [ebx], 0
je 0x4480c9
mov eax, dword [ebx]
call fcn.00447e44
mov dword [ebp - 0x210], eax
cmp dword [ebp - 0x210], 0xffffffff
je 0x4480c9
mov word [ebp - 0x234], 2
push 0x35
call sub.wsock32.dll_htons
mov word [ebp - 0x232], ax
mov eax, dword [ebp - 0x210]
mov dword [ebp - 0x230], eax
push 0x10
lea eax, [ebp - 0x234]
push eax
push 0
mov eax, dword [ebp - 0x214]
push eax
lea eax, [ebp - 0x200]
push eax
push esi
call sub.wsock32.dll_sendto
inc eax
je 0x4480c9
inc dword [ebp - 0x21c]
add ebx, 4
dec edi
jne 0x448063
mov dword [ebp - 0x338], 1
mov dword [ebp - 0x334], esi
mov dword [ebp - 0x224], 5
xor eax, eax
mov dword [ebp - 0x220], eax
jmp 0x44817b
test byte [ebp - 0x1fc], 0xf
jne 0x448175
push ebp
lea ecx, [ebp - 0x33c]
lea edx, [ebp - 0x214]
lea eax, [ebp - 0x1f9]
movzx eax, word [eax]
call fcn.00447d50
pop ecx
mov edx, dword [ebp - 0x33c]
mov eax, dword [ebp + 0xc]
mov ecx, dword [0x40b9b4]
call fcn.00408ac0
cmp byte [ebp + 0x10], 2
jne 0x448165
push ebp
lea ecx, [ebp - 0x340]
lea edx, [ebp - 0x214]
lea eax, [ebp - 0x1f7]
movzx eax, word [eax]
call fcn.00447d50
pop ecx
mov edx, dword [ebp - 0x340]
mov eax, dword [ebp + 8]
mov ecx, dword [0x40b9b4]
call fcn.00408ac0
mov eax, dword [ebp + 0xc]
cmp dword [eax], 0
jne 0x4481c0
mov eax, dword [ebp + 8]
cmp dword [eax], 0
jne 0x4481c0
dec dword [ebp - 0x21c]
cmp dword [ebp - 0x21c], 0
jle 0x4481c0
lea eax, [ebp - 0x224]
push eax
push 0
push 0
lea eax, [ebp - 0x338]
push eax
push 0
call sub.wsock32.dll_select
test eax, eax
jle 0x4481c0
push 0
push 0
push 0
push 0x200
lea eax, [ebp - 0x200]
push eax
push esi
call sub.wsock32.dll_recvfrom
inc eax
jne 0x4480f6
push esi
call sub.wsock32.dll_closesocket
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4481fc
lea eax, [ebp - 0x340]
mov edx, dword [0x40b9b4]
mov ecx, 2
call fcn.00407c88
lea eax, [ebp - 0x204]
call fcn.00405b98
ret