Function at 0x431f20
Capabilities:
Create thread
Create udp socket
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor eax, eax
xor ebx, ebx
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x14], ecx
mov byte [ebp - 0xc], 0
mov word [ebp - 0xb], ax
mov dword [ebp - 8], 0x80
test edi, edi
je 0x432132
xor esi, esi
mov ax, word [edi]
push 0x10
mov word [ebp - 0xc], ax
lea eax, [ebp - 0xc]
push 0
push eax
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_strtoul]
mov byte [ebp + esi - 0x1c], al
lea edi, [edi + 3]
inc esi
add esp, 0xc
cmp esi, 6
jl 0x431f52
push 0x66
lea eax, [ebp - 0x84]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
or eax, 0xffffffff
lea esi, [ebp - 0x7e]
mov dword [ebp - 0x84], eax
lea edi, [ebp - 0x78]
mov word [ebp - 0x80], ax
mov ecx, 0x16
mov eax, dword [ebp - 0x1c]
add esp, 0xc
mov dword [ebp - 0x7e], eax
mov ax, word [ebp - 0x18]
mov word [ebp - 0x7a], ax
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x432007
mov edi, dword [sym.imp.WS2_32.dll_WSAStringToAddressA]
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x104]
push eax
push 0
push 2
push esi
call edi
test eax, eax
jne 0x43213b
mov eax, dword [sym.imp.WS2_32.dll_htons]
push 9
call eax
push 0
mov word [ebp - 0x102], ax
mov dword [ebp - 8], 0x10
call dword [sym.imp.WS2_32.dll_htonl]
cmp dword [ebp - 0x100], eax
je 0x432007
mov ebx, 1
cmp dword [ebp + 0x10], 2
jge 0x4320ad
test ebx, ebx
je 0x4320ad
movzx eax, word [ebp - 0x104]
mov ebx, dword [ebp - 8]
push 0x11
push 2
push eax
call dword [sym.imp.WS2_32.dll_socket]
mov esi, eax
cmp esi, 0xffffffff
je 0x4320ad
push ebx
lea eax, [ebp - 0x104]
push eax
push 0
push 0x66
lea eax, [ebp - 0x84]
push eax
push esi
call dword [sym.imp.WS2_32.dll_sendto]
mov edi, dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [ebp + 8], eax
cmp eax, 0x66
je 0x432072
call edi
push eax
push dword [ebp + 8]
push str.SendWakeupPacket_error:_sent__d_bytes:__d_n
push 0
call fcn.0041dc40
add esp, 0x10
push ebx
lea eax, [ebp - 0x104]
push eax
push 0
push 0x66
lea eax, [ebp - 0x84]
push eax
push esi
call dword [sym.imp.WS2_32.dll_sendto]
mov ebx, eax
cmp ebx, 0x66
je 0x4320a6
call edi
push eax
push ebx
push str.SendWakeupPacket_error:_sent__d_bytes:__d_n
push 0
call fcn.0041dc40
add esp, 0x10
push esi
call dword [sym.imp.WS2_32.dll_closesocket]
push 0x8c
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x432132
mov eax, dword [ebp - 0x14]
xorps xmm0, xmm0
mov dword [ebx], eax
mov eax, 2
movups xmmword [ebx + 4], xmm0
mov word [ebx + 4], ax
mov eax, dword [0x43da18]
push 9
mov dword [ebx + 8], eax
call dword [sym.imp.WS2_32.dll_htons]
mov word [ebx + 6], ax
lea edi, [ebx + 0x18]
mov dword [ebx + 0x14], 0x10
lea esi, [ebp - 0x84]
mov ecx, 0x19
rep movsd dword es:[edi], dword [esi]
push ebx
push 0
push 0x435380
movsw word es:[edi], word [esi]
mov dword [ebx + 0x80], 0x66
mov dword [ebx + 0x84], 0x12
mov dword [ebx + 0x88], 0x64
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthread]
add esp, 0xc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x104]
push eax
push 0
push 0x17
push esi
call edi
test eax, eax
jne 0x432007
mov eax, dword [sym.imp.WS2_32.dll_htons]
push 9
call eax
mov word [ebp - 0x102], ax
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x432178
mov eax, dword [eax + 0x84]
mov dword [ebp - 0xec], eax
mov dword [ebp - 8], 0x1c
lea ecx, [ebp - 0xfc]
mov edx, 0x43c4cc
mov esi, 0xc
nop
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x432002
add ecx, 4
add edx, 4
sub esi, 4
jae 0x432190
jmp 0x432007