Function at 0x2108cce3
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 0x2108cd37
push 0x30
push 0x2108803a
push 0x21088028
push dword [0x401004]
call sub.USER32.DLL_MessageBoxA
mov dword [0x4010d8], 1
jmp 0x2108d0c4
push 0x21088040
lea eax, [ebp - 0x1b]
push eax
call sub.SHELL32.DLL_StrStrA
or eax, eax
je 0x2108cdc6
lea ebx, [ebp - 0x1b]
add ebx, dword [ebp - 4]
lea edx, [ebp - 0x1b]
cmp eax, edx
je 0x2108cd66
cmp eax, ebx
jne 0x2108cd8c
push 0x30
push 0x2108803a
push 0x21088028
push dword [0x401004]
call sub.USER32.DLL_MessageBoxA
mov dword [0x4010d8], 1
jmp 0x2108d0c4
inc eax
push 0x21088040
push eax
call sub.SHELL32.DLL_StrStrA
or eax, eax
je 0x2108cdc6
push 0x30
push 0x2108803a
push 0x21088028
push dword [0x401004]
call sub.USER32.DLL_MessageBoxA
mov dword [0x4010d8], 1
jmp 0x2108d0c4
push 0x21088043
lea eax, [ebp - 0x1b]
push eax
call sub.SHELL32.DLL_StrStrA
or eax, eax
je 0x2108ce47
lea ebx, [ebp - 0x1b]
cmp eax, ebx
je 0x2108ce0d
push 0x30
push 0x2108803a
push 0x21088028
push dword [0x401004]
call sub.USER32.DLL_MessageBoxA
mov dword [0x4010d8], 1
jmp 0x2108d0c4
inc eax
push 0x21088043
push eax
call sub.SHELL32.DLL_StrStrA
or eax, eax
je 0x2108ce47
push 0x30
push 0x2108803a
push 0x21088028
push dword [0x401004]
call sub.USER32.DLL_MessageBoxA
mov dword [0x4010d8], 1
jmp 0x2108d0c4
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 0x2108ceb3
or ebx, ebx
jne 0x2108ceb3
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 0x2108ceb3
push 0x30
push 0x2108803a
push 0x21088028
push dword [0x401004]
call sub.USER32.DLL_MessageBoxA
mov dword [0x4010d8], 1
jmp 0x2108d0c4
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 0x2108cf1f
or ebx, ebx
jne 0x2108cf1f
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 0x2108cf1f
push 0x30
push 0x2108803a
push 0x21088028
push dword [0x401004]
call sub.USER32.DLL_MessageBoxA
mov dword [0x4010d8], 1
jmp 0x2108d0c4
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 0x2108cfe8
or ebx, ebx
je 0x2108cfe8
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 0x2108cfaa
cmp eax, dword [ebp - 8]
je 0x2108cfaa
push 0x30
push 0x2108803a
push 0x21088028
push dword [0x401004]
call sub.USER32.DLL_MessageBoxA
mov dword [0x4010d8], 1
jmp 0x2108d0c4
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 0x2108cfe8
push 0x30
push 0x2108803a
push 0x21088028
push dword [0x401004]
call sub.USER32.DLL_MessageBoxA
mov dword [0x4010d8], 1
jmp 0x2108d0c4
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 0x2108d0b5
or ebx, ebx
je 0x2108d0b5
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 0x2108d077
cmp eax, dword [ebp - 8]
je 0x2108d077
push 0x30
push 0x2108803a
push 0x21088028
push dword [0x401004]
call sub.USER32.DLL_MessageBoxA
mov dword [0x4010d8], 1
jmp 0x2108d0c4
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 0x2108d0b5
push 0x30
push 0x2108803a
push 0x21088028
push dword [0x401004]
call sub.USER32.DLL_MessageBoxA
mov dword [0x4010d8], 1
jmp 0x2108d0c4
mov dword [0x4010d8], 2
jmp 0x2108d0c4
leave
ret 4