Function at 0x486530
Capabilities:
Get graphical window text

Disassembly:
mov eax, 0x104c
call fcn.004e6b50
mov eax, dword [0x519bc0]
xor eax, esp
mov dword [esp + 0x1048], eax
mov eax, dword [esp + 0x1050]
push ebp
push esi
push edi
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x1060]
push eax
mov edi, ecx
mov edx, dword [edi]
mov ecx, dword [esp + 0x1068]
push 4
push 0x110a
xor esi, esi
push edx
mov dword [esp + 0x34], edi
mov dword [esp + 0x28], ecx
mov dword [esp + 0x38], esi
call dword [sym.imp.USER32.dll_SendMessageW]
mov ebp, eax
mov dword [esp + 0xc], ebp
test ebp, ebp
je 0x486777
push ebx
jmp 0x48659a
mov ebp, dword [esp + 0x10]
xor eax, eax
lea edx, [esp + 0x30]
push edx
push eax
mov word [esp + 0x60], ax
mov eax, dword [edi]
push 0x113e
lea ecx, [esp + 0x64]
push eax
mov dword [esp + 0x40], 0xd
mov dword [esp + 0x44], ebp
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], 0x800
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [esp + 0x1c]
mov esi, dword [esp + 0x54]
mov ebx, dword [ecx]
mov dword [esp + 0x20], ebx
test esi, esi
je 0x4865ff
mov eax, dword [esi + 8]
lea edx, [esp + 0x58]
push edx
push eax
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
setne al
test al, al
je 0x486682
mov edx, dword [esp + 0x24]
neg esi
sbb esi, esi
and esi, ebx
xor ecx, ecx
lea edx, [edx + ebx*2]
mov dword [esp + 0x18], ecx
xor eax, eax
mov dword [esp + 0x14], edx
lea ebp, [esp + esi*2 + 0x58]
lea esp, [esp]
movzx edi, word [ebp]
mov edx, dword [esp + 0x14]
movzx esi, word [edx]
test di, di
jne 0x486646
test si, si
je 0x486676
cmp ax, 0x5c
jne 0x486640
cmp cx, ax
jmp 0x486644
cmp si, 0x5c
je 0x486676
movzx eax, si
push eax
call sub.USER32.dll_CharUpperW
movzx ecx, di
push ecx
mov ebx, eax
call sub.USER32.dll_CharUpperW
cmp eax, ebx
mov ebx, dword [esp + 0x20]
jne 0x48667a
inc dword [esp + 0x18]
add ebp, 2
add dword [esp + 0x14], 2
movzx eax, di
movzx ecx, si
jmp 0x486620
add ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x10]
mov edi, dword [esp + 0x28]
mov eax, dword [esp + 0x1c]
cmp ebx, dword [eax]
jle 0x486692
mov dword [eax], ebx
mov dword [esp + 0x2c], ebp
jmp 0x4866aa
test byte [esp + 0x38], 0x20
je 0x4866aa
mov edx, dword [edi]
push ebp
push 1
push 0x1102
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [edi]
push ebp
push 1
push 0x110a
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [esp + 0x10], eax
test eax, eax
jne 0x486596
mov esi, dword [esp + 0x2c]
test esi, esi
je 0x48675a
mov ecx, dword [edi]
mov ebp, dword [sym.imp.USER32.dll_SendMessageW]
push esi
push 2
push 0x1102
push ecx
call ebp
mov eax, dword [edi]
xor edx, edx
cmp byte [esp + 0x106c], dl
push esi
setne dl
lea edx, [edx*4 + 5]
push edx
push 0x110b
push eax
call ebp
mov ecx, dword [edi]
push esi
push 0
push 0x1114
push ecx
call ebp
mov ebp, dword [esp + 0x1c]
mov edx, dword [ebp]
mov ebx, dword [esp + 0x24]
movzx eax, word [ebx + edx*2]
push eax
call fcn.00452bc0
test al, al
je 0x486744
jmp 0x486730
inc dword [ebp]
mov ecx, dword [ebp]
movzx edx, word [ebx + ecx*2]
push edx
call fcn.00452bc0
test al, al
jne 0x486730
mov eax, dword [esp + 0x106c]
push eax
push ebp
push esi
push ebx
mov ecx, edi
call fcn.00486530
test eax, eax
jne 0x48675c
mov eax, esi
pop ebx
mov ecx, dword [esp + 0x1054]
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.004e6b3a
add esp, 0x104c
ret 0x10
mov eax, esi
jmp 0x48675d