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

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x100bd9bb
push eax
mov eax, 0x223c4
mov dword fs:[0], esp
call fcn.100a7c10
mov eax, dword [0x10105f81]
mov edx, dword [0x10105f89]
push ebx
push ebp
mov ebx, ecx
push esi
mov ecx, dword [0x10105f85]
push edi
mov edi, dword [esp + 0x223e4]
mov dword [esp + 0x40], eax
mov al, byte [0x10105f8d]
mov dword [esp + 0x44], ecx
push edi
lea ecx, [esp + 0x14]
mov dword [esp + 0x4c], edx
mov byte [esp + 0x50], al
call fcn.100b57ea
xor ebp, ebp
mov dword [esp + 0x223dc], ebp
call fcn.1009f5e0
test eax, eax
jne 0x1009e327
call fcn.1009f570
test eax, eax
je 0x1009e365
push str.NetApi32.dll
mov ebp, 1
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
mov dword [esp + 0x20], esi
je 0x1009e883
push str.NetMessageBufferSend
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
mov dword [esp + 0x2c], eax
jne 0x1009e365
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x1009e883
mov eax, dword [esp + 0x223ec]
dec eax
je 0x1009e412
dec eax
je 0x1009e3e5
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x1009e39c
lea ecx, [esp + 0x10]
mov dword [esp + 0x223dc], 0xffffffff
call fcn.100b577c
xor eax, eax
jmp 0x1009e85b
mov ebx, 1
push 0x2800
mov dword [esp + 0x28], ebx
call fcn.100a7f77
mov esi, eax
push 0x104
mov dword [esp + 0x1c], esi
call fcn.100a7f77
mov edx, eax
or ecx, 0xffffffff
xor eax, eax
add esp, 8
mov dword [esi], edx
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
jmp 0x1009e451
push 0x2800
call fcn.100a7f77
add esp, 4
mov ecx, ebx
mov dword [esp + 0x14], eax
push eax
push 0
call fcn.1009db90
test eax, eax
mov dword [esp + 0x24], eax
jne 0x1009e44d
mov ecx, dword [esp + 0x14]
push ecx
jmp 0x1009e87b
mov edx, dword [esp + 0x10]
mov eax, dword [edx - 8]
test eax, eax
je 0x1009e883
push 0x2800
call fcn.100a7f77
add esp, 4
mov ecx, ebx
mov dword [esp + 0x14], eax
push eax
push edi
call fcn.1009db90
test eax, eax
mov dword [esp + 0x24], eax
jne 0x1009e44d
mov eax, dword [esp + 0x14]
push eax
jmp 0x1009e87b
mov ebx, dword [esp + 0x24]
lea ecx, [esp + 0x244]
push ecx
push 0x102
call sub.WS2_32.dll_WSAStartup
test eax, eax
je 0x1009e482
lea ecx, [esp + 0x10]
mov dword [esp + 0x223dc], 0xffffffff
call fcn.100b577c
xor eax, eax
jmp 0x1009e85b
push 0x11
push 2
push 2
call sub.WS2_32.dll_socket
mov esi, eax
cmp esi, 0xffffffff
mov dword [esp + 0x28], esi
jne 0x1009e4af
lea ecx, [esp + 0x10]
mov dword [esp + 0x223dc], eax
call fcn.100b577c
xor eax, eax
jmp 0x1009e85b
lea edx, [esp + 0x50]
push 0x64
push edx
call sub.WS2_32.dll_gethostname
test ebp, ebp
je 0x1009e5b9
mov edi, dword [esp + 0x223e8]
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ebp, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov esi, eax
lea eax, [esp + 0x23d4]
push 0xffff
push eax
push 0xffffffffffffffff
push edi
push 0
push 0
mov dword [esp + 0x30], 1
shl esi, 1
call ebp
lea ecx, [esp + 0xb4]
push 0x64
push ecx
lea edx, [esp + 0x58]
push 0xffffffffffffffff
push edx
push 0
push 0
call ebp
test ebx, ebx
jle 0x1009e57a
mov edi, dword [esp + 0x14]
mov dword [esp + 0x1c], ebx
mov ecx, dword [edi]
lea eax, [esp + 0x17c]
push 0x64
push eax
push 0xffffffffffffffff
push ecx
push 0
push 0
call ebp
lea edx, [esp + 0x23d4]
push esi
lea eax, [esp + 0xb8]
push edx
lea ecx, [esp + 0x184]
push eax
push ecx
push 0
call dword [esp + 0x40]
cmp ebx, 1
jne 0x1009e561
test eax, eax
je 0x1009e561
mov dword [esp + 0x18], 0
mov edx, dword [edi]
push edx
call fcn.100a7e8e
mov eax, dword [esp + 0x20]
add esp, 4
add edi, 4
dec eax
mov dword [esp + 0x1c], eax
jne 0x1009e51c
mov eax, dword [esp + 0x28]
push eax
call sub.WS2_32.dll_closesocket
mov ecx, dword [esp + 0x14]
push ecx
call fcn.100a7e8e
mov edx, dword [esp + 0x24]
add esp, 4
push edx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea ecx, [esp + 0x10]
mov dword [esp + 0x223dc], 0xffffffff
call fcn.100b577c
mov eax, dword [esp + 0x18]
jmp 0x1009e85b
lea eax, [esp + 0x50]
lea ecx, [esp + 0x10]
push eax
call fcn.100b58b9
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x223e8]
push edx
mov ebp, dword [ecx - 8]
lea ecx, [esp + 0x14]
inc ebp
call fcn.100b58b9
mov eax, dword [esp + 0x10]
mov dword [esp + 0x1c], 0
mov eax, dword [eax - 8]
inc eax
test ebx, ebx
mov dword [esp + 0x2c], eax
jle 0x1009e82f
mov esi, dword [esp + 0x14]
mov dword [esp + 0x18], esi
xor ecx, ecx
push 0x87
mov dword [esp + 0x34], ecx
mov word [esp + 0x34], 2
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], ecx
call sub.WS2_32.dll_htons
mov word [esp + 0x32], ax
mov edx, dword [esi]
push edx
call sub.WS2_32.dll_gethostbyname
test eax, eax
jne 0x1009e65e
mov eax, dword [esi]
push eax
call sub.WS2_32.dll_inet_addr
cmp eax, 0xffffffff
jne 0x1009e67b
mov ecx, dword [esi]
push ecx
call fcn.100a7e8e
add esp, 4
cmp ebx, 1
je 0x1009e876
jmp 0x1009e813
movsx ecx, word [eax + 0xa]
mov edx, dword [eax + 0xc]
mov eax, ecx
lea edi, [esp + 0x34]
mov esi, dword [edx]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
jmp 0x1009e67f
mov dword [esp + 0x34], eax
mov ecx, 0x800
xor eax, eax
lea edi, [esp + 0x3d4]
mov esi, 0x10105eb9
rep stosd dword es:[edi], eax
mov ecx, 0x14
lea edi, [esp + 0x3d4]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x44]
lea edi, [esp + 0x50]
mov dword [esp + 0x428], ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x430]
mov eax, ecx
mov esi, edi
mov edi, edx
mov dword [esp + 0x424], ebp
shr ecx, 2
mov dword [esp + 0x42c], ebp
lea ebx, [ebp - 1]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ebx, 0xfffffffc
and ecx, 3
add ebx, 0x60
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx]
lea ecx, [esp + 0x10]
push edx
call fcn.100b58b9
mov edi, dword [esp + 0x10]
mov ecx, dword [esp + 0x44]
lea eax, [esp + ebx + 0x3d4]
add ebx, 0xc
mov edx, dword [edi - 8]
inc edx
lea esi, [esp + ebx + 0x3d4]
mov dword [eax], edx
mov dword [esp + 0x20], esi
mov dword [eax + 4], ecx
or ecx, 0xffffffff
mov dword [eax + 8], edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, dword [esp + 0x20]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [esp + 0x44]
and ecx, 3
dec edx
and edx, 0xfffffffc
rep movsb byte es:[edi], byte [esi]
lea ebx, [ebx + edx + 4]
mov edx, dword [esp + 0x2c]
mov edi, dword [esp + 0x223e8]
lea ecx, [esp + ebx + 0x3d4]
add ebx, 0xc
mov dword [ecx], edx
lea esi, [esp + ebx + 0x3d4]
mov dword [esp + 0x20], esi
mov dword [ecx + 4], eax
xor eax, eax
mov dword [ecx + 8], edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, dword [esp + 0x20]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
add ebx, edx
and ecx, 3
push 0
rep movsb byte es:[edi], byte [esi]
lea esi, [ebx - 0x50]
call fcn.100a899d
mov dword [esp + 0x400], eax
mov eax, dword [esp + 0x28]
add esp, 4
cmp eax, 1
mov dword [esp + 0x41e], esi
push 0x10
jne 0x1009e7e2
mov esi, dword [esp + 0x2c]
lea ecx, [esp + 0x34]
push ecx
push 0
lea edx, [esp + 0x3e0]
push ebx
push edx
push esi
call sub.WS2_32.dll_sendto
cmp eax, 0xffffffff
je 0x1009e89b
jmp 0x1009e7fc
mov edx, dword [esp + 0x2c]
lea eax, [esp + 0x34]
push eax
push 0
lea ecx, [esp + 0x3e0]
push ebx
push ecx
push edx
call sub.WS2_32.dll_sendto
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
push ecx
call fcn.100a7e8e
mov ebx, dword [esp + 0x28]
mov esi, dword [esp + 0x1c]
add esp, 4
mov eax, dword [esp + 0x1c]
add esi, 4
inc eax
mov dword [esp + 0x18], esi
cmp eax, ebx
mov dword [esp + 0x1c], eax
jl 0x1009e604
mov esi, dword [esp + 0x28]
push esi
call sub.WS2_32.dll_closesocket
mov edx, dword [esp + 0x14]
push edx
call fcn.100a7e8e
add esp, 4
lea ecx, [esp + 0x10]
mov dword [esp + 0x223dc], 0xffffffff
call fcn.100b577c
mov eax, 1
mov ecx, dword [esp + 0x223d4]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x223d0
ret 0xc
mov edx, dword [esp + 0x14]
push edx
call fcn.100a7e8e
add esp, 4
lea ecx, [esp + 0x10]
mov dword [esp + 0x223dc], 0xffffffff
call fcn.100b577c
xor eax, eax
jmp 0x1009e85b
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
mov ecx, dword [edi + eax*4]
push ecx
call fcn.100a7e8e
push edi
call fcn.100a7e8e
add esp, 8
push esi
call sub.WS2_32.dll_closesocket
lea ecx, [esp + 0x10]
mov dword [esp + 0x223dc], 0xffffffff
call fcn.100b577c
xor eax, eax
jmp 0x1009e85b