Function at 0x4e6de8
Capabilities:
Create udp socket
Initialize winsock library
Set socket configuration

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffe6c
mov esi, eax
mov edi, 0x53f174
xor ebx, ebx
call fcn.004e6c44
test al, al
je 0x4e6e15
mov eax, dword [0x53f170]
not eax
or eax, dword [0x53f16c]
mov dword [0x53c594], eax
call fcn.004e6cb4
mov eax, dword [0x53f154]
cmp dword [eax + 8], 0
jne 0x4e6e62
cmp dword [0x53c594], 0
je 0x4e6e53
mov edx, dword [0x53c594]
mov eax, dword [0x53f154]
call fcn.004119bc
cmp dword [0x53c59c], 0
jne 0x4e6e62
mov eax, dword [0x53f16c]
mov dword [0x53c59c], eax
jmp 0x4e6e62
mov eax, 0x4e7030
call fcn.004589d8
jmp 0x4e701a
mov dword [esp], 1
lea eax, [esp + 4]
push eax
push 0x101
call sub.wsock32.dll_WSAStartup
test eax, eax
je 0x4e6ea9
push 0x10
mov eax, dword [0x53c9e0]
mov eax, dword [eax]
mov ecx, dword [eax + 0x90]
mov eax, dword [0x53c9e0]
mov eax, dword [eax]
mov edx, dword [eax + 0xb0]
mov eax, dword [0x53d0f8]
mov eax, dword [eax]
call fcn.00451f74
jmp 0x4e701a
push 0
push 2
push 2
call sub.wsock32.dll_socket
mov dword [edi], eax
cmp dword [edi], 0xffffffff
jne 0x4e6eed
push 0x10
mov eax, dword [0x53c9e0]
mov eax, dword [eax]
mov ecx, dword [eax + 0x18]
mov eax, dword [0x53c9e0]
mov eax, dword [eax]
mov edx, dword [eax + 0xb0]
mov eax, dword [0x53d0f8]
mov eax, dword [eax]
call fcn.00451f74
mov eax, dword [edi]
push eax
call sub.wsock32.dll_closesocket
jmp 0x4e701a
mov word [0x53f15c], 2
mov eax, dword [0x53f154]
cmp dword [eax + 8], 1
jne 0x4e6f0d
mov eax, dword [0x53c59c]
mov dword [0x53f160], eax
jmp 0x4e6f14
xor eax, eax
mov dword [0x53f160], eax
mov ax, word [0x53f110]
push eax
call sub.wsock32.dll_htons
mov word [0x53f15e], ax
push 4
lea eax, [esp + 4]
push eax
push 4
push 0xffff
mov eax, dword [edi]
push eax
call sub.wsock32.dll_setsockopt
push 0x10
push 0x53f15c
mov eax, dword [edi]
push eax
call sub.wsock32.dll_bind
inc eax
jne 0x4e6f80
push 0x10
mov eax, dword [0x53c9e0]
mov eax, dword [eax]
mov ecx, dword [eax + 0x18]
mov eax, dword [0x53c9e0]
mov eax, dword [eax]
mov edx, dword [eax + 0xb0]
mov eax, dword [0x53d0f8]
mov eax, dword [eax]
call fcn.00451f74
mov eax, dword [edi]
push eax
call sub.wsock32.dll_closesocket
jmp 0x4e701a
push 4
lea eax, [esp + 4]
push eax
push 0x20
push 0xffff
mov eax, dword [edi]
push eax
call sub.wsock32.dll_setsockopt
inc eax
jne 0x4e6fc8
push 0x10
mov eax, dword [0x53c9e0]
mov eax, dword [eax]
mov ecx, dword [eax + 0x18]
mov eax, dword [0x53c9e0]
mov eax, dword [eax]
mov edx, dword [eax + 0xb0]
mov eax, dword [0x53d0f8]
mov eax, dword [eax]
call fcn.00451f74
mov eax, dword [edi]
push eax
call sub.wsock32.dll_closesocket
jmp 0x4e701a
push 0x23
push 0x500
mov eax, esi
call fcn.00439da0
push eax
mov eax, dword [edi]
push eax
call sub.wsock32.dll_WSAAsyncSelect
inc eax
jne 0x4e7011
push 0x10
mov eax, dword [0x53c9e0]
mov eax, dword [eax]
mov ecx, dword [eax + 0x18]
mov eax, dword [0x53c9e0]
mov eax, dword [eax]
mov edx, dword [eax + 0xb0]
mov eax, dword [0x53d0f8]
mov eax, dword [eax]
call fcn.00451f74
mov eax, dword [edi]
push eax
call sub.wsock32.dll_closesocket
jmp 0x4e701a
mov bl, 1
mov byte [0x53c590], 1
mov eax, ebx
add esp, 0x194
pop edi
pop esi
pop ebx
ret