Function at 0x453909
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1078
call fcn.0045c140
push ebx
mov dword [ebp - 0x1c], ecx
call dword [sym.imp.USER32.dll_CreatePopupMenu]
xor ebx, ebx
mov dword [ebp - 8], eax
cmp eax, ebx
je 0x453d07
push esi
push edi
push 0xc
xor eax, eax
pop ecx
lea edi, [ebp - 0x60]
rep stosd dword es:[edi], eax
mov al, byte [0x45e298]
mov ecx, 0x1ff
mov byte [ebp - 0x878], al
xor eax, eax
lea edi, [ebp - 0x877]
mov dword [ebp - 0x60], 0x30
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x495e88
mov dword [ebp - 0x5c], 0x43
mov dword [ebp - 0x54], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], 1
stosb byte es:[edi], al
call fcn.00452cd5
lea ecx, [ebp - 0x878]
push 0x800
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea eax, [ebp - 0x878]
push 0x2f
push eax
call dword [sym.imp.MSVCRT.dll_strrchr]
mov esi, eax
pop ecx
cmp esi, ebx
pop ecx
je 0x453a00
cmp byte [esi - 1], 0x2f
je 0x453a00
cmp byte [esi + 1], bl
jne 0x4539b4
mov byte [esi], bl
jmp 0x45398e
mov eax, dword [ebp - 0xc]
inc dword [ebp - 0xc]
mov byte [esi + 1], bl
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x878]
lea edi, [ebp - 0x878]
mov dword [ebp - 0x3c], eax
or ecx, 0xffffffff
xor eax, eax
push ebx
repne scasb al, byte es:[edi]
mov eax, dword [ebp - 4]
push 0xffffffffffffffff
not ecx
dec ecx
inc dword [ebp - 4]
mov dword [ebp - 0x38], ecx
lea ecx, [ebp - 0x60]
push ebx
push ecx
push 1
push eax
push dword [ebp - 8]
call fcn.004320d5
add esp, 0x1c
cmp byte [esi - 1], 0x2f
mov byte [esi], bl
jne 0x45398e
lea edi, [ebp - 0x878]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp byte [ebp + ecx - 0x879], 0x2f
lea eax, [ebp + ecx - 0x879]
jne 0x453a23
mov byte [eax], bl
lea eax, [ebp - 0x878]
push 0x410690
push eax
call dword [sym.imp.SHLWAPI.dll_PathMatchSpecA]
test eax, eax
jne 0x453c41
mov eax, 0x40aee8
mov dword [ebp - 0x74], 0x410688
mov ecx, eax
mov dword [ebp - 0x78], eax
test ecx, ecx
mov dword [ebp - 0x70], 0x40aee0
mov dword [ebp - 0x6c], 0x410680
mov dword [ebp - 0x68], 0x40aed8
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0x2c], 0x40ae9c
mov dword [ebp - 0x28], 0x40aba0
mov dword [ebp - 0x24], 0x40ae94
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x14], ebx
je 0x453c41
lea esi, [ebp - 0x78]
push eax
lea eax, [ebp - 0x878]
push eax
call dword [sym.imp.MSVCRT.dll_strstr]
mov edx, eax
pop ecx
cmp edx, ebx
pop ecx
je 0x453ac1
mov edi, dword [esi]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp byte [ecx + edx], bl
jne 0x453ac1
mov eax, edx
lea ecx, [ebp - 0x878]
sub eax, ecx
test eax, eax
jg 0x453ad3
mov eax, dword [esi + 4]
inc dword [ebp - 0x14]
add esi, 4
cmp eax, ebx
jne 0x453a8c
jmp 0x453c41
lea eax, [ebp - 0x878]
push 0x2e
push eax
mov byte [edx], bl
call dword [sym.imp.MSVCRT.dll_strrchr]
pop ecx
cmp eax, ebx
pop ecx
mov dword [ebp - 0x18], eax
je 0x453c41
mov ecx, 0x1ff
xor eax, eax
lea edi, [ebp - 0x1077]
mov byte [ebp - 0x1078], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov edx, 0x40ae9c
mov dword [ebp - 0x10], ebx
stosb byte es:[edi], al
mov eax, edx
test eax, eax
je 0x453b75
lea esi, [ebp - 0x2c]
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [ebp - 0x878]
push ecx
push edx
push eax
call dword [sym.imp.MSVCRT.dll__strnicmp]
add esp, 0xc
test eax, eax
je 0x453b4b
mov edx, dword [esi + 4]
inc dword [ebp - 0x10]
add esi, 4
cmp edx, ebx
jne 0x453b1a
jmp 0x453b75
mov eax, dword [ebp - 0x10]
or ecx, 0xffffffff
lea edx, [ebp - 0x1078]
mov edi, dword [ebp + eax*4 - 0x2c]
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
or ecx, 0xffffffff
mov edi, 0x41067c
xor eax, eax
lea edx, [ebp - 0x1078]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push ebx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea edx, [ebp - 0x1078]
and ecx, 3
push 0xffffffffffffffff
rep movsb byte es:[edi], byte [esi]
mov edi, dword [ebp - 0x18]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push ebx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov eax, dword [ebp - 0x14]
and ecx, 3
lea edx, [ebp - 0x1078]
rep movsb byte es:[edi], byte [esi]
mov edi, dword [ebp + eax*4 - 0x78]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov eax, dword [ebp - 0xc]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x1078]
mov dword [ebp - 0x3c], eax
lea edi, [ebp - 0x1078]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov eax, dword [ebp - 4]
not ecx
dec ecx
inc dword [ebp - 4]
mov dword [ebp - 0x38], ecx
lea ecx, [ebp - 0x60]
push ecx
push 1
push eax
push dword [ebp - 8]
call fcn.004320d5
add esp, 0x1c
cmp dword [ebp - 4], ebx
jle 0x453cfc
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x2c]
push esi
push eax
mov dword [ebp - 0x30], 0x14
call dword [sym.imp.USER32.dll_CopyRect]
mov edi, dword [ebp - 0x1c]
push dword [ebp - 8]
lea ecx, [edi + 0x948]
call fcn.00431f84
lea eax, [ebp - 0x30]
push eax
push dword [edi + 4]
push dword [esi + 0xc]
push dword [esi + 8]
push 0x140
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_TrackPopupMenuEx]
mov edx, eax
cmp edx, ebx
jle 0x453cfc
mov ecx, 0x200
xor eax, eax
lea edi, [ebp - 0x878]
push 0xc
rep stosd dword es:[edi], eax
pop ecx
lea edi, [ebp - 0x60]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x878]
mov dword [ebp - 0x60], 0x30
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x60]
push eax
push ebx
push edx
mov dword [ebp - 0x5c], 0x42
push dword [ebp - 8]
mov dword [ebp - 0x38], 0x800
call dword [sym.imp.USER32.dll_GetMenuItemInfoA]
test eax, eax
je 0x453cfc
lea eax, [ebp - 0x878]
push eax
call fcn.004234a9
pop ecx
lea eax, [ebp - 0x878]
push ebx
push ebx
push ebx
push 2
push eax
mov ecx, 0x474b78
call fcn.00415920
push dword [ebp - 8]
call fcn.00432045
pop ecx
pop edi
pop esi
pop ebx
leave
ret 4