Function at 0x46047c
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 0x46067f
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 0x46052b
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 0x4605ae
test ebx, ebx
je 0x460537
mov edx, esi
jmp 0x460539
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.0040f2b0
push eax
mov al, byte [ebp - 0x15]
call fcn.0040f2b0
pop edx
cmp edx, eax
je 0x46057a
cmp byte [ebp - 0x15], 0
je 0x4605ae
xor ecx, ecx
mov cl, byte [ebp - 0x15]
cmp ecx, 0x5c
jne 0x460575
test bl, bl
je 0x4605ae
mov esi, dword [ebp - 0x10]
jmp 0x4605ae
test bl, bl
je 0x4605ae
cmp byte [ebp - 0x15], 0
je 0x4605ae
xor eax, eax
mov al, bl
cmp eax, 0x5c
jne 0x4605a8
mov al, byte [ebp + esi - 0x417]
call fcn.0040f2b0
mov ebx, eax
mov al, byte [edi + esi + 1]
call fcn.0040f2b0
cmp ebx, eax
jne 0x4605ae
inc esi
inc dword [ebp - 0x14]
jmp 0x46053c
mov edx, dword [ebp + 0xc]
cmp esi, dword [edx]
jle 0x4605c2
mov ecx, dword [ebp + 0xc]
mov dword [ecx], esi
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
jmp 0x4605df
test byte [ebp - 0x438], 0x20
je 0x4605df
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 0x46065e
cmp byte [edi + esi], 0
je 0x4605fa
xor ecx, ecx
mov cl, byte [edi + esi]
cmp ecx, 0x5c
jne 0x46065e
cmp byte [edi + esi + 1], 0
jne 0x46065e
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x46067f
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 0x460644
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 0x460601
jmp 0x46067f
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 0x4604bb
cmp dword [ebp - 0xc], 0
je 0x460702
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 0x4606ab
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 0x4606d4
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.0040c1e8
test al, al
jne 0x4606cf
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.0046047c
test eax, eax
je 0x460702
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8