Function at 0x492570
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2d0
mov dword [ebp - 0x1a0], 0
lea eax, [ebp - 0x1bc]
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0xc]
mov dword [ecx], 0x58e700
lea edx, [ebp - 0x19c]
push edx
push 0x101
call fcn.0042a126
mov dword [ebp - 0x1d0], eax
cmp dword [ebp - 0x1d0], 0
je 0x4925d6
mov eax, dword [ebp - 0x1d0]
push eax
push str.The_Networking_Software__WINSOCK__did_not_respond._nIt_failed_with_a_code_of__d__._nConsult_your_System_Administrator_for_assistance
push 0x58e700
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
xor eax, eax
jmp 0x492863
mov ecx, dword [ebp + 8]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0042c005
add esp, 4
mov dword [ebp - 0x1c4], eax
cmp dword [ebp - 0x1c4], 0
je 0x49260a
mov eax, dword [ebp - 0x1c4]
push eax
call fcn.0042bfc7
add esp, 4
test eax, eax
jne 0x492648
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp - 0xc]
push eax
push str.The_Networking_Software__WINSOCK__could_not_obtain_the_IP_address_of_the_computer___s__._n_nThis_could_be_due_to___s__not_being_a_valid_computer_name__or_the_DNS_Name_Resolution_Service_n_is_not_working_or_not_configured_properly._n_nYou_may_need_to_include___s__in_your__hosts__file._nSee_your_System_Administrator_for_assistance
push 0x58e700
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x14
cmp dword [ebp - 0x1c4], 0
je 0x492641
mov ecx, dword [ebp - 0x1c4]
push ecx
call fcn.0042c25d
add esp, 4
xor eax, eax
jmp 0x492863
mov word [ebp - 0x1b4], 2
mov edx, dword [ebp - 0x1c4]
push edx
call fcn.0042bfc7
add esp, 4
push eax
call sub.WSOCK32.dll_inet_addr
mov dword [ebp - 0x1a0], eax
push 4
lea eax, [ebp - 0x1a0]
push eax
lea ecx, [ebp - 0x1b0]
push ecx
call fcn.0050d2a0
add esp, 0xc
mov word [ebp - 8], 0x20
mov dword [ebp - 0x1a4], 0x80
mov dword [ebp - 0x1cc], 0x1388
mov edx, dword [ebp - 4]
mov byte [edx], 0x20
mov eax, dword [ebp - 4]
mov byte [eax + 1], 0
mov ecx, dword [ebp - 4]
mov byte [ecx + 2], 0
mov edx, dword [ebp - 4]
mov byte [edx + 3], 0
mov eax, dword [ebp - 4]
mov dword [eax + 4], 0
mov ecx, dword [ebp - 0x1c4]
push ecx
call fcn.0042c25d
add esp, 4
mov dword [ebp - 0x1c0], 0
jmp 0x4926ed
mov edx, dword [ebp - 0x1c0]
add edx, 1
mov dword [ebp - 0x1c0], edx
cmp dword [ebp - 0x1c0], 0x20
jge 0x49270e
mov eax, dword [ebp - 0x1c0]
add eax, 0x41
mov ecx, dword [ebp - 0x1c0]
mov byte [ebp + ecx - 0x2d0], al
jmp 0x4926de
call fcn.0042a395
mov dword [0x58e900], eax
cmp dword [0x58e900], 0xffffffff
jne 0x49273b
push str.The_Networking_Software__WINSOCK__and_ICMP_are_not_configured_correctly._n_Check_configuration__or_reinstall_networking_software._nSee_your_System_Administrator_for_assistance
push 0x58e700
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 8
xor eax, eax
jmp 0x492863
mov edx, dword [ebp - 0x1cc]
push edx
mov eax, dword [ebp - 0x1a4]
push eax
lea ecx, [ebp - 0x250]
push ecx
mov edx, dword [ebp - 4]
push edx
mov ax, word [ebp - 8]
push eax
lea ecx, [ebp - 0x2d0]
push ecx
mov edx, dword [ebp - 0x1b0]
push edx
mov eax, dword [0x58e900]
push eax
call fcn.0042a30c
mov dword [ebp - 0x1c8], eax
cmp dword [ebp - 0x1c8], 0
jne 0x4927ab
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x1d0], eax
mov ecx, dword [ebp + 8]
push ecx
push str.Server____s___did_not_respond_within_5_seconds__nthis_server_may_not_exist__or_communications_are_not_possible_at_this_time._nSee_your_System_Administrator_for_assistance
push 0x58e700
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
xor eax, eax
jmp 0x492863
mov dword [ebp - 0x1d0], 0
mov dword [ebp - 0x1c0], 0
jmp 0x4927d0
mov edx, dword [ebp - 0x1c0]
add edx, 1
mov dword [ebp - 0x1c0], edx
cmp dword [ebp - 0x1c0], 0x20
jge 0x492800
mov eax, dword [ebp - 0x1c0]
movsx ecx, byte [ebp + eax - 0x234]
mov edx, dword [ebp - 0x1c0]
add edx, 0x41
cmp ecx, edx
je 0x4927fe
mov dword [ebp - 0x1d0], 1
jmp 0x4927c1
cmp dword [ebp - 0x1d0], 0
je 0x492820
push str.The_License_Server_returned_a_networking_error._nSee_your_System_Administrator_for_assistance
push 0x58e700
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 8
xor eax, eax
jmp 0x492863
mov eax, dword [0x58e900]
push eax
call fcn.0042a35f
mov dword [ebp - 0x1d0], eax
cmp dword [ebp - 0x1d0], 0
jne 0x492859
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 0xc]
push edx
push str.The_Networking_Software__ICMP_could_not_close_down_the_connection_to___s_._n_nThis_could_be_due_to___s__not_being_a_valid_computer_name__nor_the_DNS_Name_Resolution_Service_not_working_or_configured_properly._n_nYou_may_need_to_include_this_name_in_your__hosts__file._nSee_your_System_Administrator_for_assistance
push 0x58e700
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
xor eax, eax
jmp 0x492863
call fcn.0042a13b
mov eax, 1
mov esp, ebp
pop ebp
ret