Function at 0x452fce
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1038
call fcn.0045c140
mov al, byte [0x45e298]
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, 0x495e88
stosb byte es:[edi], al
call fcn.00452cd5
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.00426b8c
test eax, eax
pop ecx
jne 0x4532fb
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 0x453076
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 0x4530d5
lea eax, [ebp - 0x838]
cmp edx, eax
je 0x4530d5
cmp byte [edx - 1], bl
je 0x4530d5
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 0x4532f6
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 0x4530f8
and byte [eax], 0
lea eax, [ebp - 0x838]
push 0x410690
push eax
call dword [sym.imp.SHLWAPI.dll_PathMatchSpecA]
test eax, eax
jne 0x4532fb
mov eax, 0x410688
mov ebx, 0x40ae9c
mov ecx, eax
mov dword [ebp - 0x38], eax
test ecx, ecx
mov dword [ebp - 0x34], 0x410680
mov dword [ebp - 0x30], 0x40aee8
mov dword [ebp - 0x2c], 0x40aee0
mov dword [ebp - 0x28], 0x40aed8
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], 0x40aba0
mov dword [ebp - 0x18], 0x40ae94
mov dword [ebp - 0x14], esi
mov dword [ebp - 8], esi
je 0x4532fb
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 0x453197
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 0x453197
mov eax, edx
lea ecx, [ebp - 0x838]
sub eax, ecx
test eax, eax
jg 0x4531a9
mov eax, dword [esi + 4]
inc dword [ebp - 8]
add esi, 4
test eax, eax
jne 0x453162
jmp 0x4532fb
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 0x4532fb
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 0x45324e
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 0x453223
mov edx, dword [esi + 4]
inc dword [ebp - 4]
add esi, 4
test edx, edx
jne 0x4531f0
jmp 0x453251
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 0x453251
or ebx, 0xffffffff
mov edi, 0x41067c
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.0044dd11
pop edi
pop esi
pop ebx
leave
ret