Function at 0x40174b
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
sub esp, 0xa0
mov eax, dword [ebp + 0xc]
cmp eax, 0xf
je 0x401ecd
cmp eax, 0xf
ja 0x40177a
cmp eax, 1
je 0x401793
cmp eax, 2
je 0x401fde
jmp 0x401ff6
cmp eax, 0x2b
je 0x4018c2
cmp eax, 0x111
je 0x401f64
jmp 0x401ff6
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x24], 1
mov eax, dword [ebp + 8]
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], 0x32
mov dword [esp + 0x18], 0xdc
mov dword [esp + 0x14], 0x64
mov dword [esp + 0x10], 0x64
mov dword [esp + 0xc], 0x5000000b
mov dword [esp + 8], str.GOOGLE_DNS_8.8.8.8_
mov dword [esp + 4], str.BUTTON
mov dword [esp], 0
mov eax, dword [sym.imp.USER32.dll_CreateWindowExA]
call eax
sub esp, 0x30
mov dword [0x492024], eax
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x24], 2
mov eax, dword [ebp + 8]
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], 0x32
mov dword [esp + 0x18], 0xfa
mov dword [esp + 0x14], 0x64
mov dword [esp + 0x10], 0x15e
mov dword [esp + 0xc], 0x5000000b
mov dword [esp + 8], str.CLOUDFLARE_DNS_1.1.1.1_
mov dword [esp + 4], str.BUTTON
mov dword [esp], 0
mov eax, dword [sym.imp.USER32.dll_CreateWindowExA]
call eax
sub esp, 0x30
mov dword [0x492028], eax
mov eax, dword [0x492024]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], sym.__Z10ButtonProcP6HWND__jjljm_24
mov dword [esp], eax
call sym._SetWindowSubclass_16
sub esp, 0x10
mov eax, dword [0x492028]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], sym.__Z11ButtonProc2P6HWND__jjljm_24
mov dword [esp], eax
call sym._SetWindowSubclass_16
sub esp, 0x10
jmp 0x40201d
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov edx, dword [eax + 0x14]
mov eax, dword [0x492024]
cmp edx, eax
jne 0x401bc8
mov dword [esp + 0x34], str.Arial_Black
mov dword [esp + 0x30], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], 1
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0x190
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 0x14
mov eax, dword [sym.imp.GDI32.dll_CreateFontA]
call eax
sub esp, 0x38
mov edx, eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x18]
mov dword [esp + 4], edx
mov dword [esp], eax
mov eax, dword [sym.imp.GDI32.dll_SelectObject]
call eax
sub esp, 8
mov dword [esp], 0xc0c0d
mov eax, dword [sym.imp.GDI32.dll_CreateSolidBrush]
call eax
sub esp, 4
mov ecx, eax
mov eax, dword [ebp - 0xc]
lea edx, [eax + 0x1c]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x18]
mov dword [esp + 8], ecx
mov dword [esp + 4], edx
mov dword [esp], eax
mov eax, dword [sym.imp.USER32.dll_FillRect]
call eax
sub esp, 0xc
movzx eax, byte [0x482004]
test al, al
je 0x4019d6
mov dword [esp], 0xf00a24
mov eax, dword [sym.imp.GDI32.dll_CreateSolidBrush]
call eax
sub esp, 4
mov edx, eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x18]
mov dword [esp + 4], edx
mov dword [esp], eax
mov eax, dword [sym.imp.GDI32.dll_SelectObject]
call eax
sub esp, 8
mov edx, dword [0x49202c]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x18]
mov dword [esp + 4], edx
mov dword [esp], eax
mov eax, dword [sym.imp.GDI32.dll_SelectObject]
call eax
sub esp, 8
mov byte [0x482004], 0
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x10]
and eax, 1
test eax, eax
je 0x401a8c
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x18]
mov dword [esp + 4], 0xf70412
mov dword [esp], eax
mov eax, dword [sym.imp.GDI32.dll_SetTextColor]
call eax
sub esp, 8
mov dword [esp], 0xff00
mov eax, dword [sym.imp.GDI32.dll_CreateSolidBrush]
call eax
sub esp, 4
mov edx, eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x18]
mov dword [esp + 4], edx
mov dword [esp], eax
mov eax, dword [sym.imp.GDI32.dll_SelectObject]
call eax
sub esp, 8
mov dword [esp + 8], 0xff00
mov dword [esp + 4], 2
mov dword [esp], 0
mov eax, dword [sym.imp.GDI32.dll_CreatePen]
call eax
sub esp, 0xc
mov edx, eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x18]
mov dword [esp + 4], edx
mov dword [esp], eax
mov eax, dword [sym.imp.GDI32.dll_SelectObject]
call eax
sub esp, 8
jmp 0x401ae1
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x18]
mov dword [esp + 4], 0xff00
mov dword [esp], eax
mov eax, dword [sym.imp.GDI32.dll_SetTextColor]
call eax
sub esp, 8
mov dword [esp + 8], 0xff00
mov dword [esp + 4], 2
mov dword [esp], 0
mov eax, dword [sym.imp.GDI32.dll_CreatePen]
call eax
sub esp, 0xc
mov edx, eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x18]
mov dword [esp + 4], edx
mov dword [esp], eax
mov eax, dword [sym.imp.GDI32.dll_SelectObject]
call eax
sub esp, 8
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x18]
mov dword [esp + 4], 1
mov dword [esp], eax
mov eax, dword [sym.imp.GDI32.dll_SetBkMode]
call eax
sub esp, 8
mov eax, dword [ebp - 0xc]
mov esi, dword [eax + 0x28]
mov eax, dword [ebp - 0xc]
mov ebx, dword [eax + 0x24]
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0x20]
mov eax, dword [ebp - 0xc]
mov edx, dword [eax + 0x1c]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x18]
mov dword [esp + 0x18], 0x1e
mov dword [esp + 0x14], 0x1e
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], ebx
mov dword [esp + 8], ecx
mov dword [esp + 4], edx
mov dword [esp], eax
mov eax, dword [sym.imp.GDI32.dll_RoundRect]
call eax
sub esp, 0x1c
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x14]
mov dword [esp], eax
mov eax, dword [sym.imp.USER32.dll_GetWindowTextLengthA]
call eax
sub esp, 4
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
add eax, 1
mov dword [esp], eax
call sym.operator_new___unsigned_int_
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
lea edx, [eax + 1]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x14]
mov dword [esp + 8], edx
mov edx, dword [ebp - 0x14]
mov dword [esp + 4], edx
mov dword [esp], eax
mov eax, dword [sym.imp.USER32.dll_GetWindowTextA]
call eax
sub esp, 0xc
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x18]
mov edx, dword [ebp - 0x10]
mov dword [esp + 0x10], edx
mov edx, dword [ebp - 0x14]
mov dword [esp + 0xc], edx
mov dword [esp + 8], 0xa
mov dword [esp + 4], 0x14
mov dword [esp], eax
mov eax, dword [sym.imp.GDI32.dll_TextOutA]
call eax
sub esp, 0x14
jmp 0x40201d
mov eax, dword [ebp - 0xc]
mov edx, dword [eax + 0x14]
mov eax, dword [0x492028]
cmp edx, eax
jne 0x401ec8
mov dword [esp + 0x34], str.Arial_Black
mov dword [esp + 0x30], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], 1
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0x190
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 0x14
mov eax, dword [sym.imp.GDI32.dll_CreateFontA]
call eax
sub esp, 0x38
mov edx, eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x18]
mov dword [esp + 4], edx
mov dword [esp], eax
mov eax, dword [sym.imp.GDI32.dll_SelectObject]
call eax
sub esp, 8
mov dword [esp], 0xc0c0d
mov eax, dword [sym.imp.GDI32.dll_CreateSolidBrush]
call eax
sub esp, 4
mov ecx, eax
mov eax, dword [ebp - 0xc]
lea edx, [eax + 0x1c]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x18]
mov dword [esp + 8], ecx
mov dword [esp + 4], edx
mov dword [esp], eax
mov eax, dword [sym.imp.USER32.dll_FillRect]
call eax
sub esp, 0xc
movzx eax, byte [0x482005]
test al, al
je 0x401cd6
mov dword [esp], 0xf00a24
mov eax, dword [sym.imp.GDI32.dll_CreateSolidBrush]
call eax
sub esp, 4
mov edx, eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x18]
mov dword [esp + 4], edx
mov dword [esp], eax
mov eax, dword [sym.imp.GDI32.dll_SelectObject]
call eax
sub esp, 8
mov edx, dword [0x492030]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x18]
mov dword [esp + 4], edx
mov dword [esp], eax
mov eax, dword [sym.imp.GDI32.dll_SelectObject]
call eax
sub esp, 8
mov byte [0x482005], 0
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x10]
and eax, 1
test eax, eax
je 0x401d8c
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x18]
mov dword [esp + 4], 0xf70412
mov dword [esp], eax
mov eax, dword [sym.imp.GDI32.dll_SetTextColor]
call eax
sub esp, 8
mov dword [esp], 0xff00
mov eax, dword [sym.imp.GDI32.dll_CreateSolidBrush]
call eax
sub esp, 4
mov edx, eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x18]
mov dword [esp + 4], edx
mov dword [esp], eax
mov eax, dword [sym.imp.GDI32.dll_SelectObject]
call eax
sub esp, 8
mov dword [esp + 8], 0xff00
mov dword [esp + 4], 2
mov dword [esp], 0
mov eax, dword [sym.imp.GDI32.dll_CreatePen]
call eax
sub esp, 0xc
mov edx, eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x18]
mov dword [esp + 4], edx
mov dword [esp], eax
mov eax, dword [sym.imp.GDI32.dll_SelectObject]
call eax
sub esp, 8
jmp 0x401de1
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x18]
mov dword [esp + 4], 0xff00
mov dword [esp], eax
mov eax, dword [sym.imp.GDI32.dll_SetTextColor]
call eax
sub esp, 8
mov dword [esp + 8], 0xff00
mov dword [esp + 4], 2
mov dword [esp], 0
mov eax, dword [sym.imp.GDI32.dll_CreatePen]
call eax
sub esp, 0xc
mov edx, eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x18]
mov dword [esp + 4], edx
mov dword [esp], eax
mov eax, dword [sym.imp.GDI32.dll_SelectObject]
call eax
sub esp, 8
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x18]
mov dword [esp + 4], 1
mov dword [esp], eax
mov eax, dword [sym.imp.GDI32.dll_SetBkMode]
call eax
sub esp, 8
mov eax, dword [ebp - 0xc]
mov esi, dword [eax + 0x28]
mov eax, dword [ebp - 0xc]
mov ebx, dword [eax + 0x24]
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0x20]
mov eax, dword [ebp - 0xc]
mov edx, dword [eax + 0x1c]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x18]
mov dword [esp + 0x18], 0x1e
mov dword [esp + 0x14], 0x1e
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], ebx
mov dword [esp + 8], ecx
mov dword [esp + 4], edx
mov dword [esp], eax
mov eax, dword [sym.imp.GDI32.dll_RoundRect]
call eax
sub esp, 0x1c
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x14]
mov dword [esp], eax
mov eax, dword [sym.imp.USER32.dll_GetWindowTextLengthA]
call eax
sub esp, 4
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
add eax, 1
mov dword [esp], eax
call sym.operator_new___unsigned_int_
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x18]
lea edx, [eax + 1]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x14]
mov dword [esp + 8], edx
mov edx, dword [ebp - 0x1c]
mov dword [esp + 4], edx
mov dword [esp], eax
mov eax, dword [sym.imp.USER32.dll_GetWindowTextA]
call eax
sub esp, 0xc
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x18]
mov edx, dword [ebp - 0x18]
mov dword [esp + 0x10], edx
mov edx, dword [ebp - 0x1c]
mov dword [esp + 0xc], edx
mov dword [esp + 8], 0xa
mov dword [esp + 4], 0x14
mov dword [esp], eax
mov eax, dword [sym.imp.GDI32.dll_TextOutA]
call eax
sub esp, 0x14
jmp 0x40201d
jmp 0x40201d
lea eax, [ebp - 0x64]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
mov eax, dword [sym.imp.USER32.dll_BeginPaint]
call eax
sub esp, 8
mov dword [ebp - 0x20], eax
mov dword [esp + 4], 0xe33a07
mov eax, dword [ebp - 0x20]
mov dword [esp], eax
mov eax, dword [sym.imp.GDI32.dll_SetTextColor]
call eax
sub esp, 8
mov dword [esp + 4], 1
mov eax, dword [ebp - 0x20]
mov dword [esp], eax
mov eax, dword [sym.imp.GDI32.dll_SetBkMode]
call eax
sub esp, 8
mov dword [esp + 0x10], 0x1e
mov dword [esp + 0xc], str.Change_DNS_to_UNBLOCK_websites
mov dword [esp + 8], 0x28
mov dword [esp + 4], 0xfa
mov eax, dword [ebp - 0x20]
mov dword [esp], eax
mov eax, dword [sym.imp.GDI32.dll_TextOutA]
call eax
sub esp, 0x14
lea eax, [ebp - 0x64]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
mov eax, dword [sym.imp.USER32.dll_EndPaint]
call eax
sub esp, 8
nop
jmp 0x40201d
mov eax, dword [ebp + 0x10]
movzx eax, ax
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
cmp eax, 1
je 0x401f7f
cmp eax, 2
je 0x401fae
jmp 0x40201d
call sym.setG_dns__
mov dword [esp + 0xc], 0x41040
mov dword [esp + 8], str.DNS_CHANGED_8.8.8.8_
mov dword [esp + 4], str.GOOGLE_DNS_DONE
mov eax, dword [ebp + 8]
mov dword [esp], eax
mov eax, dword [sym.imp.USER32.dll_MessageBoxA]
call eax
sub esp, 0x10
jmp 0x401fdc
call sym.setC_dns__
mov dword [esp + 0xc], 0x41040
mov dword [esp + 8], str.DNS_CHANGED_1.1.1.1_
mov dword [esp + 4], str.CLOUDFLARE_DNS_DONE
mov eax, dword [ebp + 8]
mov dword [esp], eax
mov eax, dword [sym.imp.USER32.dll_MessageBoxA]
call eax
sub esp, 0x10
nop
jmp 0x40201d
mov dword [esp], 0
mov eax, dword [sym.imp.USER32.dll_PostQuitMessage]
call eax
sub esp, 4
mov eax, 0
jmp 0x402022
mov eax, dword [ebp + 0x14]
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 8], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
mov eax, dword [sym.imp.USER32.dll_DefWindowProcA]
call eax
sub esp, 0x10
jmp 0x402022
mov eax, 0
lea esp, [ebp - 8]
pop ebx
pop esi
pop ebp
ret 0x10