Function at 0x455716
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1038
call fcn.0045e9a0
mov al, byte [0x460a68]
push ebx
push esi
mov dword [ebp - 0xc], ecx
push edi
mov byte [ebp - 0x838], al
mov ecx, 0x1ff
xor eax, eax
lea edi, [ebp - 0x837]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x49a108
stosb byte es:[edi], al
call fcn.0045541d
lea ecx, [ebp - 0x838]
push 0x800
push ecx
push eax
mov dword [ebp - 4], eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea eax, [ebp - 0x838]
push eax
call fcn.004276f0
test eax, eax
pop ecx
jne 0x455a43
mov esi, dword [sym.imp.MSVCRT.dll_strrchr]
push 0x2f
pop ebx
lea eax, [ebp - 0x838]
push ebx
push eax
call esi
pop ecx
mov edx, eax
pop ecx
lea edi, [ebp - 0x838]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [ebp + ecx - 0x839]
cmp edx, eax
jne 0x4557be
and byte [edx], 0
lea eax, [ebp - 0x838]
push ebx
push eax
call esi
pop ecx
mov edx, eax
pop ecx
xor esi, esi
cmp edx, esi
je 0x45581d
lea eax, [ebp - 0x838]
cmp edx, eax
je 0x45581d
cmp byte [edx - 1], bl
je 0x45581d
and byte [edx + 1], 0
lea eax, [ebp - 0x838]
push eax
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_SetWindowTextA]
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_SetFocus]
lea edi, [ebp - 0x838]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push ecx
push 0xb1
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [ebp - 0xc]
push 0x3001
jmp 0x455a3e
lea edi, [ebp - 0x838]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp byte [ebp + ecx - 0x839], bl
lea eax, [ebp + ecx - 0x839]
jne 0x455840
and byte [eax], 0
lea eax, [ebp - 0x838]
push 0x41129c
push eax
call dword [sym.imp.SHLWAPI.dll_PathMatchSpecA]
test eax, eax
jne 0x455a43
mov eax, 0x411294
mov ebx, 0x40aea8
mov ecx, eax
mov dword [ebp - 0x38], eax
test ecx, ecx
mov dword [ebp - 0x34], 0x41128c
mov dword [ebp - 0x30], 0x40aef4
mov dword [ebp - 0x2c], 0x40aeec
mov dword [ebp - 0x28], 0x40aee4
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], 0x40ab7c
mov dword [ebp - 0x18], 0x40aea0
mov dword [ebp - 0x14], esi
mov dword [ebp - 8], esi
je 0x455a43
lea esi, [ebp - 0x38]
push eax
lea eax, [ebp - 0x838]
push eax
call dword [sym.imp.MSVCRT.dll_strstr]
mov edx, eax
pop ecx
test edx, edx
pop ecx
je 0x4558df
mov edi, dword [esi]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp byte [ecx + edx], al
jne 0x4558df
mov eax, edx
lea ecx, [ebp - 0x838]
sub eax, ecx
test eax, eax
jg 0x4558f1
mov eax, dword [esi + 4]
inc dword [ebp - 8]
add esi, 4
test eax, eax
jne 0x4558aa
jmp 0x455a43
and byte [edx], 0
lea eax, [ebp - 0x838]
push 0x2e
push eax
call dword [sym.imp.MSVCRT.dll_strrchr]
pop ecx
mov dword [ebp - 0x10], eax
test eax, eax
pop ecx
je 0x455a43
and byte [ebp - 0x1038], 0
mov ecx, 0x1ff
xor eax, eax
lea edi, [ebp - 0x1037]
rep stosd dword es:[edi], eax
and dword [ebp - 4], 0
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, ebx
test eax, eax
je 0x455996
mov edx, ebx
lea esi, [ebp - 0x20]
or ebx, 0xffffffff
mov edi, edx
mov ecx, ebx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [ebp - 0x838]
push ecx
push edx
push eax
call dword [sym.imp.MSVCRT.dll__strnicmp]
add esp, 0xc
test eax, eax
je 0x45596b
mov edx, dword [esi + 4]
inc dword [ebp - 4]
add esi, 4
test edx, edx
jne 0x455938
jmp 0x455999
mov eax, dword [ebp - 4]
mov ecx, ebx
lea edx, [ebp - 0x1038]
mov edi, dword [ebp + eax*4 - 0x20]
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]
jmp 0x455999
or ebx, 0xffffffff
mov edi, 0x411288
mov ecx, ebx
xor eax, eax
lea edx, [ebp - 0x1038]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
mov ecx, ebx
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 - 0x1038]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [ebp - 0x10]
mov ecx, ebx
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
mov ecx, ebx
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 8]
mov ecx, edx
and ecx, 3
lea edx, [ebp - 0x1038]
rep movsb byte es:[edi], byte [esi]
mov edi, dword [ebp + eax*4 - 0x38]
mov ecx, ebx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
mov ecx, ebx
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 eax, [ebp - 0x1038]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
mov esi, dword [ebp - 0xc]
push dword [esi + 0xb20]
call dword [sym.imp.USER32.dll_SetWindowTextA]
push 0x3001
mov ecx, esi
call fcn.0044fef1
pop edi
pop esi
pop ebx
leave
ret