Function at 0x5120f0
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2e0
mov eax, dword [0x541514]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x250], 0
lea eax, [ebp - 0x244]
mov dword [ebp - 0x25c], eax
mov ecx, dword [ebp + 0xc]
mov dword [ecx], 0x58ad00
lea edx, [ebp - 0x220]
push edx
push 0x101
call fcn.004cad50
mov dword [ebp - 0x24c], eax
cmp dword [ebp - 0x24c], 0
je 0x512163
mov eax, dword [ebp - 0x24c]
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 0x58ad00
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
xor eax, eax
jmp 0x51241a
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x23c], ecx
mov edx, dword [ebp + 8]
push edx
call fcn.004a12c0
add esp, 4
mov dword [ebp - 0x228], eax
cmp dword [ebp - 0x228], 0
je 0x51219a
mov eax, dword [ebp - 0x228]
push eax
call fcn.004a1260
add esp, 4
test eax, eax
jne 0x5121e1
mov ecx, dword [ebp - 0x23c]
push ecx
mov edx, dword [ebp - 0x23c]
push edx
mov eax, dword [ebp - 0x23c]
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 0x58ad00
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x14
cmp dword [ebp - 0x228], 0
je 0x5121da
mov ecx, dword [ebp - 0x228]
push ecx
call fcn.004a1830
add esp, 4
xor eax, eax
jmp 0x51241a
mov word [ebp - 0x238], 2
mov edx, dword [ebp - 0x228]
push edx
call fcn.004a1260
add esp, 4
push eax
call sub.WSOCK32.dll_inet_addr
mov dword [ebp - 0x250], eax
push 4
lea eax, [ebp - 0x250]
push eax
lea ecx, [ebp - 0x234]
push ecx
call sub.MSVCR80.dll_memcpy
add esp, 0xc
mov word [ebp - 0x248], 0x20
mov dword [ebp - 0x258], 0x80
mov dword [ebp - 0x254], 0x1388
mov edx, dword [ebp - 0x25c]
mov byte [edx], 0x20
mov eax, dword [ebp - 0x25c]
mov byte [eax + 1], 0
mov ecx, dword [ebp - 0x25c]
mov byte [ecx + 2], 0
mov edx, dword [ebp - 0x25c]
mov byte [edx + 3], 0
mov eax, dword [ebp - 0x25c]
mov dword [eax + 4], 0
mov ecx, dword [ebp - 0x228]
push ecx
call fcn.004a1830
add esp, 4
mov dword [ebp - 0x224], 0
jmp 0x512298
mov edx, dword [ebp - 0x224]
add edx, 1
mov dword [ebp - 0x224], edx
cmp dword [ebp - 0x224], 0x20
jge 0x5122b9
mov eax, dword [ebp - 0x224]
add eax, 0x41
mov ecx, dword [ebp - 0x224]
mov byte [ebp + ecx - 0x88], al
jmp 0x512289
call fcn.004cb040
mov dword [0x58af00], eax
cmp dword [0x58af00], 0xffffffff
jne 0x5122e6
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 0x58ad00
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 8
xor eax, eax
jmp 0x51241a
mov edx, dword [ebp - 0x254]
push edx
mov eax, dword [ebp - 0x258]
push eax
lea ecx, [ebp - 0x2e0]
push ecx
mov edx, dword [ebp - 0x25c]
push edx
mov ax, word [ebp - 0x248]
push eax
lea ecx, [ebp - 0x88]
push ecx
mov edx, dword [ebp - 0x234]
push edx
mov eax, dword [0x58af00]
push eax
call fcn.004cafa0
mov dword [ebp - 0x8c], eax
cmp dword [ebp - 0x8c], 0
jne 0x51235c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x24c], 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 0x58ad00
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
xor eax, eax
jmp 0x51241a
mov dword [ebp - 0x24c], 0
mov dword [ebp - 0x224], 0
jmp 0x512381
mov edx, dword [ebp - 0x224]
add edx, 1
mov dword [ebp - 0x224], edx
cmp dword [ebp - 0x224], 0x20
jge 0x5123b1
mov eax, dword [ebp - 0x224]
movsx ecx, byte [ebp + eax - 0x2c4]
mov edx, dword [ebp - 0x224]
add edx, 0x41
cmp ecx, edx
je 0x5123af
mov dword [ebp - 0x24c], 1
jmp 0x512372
cmp dword [ebp - 0x24c], 0
je 0x5123d1
push str.The_License_Server_returned_a_networking_error._nSee_your_System_Administrator_for_assistance
push 0x58ad00
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 8
xor eax, eax
jmp 0x51241a
mov eax, dword [0x58af00]
push eax
call fcn.004cb000
mov dword [ebp - 0x24c], eax
cmp dword [ebp - 0x24c], 0
jne 0x512410
mov ecx, dword [ebp - 0x23c]
push ecx
mov edx, dword [ebp - 0x23c]
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 0x58ad00
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
xor eax, eax
jmp 0x51241a
call fcn.004cad70
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047294a
mov esp, ebp
pop ebp
ret