Function at 0x44e700
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, 0xfffffcbc
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x344], ebx
mov dword [ebp - 0x340], ebx
mov dword [ebp - 0x208], ebx
mov dword [ebp - 0x214], ecx
mov dword [ebp - 0x210], edx
mov dword [ebp - 0x204], eax
mov eax, dword [ebp - 0x204]
call fcn.00407000
xor eax, eax
push ebp
push 0x44ea7a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 0xc]
mov edx, dword [0x40f5d4]
call fcn.004092dc
mov eax, dword [ebp + 8]
mov edx, dword [0x40f5d4]
call fcn.004092dc
push 0x11
push 2
push 2
call sub.wsock32.dll_socket
mov esi, eax
cmp esi, 0xffffffff
je 0x44ea46
mov word [ebp - 0x238], 2
xor eax, eax
mov dword [ebp - 0x234], eax
mov word [ebp - 0x236], 0
push 0x10
lea eax, [ebp - 0x238]
push eax
push esi
call sub.wsock32.dll_bind
inc eax
je 0x44ea40
lea eax, [ebp - 0x200]
mov edx, 0x200
call fcn.0040da54
mov byte [ebp - 0x1ff], 1
mov byte [ebp - 0x1fe], 1
mov byte [ebp - 0x1fb], 1
lea eax, [ebp - 0x208]
mov ecx, dword [ebp - 0x204]
mov edx, 0x44ea98
call fcn.00406cbc
mov ebx, 1
push 0x7fffffff
lea ecx, [ebx + 1]
mov edx, dword [ebp - 0x208]
mov eax, 0x44ea98
call fcn.00410440
mov edi, eax
test edi, edi
jle 0x44e834
lea eax, [ebp - 0x208]
xor edx, edx
call fcn.00406a28
call fcn.00406bc0
cmp edi, eax
jge 0x44e834
mov eax, edi
sub al, bl
dec eax
mov edx, dword [ebp - 0x208]
mov byte [edx + ebx - 1], al
mov ebx, edi
jmp 0x44e7ed
lea eax, [ebp - 0x208]
xor edx, edx
call fcn.00406a28
call fcn.00406bc0
sub al, bl
mov edx, dword [ebp - 0x208]
mov byte [edx + ebx - 1], al
lea eax, [ebp - 0x208]
xor edx, edx
call fcn.00406a28
call fcn.00406bc0
push eax
lea eax, [ebp - 0x208]
xor edx, edx
call fcn.00406a28
lea eax, [ebp - 0x208]
call fcn.00407088
lea edx, [ebp - 0x1f4]
pop ecx
call fcn.00404460
lea eax, [ebp - 0x208]
xor edx, edx
call fcn.00406a28
call fcn.00406bc0
add eax, 0xc
mov dword [ebp - 0x21c], eax
mov eax, dword [ebp - 0x21c]
movzx edx, byte [ebp + 0x10]
mov byte [ebp + eax - 0x1fe], dl
mov eax, dword [ebp - 0x21c]
mov byte [ebp + eax - 0x1fc], 1
add dword [ebp - 0x21c], 5
xor eax, eax
mov dword [ebp - 0x220], eax
mov edi, dword [ebp - 0x214]
test edi, edi
jl 0x44e94f
inc edi
mov ebx, dword [ebp - 0x210]
cmp dword [ebx], 0
je 0x44e949
mov eax, dword [ebx]
call fcn.0044e694
mov dword [ebp - 0x218], eax
cmp dword [ebp - 0x218], 0xffffffff
je 0x44e949
mov word [ebp - 0x238], 2
push 0x35
call sub.wsock32.dll_htons
mov word [ebp - 0x236], ax
mov eax, dword [ebp - 0x218]
mov dword [ebp - 0x234], eax
push 0x10
lea eax, [ebp - 0x238]
push eax
push 0
mov eax, dword [ebp - 0x21c]
push eax
lea eax, [ebp - 0x200]
push eax
push esi
call sub.wsock32.dll_sendto
inc eax
je 0x44e949
inc dword [ebp - 0x220]
add ebx, 4
dec edi
jne 0x44e8e3
mov dword [ebp - 0x33c], 1
mov dword [ebp - 0x338], esi
mov dword [ebp - 0x228], 5
xor eax, eax
mov dword [ebp - 0x224], eax
jmp 0x44e9fb
test byte [ebp - 0x1fc], 0xf
jne 0x44e9f5
push ebp
lea ecx, [ebp - 0x340]
lea edx, [ebp - 0x21c]
lea eax, [ebp - 0x1f9]
movzx eax, word [eax]
call fcn.0044e5a0
pop ecx
mov edx, dword [ebp - 0x340]
mov eax, dword [ebp + 0xc]
mov ecx, dword [0x40f5d4]
call fcn.00409318
cmp byte [ebp + 0x10], 2
jne 0x44e9e5
push ebp
lea ecx, [ebp - 0x344]
lea edx, [ebp - 0x21c]
lea eax, [ebp - 0x1f7]
movzx eax, word [eax]
call fcn.0044e5a0
pop ecx
mov edx, dword [ebp - 0x344]
mov eax, dword [ebp + 8]
mov ecx, dword [0x40f5d4]
call fcn.00409318
mov eax, dword [ebp + 0xc]
cmp dword [eax], 0
jne 0x44ea40
mov eax, dword [ebp + 8]
cmp dword [eax], 0
jne 0x44ea40
dec dword [ebp - 0x220]
cmp dword [ebp - 0x220], 0
jle 0x44ea40
lea eax, [ebp - 0x228]
push eax
push 0
push 0
lea eax, [ebp - 0x33c]
push eax
push 0
call sub.wsock32.dll_select
test eax, eax
jle 0x44ea40
push 0
push 0
push 0
push 0x200
lea eax, [ebp - 0x200]
push eax
push esi
call sub.wsock32.dll_recvfrom
inc eax
jne 0x44e976
push esi
call sub.wsock32.dll_closesocket
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44ea81
lea eax, [ebp - 0x344]
mov edx, dword [0x40f5d4]
mov ecx, 2
call fcn.004085d0
lea eax, [ebp - 0x208]
mov edx, 2
call fcn.00406820
ret