Function at 0x47e567
Capabilities:
Get graphical window text

Disassembly:
mov eax, 0x4c0273
call fcn.004bf97c
sub esp, 0x4a0
push ebx
push esi
push edi
mov eax, dword [ebp + 0x10]
and dword [ebp - 4], 0
xor ecx, ecx
lea ebx, [ebp - 0x50]
call fcn.0040ab8d
mov ebx, dword [ebp + 8]
push 0
mov byte [ebp - 4], 1
push dword [ebp - 0x50]
lea edi, [ebx + 4]
push dword [ebp + 0xc]
mov dword [ebp - 0x20], edi
push dword [edi]
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_CallWindowProcA]
mov esi, dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [ebp - 0x60]
push eax
push dword [ebx + 0x68]
call esi
lea eax, [ebp - 0x60]
call fcn.0040a8d1
push 4
push 4
lea eax, [ebp - 0x60]
push eax
call dword [sym.imp.USER32.dll_InflateRect]
lea eax, [ebp - 0x30]
push eax
push dword [ebx + 0xa0]
call esi
lea eax, [ebp - 0x30]
call fcn.0040a8d1
lea eax, [ebp - 0x30]
push eax
push 0
push 0x1328
push dword [ebx + 0xa0]
call dword [sym.imp.USER32.dll_SendMessageA]
push 4
push 4
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.USER32.dll_InflateRect]
mov eax, dword [ebp - 0x2c]
lea esi, [ebp - 0x30]
lea edi, [ebp - 0x1c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x5c]
push 0xfffffffffffffffc
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x18], eax
push 0xfffffffffffffffc
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.USER32.dll_InflateRect]
mov eax, dword [0x4e5970]
xor edi, edi
cmp eax, edi
je 0x47e684
mov ecx, dword [ebp - 0x20]
push 0x4ce174
push dword [ecx]
call eax
mov esi, eax
cmp esi, edi
je 0x47e684
mov eax, dword [0x4e591c]
cmp eax, edi
je 0x47e676
push edi
lea ecx, [ebp - 0x60]
push ecx
push edi
push 9
push dword [ebp - 0x50]
push esi
call eax
push edi
lea eax, [ebp - 0x30]
push eax
push edi
push 9
push dword [ebp - 0x50]
push esi
call dword [0x4e591c]
mov eax, dword [0x4e5928]
cmp eax, edi
je 0x47e6a4
push esi
call eax
jmp 0x47e6a4
mov esi, dword [sym.imp.USER32.dll_DrawEdge]
push 0xf
push 6
lea eax, [ebp - 0x60]
push eax
push dword [ebp - 0x50]
call esi
push 0xf
push 6
lea eax, [ebp - 0x30]
push eax
push dword [ebp - 0x50]
call esi
push dword [ebp + 0x10]
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov edx, dword [ebp - 0x14]
sub edx, dword [ebp - 0x1c]
mov ecx, dword [ebx + 0x98]
push edi
mov esi, eax
mov eax, dword [ebx + 0x90]
mov ebx, dword [ebp - 0x10]
sub ebx, dword [ebp - 0x18]
push edx
push eax
push ecx
mov dword [ebp + 0x10], esi
call fcn.00458f7e
mov ebx, dword [sym.imp.GDI32.dll_SelectObject]
add esp, 0x10
push eax
push esi
mov dword [ebp + 0xc], eax
call ebx
push 0xcc0020
push 0
mov edi, eax
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp - 0x18]
push 0
push esi
push eax
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp - 0x1c]
push eax
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
push dword [ebp - 0x50]
call dword [sym.imp.GDI32.dll_BitBlt]
push edi
push esi
call ebx
lea esi, [ebp - 0x1c]
lea edi, [ebp - 0x70]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x64]
add eax, 4
mov dword [ebp - 0x6c], eax
add eax, 2
push 0xf
mov dword [ebp - 0x64], eax
push 2
lea eax, [ebp - 0x70]
push eax
push dword [ebp - 0x50]
call dword [sym.imp.USER32.dll_DrawEdge]
lea ecx, [ebp + 0xc]
call fcn.00405787
xor esi, esi
cmp dword [ebp + 0x10], esi
je 0x47e752
push dword [ebp + 0x10]
call dword [sym.imp.GDI32.dll_DeleteDC]
add dword [ebp - 0x1c], 4
xor eax, eax
mov byte [ebp - 0x4ac], 0
mov ecx, 0xff
lea edi, [ebp - 0x4ab]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push esi
push esi
stosb byte es:[edi], al
mov eax, dword [ebp - 0x20]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push 0x476
push dword [eax]
call edi
cmp eax, esi
je 0x47e7c3
mov esi, 0x400
push esi
lea ecx, [ebp - 0x4ac]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
test eax, eax
jne 0x47e7c3
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x4ac]
push eax
push 0
push 0
push 0x188
push dword [esi + 0x68]
call edi
push eax
lea eax, [esi + 0x64]
call fcn.0046d400
jmp 0x47e7c6
mov esi, dword [ebp + 8]
push 0
push 0
push 0x31
push dword [esi + 0x68]
call edi
lea ecx, [ebp - 0xac]
push ecx
push 0x3c
push eax
call dword [sym.imp.GDI32.dll_GetObjectA]
lea eax, [ebp - 0xac]
push eax
mov dword [ebp - 0xac], 0xe
call dword [sym.imp.GDI32.dll_CreateFontIndirectA]
push eax
push dword [ebp - 0x50]
mov dword [ebp + 8], eax
call ebx
push 1
push dword [ebp - 0x50]
mov dword [ebp + 0x10], eax
call dword [sym.imp.GDI32.dll_SetBkMode]
mov edi, dword [sym.imp.USER32.dll_OffsetRect]
push 1
push 1
lea eax, [ebp - 0x1c]
push eax
call edi
mov esi, dword [sym.imp.GDI32.dll_SetTextColor]
push 0x202020
push dword [ebp - 0x50]
call esi
push 0x824
lea eax, [ebp - 0x1c]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x4ac]
push eax
push dword [ebp - 0x50]
call dword [sym.imp.USER32.dll_DrawTextA]
push 0xffffffffffffffff
push 0xffffffffffffffff
lea eax, [ebp - 0x1c]
push eax
call edi
push 5
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
push dword [ebp - 0x50]
call esi
push 0x824
lea eax, [ebp - 0x1c]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x4ac]
push eax
push dword [ebp - 0x50]
call dword [sym.imp.USER32.dll_DrawTextA]
push dword [ebp + 0x10]
push dword [ebp - 0x50]
call ebx
cmp dword [ebp + 8], 0
je 0x47e894
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_DeleteObject]
lea esi, [ebp - 0x50]
call fcn.0040ac0e
mov ecx, dword [ebp - 0xc]
pop edi
xor eax, eax
pop esi
inc eax
pop ebx
mov dword fs:[0], ecx
leave
ret 0xc