Function at 0x42504d
Capabilities:
Create udp socket
Receive data
Receive data on socket
Send data
Send data on socket
Set socket configuration

Disassembly:
push 0x68
mov eax, 0x5bd983
call fcn.005870c4
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword [ebp + 8]
mov esi, edx
push eax
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x48], esi
mov dword [ebp - 0x5c], ecx
mov dword [ebp - 0x54], ebx
call fcn.00413a77
mov dword [ebp - 4], ebx
push 0x11
xor edi, edi
push 2
inc edi
push 2
mov dword [ebp - 0x54], edi
call dword [sym.imp.WS2_32.dll_socket]
mov dword [ebp - 0x4c], eax
cmp eax, 0xffffffff
je 0x42537e
push 4
lea ecx, [ebp - 0x58]
push ecx
push 0x1006
push 0xffff
push eax
mov dword [ebp - 0x58], 0x1f4
call dword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
jne 0x425375
lea eax, [ebp - 0x38]
push eax
call fcn.004083b0
mov dword [ebp - 4], edi
mov eax, dword [esi + 0x10]
sub eax, dword [esi + 0xc]
mov dword [ebp - 0x34], ebx
sar eax, 2
cmp eax, ebx
jbe 0x425165
jmp 0x4250e1
mov esi, dword [ebp - 0x48]
mov edi, dword [ebp - 0x34]
cmp edi, eax
jb 0x4250ed
call fcn.0057a4ca
mov eax, dword [esi + 0xc]
lea eax, [eax + edi*4]
push eax
lea eax, [ebp - 0x40]
push eax
lea esi, [ebp - 0x38]
call fcn.00413735
pop ecx
pop ecx
mov byte [ebp - 4], 2
mov edi, esi
call fcn.0040843b
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
call fcn.00408418
mov ebx, dword [ebp - 0x48]
mov eax, dword [ebx + 0x10]
sub eax, dword [ebx + 0xc]
sar eax, 2
dec eax
cmp dword [ebp - 0x34], eax
jae 0x425150
lea eax, [ebp - 0x3c]
push 0x68a544
push eax
call fcn.00413787
pop ecx
pop ecx
mov byte [ebp - 4], 3
call fcn.0040843b
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x3c]
call fcn.00408418
mov eax, dword [ebx + 0x10]
sub eax, dword [ebx + 0xc]
inc dword [ebp - 0x34]
sar eax, 2
cmp dword [ebp - 0x34], eax
jb 0x4250de
lea eax, [ebp - 0x38]
call fcn.004136ab
mov eax, dword [ebp - 0x38]
mov eax, dword [eax - 0xc]
lea edi, [eax + 8]
lea ebx, [ebp - 0x40]
call fcn.004265ee
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x38]
mov edx, dword [eax - 0xc]
call fcn.004a0540
mov esi, dword [ebp - 0x40]
mov edx, dword [esi]
mov ecx, dword [0x6df5fc]
inc dword [0x6df5fc]
mov dword [edx], eax
mov eax, dword [esi]
mov dword [eax + 4], ecx
mov eax, dword [ebp - 0x38]
push dword [eax - 0xc]
mov dword [ebp - 0x3c], ecx
push eax
mov eax, dword [esi]
add eax, 8
push eax
call fcn.0057e690
mov eax, dword [esi + 4]
mov esi, dword [esi]
add esp, 0xc
push 0x10
push 0x6ddd08
push 0
push eax
push esi
push dword [ebp - 0x4c]
call dword [sym.imp.WS2_32.dll_sendto]
cmp eax, 0xffffffff
je 0x42535d
and dword [ebp - 0x34], 0
mov edi, 0x2808
lea ebx, [ebp - 0x44]
call fcn.004265ee
mov byte [ebp - 4], 5
mov esi, dword [ebp - 0x44]
xor ebx, ebx
xor edi, edi
mov eax, dword [esi + 4]
mov ecx, dword [esi]
push ebx
push ebx
push ebx
push eax
push ecx
push dword [ebp - 0x4c]
call dword [sym.imp.WS2_32.dll_recvfrom]
cmp eax, 0xffffffff
jne 0x42522f
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x274c
jne 0x425351
inc edi
cmp edi, 0x1e
jb 0x4251fb
jmp 0x425351
cmp eax, ebx
je 0x425351
mov edi, eax
call fcn.00428d6c
cmp dword [esi + 4], 8
jbe 0x425351
mov eax, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x3c]
mov byte [eax], 1
mov eax, dword [esi]
mov edi, dword [eax]
cmp dword [eax + 4], ecx
je 0x425278
mov byte [ebp - 4], 4
lea ebx, [ebp - 0x44]
call fcn.00426633
inc dword [ebp - 0x34]
cmp dword [ebp - 0x34], 0xa
jb 0x4251e3
jmp 0x42535d
mov eax, dword [esi + 4]
mov esi, dword [esi]
add eax, 0xfffffff8
push eax
add esi, 8
push esi
lea ecx, [ebp - 0x30]
call fcn.004258f8
mov byte [ebp - 4], 6
push ebx
lea ecx, [ebp - 0x30]
call fcn.0040cbe3
mov edx, dword [ebp - 0x1c]
call fcn.004a0540
cmp edi, eax
jne 0x425342
push 0x678965
lea eax, [ebp - 0x3c]
push eax
call fcn.004083d7
mov byte [ebp - 4], 7
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x4252c8
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.004083d7
mov byte [ebp - 4], 8
lea eax, [ebp - 0x3c]
push eax
push 0x68a548
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x74]
push eax
call fcn.004760d0
add esp, 0x10
mov byte [ebp - 4], 9
mov esi, dword [ebp - 0x50]
mov ecx, esi
call fcn.00426b91
mov byte [ebp - 4], 8
lea eax, [ebp - 0x74]
push eax
call fcn.00413f38
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x34]
call fcn.00408418
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x3c]
call fcn.00408418
mov eax, dword [ebp - 0x48]
mov ecx, dword [esi + 0x10]
mov edx, dword [eax + 0x10]
sub ecx, dword [esi + 0xc]
sub edx, dword [eax + 0xc]
xor ecx, edx
test ecx, 0xfffffffc
je 0x425342
mov eax, esi
call fcn.00426ccf
mov byte [ebp - 4], 5
push ebx
push 1
lea ecx, [ebp - 0x30]
call fcn.00409713
mov byte [ebp - 4], 4
lea ebx, [ebp - 0x44]
call fcn.00426633
mov byte [ebp - 4], 1
lea ebx, [ebp - 0x40]
call fcn.00426633
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x38]
call fcn.00408418
push dword [ebp - 0x4c]
call dword [sym.imp.WS2_32.dll_closesocket]
mov eax, dword [ebp - 0x50]
call fcn.00587147
ret