Function at 0x46b4d4
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbc0
push ebx
push esi
push edi
mov ebx, ecx
mov dword [ebp - 8], 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 - 0xc], eax
xor edx, edx
mov dword [ebp - 0x10], edx
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0xc], 0
je 0x46b67d
mov byte [ebp - 0x418], 0
mov dword [ebp - 0x440], 0xd
mov edx, dword [ebp - 0xc]
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 0x46b584
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 0x46b605
test ebx, ebx
je 0x46b590
mov edi, esi
jmp 0x46b592
xor edi, edi
mov eax, dword [ebp - 8]
mov bl, byte [ebp + edi - 0x418]
mov dl, byte [eax + esi]
mov eax, ebx
mov byte [ebp - 0x15], dl
call fcn.0040ee8c
push eax
mov al, byte [ebp - 0x15]
call fcn.0040ee8c
pop edx
cmp edx, eax
je 0x46b5d0
cmp byte [ebp - 0x15], 0
je 0x46b605
xor ecx, ecx
mov cl, byte [ebp - 0x15]
cmp ecx, 0x5c
jne 0x46b5cb
test bl, bl
je 0x46b605
mov esi, dword [ebp - 0x14]
jmp 0x46b605
test bl, bl
je 0x46b605
cmp byte [ebp - 0x15], 0
je 0x46b605
xor eax, eax
mov al, bl
cmp eax, 0x5c
jne 0x46b601
mov al, byte [ebp + esi - 0x417]
call fcn.0040ee8c
mov ebx, eax
mov eax, dword [ebp - 8]
mov al, byte [eax + esi + 1]
call fcn.0040ee8c
cmp ebx, eax
jne 0x46b605
inc esi
inc edi
jmp 0x46b592
mov edx, dword [ebp + 0xc]
cmp esi, dword [edx]
jle 0x46b619
mov ecx, dword [ebp + 0xc]
mov dword [ecx], esi
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
jmp 0x46b636
test byte [ebp - 0x438], 0x20
je 0x46b636
push dword [ebp - 0xc]
push 1
push 0x1102
mov edx, dword [ebp - 4]
push dword [edx]
call sub.USER32.DLL_SendMessageA
test esi, esi
jle 0x46b65c
cmp byte [ebp + esi - 0x418], 0
je 0x46b67d
xor ecx, ecx
mov cl, byte [ebp + esi - 0x418]
cmp ecx, 0x5c
jne 0x46b65c
cmp byte [ebp + esi - 0x417], 0
je 0x46b67d
push dword [ebp - 0xc]
push 1
push 0x110a
mov eax, dword [ebp - 4]
push dword [eax]
call sub.USER32.DLL_SendMessageA
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x46b514
cmp dword [ebp - 0x10], 0
je 0x46b70b
push dword [ebp - 0x10]
push 2
push 0x1102
mov edx, dword [ebp - 4]
push dword [edx]
call sub.USER32.DLL_SendMessageA
mov ebx, dword [ebp - 0x10]
push ebx
cmp byte [ebp + 8], 0
je 0x46b6ac
mov eax, 9
jmp 0x46b6b1
mov eax, 5
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 0x46b6da
mov eax, dword [ebp + 0xc]
inc dword [eax]
mov edx, dword [ebp + 0xc]
mov ecx, dword [edx]
mov eax, dword [ebp - 8]
movzx eax, byte [eax + ecx]
call fcn.0040bf1c
test al, al
jne 0x46b6d5
push dword [ebp + 0xc]
mov dl, byte [ebp + 8]
push edx
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0046b4d4
test eax, eax
je 0x46b70b
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8