Function at 0x454718
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1078
call fcn.0045cf90
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 0x454b16
push esi
push edi
push 0xc
xor eax, eax
pop ecx
lea edi, [ebp - 0x60]
rep stosd dword es:[edi], eax
mov al, byte [0x45f128]
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, 0x496d18
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.00453ae4
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 0x45480f
cmp byte [esi - 1], 0x2f
je 0x45480f
cmp byte [esi + 1], bl
jne 0x4547c3
mov byte [esi], bl
jmp 0x45479d
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.00432585
add esp, 0x1c
cmp byte [esi - 1], 0x2f
mov byte [esi], bl
jne 0x45479d
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 0x454832
mov byte [eax], bl
lea eax, [ebp - 0x878]
push 0x410a90
push eax
call dword [sym.imp.SHLWAPI.dll_PathMatchSpecA]
test eax, eax
jne 0x454a50
mov eax, 0x40af90
mov dword [ebp - 0x74], 0x410a88
mov ecx, eax
mov dword [ebp - 0x78], eax
test ecx, ecx
mov dword [ebp - 0x70], 0x40af88
mov dword [ebp - 0x6c], 0x410a80
mov dword [ebp - 0x68], 0x40af80
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0x2c], 0x40af44
mov dword [ebp - 0x28], 0x40ac18
mov dword [ebp - 0x24], 0x40af3c
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x14], ebx
je 0x454a50
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 0x4548d0
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 0x4548d0
mov eax, edx
lea ecx, [ebp - 0x878]
sub eax, ecx
test eax, eax
jg 0x4548e2
mov eax, dword [esi + 4]
inc dword [ebp - 0x14]
add esi, 4
cmp eax, ebx
jne 0x45489b
jmp 0x454a50
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 0x454a50
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, 0x40af44
mov dword [ebp - 0x10], ebx
stosb byte es:[edi], al
mov eax, edx
test eax, eax
je 0x454984
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 0x45495a
mov edx, dword [esi + 4]
inc dword [ebp - 0x10]
add esi, 4
cmp edx, ebx
jne 0x454929
jmp 0x454984
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, 0x410a7c
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.00432585
add esp, 0x1c
cmp dword [ebp - 4], ebx
jle 0x454b0b
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.00432434
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 0x454b0b
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 0x454b0b
lea eax, [ebp - 0x878]
push eax
call fcn.004236be
pop ecx
lea eax, [ebp - 0x878]
push ebx
push ebx
push ebx
push 2
push eax
mov ecx, 0x475a08
call fcn.00415cb4
push dword [ebp - 8]
call fcn.004324f5
pop ecx
pop edi
pop esi
pop ebx
leave
ret 4