Function at 0x21094b51
Capabilities:
Get graphical window text

Disassembly:
enter 0x24, 0
push 0x1e
push dword [0x33b0a54]
call fcn.2108edfa
mov dword [ebp - 0x1c], eax
push 0x2c
push dword [0x33b0a54]
call fcn.2108edfa
mov dword [ebp - 0x20], eax
push 0x1f
push dword [0x33b0a54]
call fcn.2108edfa
mov dword [ebp - 0x24], eax
mov byte [ebp - 0xa], 0x2e
mov byte [ebp - 9], 0
mov byte [ebp - 0xc], 0x2d
mov byte [ebp - 0xb], 0
mov byte [ebp - 0xd], 0
cmp dword [ebp + 0xc], 1
jne 0x21094ce6
push 0xb
lea eax, [ebp - 0x17]
push eax
push dword [ebp + 8]
call sub.USER32.DLL_GetWindowTextA
lea eax, [ebp - 0xa]
push eax
lea eax, [ebp - 0x17]
push eax
call sub.SHELL32.DLL_StrStrA
or eax, eax
jne 0x21094c7d
lea eax, [ebp - 0x17]
push eax
call fcn.21097e95
mov dword [ebp - 4], eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x17]
push eax
call sub.SHELL32.DLL_StrStrA
or eax, eax
jne 0x21094c35
cmp dword [ebp - 4], 0xff
jg 0x21094bfb
mov dword [ebp - 8], 1
cmp dword [ebp - 4], 0xff
jle 0x21094c1c
cmp dword [ebp - 4], 0xffff
jg 0x21094c1c
mov dword [ebp - 8], 2
cmp dword [ebp - 4], 0xffff
jle 0x21094c30
mov dword [ebp - 8], 3
jmp 0x21094c78
mov eax, 0xffffff01
mov ebx, 0xffff0001
cmp dword [ebp - 4], eax
jl 0x21094c4f
mov dword [ebp - 8], 1
cmp dword [ebp - 4], eax
jge 0x21094c68
cmp dword [ebp - 4], ebx
jl 0x21094c68
mov dword [ebp - 8], 2
cmp dword [ebp - 4], ebx
jge 0x21094c78
mov dword [ebp - 8], 3
jmp 0x21094c84
mov dword [ebp - 8], 4
mov eax, dword [ebp - 0x1c]
cmp dword [ebp - 8], eax
jle 0x21094ce6
push 0x20
push 0x2108845a
push 0x210885e2
push dword [0x33b02a0]
call sub.USER32.DLL_MessageBoxA
mov dword [ebp - 0x20], 1
mov eax, dword [ebp - 0x1c]
push eax
push 0x1e
push dword [0x33b0a54]
call fcn.2108e740
mov eax, dword [ebp - 0x20]
push eax
push 0x2c
push dword [0x33b0a54]
call fcn.2108e740
mov eax, dword [ebp - 0x24]
push eax
push 0x1f
push dword [0x33b0a54]
call fcn.2108e740
jmp 0x21094e72
cmp dword [ebp + 0xc], 2
jne 0x21094e33
push 0xb
lea eax, [ebp - 0x17]
push eax
push dword [ebp + 8]
call sub.USER32.DLL_GetWindowTextA
lea eax, [ebp - 0xa]
push eax
lea eax, [ebp - 0x17]
push eax
call sub.SHELL32.DLL_StrStrA
or eax, eax
jne 0x21094dca
lea eax, [ebp - 0x17]
push eax
call fcn.21097e95
mov dword [ebp - 4], eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x17]
push eax
call sub.SHELL32.DLL_StrStrA
or eax, eax
jne 0x21094d82
cmp dword [ebp - 4], 0xff
jg 0x21094d48
mov dword [ebp - 8], 1
cmp dword [ebp - 4], 0xff
jle 0x21094d69
cmp dword [ebp - 4], 0xffff
jg 0x21094d69
mov dword [ebp - 8], 2
cmp dword [ebp - 4], 0xffff
jle 0x21094d7d
mov dword [ebp - 8], 3
jmp 0x21094dc5
mov eax, 0xffffff01
mov ebx, 0xffff0001
cmp dword [ebp - 4], eax
jl 0x21094d9c
mov dword [ebp - 8], 1
cmp dword [ebp - 4], eax
jge 0x21094db5
cmp dword [ebp - 4], ebx
jl 0x21094db5
mov dword [ebp - 8], 2
cmp dword [ebp - 4], ebx
jge 0x21094dc5
mov dword [ebp - 8], 3
jmp 0x21094dd1
mov dword [ebp - 8], 4
mov eax, dword [ebp - 0x24]
cmp dword [ebp - 8], eax
jle 0x21094e33
push 0x20
push 0x2108845a
push 0x21088610
push dword [0x33b02a0]
call sub.USER32.DLL_MessageBoxA
mov dword [ebp - 0x20], 1
mov eax, dword [ebp - 0x1c]
push eax
push 0x1e
push dword [0x33b0a54]
call fcn.2108e740
mov eax, dword [ebp - 0x20]
push eax
push 0x2c
push dword [0x33b0a54]
call fcn.2108e740
mov eax, dword [ebp - 0x24]
push eax
push 0x1f
push dword [0x33b0a54]
call fcn.2108e740
jmp 0x21094e72
mov dword [ebp - 0x20], 2
mov eax, dword [ebp - 0x1c]
push eax
push 0x1e
push dword [0x33b0a54]
call fcn.2108e740
mov eax, dword [ebp - 0x20]
push eax
push 0x2c
push dword [0x33b0a54]
call fcn.2108e740
mov eax, dword [ebp - 0x24]
push eax
push 0x1f
push dword [0x33b0a54]
call fcn.2108e740
jmp 0x21094e72
leave
ret 8