Function at 0x46b154
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 0x46b2fd
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 0x46b204
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 0x46b285
test ebx, ebx
je 0x46b210
mov edi, esi
jmp 0x46b212
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.0040ee58
push eax
mov al, byte [ebp - 0x15]
call fcn.0040ee58
pop edx
cmp edx, eax
je 0x46b250
cmp byte [ebp - 0x15], 0
je 0x46b285
xor ecx, ecx
mov cl, byte [ebp - 0x15]
cmp ecx, 0x5c
jne 0x46b24b
test bl, bl
je 0x46b285
mov esi, dword [ebp - 0x14]
jmp 0x46b285
test bl, bl
je 0x46b285
cmp byte [ebp - 0x15], 0
je 0x46b285
xor eax, eax
mov al, bl
cmp eax, 0x5c
jne 0x46b281
mov al, byte [ebp + esi - 0x417]
call fcn.0040ee58
mov ebx, eax
mov eax, dword [ebp - 8]
mov al, byte [eax + esi + 1]
call fcn.0040ee58
cmp ebx, eax
jne 0x46b285
inc esi
inc edi
jmp 0x46b212
mov edx, dword [ebp + 0xc]
cmp esi, dword [edx]
jle 0x46b299
mov ecx, dword [ebp + 0xc]
mov dword [ecx], esi
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
jmp 0x46b2b6
test byte [ebp - 0x438], 0x20
je 0x46b2b6
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 0x46b2dc
cmp byte [ebp + esi - 0x418], 0
je 0x46b2fd
xor ecx, ecx
mov cl, byte [ebp + esi - 0x418]
cmp ecx, 0x5c
jne 0x46b2dc
cmp byte [ebp + esi - 0x417], 0
je 0x46b2fd
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 0x46b194
cmp dword [ebp - 0x10], 0
je 0x46b387
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
mov eax, 9
cmp byte [ebp + 8], 0
jne 0x46b32d
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 0x46b356
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.0040beec
test al, al
jne 0x46b351
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.0046b154
test eax, eax
je 0x46b387
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8