Function at 0x410a80
Capabilities:
Get graphical window text

Disassembly:
mov eax, 0x1054
call fcn.004ebbf0
mov eax, dword [0x528af4]
xor eax, esp
mov dword [esp + 0x1050], eax
mov eax, dword [esp + 0x1058]
push ebx
mov ebx, dword [esp + 0x1064]
push ebp
push esi
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
mov ebp, ecx
mov cl, byte [esp + 0x1070]
push edi
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x106c]
push eax
push 4
push 0x110a
push dword [ebp]
mov dword [esp + 0x28], ebp
mov dword [esp + 0x34], ebx
mov byte [esp + 0x23], cl
mov byte [esp + 0x44], cl
mov dword [esp + 0x3c], 0
call esi
mov edi, eax
mov dword [esp + 0x1c], edi
test edi, edi
je 0x410cb7
jmp 0x410b00
xor eax, eax
mov dword [esp + 0x38], 0xd
mov word [esp + 0x60], ax
lea eax, [esp + 0x60]
mov dword [esp + 0x48], eax
lea eax, [esp + 0x38]
push eax
push 0
push 0x113e
push dword [ebp]
mov dword [esp + 0x4c], edi
mov dword [esp + 0x5c], 0x800
call esi
mov esi, dword [esp + 0x5c]
mov ebp, dword [ebx]
mov dword [esp + 0x28], ebp
test esi, esi
je 0x410b5d
lea eax, [esp + 0x60]
push eax
push dword [esi + 8]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
setne al
test al, al
je 0x410be3
mov ecx, dword [esp + 0x30]
neg esi
mov dword [esp + 0x14], 0
sbb esi, esi
xor eax, eax
and esi, ebp
xor edx, edx
lea ebp, [ecx + ebp*2]
lea ecx, [esp + 0x60]
lea ecx, [ecx + esi*2]
mov esi, eax
movzx ebx, word [ecx]
movzx edi, word [ebp]
mov dword [esp + 0x20], ecx
test bx, bx
jne 0x410ba4
test di, di
je 0x410bcf
cmp ax, 0x5c
jne 0x410b9f
cmp dx, ax
jmp 0x410ba2
cmp edi, 0x5c
je 0x410bcf
push edi
call fcn.00491a30
push ebx
mov esi, eax
call fcn.00491a30
cmp eax, esi
jne 0x410bd7
mov esi, dword [esp + 0x14]
mov eax, ebx
mov ecx, dword [esp + 0x20]
inc esi
add ecx, 2
mov dword [esp + 0x14], esi
add ebp, 2
mov edx, edi
jmp 0x410b7f
mov ebp, dword [esp + 0x28]
add ebp, esi
jmp 0x410bdb
mov ebp, dword [esp + 0x28]
mov edi, dword [esp + 0x1c]
mov ebx, dword [esp + 0x24]
cmp ebp, dword [ebx]
jle 0x410c90
mov dword [ebx], ebp
mov dword [esp + 0x2c], edi
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
mov ebp, dword [esp + 0x18]
push edi
push 1
push 0x110a
push dword [ebp]
call esi
mov edi, eax
mov dword [esp + 0x1c], edi
test edi, edi
jne 0x410b00
mov edi, dword [esp + 0x2c]
test edi, edi
je 0x410c8c
push edi
push 2
push 0x1102
push dword [ebp]
call esi
xor eax, eax
cmp byte [esp + 0x13], al
push edi
setne al
lea eax, [eax*4 + 5]
push eax
push 0x110b
push dword [ebp]
call esi
push edi
push 0
push 0x1114
push dword [ebp]
call esi
mov eax, dword [ebx]
mov esi, dword [esp + 0x30]
movzx eax, word [esi + eax*2]
push eax
call fcn.004789a0
test al, al
je 0x410c7a
inc dword [ebx]
mov eax, dword [ebx]
movzx eax, word [esi + eax*2]
push eax
call fcn.004789a0
test al, al
jne 0x410c68
push dword [esp + 0x34]
mov ecx, ebp
push ebx
push edi
push esi
call fcn.00410a80
test eax, eax
jne 0x410cb9
mov eax, edi
jmp 0x410cb9
test byte [esp + 0x40], 0x20
je 0x410bf1
mov ebp, dword [esp + 0x18]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push edi
push 1
push 0x1102
push dword [ebp]
call esi
jmp 0x410bfb
xor eax, eax
mov ecx, dword [esp + 0x1060]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004ebbd8
add esp, 0x1054
ret 0x10