Function at 0x43fd4c
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, 0xfffffcc4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x33c], ebx
mov dword [ebp - 0x338], ebx
mov dword [ebp - 0x214], ebx
mov dword [ebp - 0x208], ecx
mov dword [ebp - 0x204], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x440089
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 0xc]
mov edx, dword [0x4087d8]
call fcn.004061b8
mov eax, dword [ebp + 8]
mov edx, dword [0x4087d8]
call fcn.004061b8
push 0x11
push 2
push 2
call sub.wsock32.dll_socket
mov esi, eax
cmp esi, 0xffffffff
je 0x44005a
mov word [ebp - 0x230], 2
xor eax, eax
mov dword [ebp - 0x22c], eax
mov word [ebp - 0x22e], 0
push 0x10
lea eax, [ebp - 0x230]
push eax
push esi
call sub.wsock32.dll_bind
inc eax
je 0x440054
lea eax, [ebp - 0x200]
mov edx, 0x200
call fcn.00408314
mov byte [ebp - 0x1ff], 1
mov byte [ebp - 0x1fe], 1
mov byte [ebp - 0x1fb], 1
lea eax, [ebp - 0x214]
mov ecx, ebx
mov edx, 0x4400a4
call fcn.00404aa4
mov ebx, 1
push 0x7fffffff
mov edi, dword [0x53358c]
mov edi, dword [edi]
lea ecx, [ebx + 1]
mov edx, dword [ebp - 0x214]
mov eax, 0x4400a4
call edi
mov edi, eax
test edi, edi
jle 0x43fe6b
mov eax, dword [ebp - 0x214]
call fcn.00404a58
cmp edi, eax
jge 0x43fe6b
mov eax, edi
sub al, bl
dec eax
mov edx, dword [ebp - 0x214]
mov byte [edx + ebx - 1], al
mov ebx, edi
jmp 0x43fe26
mov eax, dword [ebp - 0x214]
call fcn.00404a58
sub al, bl
mov edx, dword [ebp - 0x214]
mov byte [edx + ebx - 1], al
mov eax, dword [ebp - 0x214]
call fcn.00404a58
push eax
lea eax, [ebp - 0x214]
call fcn.00404cb0
lea edx, [ebp - 0x1f4]
pop ecx
call fcn.00402978
mov eax, dword [ebp - 0x214]
call fcn.00404a58
add eax, 0xc
mov dword [ebp - 0x210], eax
mov eax, dword [ebp - 0x210]
mov dl, byte [ebp + 0x10]
mov byte [ebp + eax - 0x1fe], dl
mov eax, dword [ebp - 0x210]
mov byte [ebp + eax - 0x1fc], 1
add dword [ebp - 0x210], 5
xor eax, eax
mov dword [ebp - 0x218], eax
mov edi, dword [ebp - 0x208]
test edi, edi
jl 0x43ff63
inc edi
mov ebx, dword [ebp - 0x204]
cmp dword [ebx], 0
je 0x43ff5d
mov eax, dword [ebx]
call fcn.0043fd18
mov dword [ebp - 0x20c], eax
cmp dword [ebp - 0x20c], 0xffffffff
je 0x43ff5d
mov word [ebp - 0x230], 2
push 0x35
call sub.wsock32.dll_htons
mov word [ebp - 0x22e], ax
mov eax, dword [ebp - 0x20c]
mov dword [ebp - 0x22c], eax
push 0x10
lea eax, [ebp - 0x230]
push eax
push 0
mov eax, dword [ebp - 0x210]
push eax
lea eax, [ebp - 0x200]
push eax
push esi
call sub.wsock32.dll_sendto
inc eax
je 0x43ff5d
inc dword [ebp - 0x218]
add ebx, 4
dec edi
jne 0x43fef7
mov dword [ebp - 0x334], 1
mov dword [ebp - 0x330], esi
mov dword [ebp - 0x220], 5
xor eax, eax
mov dword [ebp - 0x21c], eax
jmp 0x44000f
test byte [ebp - 0x1fc], 0xf
jne 0x440009
push ebp
lea ecx, [ebp - 0x338]
lea edx, [ebp - 0x210]
lea eax, [ebp - 0x1f9]
movzx eax, word [eax]
call fcn.0043fc24
pop ecx
mov edx, dword [ebp - 0x338]
mov eax, dword [ebp + 0xc]
mov ecx, dword [0x4087d8]
call fcn.004061f4
cmp byte [ebp + 0x10], 2
jne 0x43fff9
push ebp
lea ecx, [ebp - 0x33c]
lea edx, [ebp - 0x210]
lea eax, [ebp - 0x1f7]
movzx eax, word [eax]
call fcn.0043fc24
pop ecx
mov edx, dword [ebp - 0x33c]
mov eax, dword [ebp + 8]
mov ecx, dword [0x4087d8]
call fcn.004061f4
mov eax, dword [ebp + 0xc]
cmp dword [eax], 0
jne 0x440054
mov eax, dword [ebp + 8]
cmp dword [eax], 0
jne 0x440054
dec dword [ebp - 0x218]
cmp dword [ebp - 0x218], 0
jle 0x440054
lea eax, [ebp - 0x220]
push eax
push 0
push 0
lea eax, [ebp - 0x334]
push eax
push 0
call sub.wsock32.dll_select
test eax, eax
jle 0x440054
push 0
push 0
push 0
push 0x200
lea eax, [ebp - 0x200]
push eax
push esi
call sub.wsock32.dll_recvfrom
inc eax
jne 0x43ff8a
push esi
call sub.wsock32.dll_closesocket
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x440090
lea eax, [ebp - 0x33c]
mov edx, dword [0x4087d8]
mov ecx, 2
call fcn.004055ec
lea eax, [ebp - 0x214]
call fcn.00404788
ret