Function at 0x416b70
Capabilities:
Create udp socket
Get hostname
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x70c
mov eax, dword [0x4e412c]
xor eax, ebp
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x5b8], 0
mov dword [ebp - 0x5dc], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x41c], 0
lea eax, [ebp - 0x5b0]
push eax
push 2
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x416bc2
xor eax, eax
jmp 0x416eec
mov dword [ebp - 4], 0
push 0x20
push 0
lea ecx, [ebp - 0x5d8]
push ecx
call fcn.004886d0
add esp, 0xc
mov dword [ebp - 0x5d0], 2
mov dword [ebp - 0x5d4], 0x17
mov dword [ebp - 0x5d8], 1
push 0x400
lea edx, [ebp - 0x418]
push edx
call dword [sym.imp.WS2_32.dll_gethostname]
cmp eax, 0xffffffff
je 0x416ec4
lea eax, [ebp - 0x420]
push eax
lea ecx, [ebp - 0x5d8]
push ecx
push 0
lea edx, [ebp - 0x418]
push edx
call fcn.00417940
test eax, eax
jne 0x416ec4
mov eax, dword [ebp - 0x420]
mov dword [ebp - 8], eax
jmp 0x416c4d
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x1c]
mov dword [ebp - 8], edx
cmp dword [ebp - 8], 0
je 0x416eb8
push 0
push 2
push 0x17
call dword [sym.imp.WS2_32.dll_socket]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
je 0x416eb3
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x10]
push ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x18]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.WS2_32.dll_bind]
test eax, eax
jne 0x416eb3
push 2
mov edx, dword [ebp - 0x10]
push edx
call fcn.00459d60
add esp, 8
mov dword [ebp - 0x5b4], eax
push 0x7d0
push 0xff
mov eax, dword [ebp + 0xc]
add eax, 0xb9c
push eax
call fcn.004886d0
add esp, 0xc
push 0x7d0
push 0xff
mov ecx, dword [ebp + 0xc]
add ecx, 0x136c
push ecx
call fcn.004886d0
add esp, 0xc
mov dword [ebp - 0x6e4], 0
jmp 0x416cf6
mov edx, dword [ebp - 0x6e4]
add edx, 1
mov dword [ebp - 0x6e4], edx
cmp dword [ebp - 0x6e4], 0x1f4
jae 0x416e93
cmp dword [ebp + 8], 0
je 0x416d1c
mov eax, dword [ebp + 0xc]
add eax, 0xb9c
mov dword [ebp - 0x708], eax
jmp 0x416d2b
mov ecx, dword [ebp + 0xc]
add ecx, 0x136c
mov dword [ebp - 0x708], ecx
mov edx, dword [ebp - 0x708]
mov dword [ebp - 0x704], edx
push pe_nt_image_headers32
push 0
lea eax, [ebp - 0x6e0]
push eax
call fcn.004886d0
add esp, 0xc
mov dword [ebp - 0x6e0], 0
push 0
lea ecx, [ebp - 0x6dc]
push ecx
call fcn.00414a70
add esp, 8
mov edx, dword [ebp - 0x6e4]
add edx, 1
push edx
xor eax, eax
cmp dword [ebp + 8], 0
sete al
push eax
lea ecx, [ebp - 0x6aa]
push ecx
call fcn.00416f00
add esp, 0xc
push 0x1c
push 0
lea edx, [ebp - 0x700]
push edx
call fcn.004886d0
add esp, 0xc
mov word [ebp - 0x700], 0x17
push 0xa1
call dword [sym.imp.WS2_32.dll_htons]
mov word [ebp - 0x6fe], ax
mov eax, dword [ebp + 0xc]
add eax, 8
mov ecx, dword [eax]
mov dword [ebp - 0x6f8], ecx
mov edx, dword [eax + 4]
mov dword [ebp - 0x6f4], edx
mov ecx, dword [eax + 8]
mov dword [ebp - 0x6f0], ecx
mov edx, dword [eax + 0xc]
mov dword [ebp - 0x6ec], edx
push 0x7d0
push 0
lea eax, [ebp - 0x700]
push eax
lea ecx, [ebp - 0x6e0]
push ecx
mov edx, dword [ebp - 0x5b4]
push edx
call fcn.00459f70
add esp, 0x14
mov dword [ebp - 0x5dc], eax
mov eax, 1
test eax, eax
je 0x416e17
jmp 0x416e2b
mov ecx, dword [ebp - 0x5dc]
push ecx
push 0x4b5810
call fcn.00414a60
add esp, 8
cmp dword [ebp - 0x5dc], 0
jl 0x416e59
mov edx, dword [ebp - 0x6e4]
push edx
mov eax, dword [ebp - 0x704]
push eax
push 0x416f70
mov ecx, dword [ebp - 0x5b4]
push ecx
call fcn.0045b1e0
add esp, 0x10
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 0x6e4]
mov eax, dword [ebp - 0x704]
cmp dword [eax + edx*4], 0xffffffff
jne 0x416e7f
cmp dword [ebp - 0x6e4], 0
je 0x416e7d
mov ecx, dword [ebp - 0x6e4]
mov dword [ebp - 4], ecx
jmp 0x416e93
lea edx, [ebp - 0x6aa]
push edx
call fcn.004599a0
add esp, 4
jmp 0x416ce7
push 1
mov eax, dword [ebp - 0x5b4]
push eax
call fcn.00459db0
add esp, 8
lea ecx, [ebp - 0x6aa]
push ecx
call fcn.004599a0
add esp, 4
jmp 0x416c44
mov edx, dword [ebp - 0x420]
push edx
call fcn.00418760
cmp dword [ebp + 8], 0
je 0x416ed6
mov dword [ebp - 0x70c], 0x4b58bc
jmp 0x416ee0
mov dword [ebp - 0x70c], 0x4b58c0
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov eax, dword [ebp - 0x5b8]
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00488550
mov esp, ebp
pop ebp
ret