Function at 0x2108cced
Capabilities:
Get graphical window text

Disassembly:
enter 0x1c, 0
mov byte [ebp - 0xa], 0x30
mov byte [ebp - 9], 0
mov byte [ebp - 0x11], 0
push 0xb
lea eax, [ebp - 0x1b]
push eax
push dword [ebp + 8]
call sub.USER32.DLL_GetWindowTextA
mov dword [ebp - 4], eax
dec dword [ebp - 4]
cmp byte [ebp - 0x1b], 0
jne 0x2108cd41
push 0x30
push 0x2108803a
push 0x21088028
push dword [0x401004]
call sub.USER32.DLL_MessageBoxA
mov dword [0x4010d8], 1
jmp 0x2108d0ce
push 0x21088040
lea eax, [ebp - 0x1b]
push eax
call sub.SHELL32.DLL_StrStrA
or eax, eax
je 0x2108cdd0
lea ebx, [ebp - 0x1b]
add ebx, dword [ebp - 4]
lea edx, [ebp - 0x1b]
cmp eax, edx
je 0x2108cd70
cmp eax, ebx
jne 0x2108cd96
push 0x30
push 0x2108803a
push 0x21088028
push dword [0x401004]
call sub.USER32.DLL_MessageBoxA
mov dword [0x4010d8], 1
jmp 0x2108d0ce
inc eax
push 0x21088040
push eax
call sub.SHELL32.DLL_StrStrA
or eax, eax
je 0x2108cdd0
push 0x30
push 0x2108803a
push 0x21088028
push dword [0x401004]
call sub.USER32.DLL_MessageBoxA
mov dword [0x4010d8], 1
jmp 0x2108d0ce
push 0x21088043
lea eax, [ebp - 0x1b]
push eax
call sub.SHELL32.DLL_StrStrA
or eax, eax
je 0x2108ce51
lea ebx, [ebp - 0x1b]
cmp eax, ebx
je 0x2108ce17
push 0x30
push 0x2108803a
push 0x21088028
push dword [0x401004]
call sub.USER32.DLL_MessageBoxA
mov dword [0x4010d8], 1
jmp 0x2108d0ce
inc eax
push 0x21088043
push eax
call sub.SHELL32.DLL_StrStrA
or eax, eax
je 0x2108ce51
push 0x30
push 0x2108803a
push 0x21088028
push dword [0x401004]
call sub.USER32.DLL_MessageBoxA
mov dword [0x4010d8], 1
jmp 0x2108d0ce
push 0x21088040
lea eax, [ebp - 0x1b]
push eax
call sub.SHELL32.DLL_StrStrA
mov ebx, eax
push 0x21088043
lea eax, [ebp - 0x1b]
push eax
call sub.SHELL32.DLL_StrStrA
or eax, eax
jne 0x2108cebd
or ebx, ebx
jne 0x2108cebd
lea eax, [ebp - 0xa]
push eax
lea eax, [ebp - 0x1b]
push eax
call sub.SHELL32.DLL_StrStrA
lea ebx, [ebp - 0x1b]
cmp eax, ebx
jne 0x2108cebd
push 0x30
push 0x2108803a
push 0x21088028
push dword [0x401004]
call sub.USER32.DLL_MessageBoxA
mov dword [0x4010d8], 1
jmp 0x2108d0ce
push 0x21088040
lea eax, [ebp - 0x1b]
push eax
call sub.SHELL32.DLL_StrStrA
mov ebx, eax
push 0x21088043
lea eax, [ebp - 0x1b]
push eax
call sub.SHELL32.DLL_StrStrA
or eax, eax
je 0x2108cf29
or ebx, ebx
jne 0x2108cf29
lea eax, [ebp - 0xa]
push eax
lea eax, [ebp - 0x1b]
push eax
call sub.SHELL32.DLL_StrStrA
lea ebx, [ebp - 0x1a]
cmp eax, ebx
jne 0x2108cf29
push 0x30
push 0x2108803a
push 0x21088028
push dword [0x401004]
call sub.USER32.DLL_MessageBoxA
mov dword [0x4010d8], 1
jmp 0x2108d0ce
push 0x21088040
lea eax, [ebp - 0x1b]
push eax
call sub.SHELL32.DLL_StrStrA
mov ebx, eax
push 0x21088043
lea eax, [ebp - 0x1b]
push eax
call sub.SHELL32.DLL_StrStrA
or eax, eax
jne 0x2108cff2
or ebx, ebx
je 0x2108cff2
lea eax, [ebp - 0xa]
push eax
lea eax, [ebp - 0x1b]
push eax
call sub.SHELL32.DLL_StrStrA
mov ebx, eax
push 0x21088040
lea eax, [ebp - 0x1b]
push eax
call sub.SHELL32.DLL_StrStrA
lea edx, [ebp - 0x1a]
mov dword [ebp - 8], edx
lea edx, [ebp - 0x1b]
cmp ebx, edx
jne 0x2108cfb4
cmp eax, dword [ebp - 8]
je 0x2108cfb4
push 0x30
push 0x2108803a
push 0x21088028
push dword [0x401004]
call sub.USER32.DLL_MessageBoxA
mov dword [0x4010d8], 1
jmp 0x2108d0ce
lea ebx, [ebp - 0x1b]
add ebx, dword [ebp - 4]
lea eax, [ebp - 0xa]
push eax
push ebx
call sub.SHELL32.DLL_StrStrA
or eax, eax
je 0x2108cff2
push 0x30
push 0x2108803a
push 0x21088028
push dword [0x401004]
call sub.USER32.DLL_MessageBoxA
mov dword [0x4010d8], 1
jmp 0x2108d0ce
push 0x21088040
lea eax, [ebp - 0x1b]
push eax
call sub.SHELL32.DLL_StrStrA
mov ebx, eax
push 0x21088043
lea eax, [ebp - 0x1b]
push eax
call sub.SHELL32.DLL_StrStrA
or eax, eax
je 0x2108d0bf
or ebx, ebx
je 0x2108d0bf
lea eax, [ebp - 0xa]
push eax
lea eax, [ebp - 0x1b]
push eax
call sub.SHELL32.DLL_StrStrA
mov ebx, eax
push 0x21088040
lea eax, [ebp - 0x1b]
push eax
call sub.SHELL32.DLL_StrStrA
lea edx, [ebp - 0x19]
mov dword [ebp - 8], edx
lea edx, [ebp - 0x1a]
mov dword [ebp - 0x10], edx
cmp ebx, dword [ebp - 0x10]
jne 0x2108d081
cmp eax, dword [ebp - 8]
je 0x2108d081
push 0x30
push 0x2108803a
push 0x21088028
push dword [0x401004]
call sub.USER32.DLL_MessageBoxA
mov dword [0x4010d8], 1
jmp 0x2108d0ce
lea ebx, [ebp - 0x1b]
add ebx, dword [ebp - 4]
lea eax, [ebp - 0xa]
push eax
push ebx
call sub.SHELL32.DLL_StrStrA
or eax, eax
je 0x2108d0bf
push 0x30
push 0x2108803a
push 0x21088028
push dword [0x401004]
call sub.USER32.DLL_MessageBoxA
mov dword [0x4010d8], 1
jmp 0x2108d0ce
mov dword [0x4010d8], 2
jmp 0x2108d0ce
leave
ret 4