Function at 0x46b3f4
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 0x46b59d
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 0x46b4a4
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 0x46b525
test ebx, ebx
je 0x46b4b0
mov edi, esi
jmp 0x46b4b2
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 0x46b4f0
cmp byte [ebp - 0x15], 0
je 0x46b525
xor ecx, ecx
mov cl, byte [ebp - 0x15]
cmp ecx, 0x5c
jne 0x46b4eb
test bl, bl
je 0x46b525
mov esi, dword [ebp - 0x14]
jmp 0x46b525
test bl, bl
je 0x46b525
cmp byte [ebp - 0x15], 0
je 0x46b525
xor eax, eax
mov al, bl
cmp eax, 0x5c
jne 0x46b521
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 0x46b525
inc esi
inc edi
jmp 0x46b4b2
mov edx, dword [ebp + 0xc]
cmp esi, dword [edx]
jle 0x46b539
mov ecx, dword [ebp + 0xc]
mov dword [ecx], esi
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
jmp 0x46b556
test byte [ebp - 0x438], 0x20
je 0x46b556
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 0x46b57c
cmp byte [ebp + esi - 0x418], 0
je 0x46b59d
xor ecx, ecx
mov cl, byte [ebp + esi - 0x418]
cmp ecx, 0x5c
jne 0x46b57c
cmp byte [ebp + esi - 0x417], 0
je 0x46b59d
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 0x46b434
cmp dword [ebp - 0x10], 0
je 0x46b62b
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 0x46b5cc
mov eax, 9
jmp 0x46b5d1
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 0x46b5fa
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 0x46b5f5
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.0046b3f4
test eax, eax
je 0x46b62b
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8