Function at 0x45e85e
Capabilities:
Get graphical window text

Disassembly:
mov eax, 0x48fe89
call fcn.0046eee0
sub esp, 0x130
cmp dword [ebp + 0x2c], 0
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov ebx, ecx
jne 0x45e899
push 1
push 0xf
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
push esi
lea eax, [ebp + 0x1c]
push eax
push dword [ebp + 8]
call fcn.0042d04b
add esp, 0x14
jmp 0x45e8b5
push dword [ebx + 0xb8]
mov ecx, ebx
push dword [ebp + 8]
push 0x1795
call fcn.00432fad
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [esi + 0x44]
add dword [ebp + 0x1c], eax
mov eax, dword [esi + 0x48]
add dword [ebp + 0x20], eax
mov eax, dword [esi + 0x4c]
sub dword [ebp + 0x24], eax
mov eax, dword [esi + 0x50]
sub dword [ebp + 0x28], eax
mov ecx, ebx
call fcn.00441d31
push eax
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [ebp + 0x2c], eax
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebp + 0x28]
sub eax, dword [ebp + 0x20]
lea esi, [ebp + 0x1c]
push eax
sub esp, 0x10
mov edi, esp
push dword [ebp + 0x10]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ecx, ebx
movsd dword es:[edi], dword [esi]
call fcn.0045e55f
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x34]
push eax
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp - 0x1c]
push eax
push dword [ebp + 8]
call fcn.00439ca4
mov ecx, dword [ebp - 0x10]
sub ecx, dword [ebp - 0x18]
xor eax, eax
push ecx
mov ecx, dword [ebp - 0x14]
sub ecx, dword [ebp - 0x1c]
mov dword [ebp - 4], eax
push ecx
push eax
push eax
lea eax, [ebp - 0x74]
push eax
call fcn.0042b9cc
mov esi, eax
lea edi, [ebp - 0x64]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 1
movsd dword es:[edi], dword [esi]
lea esi, [ebx + 0x108]
push dword [esi]
lea eax, [ebp - 0x64]
push dword [ebp + 0x10]
push eax
push dword [ebp - 0x30]
call fcn.0042cd6b
push dword [esi]
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0x2c]
push dword [ebp + 8]
call fcn.0042c034
add esp, 0x38
push 0xc8
lea eax, [ebp - 0x13c]
push eax
push dword [ebx + 0xb8]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov byte [ebp - 0x75], 0
mov eax, dword [ebp + 0x14]
add eax, 4
push eax
call fcn.0042c01f
mov esi, dword [sym.imp.GDI32.dll_SetTextColor]
pop ecx
push eax
push dword [ebp + 8]
call esi
mov edi, dword [sym.imp.GDI32.dll_SetBkMode]
push 1
push dword [ebp + 8]
mov dword [ebp + 0x10], eax
call edi
mov dword [ebp + 0xc], eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x13c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
lea eax, [ebp - 0x13c]
push eax
push dword [ebp + 8]
mov ecx, ebx
call fcn.0045e80f
push 0xfffffffffffffff0
push dword [ebx + 0xb8]
call dword [sym.imp.USER32.dll_GetWindowLongA]
push eax
lea eax, [ebp - 0x54]
push eax
push dword [ebp - 0x20]
lea eax, [ebp - 0x44]
push dword [ebp - 0x24]
mov ecx, ebx
push eax
call fcn.0045e699
mov ecx, ebx
call fcn.0045e77c
push eax
lea eax, [ebp - 0x13c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ebx, dword [ebp + 8]
push eax
lea eax, [ebp - 0x13c]
push eax
lea eax, [ebp - 0x54]
push eax
push dword [ebp + 0x14]
push ebx
call fcn.0042c8ab
add esp, 0x18
push dword [ebp + 0x10]
push ebx
call esi
push dword [ebp + 0x2c]
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebp + 0xc]
push ebx
call edi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.00439ce2
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 0x28