Function at 0x10010360
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 0x1003071b
push eax
mov eax, 0x223c4
mov dword fs:[0], esp
call fcn.10019ba0
mov eax, dword [0x100434a8]
mov edx, dword [0x100434b0]
push ebx
push ebp
mov ebx, ecx
push esi
mov ecx, dword [0x100434ac]
push edi
mov edi, dword [esp + 0x223e4]
mov dword [esp + 0x40], eax
mov al, byte [0x100434b4]
mov dword [esp + 0x44], ecx
push edi
lea ecx, [esp + 0x14]
mov dword [esp + 0x4c], edx
mov byte [esp + 0x50], al
call fcn.10026e0a
xor ebp, ebp
mov dword [esp + 0x223dc], ebp
call fcn.10011690
test eax, eax
jne 0x100103d7
call fcn.10011620
test eax, eax
je 0x10010415
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 0x10010933
push str.NetMessageBufferSend
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
mov dword [esp + 0x2c], eax
jne 0x10010415
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x10010933
mov eax, dword [esp + 0x223ec]
dec eax
je 0x100104c2
dec eax
je 0x10010495
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x1001044c
lea ecx, [esp + 0x10]
mov dword [esp + 0x223dc], 0xffffffff
call fcn.10026d9c
xor eax, eax
jmp 0x1001090b
mov ebx, 1
push 0x2800
mov dword [esp + 0x28], ebx
call fcn.10019737
mov esi, eax
push 0x104
mov dword [esp + 0x1c], esi
call fcn.10019737
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 0x10010501
push 0x2800
call fcn.10019737
add esp, 4
mov ecx, ebx
mov dword [esp + 0x14], eax
push eax
push 0
call fcn.1000fc40
test eax, eax
mov dword [esp + 0x24], eax
jne 0x100104fd
mov ecx, dword [esp + 0x14]
push ecx
jmp 0x1001092b
mov edx, dword [esp + 0x10]
mov eax, dword [edx - 8]
test eax, eax
je 0x10010933
push 0x2800
call fcn.10019737
add esp, 4
mov ecx, ebx
mov dword [esp + 0x14], eax
push eax
push edi
call fcn.1000fc40
test eax, eax
mov dword [esp + 0x24], eax
jne 0x100104fd
mov eax, dword [esp + 0x14]
push eax
jmp 0x1001092b
mov ebx, dword [esp + 0x24]
lea ecx, [esp + 0x244]
push ecx
push 0x102
call sub.WS2_32.dll_WSAStartup
test eax, eax
je 0x10010532
lea ecx, [esp + 0x10]
mov dword [esp + 0x223dc], 0xffffffff
call fcn.10026d9c
xor eax, eax
jmp 0x1001090b
push 0x11
push 2
push 2
call sub.WS2_32.dll_socket
mov esi, eax
cmp esi, 0xffffffff
mov dword [esp + 0x28], esi
jne 0x1001055f
lea ecx, [esp + 0x10]
mov dword [esp + 0x223dc], eax
call fcn.10026d9c
xor eax, eax
jmp 0x1001090b
lea edx, [esp + 0x50]
push 0x64
push edx
call sub.WS2_32.dll_gethostname
test ebp, ebp
je 0x10010669
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 0x1001062a
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 0x10010611
test eax, eax
je 0x10010611
mov dword [esp + 0x18], 0
mov edx, dword [edi]
push edx
call fcn.1001964e
mov eax, dword [esp + 0x20]
add esp, 4
add edi, 4
dec eax
mov dword [esp + 0x1c], eax
jne 0x100105cc
mov eax, dword [esp + 0x28]
push eax
call sub.WS2_32.dll_closesocket
mov ecx, dword [esp + 0x14]
push ecx
call fcn.1001964e
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.10026d9c
mov eax, dword [esp + 0x18]
jmp 0x1001090b
lea eax, [esp + 0x50]
lea ecx, [esp + 0x10]
push eax
call fcn.10026ed9
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.10026ed9
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 0x100108df
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 0x1001070e
mov eax, dword [esi]
push eax
call sub.WS2_32.dll_inet_addr
cmp eax, 0xffffffff
jne 0x1001072b
mov ecx, dword [esi]
push ecx
call fcn.1001964e
add esp, 4
cmp ebx, 1
je 0x10010926
jmp 0x100108c3
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 0x1001072f
mov dword [esp + 0x34], eax
mov ecx, 0x800
xor eax, eax
lea edi, [esp + 0x3d4]
mov esi, 0x100433dc
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.10026ed9
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.10019d22
mov dword [esp + 0x400], eax
mov eax, dword [esp + 0x28]
add esp, 4
cmp eax, 1
mov dword [esp + 0x41e], esi
push 0x10
jne 0x10010892
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 0x1001094b
jmp 0x100108ac
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.1001964e
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 0x100106b4
mov esi, dword [esp + 0x28]
push esi
call sub.WS2_32.dll_closesocket
mov edx, dword [esp + 0x14]
push edx
call fcn.1001964e
add esp, 4
lea ecx, [esp + 0x10]
mov dword [esp + 0x223dc], 0xffffffff
call fcn.10026d9c
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.1001964e
add esp, 4
lea ecx, [esp + 0x10]
mov dword [esp + 0x223dc], 0xffffffff
call fcn.10026d9c
xor eax, eax
jmp 0x1001090b
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
mov ecx, dword [edi + eax*4]
push ecx
call fcn.1001964e
push edi
call fcn.1001964e
add esp, 8
push esi
call sub.WS2_32.dll_closesocket
lea ecx, [esp + 0x10]
mov dword [esp + 0x223dc], 0xffffffff
call fcn.10026d9c
xor eax, eax
jmp 0x1001090b