Function at 0x46044c
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffb98
push ebx
push esi
push edi
mov ebx, ecx
mov edi, edx
mov dword [ebp - 4], eax
push ebx
push 4
push 0x110a
mov eax, dword [ebp - 4]
push dword [eax]
call sub.USER32.DLL_SendMessageA
mov dword [ebp - 8], eax
xor edx, edx
mov dword [ebp - 0xc], edx
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 8], 0
je 0x46064f
mov byte [ebp - 0x418], 0
mov dword [ebp - 0x440], 0xd
mov edx, dword [ebp - 8]
lea ecx, [ebp - 0x418]
mov dword [ebp - 0x43c], edx
mov dword [ebp - 0x430], ecx
mov dword [ebp - 0x42c], 0x400
lea eax, [ebp - 0x440]
push eax
push 0
push 0x110c
mov edx, dword [ebp - 4]
push dword [edx]
call sub.USER32.DLL_SendMessageA
mov ebx, dword [ebp - 0x41c]
mov eax, dword [ebp + 0xc]
mov esi, dword [eax]
mov al, 1
test ebx, ebx
je 0x4604fb
lea edx, [ebp - 0x418]
push edx
push dword [ebx + 8]
call sub.SHELL32.DLL_SHGetPathFromIDListA
test eax, eax
setne al
and eax, 1
test al, al
je 0x46057e
test ebx, ebx
je 0x460507
mov edx, esi
jmp 0x460509
xor edx, edx
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x14]
mov bl, byte [ebp + eax - 0x418]
mov al, byte [edi + esi]
mov byte [ebp - 0x15], al
mov eax, ebx
call fcn.0040f294
push eax
mov al, byte [ebp - 0x15]
call fcn.0040f294
pop edx
cmp edx, eax
je 0x46054a
cmp byte [ebp - 0x15], 0
je 0x46057e
xor ecx, ecx
mov cl, byte [ebp - 0x15]
cmp ecx, 0x5c
jne 0x460545
test bl, bl
je 0x46057e
mov esi, dword [ebp - 0x10]
jmp 0x46057e
test bl, bl
je 0x46057e
cmp byte [ebp - 0x15], 0
je 0x46057e
xor eax, eax
mov al, bl
cmp eax, 0x5c
jne 0x460578
mov al, byte [ebp + esi - 0x417]
call fcn.0040f294
mov ebx, eax
mov al, byte [edi + esi + 1]
call fcn.0040f294
cmp ebx, eax
jne 0x46057e
inc esi
inc dword [ebp - 0x14]
jmp 0x46050c
mov edx, dword [ebp + 0xc]
cmp esi, dword [edx]
jle 0x460592
mov ecx, dword [ebp + 0xc]
mov dword [ecx], esi
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
jmp 0x4605af
test byte [ebp - 0x438], 0x20
je 0x4605af
push dword [ebp - 8]
push 1
push 0x1102
mov edx, dword [ebp - 4]
push dword [edx]
call sub.USER32.DLL_SendMessageA
test esi, esi
jle 0x46062e
cmp byte [edi + esi], 0
je 0x4605ca
xor ecx, ecx
mov cl, byte [edi + esi]
cmp ecx, 0x5c
jne 0x46062e
cmp byte [edi + esi + 1], 0
jne 0x46062e
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x46064f
mov dword [ebp - 0x468], 8
mov dword [ebp - 0x464], ebx
lea eax, [ebp - 0x468]
push eax
push 0
push 0x110c
mov edx, dword [ebp - 4]
push dword [edx]
call sub.USER32.DLL_SendMessageA
test byte [ebp - 0x460], 0x20
je 0x460614
push ebx
push 1
push 0x1102
mov ecx, dword [ebp - 4]
push dword [ecx]
call sub.USER32.DLL_SendMessageA
push ebx
push 1
push 0x110a
mov eax, dword [ebp - 4]
push dword [eax]
call sub.USER32.DLL_SendMessageA
mov ebx, eax
test ebx, ebx
jne 0x4605d1
jmp 0x46064f
push dword [ebp - 8]
push 1
push 0x110a
mov edx, dword [ebp - 4]
push dword [edx]
call sub.USER32.DLL_SendMessageA
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x46048b
cmp dword [ebp - 0xc], 0
je 0x4606d2
push dword [ebp - 0xc]
push 2
push 0x1102
mov ecx, dword [ebp - 4]
push dword [ecx]
call sub.USER32.DLL_SendMessageA
mov ebx, dword [ebp - 0xc]
push ebx
mov eax, 9
cmp byte [ebp + 8], 0
jne 0x46067b
add eax, 0xfffffffc
push eax
push 0x110b
mov edx, dword [ebp - 4]
push dword [edx]
call sub.USER32.DLL_SendMessageA
push ebx
push 0
push 0x1114
mov ecx, dword [ebp - 4]
push dword [ecx]
call sub.USER32.DLL_SendMessageA
jmp 0x4606a4
mov eax, dword [ebp + 0xc]
inc dword [eax]
mov edx, dword [ebp + 0xc]
mov ecx, dword [edx]
xor eax, eax
mov al, byte [edi + ecx]
call fcn.0040c1cc
test al, al
jne 0x46069f
push dword [ebp + 0xc]
mov dl, byte [ebp + 8]
push edx
mov ecx, dword [ebp - 0xc]
mov edx, edi
mov eax, dword [ebp - 4]
call fcn.0046044c
test eax, eax
je 0x4606d2
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8