Function at 0x455199
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1078
call fcn.0045da90
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 0x455597
push esi
push edi
push 0xc
xor eax, eax
pop ecx
lea edi, [ebp - 0x60]
rep stosd dword es:[edi], eax
mov al, byte [0x45fc38]
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, 0x4989c8
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.00454565
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 0x455290
cmp byte [esi - 1], 0x2f
je 0x455290
cmp byte [esi + 1], bl
jne 0x455244
mov byte [esi], bl
jmp 0x45521e
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.00432d31
add esp, 0x1c
cmp byte [esi - 1], 0x2f
mov byte [esi], bl
jne 0x45521e
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 0x4552b3
mov byte [eax], bl
lea eax, [ebp - 0x878]
push 0x410e9c
push eax
call dword [sym.imp.SHLWAPI.dll_PathMatchSpecA]
test eax, eax
jne 0x4554d1
mov eax, 0x40aef4
mov dword [ebp - 0x74], 0x410e94
mov ecx, eax
mov dword [ebp - 0x78], eax
test ecx, ecx
mov dword [ebp - 0x70], 0x40aeec
mov dword [ebp - 0x6c], 0x410e8c
mov dword [ebp - 0x68], 0x40aee4
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0x2c], 0x40aea8
mov dword [ebp - 0x28], 0x40ab7c
mov dword [ebp - 0x24], 0x40aea0
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x14], ebx
je 0x4554d1
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 0x455351
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 0x455351
mov eax, edx
lea ecx, [ebp - 0x878]
sub eax, ecx
test eax, eax
jg 0x455363
mov eax, dword [esi + 4]
inc dword [ebp - 0x14]
add esi, 4
cmp eax, ebx
jne 0x45531c
jmp 0x4554d1
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 0x4554d1
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, 0x40aea8
mov dword [ebp - 0x10], ebx
stosb byte es:[edi], al
mov eax, edx
test eax, eax
je 0x455405
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 0x4553db
mov edx, dword [esi + 4]
inc dword [ebp - 0x10]
add esi, 4
cmp edx, ebx
jne 0x4553aa
jmp 0x455405
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, 0x410e88
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.00432d31
add esp, 0x1c
cmp dword [ebp - 4], ebx
jle 0x45558c
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.00432be0
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 0x45558c
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 0x45558c
lea eax, [ebp - 0x878]
push eax
call fcn.00423b1c
pop ecx
lea eax, [ebp - 0x878]
push ebx
push ebx
push ebx
push 2
push eax
mov ecx, 0x4776b0
call fcn.004160a5
push dword [ebp - 8]
call fcn.00432ca1
pop ecx
pop edi
pop esi
pop ebx
leave
ret 4