Function at 0x44d4f0
Capabilities:
Create raw socket
Create udp socket
Get hostname
Initialize winsock library
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x148
mov eax, dword [0x47c860]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 0x144], ecx
mov dword [ebp - 0x10c], 0
mov eax, dword [ebp - 0x144]
add eax, 0x1c
push eax
push 0x102
call dword [sym.imp.WSOCK32.dll_WSAStartup]
mov dword [ebp - 0x10c], eax
cmp dword [ebp - 0x10c], 0
je 0x44d542
mov eax, dword [ebp - 0x10c]
jmp 0x44d767
push 0xff
lea ecx, [ebp - 0x108]
push ecx
call dword [sym.imp.WSOCK32.dll_gethostname]
push 0x10
call fcn.0042d421
add esp, 4
mov dword [ebp - 4], eax
lea edx, [ebp - 0x108]
push edx
call dword [sym.imp.WSOCK32.dll_gethostbyname]
mov dword [ebp - 4], eax
mov dword [ebp - 0x110], 0
jmp 0x44d58c
mov eax, dword [ebp - 0x110]
add eax, 1
mov dword [ebp - 0x110], eax
push 0x10
call fcn.0040c155
add esp, 4
mov dword [ebp - 0x140], eax
cmp dword [ebp - 0x140], 0
je 0x44d5b8
mov ecx, dword [ebp - 0x140]
call fcn.00409810
mov dword [ebp - 0x148], eax
jmp 0x44d5c2
mov dword [ebp - 0x148], 0
mov ecx, dword [ebp - 0x148]
mov dword [ebp - 0x13c], ecx
mov edx, 2
mov word [ebp - 0x134], dx
push 0x2537
call dword [sym.imp.WSOCK32.dll_htons]
mov word [ebp - 0x132], ax
mov eax, dword [ebp - 4]
movsx ecx, word [eax + 0xa]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0xc]
mov ecx, dword [ebp - 0x110]
mov edx, dword [eax + ecx*4]
push edx
lea eax, [ebp - 0x130]
push eax
call fcn.0042cba0
add esp, 0xc
push 0
push 3
push 2
call dword [sym.imp.WSOCK32.dll_socket]
mov dword [ebp - 0x124], eax
mov ecx, dword [ebp - 0x13c]
mov edx, dword [ebp - 0x124]
mov dword [ecx], edx
cmp dword [ebp - 0x124], 0xffffffff
jne 0x44d652
push 0
push 0
push str.socket
call fcn.00417753
or eax, 0xffffffff
jmp 0x44d767
push 0x10
mov eax, dword [ebp - 0x130]
push eax
call dword [sym.imp.WSOCK32.dll_inet_ntoa]
push eax
push 0x10
lea ecx, [ebp - 0x120]
push ecx
call fcn.00430017
add esp, 0x10
mov edx, dword [ebp - 4]
mov eax, dword [edx]
push eax
mov ecx, dword [ebp - 0x13c]
add ecx, 8
call fcn.00405460
lea ecx, [ebp - 0x120]
push ecx
mov ecx, dword [ebp - 0x13c]
add ecx, 4
call fcn.00405460
lea edx, [ebp - 0x13c]
push edx
mov ecx, dword [ebp - 0x144]
call fcn.00406290
push 0x10
lea eax, [ebp - 0x134]
push eax
mov ecx, dword [ebp - 0x124]
push ecx
call dword [sym.imp.WSOCK32.dll_bind]
mov dword [ebp - 0x10c], eax
cmp dword [ebp - 0x10c], 0
je 0x44d706
call dword [sym.imp.WSOCK32.dll_WSAGetLastError]
cmp eax, 0x271d
jne 0x44d6f0
push 0
push 0
push 0x46a6ec
call fcn.00417753
jmp 0x44d6fe
push 0
push 0
push str.bind
call fcn.00417753
mov eax, dword [ebp - 0x10c]
jmp 0x44d767
push 0
push 0
mov edx, dword [ebp - 0x144]
add edx, 0x1ac
push edx
push 0
push 0
push 4
mov eax, dword [ebp - 0x144]
add eax, 0x1b4
push eax
push 0x98000001
mov ecx, dword [ebp - 0x124]
push ecx
call dword [sym.imp.WS2_32.dll_WSAIoctl]
mov dword [ebp - 0x138], eax
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0xc]
mov ecx, dword [ebp - 4]
movsx edx, word [ecx + 0xa]
mov ecx, dword [ebp - 0x110]
add edx, dword [eax + ecx*4]
mov eax, dword [ebp - 4]
cmp edx, dword [eax]
jb 0x44d760
jmp 0x44d765
jmp 0x44d57d
xor eax, eax
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0042c98c
mov esp, ebp
pop ebp
ret