Function at 0x453ddd
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1038
call fcn.0045cf90
mov al, byte [0x45f128]
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, 0x496d18
stosb byte es:[edi], al
call fcn.00453ae4
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.00426e93
test eax, eax
pop ecx
jne 0x45410a
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 0x453e85
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 0x453ee4
lea eax, [ebp - 0x838]
cmp edx, eax
je 0x453ee4
cmp byte [edx - 1], bl
je 0x453ee4
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 0x454105
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 0x453f07
and byte [eax], 0
lea eax, [ebp - 0x838]
push 0x410a90
push eax
call dword [sym.imp.SHLWAPI.dll_PathMatchSpecA]
test eax, eax
jne 0x45410a
mov eax, 0x410a88
mov ebx, 0x40af44
mov ecx, eax
mov dword [ebp - 0x38], eax
test ecx, ecx
mov dword [ebp - 0x34], 0x410a80
mov dword [ebp - 0x30], 0x40af90
mov dword [ebp - 0x2c], 0x40af88
mov dword [ebp - 0x28], 0x40af80
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], 0x40ac18
mov dword [ebp - 0x18], 0x40af3c
mov dword [ebp - 0x14], esi
mov dword [ebp - 8], esi
je 0x45410a
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 0x453fa6
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 0x453fa6
mov eax, edx
lea ecx, [ebp - 0x838]
sub eax, ecx
test eax, eax
jg 0x453fb8
mov eax, dword [esi + 4]
inc dword [ebp - 8]
add esi, 4
test eax, eax
jne 0x453f71
jmp 0x45410a
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 0x45410a
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 0x45405d
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 0x454032
mov edx, dword [esi + 4]
inc dword [ebp - 4]
add esi, 4
test edx, edx
jne 0x453fff
jmp 0x454060
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 0x454060
or ebx, 0xffffffff
mov edi, 0x410a7c
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.0044e6af
pop edi
pop esi
pop ebx
leave
ret