Function at 0x10011e4b
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
mov eax, dword [0x1002f060]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov ebx, ecx
push 1
mov dword [ebp - 0x224], ebx
call dword [sym.imp.USER32.dll_BeginDeferWindowPos]
mov dword [ebp - 0x21c], eax
test eax, eax
jne 0x10011e82
xor al, al
jmp 0x100121d0
and dword [ebp - 0x228], 0
cmp dword [0x1002feb0], 0
je 0x1001213e
mov edi, dword [ebp - 0x224]
mov esi, 0x1002feb0
movzx eax, word [esi + 0xa]
movsx ecx, ax
cmp ecx, dword [ebp + 8]
je 0x10011f48
test ax, ax
je 0x10011f48
and dword [ebp - 0x234], 0
and dword [ebp - 0x230], 0
push dword [esi]
push ebx
call dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [ebp - 0x220], eax
test eax, eax
je 0x10012120
lea ecx, [ebp - 0x210]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
test eax, eax
je 0x10011fd6
mov eax, dword [ebp - 0x210]
mov dword [ebp - 0x23c], eax
mov eax, dword [ebp - 0x20c]
mov dword [ebp - 0x238], eax
lea eax, [ebp - 0x23c]
push eax
push ebx
call dword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je 0x10011fd6
mov ebx, dword [ebp - 0x230]
xor edi, edi
cmp ebx, edi
je 0x10011f66
movzx edx, byte [esi + 4]
neg edx
sbb edx, edx
and edx, dword [ebp + 0xc]
add edx, dword [ebp - 0x238]
mov dword [ebp - 0x218], edx
jmp 0x10011f6e
xor eax, eax
inc eax
cmp byte [esi + 8], 0
mov dword [ebp - 0x234], eax
je 0x10011ec1
mov dword [ebp - 0x230], eax
jmp 0x10011ec8
mov dword [ebp - 0x218], edi
mov edx, edi
cmp ebx, edi
je 0x10011f8b
movzx ecx, byte [esi + 5]
neg ecx
sbb ecx, ecx
and ecx, dword [ebp + 0x10]
add ecx, dword [ebp - 0x23c]
mov dword [ebp - 0x214], ecx
jmp 0x10011f93
mov dword [ebp - 0x214], edi
mov ecx, edi
cmp ebx, edi
je 0x10011fab
mov eax, dword [ebp - 0x204]
sub eax, dword [ebp - 0x20c]
mov dword [ebp - 0x22c], eax
jmp 0x10011fb1
mov dword [ebp - 0x22c], edi
cmp ebx, edi
je 0x10011fcc
movzx edi, byte [esi + 7]
neg edi
sbb edi, edi
and edi, dword [ebp + 0x14]
sub edi, dword [ebp - 0x210]
add edi, dword [ebp - 0x208]
test ebx, ebx
je 0x10011fe2
mov byte [esi + 8], 0
jmp 0x10011fe2
mov edx, dword [ebp - 0x218]
mov ecx, dword [ebp - 0x214]
cmp dword [ebp - 0x234], 0
je 0x10011ff6
cmp byte [esi + 9], 0
jne 0x10011ff6
push 0x40
pop eax
jmp 0x10011ffb
mov eax, 0x80
or eax, 0x14
cmp dword [ebp - 0x230], 0
mov ebx, eax
je 0x100120d7
push 0x1f3
lea eax, [ebp - 0x200]
push eax
push dword [ebp - 0x220]
call dword [sym.imp.USER32.dll_GetWindowTextA]
test eax, eax
jle 0x100120cb
push 0x10029ed4
lea eax, [ebp - 0x200]
push str.PRODUCT_NAME
push eax
call fcn.10011d9b
push str.products
mov esi, eax
lea eax, [ebp - 0x200]
push str.PRODUCT_DESCRIPTION
push eax
call fcn.10011d9b
add esp, 0x18
test eax, eax
je 0x10012065
xor esi, esi
inc esi
push str.Ask.com
lea eax, [ebp - 0x200]
push str.HOMEPAGE_DESCRIPTION
push eax
call fcn.10011d9b
add esp, 0xc
test eax, eax
je 0x10012085
xor esi, esi
inc esi
call fcn.10003c7a
test eax, eax
mov eax, str.Internet_Explorer
jne 0x10012098
mov eax, str.Firefox
push eax
lea eax, [ebp - 0x200]
push str.BROWSER_DESCRIPTION
push eax
call fcn.10011d9b
add esp, 0xc
test eax, eax
je 0x100120b4
xor esi, esi
inc esi
test esi, esi
je 0x100120cb
lea eax, [ebp - 0x200]
push eax
push dword [ebp - 0x220]
call dword [sym.imp.USER32.dll_SetWindowTextA]
mov edx, dword [ebp - 0x218]
mov ecx, dword [ebp - 0x214]
cmp dword [ebp - 0x22c], 0
jne 0x100120e7
test edi, edi
jne 0x100120e7
or ebx, 1
test edx, edx
jne 0x100120f2
test ecx, ecx
jne 0x100120f2
or ebx, 2
push ebx
push dword [ebp - 0x22c]
push edi
push edx
push ecx
push 0
push dword [ebp - 0x220]
push dword [ebp - 0x21c]
call dword [sym.imp.USER32.dll_DeferWindowPos]
mov ebx, dword [ebp - 0x224]
mov dword [ebp - 0x21c], eax
test eax, eax
je 0x10012153
inc dword [ebp - 0x228]
mov esi, dword [ebp - 0x228]
imul esi, esi, 0xc
lea esi, [esi + 0x1002feb0]
cmp dword [esi], 0
jne 0x10011ea1
cmp dword [ebp - 0x21c], 0
je 0x10012153
push dword [ebp - 0x21c]
call dword [sym.imp.USER32.dll_EndDeferWindowPos]
call fcn.10003c7a
test eax, eax
je 0x100121ce
call fcn.100174b0
call fcn.10017660
test eax, eax
je 0x100121c9
call fcn.100176a0
test eax, eax
je 0x100121c9
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x72
push ebx
call esi
test eax, eax
je 0x10012189
mov ecx, eax
call fcn.100176b0
push 0x78
push ebx
call esi
test eax, eax
je 0x10012199
mov ecx, eax
call fcn.100176b0
push 0x70
push ebx
call esi
test eax, eax
je 0x100121a9
mov ecx, eax
call fcn.100176b0
push 0x71
push ebx
call esi
test eax, eax
je 0x100121b9
mov ecx, eax
call fcn.100176b0
push 0x7d
push ebx
call esi
test eax, eax
je 0x100121c9
mov ecx, eax
call fcn.100176b0
call fcn.10017620
mov al, 1
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10017a76
leave
ret