Function at 0x44728e
Capabilities:
Create udp socket
Initialize winsock library
Resolve dns
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1dc
mov eax, dword [0x49b7f8]
xor eax, esp
mov dword [esp + 0x1d8], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
lea eax, [esp + 0x50]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x447488
cmp byte [0x4a5fd8], al
je 0x4473f3
push 8
pop ecx
push 2
pop esi
lea edi, [esp + 0x14]
rep stosd dword es:[edi], eax
and dword [esp + 0x18], eax
cmp dword [0x4a61b8], 0x10
lea ecx, [esp + 0xc]
push ecx
lea ecx, [esp + 0x18]
push ecx
mov eax, 0x4a61a4
cmovae eax, dword [0x4a61a4]
push 0
push eax
mov dword [esp + 0x30], 0x11
mov dword [esp + 0x2c], esi
call dword [sym.imp.WS2_32.dll_getaddrinfo]
test eax, eax
jne 0x4473e8
mov eax, dword [esp + 0xc]
test eax, eax
je 0x4473e8
push 0
push esi
push dword [eax + 4]
call dword [sym.imp.WS2_32.dll_socket]
push 7
mov esi, eax
pop ecx
xor eax, eax
lea edi, [esp + 0x34]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x10], esi
mov cx, word [ecx + 4]
mov word [esp + 0x34], cx
movzx ecx, word [0x49ce24]
push ecx
call dword [sym.imp.WS2_32.dll_htons]
mov ecx, dword [esp + 0xc]
mov word [esp + 0x36], ax
push 2
pop eax
cmp dword [ecx + 4], eax
jne 0x44737d
mov eax, dword [ecx + 0x18]
mov eax, dword [eax + 4]
mov dword [esp + 0x38], eax
jmp 0x447395
cmp dword [ecx + 4], 0x17
jne 0x4473cc
mov esi, dword [ecx + 0x18]
add esi, 8
lea edi, [esp + 0x3c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x10]
push ecx
call dword [sym.imp.WS2_32.dll_freeaddrinfo]
cmp dword [ebx + 0x14], 0x10
mov eax, dword [ebx + 0x10]
jb 0x4473a7
mov ebx, dword [ebx]
push 0x1c
lea ecx, [esp + 0x38]
push ecx
push 0
push eax
push ebx
push esi
call dword [sym.imp.WS2_32.dll_sendto]
test eax, eax
jns 0x44747b
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
jmp 0x44747b
push esi
call dword [sym.imp.WS2_32.dll_closesocket]
call dword [sym.imp.WS2_32.dll_WSACleanup]
push dword [esp + 0xc]
call dword [sym.imp.WS2_32.dll_freeaddrinfo]
jmp 0x447488
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
jmp 0x447482
push 0
push 2
pop eax
push eax
push eax
call dword [sym.imp.WS2_32.dll_socket]
movzx ecx, word [0x49ce24]
mov esi, eax
xor eax, eax
lea edi, [esp + 0x34]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push 2
stosd dword es:[edi], eax
pop eax
push ecx
mov word [esp + 0x38], ax
call dword [sym.imp.WS2_32.dll_htons]
cmp dword [0x4a61b8], 0x10
mov word [esp + 0x36], ax
mov eax, 0x4a61a4
cmovae eax, dword [0x4a61a4]
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov ecx, eax
test ecx, ecx
je 0x44747b
movsx eax, word [ecx + 0xa]
push eax
mov eax, dword [ecx + 0xc]
push dword [eax]
lea eax, [esp + 0x40]
push eax
call fcn.00454210
mov eax, dword [ebx + 0x10]
add esp, 0xc
cmp dword [ebx + 0x14], 0x10
jb 0x447469
mov ebx, dword [ebx]
push 0x10
lea ecx, [esp + 0x38]
push ecx
push 0
push eax
push ebx
push esi
call dword [sym.imp.WS2_32.dll_sendto]
push esi
call dword [sym.imp.WS2_32.dll_closesocket]
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov ecx, dword [esp + 0x1e4]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0044f834
mov esp, ebp
pop ebp
ret