Function at 0x45e650
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x824
push ebx
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 8]
push esi
xor esi, esi
push edi
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], esi
test al, 0x40
je 0x45e680
mov esi, 1
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], esi
mov edi, dword [ebp + 0xc]
test al, 8
je 0x45e6b9
push 0x400
lea eax, [esp + 0x2c]
push eax
push edi
call dword [sym.imp.USER32.dll_GetClassNameW]
mov eax, dword [ebx + 0xc4]
lea ecx, [esp + 0x28]
push ecx
push eax
call fcn.004148f4
add esp, 8
test eax, eax
jne 0x45e6b5
inc esi
mov dword [esp + 0x10], esi
inc dword [esp + 0xc]
test byte [ebx + 8], 1
je 0x45e78e
push 0x400
lea edx, [esp + 0x2c]
push edx
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
cmp byte [ebx + 0xc], 0
jne 0x45e6f3
lea eax, [esp + 0x28]
push eax
call fcn.004127e5
add esp, 4
push eax
lea ecx, [esp + 0x2c]
push ecx
call dword [sym.imp.USER32.dll_CharUpperBuffW]
mov eax, dword [ebx + 0x10]
sub eax, 1
mov dword [esp + 0x24], esi
je 0x45e737
sub eax, 1
je 0x45e720
sub eax, 1
jne 0x45e755
mov eax, dword [ebx + 0x14]
push eax
lea edx, [esp + 0x2c]
push edx
call fcn.004148f4
add esp, 8
test eax, eax
jne 0x45e755
jmp 0x45e750
mov eax, dword [ebx + 0x14]
push eax
lea eax, [esp + 0x2c]
push eax
call fcn.00414c72
add esp, 8
test eax, eax
je 0x45e755
jmp 0x45e750
mov eax, dword [ebx + 0x18]
mov ecx, dword [ebx + 0x14]
push eax
lea edx, [esp + 0x2c]
push edx
push ecx
call fcn.00414a13
add esp, 0xc
test eax, eax
jne 0x45e755
inc esi
mov dword [esp + 0x10], esi
test byte [ebx + 8], 0x18
jne 0x45e78a
push 0x400
lea eax, [esp + 0x2c]
push eax
push edi
call dword [sym.imp.USER32.dll_GetClassNameW]
lea ecx, [esp + 0x28]
push ecx
push str.ThumbnailClass
call fcn.004148f4
add esp, 8
test eax, eax
jne 0x45e78a
mov esi, dword [esp + 0x24]
mov dword [esp + 0x10], esi
inc dword [esp + 0xc]
test byte [ebx + 8], 2
je 0x45e80a
push 0x400
lea eax, [esp + 0x2c]
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea edi, [esp + 0x28]
lea esi, [esp + 0x14]
call fcn.00401640
lea ecx, [esp + 0x14]
push ecx
lea esi, [ebx + 0x34]
push esi
call fcn.0045e4c8
lea ecx, [esp + 0x14]
call fcn.00402130
push esi
call fcn.0044e86f
test al, al
je 0x45e7ff
test byte [ebx + 8], 0x18
jne 0x45e7fb
mov eax, dword [ebp + 0xc]
push 0x400
push edi
push eax
call dword [sym.imp.USER32.dll_GetClassNameW]
push edi
push str.ThumbnailClass
call fcn.004148f4
add esp, 8
test eax, eax
je 0x45e7ff
inc dword [esp + 0x10]
inc dword [esp + 0xc]
mov esi, dword [esp + 0x10]
mov edi, dword [ebp + 0xc]
test byte [ebx + 8], 0x10
je 0x45e85e
push 0x400
lea edx, [esp + 0x2c]
push edx
push edi
call dword [sym.imp.USER32.dll_GetClassNameW]
lea edi, [esp + 0x28]
lea esi, [esp + 0x14]
call fcn.00401640
lea eax, [esp + 0x14]
push eax
lea esi, [ebx + 0x7c]
push esi
call fcn.0045e4c8
lea ecx, [esp + 0x14]
call fcn.00402130
push esi
call fcn.0044e86f
test al, al
je 0x45e853
inc dword [esp + 0x10]
inc dword [esp + 0xc]
mov esi, dword [esp + 0x10]
mov edi, dword [ebp + 0xc]
test byte [ebx + 8], 4
je 0x45e87a
cmp esi, dword [esp + 0xc]
jne 0x45e876
push edi
push ebx
call fcn.0044792a
test al, al
je 0x45e876
inc esi
inc dword [esp + 0xc]
mov eax, dword [ebx + 8]
test eax, 0x780
je 0x45e8f4
lea ecx, [esp + 0x14]
push ecx
push edi
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebx + 8]
mov edx, dword [esp + 0x14]
test al, al
jns 0x45e8a8
cmp dword [ebx + 0xdc], edx
jne 0x45e8a4
inc esi
inc dword [esp + 0xc]
mov ecx, dword [esp + 0x18]
test eax, 0x100
je 0x45e8c0
cmp dword [ebx + 0xe0], ecx
jne 0x45e8bc
inc esi
inc dword [esp + 0xc]
test eax, 0x200
je 0x45e8da
mov edi, dword [esp + 0x1c]
sub edi, edx
cmp dword [ebx + 0xe4], edi
jne 0x45e8d6
inc esi
inc dword [esp + 0xc]
test eax, 0x400
je 0x45e8f4
mov edx, dword [esp + 0x20]
sub edx, ecx
cmp dword [ebx + 0xe8], edx
jne 0x45e8f0
inc esi
inc dword [esp + 0xc]
mov ecx, dword [esp + 0xc]
test al, 0x20
je 0x45e916
cmp esi, ecx
jne 0x45e915
inc dword [ebx + 0xd8]
mov eax, dword [ebx + 0xd8]
cmp eax, dword [ebx + 0xd4]
jne 0x45e915
inc esi
inc ecx
cmp esi, ecx
jne 0x45e941
lea eax, [ebp + 0xc]
push eax
lea ecx, [ebx + 0xf4]
push ecx
call fcn.0043a68c
inc dword [ebx + 0xec]
xor eax, eax
cmp byte [ebx + 4], al
sete al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 8