Function at 0x4101c9
Capabilities:
Create udp socket
Initialize winsock library
Send data
Send data on socket
Set socket configuration

Disassembly:
push 0x6d4
mov eax, 0x5a146e
call fcn.0058141a
mov eax, edx
mov dword [ebp - 0x6cc], eax
mov dword [ebp - 0x6d0], ecx
xor ebx, ebx
inc ebx
mov dword [ebp - 4], ebx
and dword [eax], 0
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
mov dword [ebp - 0x6d8], ebx
push eax
call fcn.00403e98
mov esi, eax
pop ecx
mov dword [ebp - 0x6c8], esi
lea ecx, [esi + 0x10]
mov dword [ebp - 0x6e0], ecx
push 2
pop eax
mov byte [ebp - 4], al
lea eax, [ebp - 0x6c4]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
push 0
push ebx
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov edi, eax
or ebx, 0xffffffff
test edi, edi
je 0x410265
push 4
lea eax, [ebp - 0x6d8]
push eax
push 1
push 6
push edi
call dword [sym.imp.WS2_32.dll_setsockopt]
cmp eax, ebx
jne 0x410265
push edi
call dword [sym.imp.WS2_32.dll_closesocket]
mov ecx, esi
jmp 0x41032c
mov dword [ebp - 0x6dc], 0x400
test edi, edi
je 0x410291
push 4
lea eax, [ebp - 0x6dc]
push eax
push 0x1001
push 0xffff
push edi
call dword [sym.imp.WS2_32.dll_setsockopt]
cmp eax, ebx
je 0x410257
mov eax, dword [ebp + 8]
push ecx
add eax, 0xfffffff0
mov esi, esp
push eax
mov dword [ebp - 0x6d4], esi
call fcn.00403e98
pop ecx
add eax, 0x10
lea ecx, [ebp - 0x424]
mov dword [esi], eax
call fcn.004047a2
push 0x10
lea eax, [ebp - 0x534]
push 0
push eax
call fcn.005838b0
add esp, 0xc
lea eax, [ebp - 0x424]
push 2
pop esi
push eax
mov word [ebp - 0x534], si
call dword [sym.imp.WS2_32.dll_inet_addr]
push dword [ebp - 0x6d0]
mov dword [ebp - 0x530], eax
call dword [sym.imp.WS2_32.dll_htons]
push ecx
push ecx
lea edx, [ebp - 0x534]
mov word [ebp - 0x532], ax
mov ecx, edi
call fcn.0040451b
test eax, eax
jns 0x410351
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, dword [ebp - 0x6cc]
mov dword [ecx], eax
test edi, edi
je 0x410326
push edi
call dword [sym.imp.WS2_32.dll_closesocket]
mov ecx, dword [ebp - 0x6c8]
call fcn.00404048
mov ecx, dword [ebp + 8]
lea ecx, [ecx - 0x10]
call fcn.00404048
mov ecx, dword [ebp + 0xc]
lea ecx, [ecx - 0x10]
call fcn.00404048
mov eax, ebx
call fcn.005813c4
ret 8
push 0xc
lea edx, [ebp - 0x224]
mov ecx, edi
call fcn.004045bc
lea eax, [ebp - 0x224]
mov byte [ebp - 0x218], 0
push str.MULTIPLICIT5
push eax
call fcn.0058afe0
pop ecx
pop ecx
test eax, eax
jne 0x41031b
push 1
lea edx, [ebp - 0x124]
mov byte [ebp - 0x124], al
mov ecx, edi
call fcn.004045bc
mov al, byte [ebp - 0x124]
cmp al, 0x41
jne 0x4103aa
mov ecx, dword [ebp - 0x6cc]
mov dword [ecx], esi
jmp 0x41031b
cmp al, 0x42
jne 0x4103bf
mov ecx, dword [ebp - 0x6cc]
mov dword [ecx], 3
jmp 0x41031b
cmp al, 0x44
jne 0x4103e3
mov ecx, dword [ebp - 0x6cc]
mov dword [ecx], 4
test edi, edi
je 0x4104a4
push edi
call dword [sym.imp.WS2_32.dll_closesocket]
jmp 0x4104a4
mov ebx, dword [sym.imp.WS2_32.dll_send]
cmp al, 0x43
jne 0x410486
push 6
lea edx, [ebp - 0x24]
mov ecx, edi
call fcn.004045bc
mov eax, dword [ebp + 0xc]
push ecx
add eax, 0xfffffff0
mov byte [ebp - 0x1e], 0
mov esi, esp
push eax
mov dword [ebp - 0x6d4], esi
call fcn.00403e98
pop ecx
add eax, 0x10
lea ecx, [ebp - 0x324]
mov dword [esi], eax
call fcn.004047a2
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x324]
push eax
call fcn.00589e70
pop ecx
pop ecx
lea ecx, [ebp - 0x324]
call fcn.004047ea
push 0xa
lea ecx, [ebp - 0x524]
mov dword [ebp - 0x6d0], eax
push ecx
push eax
call fcn.0058b78d
add esp, 0xc
lea eax, [ebp - 0x6d0]
push 0
push 4
push eax
push edi
call ebx
push 1
lea edx, [ebp - 0x124]
mov byte [ebp - 0x124], 0x61
mov ecx, edi
call fcn.004045bc
mov al, byte [ebp - 0x124]
cmp al, 0x50
je 0x4104c5
mov ecx, dword [ebp - 0x6cc]
mov dword [ecx], 5
test edi, edi
je 0x4104a1
push edi
call dword [sym.imp.WS2_32.dll_closesocket]
xor ebx, ebx
inc ebx
mov ecx, dword [ebp - 0x6c8]
call fcn.00404048
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.00404048
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
jmp 0x410342
push 0
push 1
push 0x5e6ad0
push edi
call ebx
push 0
push 1
push 0x5e6ad4
push edi
call ebx
push 0x3e8
call dword [sym.imp.KERNEL32.DLL_Sleep]
test edi, edi
je 0x4104f3
push edi
call dword [sym.imp.WS2_32.dll_closesocket]
mov ecx, dword [ebp - 0x6c8]
call fcn.00404048
mov ecx, dword [ebp + 8]
lea ecx, [ecx - 0x10]
call fcn.00404048
mov ecx, dword [ebp + 0xc]
lea ecx, [ecx - 0x10]
call fcn.00404048
xor eax, eax
jmp 0x410349