Function at 0x10022989
Capabilities:
Create udp socket
Initialize winsock library
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push 0x1c
call fcn.101b4af7
add esp, 4
mov dword [ebp - 4], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 7
rep stosd dword es:[edi], eax
add ebx, 8
push ebx
push 0x40c
call fcn.101b4af7
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x101e3e5d
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
xor eax, eax
mov ecx, 0x101
rep stosd dword es:[edi], eax
add ebx, 4
push ebx
push 0x20c
call fcn.101b4af7
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x101e3e65
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
xor eax, eax
mov ecx, 0x81
rep stosd dword es:[edi], eax
push 0x10
call fcn.101b4af7
add esp, 4
mov dword [ebp - 8], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
add ebx, 0xc
push ebx
push 0x10
call fcn.101b4af7
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x101e3e6d
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
cmp dword [0x1023c117], 0
jne 0x10022b80
mov dword [ebp - 0xc], esp
mov eax, dword [ebp - 4]
push eax
push 0x614
call fcn.101b4af7
add esp, 4
mov edi, eax
pop ebx
push eax
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], eax
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
push ebx
mov ebx, dword [ebx]
add ebx, 8
mov ecx, 0x101
mov esi, ebx
rep movsd dword es:[edi], dword [esi]
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
add ebx, 8
mov ecx, 0x81
mov esi, ebx
rep movsd dword es:[edi], dword [esi]
pop ebx
add ebx, 4
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
push 0x101
call dword [sym.imp.WS2_32.dll_WSAStartup]
nop
nop
nop
nop
cmp dword [ebp - 0xc], esp
je 0x10022afd
push 6
call fcn.101b4b03
add esp, 4
push eax
mov ebx, dword [ebp - 0x10]
push ebx
mov edi, dword [ebp - 0x14]
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
add edi, 8
add ebx, 0x608
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
call fcn.101b4af1
add esp, 4
pop eax
mov dword [ebp - 0xc], esp
push 0x11
push 2
push 2
call dword [sym.imp.WS2_32.dll_socket]
nop
nop
nop
nop
cmp dword [ebp - 0xc], esp
je 0x10022b7b
push 6
call fcn.101b4b03
add esp, 4
mov dword [0x1023c117], eax
mov ebx, dword [ebp - 8]
mov dword [ebp - 0xc], ebx
mov ebx, dword [ebp - 0xc]
mov word [ebx], 2
mov ebx, dword [ebp - 8]
add ebx, 4
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], esp
push dword [ebp + 0xc]
call dword [sym.imp.WS2_32.dll_htons]
nop
nop
nop
nop
cmp dword [ebp - 0x10], esp
je 0x10022bb9
push 6
call fcn.101b4b03
add esp, 4
mov ebx, dword [ebp - 0xc]
mov word [ebx], ax
mov ebx, dword [ebp - 8]
add ebx, 8
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], esp
mov ebx, dword [ebp + 8]
push dword [ebx]
call dword [sym.imp.WS2_32.dll_inet_addr]
nop
nop
nop
nop
cmp dword [ebp - 0x10], esp
je 0x10022bec
push 6
call fcn.101b4b03
add esp, 4
mov ebx, dword [ebp - 0xc]
mov dword [ebx], eax
push htons
push 0
mov ebx, dword [ebp + 0x10]
mov eax, dword [ebx]
test eax, eax
jne 0x10022c06
mov eax, 0x101e030f
push eax
push 1
mov ebx, 0x194
call fcn.101b5b50
add esp, 0x10
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], esp
push 0x10
mov eax, dword [ebp - 8]
push eax
push 0x10
call fcn.101b4af7
add esp, 4
mov edi, eax
pop ebx
push eax
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], eax
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
push ebx
mov ebx, dword [ebx]
add ebx, 8
mov ecx, 8
mov esi, ebx
rep movsb byte es:[edi], byte [esi]
pop ebx
add ebx, 4
push 0
push dword [ebp - 0xc]
mov ebx, dword [ebp + 0x10]
mov eax, dword [ebx]
test eax, eax
je 0x10022c89
add eax, 8
push eax
push dword [0x1023c117]
call dword [sym.imp.WS2_32.dll_sendto]
nop
nop
nop
nop
cmp dword [ebp - 0x10], esp
je 0x10022cac
push 6
call fcn.101b4b03
add esp, 4
push eax
mov ebx, dword [ebp - 0x14]
push ebx
mov edi, dword [ebp - 0x18]
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
push ebx
push edi
push 1
mov eax, 2
call fcn.101b4f60
add esp, 4
pop edi
pop ebx
push ebx
push edi
mov edi, dword [edi]
mov ecx, dword [edi]
add edi, 4
test ecx, ecx
je 0x10022d03
mov eax, dword [edi]
add edi, 4
dec ecx
je 0x10022d01
imul eax, dword [edi]
jmp 0x10022cf6
mov ecx, eax
cmp ecx, 8
jle 0x10022d0d
mov ecx, 8
mov esi, ebx
rep movsb byte es:[edi], byte [esi]
pop edi
pop ebx
add edi, 4
add ebx, 8
call fcn.101b4af1
add esp, 4
pop eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jle 0x10022d3e
mov eax, 1
jmp 0x10022d48
mov eax, 0
jmp 0x10022d48
push eax
mov ebx, dword [ebp - 4]
push ebx
add ebx, 8
push ebx
mov ebx, dword [ebx]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x10022d6e
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x10022d6a
imul eax, dword [ebx]
jmp 0x10022d5f
mov ecx, eax
test ecx, ecx
je 0x10022d8d
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x10022d86
push ebx
push eax
call fcn.101b4af1
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x10022d74
call fcn.101b4af1
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x10022db7
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x10022db3
imul eax, dword [ebx]
jmp 0x10022da8
mov ecx, eax
test ecx, ecx
je 0x10022dd6
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x10022dcf
push ebx
push eax
call fcn.101b4af1
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x10022dbd
call fcn.101b4af1
add esp, 4
pop ebx
call fcn.101b4af1
add esp, 4
mov ebx, dword [ebp - 8]
push ebx
add ebx, 0xc
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.101b4af1
add esp, 4
pop ebx
call fcn.101b4af1
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0xc