Function at 0x4142ce
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xdc
mov eax, dword [0x4963dc]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_GetWindowLongA]
mov ebx, edx
push edi
mov edi, ecx
push 0xfffffffffffffff0
push edi
mov dword [ebp - 0x9c], edi
call esi
test eax, 0x20000000
jne 0x414637
push 0xfffffffffffffff0
push edi
call esi
test al, 1
je 0x414327
mov esi, dword [ebx + 0xc]
mov dword [ebp - 0x94], esi
test esi, esi
jne 0x414339
mov eax, dword [0x49b2b4]
mov dword [ebp - 0x94], eax
jmp 0x414339
mov esi, dword [ebx + 0x10]
test esi, esi
cmove esi, dword [0x49b2b8]
mov dword [ebp - 0x94], esi
push 2
pop edx
mov ecx, edi
call fcn.00482d99
mov edi, eax
mov dword [ebp - 0x98], edi
test edi, edi
je 0x414637
mov edx, dword [0x49b288]
mov ecx, edi
push 2
push 4
call fcn.00482ca0
test eax, eax
je 0x414628
lea eax, [ebp - 0x68]
push eax
push dword [ebp - 0x9c]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 0x64]
neg eax
push eax
mov eax, dword [ebp - 0x68]
neg eax
push eax
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
lea esi, [ebp - 0x68]
mov edx, ebx
lea edi, [ebp - 0x78]
movsd dword es:[edi], dword [esi]
lea ecx, [ebp - 0x78]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.00414128
push dword [ebp - 0x6c]
mov edi, dword [ebp - 0x98]
push dword [ebp - 0x70]
push dword [ebp - 0x74]
push dword [ebp - 0x78]
push edi
call dword [sym.imp.GDI32.dll_ExcludeClipRect]
mov edx, dword [0x49b29c]
mov ecx, edi
push 2
push 2
call fcn.00482ca0
push dword [ebp - 0x5c]
push dword [ebp - 0x60]
push dword [ebp - 0x64]
push dword [ebp - 0x68]
push edi
call dword [sym.imp.GDI32.dll_Rectangle]
test dword [ebx + 0x20], 0x40000
je 0x414449
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 - 0x68]
push eax
call esi
push dword [ebp - 0x5c]
push dword [ebp - 0x60]
push dword [ebp - 0x64]
push dword [ebp - 0x68]
push edi
call dword [sym.imp.GDI32.dll_Rectangle]
mov eax, dword [ebp - 0x64]
mov ecx, edi
mov edx, dword [ebp - 0x68]
inc eax
add eax, dword [ebx]
push eax
mov dword [ebp - 0x5c], eax
call fcn.0048b4a4
push dword [ebp - 0x5c]
push dword [ebp - 0x60]
push edi
call dword [sym.imp.GDI32.dll_LineTo]
push 0xffffffffffffffff
push 0xffffffffffffffff
lea eax, [ebp - 0x68]
push eax
call esi
inc dword [ebp - 0x5c]
jmp 0x4144c8
mov eax, dword [ebp - 0x64]
lea esi, [ebp - 0x68]
lea edi, [ebp - 0x88]
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 - 0x7c], eax
lea eax, [ebp - 0x78]
push eax
call esi
push dword [ebp - 0x6c]
mov edi, dword [ebp - 0x98]
push dword [ebp - 0x70]
push dword [ebp - 0x74]
push dword [ebp - 0x78]
push edi
call dword [sym.imp.GDI32.dll_Rectangle]
push dword [ebp - 0x7c]
mov edx, dword [ebp - 0x88]
mov ecx, edi
call fcn.0048b4a4
push dword [ebp - 0x7c]
push dword [ebp - 0x80]
push edi
call dword [sym.imp.GDI32.dll_LineTo]
push 0xffffffffffffffff
push 0xffffffffffffffff
lea eax, [ebp - 0x88]
push eax
call esi
inc dword [ebp - 0x7c]
lea esi, [ebp - 0x88]
lea edi, [ebp - 0x68]
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 - 0x98]
test dword [ebx + 0x20], 0x80000
je 0x414585
mov esi, dword [ebx + 0x18]
test esi, esi
jne 0x4144ec
push 0x7ff2
push esi
call dword [sym.imp.USER32.dll_LoadBitmapA]
mov esi, eax
jmp 0x414509
lea eax, [ebp - 0x90]
push eax
push 0x18
push esi
call dword [sym.imp.GDI32.dll_GetObjectA]
neg eax
sbb eax, eax
and eax, dword [ebp - 0x8c]
mov dword [ebx + 0x1c], eax
mov ecx, dword [0x49b164]
mov edx, esi
push 2
push 1
mov ecx, dword [ecx + 0xc6]
call fcn.00482ca0
mov esi, eax
test esi, esi
je 0x414560
mov ecx, dword [0x49b164]
push 0xcc0020
push 0
push 0
push dword [ecx + 0xc6]
push dword [ebx]
push dword [ebx + 0x1c]
push dword [ebp - 0x64]
push dword [ebp - 0x68]
push edi
call dword [sym.imp.GDI32.dll_BitBlt]
mov ecx, dword [0x49b164]
mov edx, esi
mov ecx, dword [ecx + 0xc6]
call fcn.004884ad
mov edx, dword [ebp - 0x68]
mov ecx, edi
add edx, dword [ebx + 0x1c]
push dword [ebp - 0x64]
mov dword [ebp - 0x68], edx
call fcn.0048b4a4
mov eax, dword [ebp - 0x5c]
inc eax
push eax
push dword [ebp - 0x68]
push edi
call dword [sym.imp.GDI32.dll_LineTo]
inc dword [ebp - 0x68]
lea eax, [ebp - 0x58]
push eax
push 0x50
push 0xd
push dword [ebp - 0x9c]
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [ebx + 0x24]
test ecx, ecx
je 0x4145b5
mov eax, dword [ebp - 0x94]
push ebx
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x68]
push eax
push edi
call ecx
jmp 0x414628
push 0x3f
lea eax, [ebp - 0xdc]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
or dword [ebp - 0xc8], 0xffffffff
lea eax, [ebp - 0x58]
and dword [ebp - 0xbf], 0
lea ecx, [ebp - 0xdc]
mov dword [ebp - 0xdc], eax
add esp, 0xc
lea eax, [ebp - 0x68]
mov dword [ebp - 0xd4], edi
mov dword [ebp - 0xd8], eax
mov eax, dword [ebx + 0x14]
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0xcc], 0x20
mov byte [ebp - 0xc0], 2
mov dword [ebp - 0xbb], eax
mov word [ebp - 0xb3], 1
call fcn.004798a8
mov ecx, dword [ebp - 0x9c]
mov edx, edi
push 2
call fcn.00482deb
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0048dc69
mov esp, ebp
pop ebp
ret