Function at 0x410018
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff20
push ebx
push esi
push edi
mov ebx, eax
mov eax, 0x58a978
call fcn.0056134c
mov eax, dword [ebx + 0x36c]
call fcn.0053c934
test eax, eax
je 0x410060
mov eax, dword [ebx + 0x36c]
call fcn.0053c934
mov edx, dword [eax + 0x24]
mov ecx, dword [sym.LookAtLan.exe__AnalIP]
mov eax, dword [ecx]
mov eax, dword [eax + 0x2d8]
call fcn.0051bd28
mov edx, dword [sym.LookAtLan.exe__AnalIP]
mov eax, dword [edx]
mov edx, dword [eax]
call dword [edx + 0xd8]
mov ecx, dword [sym.LookAtLan.exe__AnalIP]
mov eax, dword [ecx]
mov dl, byte [eax + 0x2e8]
test dl, dl
je 0x41008d
mov cl, byte [ebx + 0x94e]
cmp cl, 1
jne 0x41009b
mov eax, dword [ebp - 0x34]
mov dword fs:[0], eax
jmp 0x4102fc
mov word [ebp - 0x24], 8
xor edx, edx
mov eax, dword [sym.LookAtLan.exe__AnalIP]
mov dword [ebp - 4], edx
lea edx, [ebp - 4]
inc dword [ebp - 0x18]
mov ecx, dword [eax]
mov eax, dword [ecx + 0x2d8]
call fcn.0051bcf8
lea edx, [ebp - 4]
push edx
mov edx, 0x587e20
lea eax, [ebp - 8]
call fcn.00583900
inc dword [ebp - 0x18]
lea edx, [ebp - 8]
pop eax
call fcn.00583bcc
push eax
dec dword [ebp - 0x18]
lea eax, [ebp - 8]
mov edx, 2
call fcn.00583ae8
dec dword [ebp - 0x18]
lea eax, [ebp - 4]
mov edx, 2
call fcn.00583ae8
pop ecx
test cl, cl
je 0x41010f
mov eax, dword [ebp - 0x34]
mov dword fs:[0], eax
jmp 0x4102fc
mov word [ebp - 0x24], 0x14
xor edx, edx
mov eax, dword [sym.LookAtLan.exe__AnalIP]
mov dword [ebp - 0xc], edx
lea edx, [ebp - 0xc]
inc dword [ebp - 0x18]
mov ecx, dword [eax]
mov eax, dword [ecx + 0x2d8]
call fcn.0051bcf8
mov edx, dword [ebp - 0xc]
test edx, edx
je 0x41013e
mov ecx, dword [ebp - 0xc]
jmp 0x410143
mov ecx, 0x587e21
push ecx
call sub.WS2_32.DLL_gethostbyname
mov esi, eax
dec dword [ebp - 0x18]
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.00583ae8
test esi, esi
jne 0x4101b2
push 0x32
lea ecx, [ebp - 0x7c]
push ecx
push 0x67
mov eax, dword [0x5ae9d0]
push eax
call sub.USER32.DLL_LoadStringA
push 0x64
lea edx, [ebp - 0xe0]
push edx
push 0xea
mov ecx, dword [0x5ae9d0]
push ecx
call sub.USER32.DLL_LoadStringA
mov eax, dword [0x5ae3ec]
push 0x10
lea ecx, [ebp - 0x7c]
lea edx, [ebp - 0xe0]
mov eax, dword [eax]
call fcn.0058383c
mov edx, dword [ebp - 0x34]
mov dword fs:[0], edx
jmp 0x4102fc
mov cl, byte [ebx + 0x94e]
cmp cl, 1
jne 0x4101cb
mov eax, dword [ebp - 0x34]
mov dword fs:[0], eax
jmp 0x4102fc
mov word [ebp - 0x24], 0x20
xor edx, edx
mov eax, dword [sym.LookAtLan.exe__AnalIP]
mov dword [ebp - 0x10], edx
lea edx, [ebp - 0x10]
inc dword [ebp - 0x18]
mov ebx, dword [eax]
mov eax, dword [ebx + 0x2d8]
call fcn.0051bcf8
lea edx, [ebp - 0x10]
mov eax, dword [ebx + 0x2dc]
mov edx, dword [edx]
call sym.LookAtLan.exe__Tb2mru_TTBMRUList_Add_qqr17System_AnsiString
dec dword [ebp - 0x18]
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.00583ae8
movsx ecx, word [esi + 0xa]
push ecx
mov eax, dword [esi + 0xc]
mov edx, dword [eax]
push edx
lea ecx, [ebp - 0x38]
push ecx
call fcn.00560e3c
add esp, 0xc
mov eax, dword [ebp - 0x38]
push eax
call sub.WS2_32.DLL_inet_ntoa
mov edi, eax
xor eax, eax
or ecx, 0xffffffff
lea esi, [ebp - 0x48]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
xchg edi, esi
shr ecx, 2
mov eax, edi
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [ebp - 0x48]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push 1
push eax
call fcn.00402f44
add esp, 8
mov ebx, eax
cmp ebx, 0xffffffff
je 0x4102a1
mov eax, dword [sym.LookAtLan.exe__MainWin]
mov edx, dword [eax + 0x36c]
mov eax, dword [edx + 0x20c]
mov edx, ebx
call fcn.005393a8
push eax
mov ecx, dword [sym.LookAtLan.exe__PCDetails]
mov eax, dword [ecx]
push eax
call fcn.0041bd84
add esp, 8
mov edx, dword [sym.LookAtLan.exe__PCDetails]
mov eax, dword [edx]
mov edx, dword [eax]
call dword [edx + 0xd8]
jmp 0x4102f2
mov ecx, dword [sym.LookAtLan.exe__PCDetails]
lea edi, [ebp - 0x48]
mov eax, dword [ecx]
add eax, 0x3d5
mov esi, eax
xor eax, eax
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
xchg edi, esi
shr ecx, 2
mov eax, edi
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [sym.LookAtLan.exe__PCDetails]
push 0
mov edx, dword [eax]
push edx
call fcn.0041bd84
add esp, 8
mov ecx, dword [sym.LookAtLan.exe__PCDetails]
mov eax, dword [ecx]
mov edx, dword [eax]
call dword [edx + 0xd8]
mov ecx, dword [ebp - 0x34]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret