Function at 0x401400
Capabilities:
Create raw socket
Create udp socket
Initialize winsock library
Receive data
Receive data on socket
Resolve dns
Send data
Send data on socket
Set socket configuration

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x419ed1
push eax
mov dword fs:[0], esp
sub esp, 0x254
lea eax, [esp + 0xc4]
push ebx
push ebp
push esi
push eax
push 0x101
call sub.WS2_32.dll_WSAStartup
test eax, eax
je 0x401441
call sub.WS2_32.dll_WSACleanup
or eax, 0xffffffff
jmp 0x401732
mov ecx, dword [esp + 0x270]
push ecx
call sub.WS2_32.dll_gethostbyname
mov esi, eax
xor ebx, ebx
cmp esi, ebx
jne 0x401460
mov eax, 0xfffffffe
jmp 0x401732
push edi
push 0x11
push 2
push 2
call sub.WS2_32.dll_socket
movsx ecx, word [esi + 0xa]
mov edx, dword [esi + 0xc]
mov ebp, eax
mov eax, ecx
lea edi, [esp + 0x4c]
mov esi, dword [edx]
push 0x7b
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov word [esp + 0x4c], 2
call sub.WS2_32.dll_htons
push 0xb000000
mov word [esp + 0x4e], ax
call sub.WS2_32.dll_htonl
lea ecx, [esp + 0x34]
push 4
push ecx
push 0x1006
push 0xffff
push ebp
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], ebx
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x80], ebx
mov dword [esp + 0x84], ebx
mov dword [esp + 0x88], ebx
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x90], ebx
mov dword [esp + 0x94], ebx
mov dword [esp + 0x98], ebx
mov dword [esp + 0x48], 0x1388
call sub.WS2_32.dll_setsockopt
lea edx, [esp + 0x48]
push 0x10
push edx
push ebx
lea eax, [esp + 0x64]
push 0x30
push eax
push ebp
call sub.WS2_32.dll_sendto
or esi, 0xffffffff
pop edi
cmp eax, esi
jne 0x401537
push ebp
call sub.WS2_32.dll_closesocket
mov eax, 0xfffffffd
jmp 0x401732
lea ecx, [esp + 0x2c]
lea edx, [esp + 0x44]
push ecx
push edx
push ebx
lea eax, [esp + 0xac]
push 0x30
push eax
push ebp
mov dword [esp + 0x44], 0x10
call sub.WS2_32.dll_recvfrom
cmp eax, esi
push ebp
jne 0x40156e
call sub.WS2_32.dll_closesocket
mov eax, 0xfffffffc
jmp 0x401732
call sub.WS2_32.dll_closesocket
call sub.WS2_32.dll_WSACleanup
mov ecx, dword [esp + 0xc8]
push ecx
call sub.WS2_32.dll_ntohl
lea edx, [esp + 0x28]
add eax, 0x7c558180
push edx
mov dword [esp + 0x2c], eax
call fcn.0040404f
add esp, 4
cmp eax, ebx
jne 0x4015a9
mov eax, 2
jmp 0x401732
mov cx, word [eax + 0x14]
add cx, 0x76c
mov word [esp + 0x18], cx
mov dx, word [eax + 0x10]
inc dx
mov word [esp + 0x1a], dx
mov cx, word [eax + 0x18]
mov word [esp + 0x1c], cx
mov dx, word [eax + 0xc]
mov word [esp + 0x1e], dx
mov cx, word [eax + 8]
mov word [esp + 0x20], cx
mov dx, word [eax + 4]
mov ecx, dword [esp + 0xcc]
mov word [esp + 0x22], dx
mov ax, word [eax]
push ecx
mov word [esp + 0x28], ax
call sub.WS2_32.dll_ntohl
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ebx
fild qword [esp + 0x10]
fmul dword [0x5bacac]
fmul dword [0x5baca8]
call fcn.00404028
mov word [esp + 0x26], ax
mov eax, dword [0x5c0d40]
mov dword [esp + 0x10], eax
mov dword [esp + 0x268], ebx
mov dword [esp + 0xc], eax
push str.Sep__9_2024
lea ecx, [esp + 0x10]
mov byte [esp + 0x26c], 1
call fcn.00412d7d
push 0x5c08bc
lea ecx, [esp + 0x10]
call fcn.00412f8f
push str.10:16:31
lea ecx, [esp + 0x10]
call fcn.00412f8f
lea edx, [esp + 0xc]
lea ecx, [esp + 0x34]
push edx
mov word [esp + 0x38], bx
call fcn.0040337f
push ebx
push 7
lea ecx, [esp + 0x3c]
mov byte [esp + 0x270], 2
call fcn.00403354
lea eax, [esp + 0x34]
lea ecx, [esp + 0x84]
push eax
call fcn.00403567
mov edx, dword [esp + 0x88]
mov eax, dword [esp + 0x84]
lea ecx, [esp + 0x90]
push ecx
push edx
push eax
call dword [sym.imp.OLEAUT32.dll_UnRegisterTypeLib]
lea ecx, [esp + 0x18]
lea edx, [esp + 0x90]
push ecx
push edx
call fcn.00401360
add esp, 8
cmp eax, 0x3c
jle 0x401705
lea eax, [esp + 0x34]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea ecx, [esp + 0xc]
mov byte [esp + 0x268], bl
call fcn.00412c40
lea ecx, [esp + 0x10]
mov dword [esp + 0x268], esi
call fcn.00412c40
mov eax, 1
jmp 0x401732
lea ecx, [esp + 0x34]
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea ecx, [esp + 0xc]
mov byte [esp + 0x268], bl
call fcn.00412c40
lea ecx, [esp + 0x10]
mov dword [esp + 0x268], esi
call fcn.00412c40
xor eax, eax
mov ecx, dword [esp + 0x260]
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x260
ret