Function at 0x41f610
Capabilities:
Get graphical window text
Get hostname
Initialize winsock library
Resolve dns

Disassembly:
mov eax, dword [0x444de0]
sub esp, 0x2dc
test eax, eax
push esi
push edi
jne 0x41f9a7
mov eax, dword [0x445378]
mov ecx, dword [0x445374]
push 0
push 0x41ecb0
push eax
push 0x78
push ecx
call dword [sym.imp.USER32.dll_CreateDialogParamA]
test eax, eax
mov dword [0x444de0], eax
jne 0x41f660
push str.Cannot_open_the_link_up_dialog._box
call fcn.00423370
add esp, 4
pop edi
pop esi
add esp, 0x2dc
ret
push 1
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [0x444de0]
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
push 1
push edx
call esi
mov dword [0x444ddc], eax
mov eax, dword [0x444de0]
push 0x48f
push eax
call esi
mov ecx, dword [0x444de0]
mov dword [0x444dcc], eax
push 0x48d
push ecx
call esi
mov edx, dword [0x444de0]
mov dword [0x444dd4], eax
push 0x49b
push edx
call esi
mov dword [0x444dd0], eax
mov eax, dword [0x444de0]
push 0x490
push eax
call esi
mov ecx, dword [0x444de0]
mov dword [0x444dc4], eax
push 0x495
push ecx
call esi
mov edx, dword [0x444de0]
mov dword [0x444dc8], eax
push 0x496
push edx
call esi
mov edi, dword [sym.imp.USER32.dll_SetWindowTextA]
mov dword [0x444dd8], eax
mov eax, dword [0x444dd4]
push 0x445f00
push eax
call edi
mov edx, dword [0x444dd4]
mov esi, dword [sym.imp.USER32.dll_GetWindowTextA]
lea ecx, [esp + 0x14]
push 0x40
push ecx
push edx
call esi
lea eax, [esp + 0x14]
push eax
call sub.WS2_32.dll_inet_addr
cmp eax, 0xffffffff
je 0x41f73a
xor eax, eax
mov cl, byte [esp + eax + 0x14]
mov byte [eax + 0x445f00], cl
inc eax
test cl, cl
jne 0x41f729
jmp 0x41f748
mov ecx, dword [0x444dd4]
push 0x445f00
push ecx
call edi
mov edx, dword [0x444dc4]
push 0
push edx
call edi
mov ecx, dword [0x444dc4]
lea eax, [esp + 8]
push 0xa
push eax
push ecx
call esi
lea edx, [esp + 8]
push edx
call fcn.00429414
mov esi, eax
add esp, 4
test si, si
jbe 0x41f795
and eax, 0xffff
lea ecx, [esp + 8]
push eax
push 0x43f318
push ecx
call fcn.00428cc5
mov word [0x445dec], si
jmp 0x41f7ae
xor edx, edx
lea eax, [esp + 8]
mov dx, word [0x445dec]
push edx
push 0x43f318
push eax
call fcn.00428cc5
mov edx, dword [0x444dc4]
add esp, 0xc
lea ecx, [esp + 8]
push ecx
push edx
call edi
mov eax, dword [0x444dd0]
push str.Unknown
push eax
call edi
mov ecx, dword [0x444dcc]
push 0
push 0
push 0x184
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [0x444de4]
mov dword [0x444dc0], 0
test eax, eax
je 0x41f8bd
lea edx, [esp + 0x54]
push 0xff
push edx
call sub.WS2_32.dll_gethostname
lea eax, [esp + 0x54]
push eax
call sub.WS2_32.dll_gethostbyname
test eax, eax
je 0x41f83f
mov ecx, dword [eax + 0xc]
mov edx, dword [ecx]
mov eax, dword [edx]
push eax
call sub.WS2_32.dll_inet_ntoa
lea edx, [esp + 0x54]
mov cl, byte [eax]
inc eax
mov byte [edx], cl
inc edx
test cl, cl
jne 0x41f827
mov edx, dword [0x444dd0]
lea ecx, [esp + 0x54]
push ecx
push edx
call edi
mov eax, dword [0x444de8]
test eax, eax
je 0x41f89d
mov ecx, 0x13
call fcn.00423130
push eax
call fcn.0041e5d0
add esp, 4
mov ecx, 0x12
call fcn.00423130
push eax
mov eax, dword [0x444dc8]
push eax
call edi
mov ecx, dword [0x444dd8]
mov esi, dword [sym.imp.USER32.dll_EnableWindow]
push 0
push ecx
call esi
mov edx, dword [0x444dd4]
push 0
push edx
call esi
mov eax, dword [0x444dc4]
push 0
push eax
call esi
pop edi
pop esi
add esp, 0x2dc
ret
push str.Not_connected...
call fcn.0041e5d0
push str.Click__Connect__or__Listen__to_begin_link_up.
call fcn.0041e5d0
add esp, 8
pop edi
pop esi
add esp, 0x2dc
ret
lea ecx, [esp + 0x154]
mov dword [0x444de4], 0
push ecx
push 0x202
call sub.WS2_32.dll_WSAStartup
test eax, eax
je 0x41f8f3
push str.WinSock:_startup_FAILED.
call fcn.0041e5d0
add esp, 4
pop edi
pop esi
add esp, 0x2dc
ret
mov eax, dword [esp + 0x154]
cmp ax, 0x202
je 0x41f939
and eax, 0xffff
mov edx, eax
and eax, 0xff
shr edx, 8
push edx
push eax
push str.Incorrect_WinSock_version___d._d___need_WinSock_2.2
call fcn.0041e5d0
add esp, 0xc
call sub.WS2_32.dll_WSACleanup
push str.Initialisation..._FAILED.
call fcn.0041e5d0
add esp, 4
pop edi
pop esi
add esp, 0x2dc
ret
lea eax, [esp + 0x54]
push 0xff
push eax
call sub.WS2_32.dll_gethostname
lea ecx, [esp + 0x54]
push ecx
call sub.WS2_32.dll_gethostbyname
test eax, eax
je 0x41f97e
mov edx, dword [eax + 0xc]
mov eax, dword [edx]
mov ecx, dword [eax]
push ecx
call sub.WS2_32.dll_inet_ntoa
lea edx, [esp + 0x54]
mov cl, byte [eax]
inc eax
mov byte [edx], cl
inc edx
test cl, cl
jne 0x41f967
mov eax, dword [0x444dd0]
lea edx, [esp + 0x54]
push edx
push eax
call edi
lea ecx, [esp + 0x158]
push ecx
push str.Found___s__and_initialised.
call fcn.0041e5d0
push str.Click__Connect__or__Listen__to_begin_link_up.
call fcn.0041e5d0
add esp, 0xc
mov dword [0x444de4], 1
pop edi
pop esi
add esp, 0x2dc
ret