Function at 0x403ffd
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x81c
and dword [ebp - 4], 0
and dword [ebp - 8], 0
cmp byte [ebx + 0xb], 0
je 0x40401d
xor eax, eax
inc eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], eax
cmp byte [ebx + 9], 0
push esi
mov esi, 0x400
je 0x404056
push esi
lea eax, [ebp - 0x81c]
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetClassNameW]
mov eax, dword [ebx + 0x58]
lea ecx, [ebp - 0x81c]
push ecx
push eax
call fcn.0044ef27
test eax, eax
pop ecx
pop ecx
jne 0x404053
inc dword [ebp - 4]
inc dword [ebp - 8]
cmp byte [ebx + 6], 0
push edi
mov edi, dword [sym.imp.USER32.dll_GetWindowTextW]
je 0x404126
push esi
lea eax, [ebp - 0x81c]
push eax
push dword [ebp + 8]
call edi
cmp byte [ebx + 0xc], 0
jne 0x404095
lea eax, [ebp - 0x81c]
push eax
call fcn.0044f00e
pop ecx
push eax
lea eax, [ebp - 0x81c]
push eax
call dword [sym.imp.USER32.dll_CharUpperBuffW]
mov eax, dword [ebp - 4]
mov dword [ebp - 0xc], eax
mov eax, dword [ebx + 0x10]
dec eax
je 0x4040d1
dec eax
je 0x4040ba
dec eax
jne 0x4040ef
push dword [ebx + 0x14]
lea eax, [ebp - 0x81c]
push eax
call fcn.0044ef27
pop ecx
pop ecx
jmp 0x4040e8
push dword [ebx + 0x14]
lea eax, [ebp - 0x81c]
push eax
call fcn.0044f286
test eax, eax
pop ecx
pop ecx
je 0x4040ef
jmp 0x4040ec
mov eax, dword [ebx + 0x18]
mov ecx, dword [ebx + 0x14]
push eax
lea eax, [ebp - 0x81c]
push eax
push ecx
call fcn.0044f024
add esp, 0xc
test eax, eax
jne 0x4040ef
inc dword [ebp - 4]
cmp byte [ebx + 9], 0
jne 0x404123
push esi
lea eax, [ebp - 0x81c]
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetClassNameW]
lea eax, [ebp - 0x81c]
push eax
push str.ThumbnailClass
call fcn.0044ef27
test eax, eax
pop ecx
pop ecx
jne 0x404123
mov eax, dword [ebp - 0xc]
mov dword [ebp - 4], eax
inc dword [ebp - 8]
cmp byte [ebx + 7], 0
je 0x4041c9
push esi
lea eax, [ebp - 0x81c]
push eax
push dword [ebp + 8]
call edi
lea eax, [ebp - 0x81c]
push eax
lea esi, [ebp - 0x18]
call fcn.0040e30a
lea esi, [ebx + 0x2c]
lea edi, [ebp - 0x18]
call fcn.00405be9
push dword [ebp - 0x18]
call fcn.0044e722
mov eax, dword [esi + 8]
xor edi, edi
cmp eax, edi
pop ecx
je 0x4041c6
mov ecx, dword [esi]
cmp ecx, edi
je 0x4041c6
push dword [esi + 0x14]
push dword [esi + 0x10]
push dword [esi + 0x28]
push edi
push dword [esi + 0xc]
push ecx
push edi
push eax
call fcn.0044d99c
add esp, 0x20
cmp eax, edi
mov dword [esi + 0x18], eax
jle 0x4041c6
mov dword [esi + 0x18], edi
cmp byte [ebx + 9], 0
jne 0x4041c3
push 0x400
lea eax, [ebp - 0x81c]
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetClassNameW]
lea eax, [ebp - 0x81c]
push eax
push str.ThumbnailClass
call fcn.0044ef27
test eax, eax
pop ecx
pop ecx
je 0x4041c6
inc dword [ebp - 4]
inc dword [ebp - 8]
cmp byte [ebx + 8], 0
pop edi
je 0x4041ec
mov eax, dword [ebp - 8]
cmp dword [ebp - 4], eax
jne 0x4041e9
push dword [ebp + 8]
mov esi, ebx
call fcn.00404234
test al, al
je 0x4041e9
inc dword [ebp - 4]
inc dword [ebp - 8]
cmp byte [ebx + 0xa], 0
je 0x40420b
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 8]
jne 0x404208
inc dword [ebx + 0x68]
mov eax, dword [ebx + 0x68]
cmp eax, dword [ebx + 0x64]
jne 0x404208
inc dword [ebp - 4]
inc dword [ebp - 8]
mov eax, dword [ebp - 8]
cmp dword [ebp - 4], eax
jne 0x40422c
lea eax, [ebp + 8]
push eax
lea esi, [ebx + 0x78]
call fcn.00427c0d
inc dword [ebx + 0x6c]
xor eax, eax
cmp byte [ebx + 4], al
sete al
jmp 0x40422f
xor eax, eax
inc eax
pop esi
leave
ret 4