Function at 0x41e644
Capabilities:
Create udp socket
Get socket status
Receive data
Receive data on socket
Resolve dns
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 - 0x218], ebx
mov dword [ebp - 0x20c], ecx
mov dword [ebp - 0x208], edx
mov dword [ebp - 0x204], eax
mov eax, dword [ebp - 0x204]
call fcn.00404b28
xor eax, eax
push ebp
push 0x41e9c9
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 0xc]
mov edx, dword [0x407de8]
call fcn.00405ed4
mov eax, dword [ebp + 8]
mov edx, dword [0x407de8]
call fcn.00405ed4
push 0x11
push 2
push 2
call fcn.0041b0ec
mov esi, eax
cmp esi, 0xffffffff
je 0x41e98f
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 fcn.0041b09c
inc eax
je 0x41e989
lea eax, [ebp - 0x200]
mov edx, 0x200
call fcn.00407ba4
mov byte [ebp - 0x1ff], 1
mov byte [ebp - 0x1fb], 1
lea eax, [ebp - 0x218]
mov ecx, dword [ebp - 0x204]
mov edx, 0x41e9e4
call fcn.0040498c
mov ebx, 1
push 0xffffffffffffffff
lea ecx, [ebx + 1]
mov edx, dword [ebp - 0x218]
mov eax, 0x41e9e4
call fcn.004083b8
mov edi, eax
test edi, edi
jle 0x41e767
mov eax, dword [ebp - 0x218]
call fcn.00404940
cmp edi, eax
jge 0x41e767
mov eax, edi
sub al, bl
dec eax
mov edx, dword [ebp - 0x218]
mov byte [edx + ebx - 1], al
mov ebx, edi
jmp 0x41e72a
mov eax, dword [ebp - 0x218]
call fcn.00404940
sub al, bl
mov edx, dword [ebp - 0x218]
mov byte [edx + ebx - 1], al
mov eax, dword [ebp - 0x218]
call fcn.00404940
push eax
lea eax, [ebp - 0x218]
call fcn.00404b90
lea edx, [ebp - 0x1f4]
pop ecx
call fcn.004029bc
mov eax, dword [ebp - 0x218]
call fcn.00404940
add eax, 0xc
mov dword [ebp - 0x214], eax
mov eax, dword [ebp - 0x214]
mov dl, 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 0x41e898
inc edi
mov ebx, dword [ebp - 0x208]
cmp dword [ebx], 0
je 0x41e88e
mov eax, dword [ebx]
call fcn.00404b38
push eax
call fcn.0041b0bc
mov dword [ebp - 0x210], eax
cmp dword [ebp - 0x210], 0xffffffff
jne 0x41e83a
mov eax, dword [ebx]
call fcn.00404b38
push eax
call fcn.0041b0f4
test eax, eax
je 0x41e83a
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov eax, dword [eax]
mov dword [ebp - 0x210], eax
cmp dword [ebp - 0x210], 0xffffffff
je 0x41e88e
mov word [ebp - 0x234], 2
push 0x35
call fcn.0041b0b4
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 fcn.0041b0e4
inc eax
je 0x41e88e
inc dword [ebp - 0x21c]
add ebx, 4
dec edi
jne 0x41e7f7
mov dword [ebp - 0x338], 1
mov dword [ebp - 0x334], esi
mov dword [ebp - 0x224], 5
xor eax, eax
mov dword [ebp - 0x220], eax
jmp 0x41e944
test byte [ebp - 0x1fc], 0xf
jne 0x41e93e
push ebp
lea ecx, [ebp - 0x33c]
lea edx, [ebp - 0x214]
lea eax, [ebp - 0x1f9]
movzx eax, word [eax]
call fcn.0041e550
pop ecx
mov edx, dword [ebp - 0x33c]
mov eax, dword [ebp + 0xc]
mov ecx, dword [0x407de8]
call fcn.00405f10
cmp byte [ebp + 0x10], 2
jne 0x41e92e
push ebp
lea ecx, [ebp - 0x340]
lea edx, [ebp - 0x214]
lea eax, [ebp - 0x1f7]
movzx eax, word [eax]
call fcn.0041e550
pop ecx
mov edx, dword [ebp - 0x340]
mov eax, dword [ebp + 8]
mov ecx, dword [0x407de8]
call fcn.00405f10
mov eax, dword [ebp + 0xc]
cmp dword [eax], 0
jne 0x41e989
mov eax, dword [ebp + 8]
cmp dword [eax], 0
jne 0x41e989
dec dword [ebp - 0x21c]
cmp dword [ebp - 0x21c], 0
jle 0x41e989
lea eax, [ebp - 0x224]
push eax
push 0
push 0
lea eax, [ebp - 0x338]
push eax
push 0
call fcn.0041b0d4
test eax, eax
jle 0x41e989
push 0
push 0
push 0
push 0x200
lea eax, [ebp - 0x200]
push eax
push esi
call fcn.0041b0cc
inc eax
jne 0x41e8bf
push esi
call fcn.0041b0a4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41e9d0
lea eax, [ebp - 0x340]
mov edx, dword [0x407de8]
mov ecx, 2
call fcn.004051bc
lea eax, [ebp - 0x218]
call fcn.00404688
lea eax, [ebp - 0x204]
call fcn.00404688
ret