Function at 0x4aa910
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1f4
mov eax, dword [0x5274d0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [str.Flexera_Software]
mov dword [ebp - 0x18], eax
mov ecx, dword [0x520af8]
mov dword [ebp - 0x14], ecx
mov edx, dword [0x520afc]
mov dword [ebp - 0x10], edx
mov eax, dword [0x520b00]
mov dword [ebp - 0xc], eax
mov cl, byte [0x520b04]
mov byte [ebp - 8], cl
mov dword [ebp - 0x1e4], 0
mov dword [ebp - 0x1f0], 0
mov dword [ebp - 0x1b8], 1
lea edx, [ebp - 0x1dc]
mov dword [ebp - 0x1f4], edx
mov eax, dword [ebp + 0xc]
mov dword [eax], 0x52c6c0
lea ecx, [ebp - 0x1b0]
push ecx
push 0x101
call fcn.00472a60
mov dword [ebp - 0x1e0], eax
cmp dword [ebp - 0x1e0], 0
je 0x4aa9c2
mov edx, dword [ebp - 0x1e0]
push edx
push str.Networking_Error:_Windows_Socket_function_failed_with_error__d._Please_contact_System_Administrator_for_assistance._n
push 0x52c6c0
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
xor eax, eax
jmp 0x4aac90
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1d0], eax
mov ecx, dword [ebp + 8]
push ecx
push 0
call fcn.004883b0
add esp, 8
mov dword [ebp - 0x1bc], eax
cmp dword [ebp - 0x1bc], 0
je 0x4aa9fb
mov edx, dword [ebp - 0x1bc]
push edx
call fcn.00487e30
add esp, 4
test eax, eax
jne 0x4aaa3c
mov eax, dword [ebp - 0x1d0]
push eax
push str.Networking_Error:_Failed_to_obtain_the_IP_address_of_the_machine___s_._Please_contact_System_Administrator_for_assistance.
push 0x52c6c0
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
cmp dword [ebp - 0x1bc], 0
je 0x4aaa2d
mov ecx, dword [ebp - 0x1bc]
push ecx
call fcn.00488c40
add esp, 4
mov dword [ebp - 0x1b8], 0
jmp 0x4aac08
mov edx, 2
mov word [ebp - 0x1cc], dx
mov eax, dword [ebp - 0x1bc]
push eax
call fcn.00487e30
add esp, 4
push eax
call sub.WSOCK32.dll_inet_addr
mov dword [ebp - 0x1e4], eax
push 0
push 4
lea ecx, [ebp - 0x1e4]
push ecx
lea edx, [ebp - 0x1c8]
push edx
call fcn.00401990
add esp, 0x10
mov dword [ebp - 0x1e8], 0x1388
mov eax, dword [ebp - 0x1f4]
mov byte [eax], 0x20
mov ecx, dword [ebp - 0x1f4]
mov byte [ecx + 1], 0
mov edx, dword [ebp - 0x1f4]
mov byte [edx + 2], 0
mov eax, dword [ebp - 0x1f4]
mov byte [eax + 3], 0
mov ecx, dword [ebp - 0x1f4]
mov dword [ecx + 4], 0
mov edx, dword [ebp - 0x1bc]
push edx
call fcn.00488c40
add esp, 4
call fcn.00472d50
mov dword [0x520af0], eax
cmp dword [0x520af0], 0xffffffff
jne 0x4aaaff
push str.Networking_Error:_Unable_to_create_the_ICMP_handle._Please_contact_System_Administrator_for_assistance._n
push 0x52c6c0
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 8
mov dword [ebp - 0x1b8], 0
jmp 0x4aac08
mov dword [ebp - 0x1ec], 0x35
mov eax, dword [ebp - 0x1ec]
push eax
call sub.MSVCR120.dll_malloc
add esp, 4
mov dword [ebp - 0x1f0], eax
cmp dword [ebp - 0x1f0], 0
jne 0x4aab49
push str.Communication_Error:Unable_to_allocate_memory.Please_contact_System_Administrator_for_assistance._n
push 0x52c6c0
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 8
mov dword [ebp - 0x1b8], 0
jmp 0x4aac08
mov ecx, dword [ebp - 0x1e8]
push ecx
mov edx, dword [ebp - 0x1ec]
push edx
mov eax, dword [ebp - 0x1f0]
push eax
mov ecx, dword [ebp - 0x1f4]
push ecx
push 0x11
lea edx, [ebp - 0x18]
push edx
mov eax, dword [ebp - 0x1c8]
push eax
mov ecx, dword [0x520af0]
push ecx
call fcn.00472cb0
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x4aabb9
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x1e0], eax
mov edx, dword [ebp - 0x1d0]
push edx
push str.Networking_Error:_Server____s___not_responding._Please_contact_System_Administrator_for_assistance._n
push 0x52c6c0
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
mov dword [ebp - 0x1b8], 0
jmp 0x4aac08
mov dword [ebp - 0x1e0], 0
mov eax, dword [ebp - 0x1f0]
mov dword [ebp - 0x1d4], eax
cmp dword [ebp - 0x1d4], 0
je 0x4aabe4
mov ecx, dword [ebp - 0x1d4]
cmp dword [ecx + 4], 0
je 0x4aac08
mov edx, dword [ebp - 0x1d0]
push edx
push str.Networking_Error:_Communication_error_occurred___Server___s_._Please_contact_System_Administrator_for_assistance._n
push 0x52c6c0
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
mov dword [ebp - 0x1b8], 0
cmp dword [ebp - 0x1f0], 0
je 0x4aac2a
mov eax, dword [ebp - 0x1f0]
push eax
call fcn.0043c5b0
add esp, 4
mov dword [ebp - 0x1f0], 0
cmp dword [0x520af0], 0xffffffff
je 0x4aac85
mov ecx, dword [0x520af0]
push ecx
call fcn.00472d10
mov dword [ebp - 0x1e0], eax
mov dword [0x520af0], 0xffffffff
cmp dword [ebp - 0x1e0], 0
jne 0x4aac85
cmp dword [ebp - 0x1b8], 0
je 0x4aac7b
mov edx, dword [ebp - 0x1d0]
push edx
push str.Networking_Error:_Unable_to_close_the_connection_to___s_._Please_contact_System_Administrator_for_assistance._n
push 0x52c6c0
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
mov dword [ebp - 0x1b8], 0
call fcn.00472a80
mov eax, dword [ebp - 0x1b8]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00431a84
mov esp, ebp
pop ebp
ret