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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x700
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 0x4171f2
xor eax, eax
jmp 0x417511
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], 2
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 0x4174e9
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 0x4174e9
mov eax, dword [ebp - 0x420]
mov dword [ebp - 8], eax
jmp 0x41727d
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x1c]
mov dword [ebp - 8], edx
cmp dword [ebp - 8], 0
je 0x4174dd
push 0
push 2
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jae 0x4172a9
call dword [sym.imp.WS2_32.dll_WSACleanup]
xor eax, eax
jmp 0x417511
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
je 0x4172d2
call dword [sym.imp.WS2_32.dll_WSACleanup]
xor eax, eax
jmp 0x417511
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 0x417338
mov edx, dword [ebp - 0x6e4]
add edx, 1
mov dword [ebp - 0x6e4], edx
cmp dword [ebp - 0x6e4], 0x1f4
jae 0x4174b8
cmp dword [ebp + 8], 0
je 0x41735e
mov eax, dword [ebp + 0xc]
add eax, 0xb9c
mov dword [ebp - 0x6fc], eax
jmp 0x41736d
mov ecx, dword [ebp + 0xc]
add ecx, 0x136c
mov dword [ebp - 0x6fc], ecx
mov edx, dword [ebp - 0x6fc]
mov dword [ebp - 0x6f8], 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 0x10
push 0
lea edx, [ebp - 0x6f4]
push edx
call fcn.004886d0
add esp, 0xc
mov word [ebp - 0x6f4], 2
push 0xa1
call dword [sym.imp.WS2_32.dll_htons]
mov word [ebp - 0x6f2], ax
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x6f0], ecx
push 0x7d0
push 0
lea edx, [ebp - 0x6f4]
push edx
lea eax, [ebp - 0x6e0]
push eax
mov ecx, dword [ebp - 0x5b4]
push ecx
call fcn.00459f70
add esp, 0x14
mov dword [ebp - 0x5dc], eax
mov edx, 1
test edx, edx
je 0x41743c
jmp 0x417450
mov eax, dword [ebp - 0x5dc]
push eax
push 0x4b58c4
call fcn.00414a60
add esp, 8
cmp dword [ebp - 0x5dc], 0
jl 0x41747e
mov ecx, dword [ebp - 0x6e4]
push ecx
mov edx, dword [ebp - 0x6f8]
push edx
push 0x416f70
mov eax, dword [ebp - 0x5b4]
push eax
call fcn.0045b1e0
add esp, 0x10
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0x6e4]
mov edx, dword [ebp - 0x6f8]
cmp dword [edx + ecx*4], 0xffffffff
jne 0x4174a4
cmp dword [ebp - 0x6e4], 0
je 0x4174a2
mov eax, dword [ebp - 0x6e4]
mov dword [ebp - 4], eax
jmp 0x4174b8
lea ecx, [ebp - 0x6aa]
push ecx
call fcn.004599a0
add esp, 4
jmp 0x417329
push 1
mov edx, dword [ebp - 0x5b4]
push edx
call fcn.00459db0
add esp, 8
lea eax, [ebp - 0x6aa]
push eax
call fcn.004599a0
add esp, 4
jmp 0x417274
mov ecx, dword [ebp - 0x420]
push ecx
call fcn.00418760
cmp dword [ebp + 8], 0
je 0x4174fb
mov dword [ebp - 0x700], 0x4b5954
jmp 0x417505
mov dword [ebp - 0x700], 0x4b5958
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