Function at 0x4ac464
Capabilities:
Get graphical window text

Disassembly:
mov eax, 0x4f1958
call fcn.0047b598
sub esp, 0x170
push ebx
push esi
push edi
mov ebx, ecx
call fcn.004abd4d
push dword [ebp + 0xc]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.USER32.dll_CopyRect]
lea esi, [ebp - 0x48]
lea edi, [ebp - 0x58]
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 - 0x3c]
mov ecx, dword [ebp - 0x40]
sub eax, dword [ebp - 0x44]
sub ecx, dword [ebp - 0x48]
and dword [ebp - 4], 0
push eax
push ecx
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
and dword [ebp - 0x10], 0
mov dword [ebp - 0x2c], eax
push dword [ebp + 8]
mov edi, dword [sym.imp.GDI32.dll_CreateCompatibleDC]
call edi
push dword [ebp - 0x2c]
mov esi, dword [sym.imp.GDI32.dll_SelectObject]
mov dword [ebp - 0x10], eax
push eax
call esi
mov dword [ebp + 0xc], eax
mov dword [ebp - 0x78], eax
push 0xf
mov byte [ebp - 4], 2
call fcn.00491647
pop ecx
push eax
push dword [ebp - 0x10]
call dword [sym.imp.GDI32.dll_SetBkColor]
mov ecx, ebx
call fcn.004bf8a8
mov eax, dword [ebx + 0x44]
test eax, eax
je 0x4ac50d
push 0
push eax
push dword [ebp - 0x10]
mov ecx, ebx
call fcn.004c0c7b
jmp 0x4ac518
lea eax, [ebp - 0x10]
mov ecx, ebx
push eax
call fcn.004c0d13
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebx + 0x7c]
imul eax, eax, 0x174
cmp dword [eax + ecx + 0x214], 0
lea eax, [eax + ecx + 0x210]
mov dword [ebp - 0x34], eax
jne 0x4ac575
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x2c]
mov esi, dword [sym.imp.GDI32.dll_DeleteObject]
xor edi, edi
cmp dword [ebp + 0xc], edi
je 0x4ac551
push dword [ebp + 0xc]
call esi
mov eax, dword [ebp - 0x10]
cmp eax, edi
je 0x4ac562
push eax
mov dword [ebp - 0x10], edi
call dword [sym.imp.GDI32.dll_DeleteDC]
cmp dword [ebp - 0x2c], edi
je 0x4ac938
push dword [ebp - 0x2c]
call esi
jmp 0x4ac938
push 1
push 0xff00ff
push eax
lea eax, [ebp - 0x48]
push eax
push dword [ebp - 0x10]
call fcn.004a9dee
add esp, 0x14
push 0xfffffffffffffff0
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetWindowLongA]
and eax, 0xffff
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x5c], eax
and dword [ebp - 0x38], 0xc0
je 0x4ac72a
test al, 0x40
je 0x4ac638
xor edi, edi
push edi
push 1
push 0xf6
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SendMessageA]
cmp eax, edi
mov dword [ebp - 0x18], eax
je 0x4ac72a
and dword [ebp - 0x14], 0xfffffffe
push 0x20
pop eax
mov dword [ebp - 0x28], edi
push dword [ebp - 0x14]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x28]
push eax
mov dword [ebp - 0x24], edi
call fcn.004a95a1
add esp, 0xc
cmp dword [ebp + 0x10], 1
jne 0x4ac60f
push 1
lea eax, [ebp - 0x28]
push 1
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
mov eax, dword [ebp - 0x1c]
push 3
sub eax, dword [ebp - 0x24]
push edi
push edi
push eax
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x28]
push eax
push dword [ebp - 0x18]
push dword [ebp - 0x24]
push dword [ebp - 0x28]
push dword [ebp - 0x10]
call dword [sym.imp.USER32.dll_DrawIconEx]
jmp 0x4ac72a
test al, 0x80
je 0x4ac72a
push 0
push 0
push 0xf6
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
mov dword [ebp - 0x18], eax
je 0x4ac72a
lea ecx, [ebp - 0x74]
push ecx
push 0x18
push eax
call dword [sym.imp.GDI32.dll_GetObjectA]
mov eax, dword [ebp - 0x4c]
sub eax, dword [ebp - 0x54]
cmp dword [ebp - 0x70], eax
jge 0x4ac678
mov eax, dword [ebp - 0x70]
mov ecx, dword [ebp - 0x50]
sub ecx, dword [ebp - 0x58]
cmp dword [ebp - 0x70], ecx
jge 0x4ac686
mov ecx, dword [ebp - 0x70]
push dword [ebp - 0x14]
and dword [ebp - 0x28], 0
and dword [ebp - 0x24], 0
inc dword [ebp - 0x70]
inc dword [ebp - 0x6c]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x58]
mov dword [ebp - 0x20], ecx
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.004a95a1
add esp, 0xc
cmp dword [ebp + 0x10], 1
jne 0x4ac6c1
push 1
lea eax, [ebp - 0x28]
push 1
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
push dword [ebp + 8]
mov byte [ebp - 4], 3
call edi
push dword [ebp - 0x18]
mov edi, eax
mov dword [ebp - 0x30], edi
push edi
call esi
mov dword [ebp + 0x10], eax
mov eax, dword [ebp - 0x1c]
sub eax, dword [ebp - 0x24]
push 0xc0c0c0
push 0xcc0020
push 0
push 0
dec eax
push edi
push eax
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x28]
dec eax
push eax
push dword [ebp - 0x24]
push dword [ebp - 0x28]
push dword [ebp - 0x10]
call fcn.004a9127
add esp, 0x28
push dword [ebp + 0x10]
push edi
call esi
test edi, edi
je 0x4ac72a
push edi
call dword [sym.imp.GDI32.dll_DeleteDC]
test eax, eax
je 0x4ac71f
xor edi, edi
test edi, edi
je 0x4ac72a
push edi
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, dword [ebx + 0x7c]
add eax, 0x958
push eax
call dword [sym.imp.GDI32.dll_CreateFontIndirectA]
push eax
mov dword [ebp - 0x18], eax
push dword [ebp - 0x10]
call esi
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x7c], eax
mov edi, dword [ebp - 0x34]
mov eax, dword [edi + 0x148]
test eax, eax
je 0x4ac763
push 1
pop ecx
cmp eax, ecx
je 0x4ac765
push 2
pop ecx
cmp eax, ecx
je 0x4ac765
xor ecx, ecx
mov eax, dword [edi + 0x14c]
test eax, eax
jne 0x4ac774
push 0x20
pop eax
jmp 0x4ac788
cmp eax, 1
jne 0x4ac77d
push 0x24
jmp 0x4ac771
cmp eax, 2
jne 0x4ac786
push 0x28
jmp 0x4ac771
xor eax, eax
or eax, ecx
cmp dword [ebp - 0x38], 0
mov dword [ebp + 0x10], eax
je 0x4ac7b6
mov ecx, dword [ebp - 0x5c]
test ch, 2
je 0x4ac7a1
and dword [ebp + 0x10], 0xfffffffc
jmp 0x4ac7b6
mov eax, 0x100
and ecx, eax
cmp ecx, eax
jne 0x4ac7b6
mov eax, dword [ebp + 0x10]
and al, 0xfe
or al, 2
mov dword [ebp + 0x10], eax
mov eax, dword [0x5308bc]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x17c]
push 0xff
push eax
mov byte [ebp - 4], 6
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea eax, [ebp - 0x17c]
lea ecx, [ebp - 0x14]
push eax
call fcn.00490210
mov eax, dword [ebp - 0x14]
cmp dword [eax - 8], 0
je 0x4ac8ab
mov eax, dword [ebx + 0x7c]
cmp dword [eax + 0xb9c], 0
je 0x4ac8ab
push 1
push dword [ebp - 0x10]
call dword [sym.imp.GDI32.dll_SetBkMode]
cmp dword [edi + 0x154], 1
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenA]
jne 0x4ac87b
lea esi, [ebp - 0x58]
lea edi, [ebp - 0x28]
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 esi, dword [ebp - 0x34]
mov eax, dword [esi + 0x160]
mov ecx, dword [esi + 0x15c]
push eax
lea eax, [ebp - 0x28]
push ecx
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
push dword [esi + 0x158]
push dword [ebp - 0x10]
call dword [sym.imp.GDI32.dll_SetTextColor]
lea eax, [ebp - 0x17c]
push eax
call ebx
push dword [ebp + 0x10]
lea ecx, [ebp - 0x28]
push ecx
push eax
lea eax, [ebp - 0x17c]
push eax
push dword [ebp - 0x10]
call dword [sym.imp.USER32.dll_DrawTextA]
mov esi, dword [sym.imp.GDI32.dll_SelectObject]
mov edi, dword [ebp - 0x34]
push dword [edi + 0x150]
push dword [ebp - 0x10]
call dword [sym.imp.GDI32.dll_SetTextColor]
lea eax, [ebp - 0x17c]
push eax
call ebx
push dword [ebp + 0x10]
lea ecx, [ebp - 0x58]
push ecx
push eax
lea eax, [ebp - 0x17c]
push eax
push dword [ebp - 0x10]
call dword [sym.imp.USER32.dll_DrawTextA]
push dword [ebp - 0x30]
push dword [ebp - 0x10]
call esi
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 5
call fcn.0048ffe3
mov edi, dword [sym.imp.GDI32.dll_DeleteObject]
xor ebx, ebx
cmp dword [ebp - 0x30], ebx
je 0x4ac8d1
push dword [ebp - 0x30]
call edi
cmp dword [ebp - 0x18], ebx
je 0x4ac8db
push dword [ebp - 0x18]
call edi
push 0xcc0020
push ebx
push ebx
push dword [ebp - 0x10]
push dword [ebp - 0x3c]
push dword [ebp - 0x40]
push ebx
push ebx
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_BitBlt]
push dword [ebp + 0xc]
push dword [ebp - 0x10]
call esi
cmp dword [ebp - 0x10], ebx
je 0x4ac913
push dword [ebp - 0x10]
call dword [sym.imp.GDI32.dll_DeleteDC]
test eax, eax
je 0x4ac913
mov dword [ebp - 0x10], ebx
cmp dword [ebp + 0xc], ebx
je 0x4ac91d
push dword [ebp + 0xc]
call edi
mov eax, dword [ebp - 0x10]
cmp eax, ebx
je 0x4ac92e
push eax
mov dword [ebp - 0x10], ebx
call dword [sym.imp.GDI32.dll_DeleteDC]
cmp dword [ebp - 0x2c], ebx
je 0x4ac938
push dword [ebp - 0x2c]
call edi
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x14