Function at 0x4140ca
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd8
mov eax, dword [0x494cd8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [sym.imp.USER32.dll_GetWindowLongA]
push edi
mov edi, dword [ebp + 8]
push 0xfffffffffffffff0
push edi
mov dword [ebp - 0x98], edi
call esi
test eax, 0x20000000
jne 0x414429
push 0xfffffffffffffff0
push edi
call esi
test al, 1
je 0x414125
mov esi, dword [ebx + 0xc]
mov dword [ebp - 0x90], esi
test esi, esi
jne 0x414137
mov eax, dword [0x49e314]
mov dword [ebp - 0x90], eax
jmp 0x414137
mov esi, dword [ebx + 0x10]
test esi, esi
cmove esi, dword [0x49e318]
mov dword [ebp - 0x90], esi
push 2
push edi
call fcn.00484716
mov edi, eax
mov dword [ebp - 0x94], edi
test edi, edi
je 0x41441d
push 2
push 4
push dword [0x49e2e8]
push edi
call fcn.00484abb
test eax, eax
je 0x41441d
lea eax, [ebp - 0x64]
push eax
push dword [ebp - 0x98]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 0x60]
neg eax
push eax
mov eax, dword [ebp - 0x64]
neg eax
push eax
lea eax, [ebp - 0x64]
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
lea esi, [ebp - 0x64]
lea edi, [ebp - 0x74]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x74]
push ebx
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.00413efb
push dword [ebp - 0x68]
mov edi, dword [ebp - 0x94]
push dword [ebp - 0x6c]
push dword [ebp - 0x70]
push dword [ebp - 0x74]
push edi
call dword [sym.imp.GDI32.dll_ExcludeClipRect]
push 2
push 2
push dword [0x49e2fc]
push edi
call fcn.00484abb
push dword [ebp - 0x58]
push dword [ebp - 0x5c]
push dword [ebp - 0x60]
push dword [ebp - 0x64]
push edi
call dword [sym.imp.GDI32.dll_Rectangle]
test dword [ebx + 0x20], 0x40000
je 0x414242
mov esi, dword [sym.imp.USER32.dll_InflateRect]
xor eax, eax
inc eax
sub eax, dword [ebx + 8]
push eax
xor eax, eax
inc eax
sub eax, dword [ebx + 4]
push eax
lea eax, [ebp - 0x64]
push eax
call esi
push dword [ebp - 0x58]
push dword [ebp - 0x5c]
push dword [ebp - 0x60]
push dword [ebp - 0x64]
push edi
call dword [sym.imp.GDI32.dll_Rectangle]
mov eax, dword [ebp - 0x60]
inc eax
add eax, dword [ebx]
push eax
push dword [ebp - 0x64]
mov dword [ebp - 0x58], eax
push edi
call fcn.0048d2cc
push dword [ebp - 0x58]
push dword [ebp - 0x5c]
push edi
call dword [sym.imp.GDI32.dll_LineTo]
push 0xffffffffffffffff
push 0xffffffffffffffff
lea eax, [ebp - 0x64]
push eax
call esi
inc dword [ebp - 0x58]
jmp 0x4142c0
mov eax, dword [ebp - 0x60]
lea esi, [ebp - 0x64]
lea edi, [ebp - 0x84]
inc eax
add eax, dword [ebx]
movsd dword es:[edi], dword [esi]
push 1
push 1
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [sym.imp.USER32.dll_InflateRect]
mov dword [ebp - 0x78], eax
lea eax, [ebp - 0x74]
push eax
call esi
push dword [ebp - 0x68]
mov edi, dword [ebp - 0x94]
push dword [ebp - 0x6c]
push dword [ebp - 0x70]
push dword [ebp - 0x74]
push edi
call dword [sym.imp.GDI32.dll_Rectangle]
push dword [ebp - 0x78]
push dword [ebp - 0x84]
push edi
call fcn.0048d2cc
push dword [ebp - 0x78]
push dword [ebp - 0x7c]
push edi
call dword [sym.imp.GDI32.dll_LineTo]
push 0xffffffffffffffff
push 0xffffffffffffffff
lea eax, [ebp - 0x84]
push eax
call esi
inc dword [ebp - 0x78]
lea esi, [ebp - 0x84]
lea edi, [ebp - 0x64]
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 edi, dword [ebp - 0x94]
test dword [ebx + 0x20], 0x80000
je 0x414379
mov esi, dword [ebx + 0x18]
test esi, esi
jne 0x4142e4
push 0x7ff2
push esi
call dword [sym.imp.USER32.dll_LoadBitmapA]
mov esi, eax
jmp 0x414301
lea eax, [ebp - 0x8c]
push eax
push 0x18
push esi
call dword [sym.imp.GDI32.dll_GetObjectA]
neg eax
sbb eax, eax
and eax, dword [ebp - 0x88]
mov dword [ebx + 0x1c], eax
mov eax, dword [0x49e1e4]
push 2
push 1
push esi
push dword [eax + 0xc6]
call fcn.00484abb
mov esi, eax
test esi, esi
je 0x414354
mov ecx, dword [0x49e1e4]
push 0xcc0020
push 0
push 0
push dword [ecx + 0xc6]
push dword [ebx]
push dword [ebx + 0x1c]
push dword [ebp - 0x60]
push dword [ebp - 0x64]
push edi
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [0x49e1e4]
push esi
push dword [eax + 0xc6]
call fcn.0048db70
mov eax, dword [ebp - 0x64]
push dword [ebp - 0x60]
add eax, dword [ebx + 0x1c]
push eax
push edi
mov dword [ebp - 0x64], eax
call fcn.0048d2cc
mov eax, dword [ebp - 0x58]
inc eax
push eax
push dword [ebp - 0x64]
push edi
call dword [sym.imp.GDI32.dll_LineTo]
inc dword [ebp - 0x64]
lea eax, [ebp - 0x54]
push eax
push 0x50
push 0xd
push dword [ebp - 0x98]
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [ebx + 0x24]
test ecx, ecx
je 0x4143a9
mov eax, dword [ebp - 0x90]
push ebx
push eax
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x64]
push eax
push edi
call ecx
jmp 0x41441d
push 0x3f
lea eax, [ebp - 0xd8]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
or dword [ebp - 0xc4], 0xffffffff
lea eax, [ebp - 0x54]
and dword [ebp - 0xbb], 0
add esp, 0xc
mov dword [ebp - 0xd8], eax
lea eax, [ebp - 0x64]
mov dword [ebp - 0xd4], eax
mov eax, dword [ebx + 0x14]
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0xb7], eax
lea eax, [ebp - 0xd8]
push eax
mov dword [ebp - 0xd0], edi
mov dword [ebp - 0xc8], 0x20
mov byte [ebp - 0xbc], 2
mov word [ebp - 0xaf], 1
call fcn.0047b10b
push edi
push dword [ebp - 0x98]
call fcn.0048d535
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00490511
mov esp, ebp
pop ebp
ret 8