Function at 0x405ae9
Capabilities:
Get graphical window text
Resolve dns

Disassembly:
push 0x8f0
mov eax, 0x5a0c70
call fcn.0058141a
mov esi, ecx
mov dword [ebp - 0x434], esi
push ecx
lea ecx, [ebp - 0x8fc]
call fcn.0040da3c
mov edi, 0xff
lea eax, [ebp - 0x110]
xor ebx, ebx
push edi
push ebx
push eax
mov dword [ebp - 4], ebx
call fcn.005838b0
add esp, 0xc
lea eax, [ebp - 0x110]
push edi
push eax
push dword [esi + 0x208]
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
jne 0x405c73
call fcn.0044a3d6
push eax
lea ecx, [ebp - 0x42c]
call fcn.00403f59
mov edx, str.No_computers_with_that_name_were_found_on_your_network.__You_may_want_to_enter_an_IP_address_instead.
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x428]
call fcn.00429b1a
mov byte [ebp - 4], 2
cmp dword [eax + 0x14], 8
jb 0x405b81
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x42c]
call fcn.00406b7c
xor eax, eax
lea ecx, [ebp - 0x428]
inc eax
push ebx
push eax
mov byte [ebp - 4], al
call fcn.00403bb4
push 0x5e6be4
lea ecx, [ebp - 0x42c]
call fcn.00406942
mov edx, str.Do_you_want_to_continue_with_this_name_
lea ecx, [ebp - 0x428]
call fcn.00429b1a
mov byte [ebp - 4], 3
cmp dword [eax + 0x14], 8
jb 0x405bcc
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x42c]
call fcn.00406b53
xor eax, eax
lea ecx, [ebp - 0x428]
inc eax
push ebx
push eax
mov byte [ebp - 4], al
call fcn.00403bb4
mov edx, str.Unable_to_locate_computer
lea ecx, [ebp - 0x428]
call fcn.00429b1a
mov byte [ebp - 4], 4
cmp dword [eax + 0x14], 8
jb 0x405c07
mov eax, dword [eax]
mov esi, dword [ebp - 0x42c]
mov edx, esi
push 0x124
push eax
call fcn.004340ee
cmp eax, 6
lea ecx, [ebp - 0x428]
setne bl
xor eax, eax
inc eax
xor edi, edi
push edi
push eax
mov byte [ebp - 4], al
call fcn.00403bb4
test bl, bl
je 0x405c60
mov eax, dword [ebp - 0x434]
push 1
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_GetDlgItem]
push edi
push edi
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
lea ecx, [esi - 0x10]
call fcn.00404048
jmp 0x405fdb
xor ebx, ebx
lea ecx, [esi - 0x10]
mov byte [ebp - 4], bl
call fcn.00404048
mov esi, dword [ebp - 0x434]
cmp byte [ebp - 0x110], 0
je 0x405fdb
mov eax, dword [esi + 0xd4]
push ecx
mov esi, esp
mov dword [ebp - 0x828], eax
mov dword [ebp - 0x430], esi
call fcn.0044a3d6
push eax
mov ecx, esi
call fcn.00403f59
lea eax, [ebp - 0x110]
mov byte [ebp - 4], 5
push eax
mov ecx, esi
call fcn.00403e04
lea ecx, [ebp - 0x8fc]
mov byte [ebp - 4], bl
call fcn.0040f38d
test eax, eax
je 0x405fdb
mov eax, dword [ebp - 0x434]
mov dword [eax + 0xd0], 1
cmp dword [eax + 0xd4], ebx
jne 0x405fd0
call fcn.0043c7db
mov esi, 0x5e6c6c
mov edi, str.GridConfig
push esi
push 3
mov edx, str.PrimaryX
mov ecx, edi
call fcn.00434e91
push esi
push 3
mov edx, str.PrimaryY
mov dword [ebp - 0x43c], eax
mov ecx, edi
call fcn.00434e91
mov edi, dword [0x61889c]
mov edx, dword [0x618898]
mov dword [ebp - 0x430], eax
mov eax, edi
mov dword [ebp - 0x44c], ebx
mov dword [ebp - 0x438], ebx
lea ecx, [edx + edi]
mov dword [ebp - 0x42c], eax
cmp eax, ecx
jge 0x405f07
mov ecx, eax
mov eax, dword [0x618894]
mov esi, eax
mov edi, dword [0x61889c]
mov dword [ebp - 0x448], eax
add eax, dword [0x618890]
cmp esi, eax
jge 0x405ed9
push 0xa
lea eax, [ebp - 0x210]
push eax
push ecx
call fcn.0058b78d
push 0xa
lea eax, [ebp - 0x410]
push eax
push esi
call fcn.0058b78d
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x310]
push eax
call fcn.00589e60
lea eax, [ebp - 0x310]
push 0x5e6b10
push eax
call fcn.00589e70
lea eax, [ebp - 0x410]
push eax
lea eax, [ebp - 0x310]
push eax
call fcn.00589e70
mov ecx, dword [ebp - 0x42c]
add esp, 0x30
cmp ecx, dword [ebp - 0x43c]
jne 0x405ddf
cmp esi, dword [ebp - 0x430]
je 0x405eb3
push 0x5e6c6c
push 0xff
lea eax, [ebp - 0x210]
mov byte [ebp - 0x210], bl
push eax
push 0x5e66b6
lea edx, [ebp - 0x310]
mov ecx, str.GridConfig
call fcn.00434d68
cmp byte [ebp - 0x210], 0
je 0x405ead
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 0x444]
call fcn.00403e54
mov byte [ebp - 4], 6
call fcn.0044a3d6
push eax
lea ecx, [ebp - 0x440]
call fcn.00403f59
lea eax, [ebp - 0x110]
mov byte [ebp - 4], 7
push eax
lea ecx, [ebp - 0x440]
call fcn.00403e04
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x444]
mov esi, dword [ebp - 0x440]
push esi
call fcn.00406aa1
mov ebx, eax
lea ecx, [esi - 0x10]
neg ebx
sbb bl, bl
call fcn.00404048
mov eax, dword [ebp - 0x438]
add bl, 1
push 1
pop ecx
cmovne eax, ecx
mov dword [ebp - 0x44c], ecx
xor ebx, ebx
mov dword [ebp - 0x438], eax
mov byte [ebp - 4], bl
mov ecx, dword [ebp - 0x444]
lea ecx, [ecx - 0x10]
call fcn.00404048
mov esi, dword [ebp - 0x448]
mov ecx, dword [ebp - 0x42c]
mov eax, dword [0x618894]
inc esi
add eax, dword [0x618890]
mov dword [ebp - 0x448], esi
cmp esi, eax
jl 0x405d6d
mov edi, dword [0x61889c]
mov edx, dword [0x618898]
inc ecx
lea eax, [edx + edi]
mov dword [ebp - 0x42c], ecx
cmp ecx, eax
jl 0x405d4c
mov ecx, dword [ebp - 0x438]
test ecx, ecx
jne 0x405fd0
mov eax, dword [ebp - 0x44c]
test eax, eax
jne 0x405fd0
mov ecx, dword [ebp - 0x43c]
mov esi, ecx
test edx, edx
jle 0x405fd0
inc esi
lea eax, [edx + edi]
cmp esi, eax
cmovge esi, edi
cmp esi, ecx
je 0x405f81
push dword [ebp - 0x430]
lea eax, [ebp - 0x310]
push esi
push str._d___d
push eax
call fcn.00406a6f
add esp, 0x10
lea eax, [ebp - 0x410]
mov edi, 0x5e6c6c
lea edx, [ebp - 0x310]
mov ecx, str.GridConfig
push edi
push 0xff
push eax
push 0x5e66b6
call fcn.00434d68
cmp byte [ebp - 0x410], 0
je 0x405f88
mov edi, dword [0x61889c]
mov edx, dword [0x618898]
mov ecx, dword [ebp - 0x43c]
inc ebx
cmp ebx, edx
jl 0x405f17
jmp 0x405fd0
push edi
lea eax, [ebp - 0x110]
mov ecx, str.GridConfig
push eax
lea edx, [ebp - 0x310]
call fcn.0042b829
push ecx
mov ecx, esp
call fcn.00436676
lea ecx, [ebp - 0x210]
call fcn.0042b29b
push str.Configs
lea eax, [ebp - 0x110]
push eax
lea edx, [ebp - 0x310]
lea ecx, [ebp - 0x210]
call fcn.0042b829
mov ecx, dword [ebp - 0x434]
call fcn.00449003
lea ecx, [ebp - 0x8fc]
call fcn.0040db63
call fcn.005813c4
ret