Function at 0x4ad4fe
Capabilities:
Get graphical window text

Disassembly:
mov eax, 0x4d1d30
call fcn.0045d02c
sub esp, 0x49c
push ebx
push esi
push edi
mov esi, ecx
push str.IsOwnerDraw
mov dword [ebp - 0x30], esi
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetPropA]
xor ebx, ebx
cmp eax, ebx
je 0x4ad539
push dword [ebp + 8]
mov ecx, esi
call fcn.004adb1d
jmp 0x4ada43
lea eax, [ebp - 0x2c]
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetClientRect]
sub esp, 0x10
lea esi, [ebp - 0x2c]
mov edi, esp
lea ecx, [ebp - 0x60]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push dword [ebp + 8]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.00473601
mov edi, dword [ebp - 0x30]
mov dword [ebp - 4], ebx
push dword [edi + 4]
call dword [sym.imp.USER32.dll_IsWindowEnabled]
mov esi, eax
mov eax, dword [edi + 0x70]
neg esi
sbb esi, esi
inc esi
cmp dword [eax + 0x210], ebx
je 0x4ad5a7
mov ecx, edi
call fcn.0049ee65
mov eax, dword [edi + 0x44]
cmp eax, ebx
je 0x4ad59a
push ebx
push eax
push dword [ebp - 0x60]
mov ecx, edi
call fcn.0049fae7
jmp 0x4ad5fb
lea eax, [ebp - 0x60]
mov ecx, edi
push eax
call fcn.0049fb7f
jmp 0x4ad5fb
cmp dword [eax + 0x218], ebx
je 0x4ad5d7
mov ecx, esi
push 1
imul ecx, ecx, 0x148
push 0xff00ff
lea eax, [ecx + eax + 0x214]
push eax
lea eax, [ebp - 0x2c]
push eax
push dword [ebp - 0x60]
call fcn.0048b577
add esp, 0x14
jmp 0x4ad5fb
push dword [eax + esi*4 + 0x4a4]
push dword [ebp - 0x60]
call dword [sym.imp.GDI32.dll_SetBkColor]
push ebx
push ebx
lea eax, [ebp - 0x2c]
push ebx
push eax
push 2
push ebx
push ebx
push dword [ebp - 0x60]
call dword [sym.imp.GDI32.dll_ExtTextOutA]
push 0xfffffffffffffff0
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetWindowLongA]
mov dword [ebp + 8], eax
mov al, byte [0x50dd88]
mov byte [ebp - 0x4a8], al
mov ecx, 0xff
xor eax, eax
lea edi, [ebp - 0x4a7]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov edi, dword [ebp - 0x30]
lea eax, [ebp - 0x4a8]
push 0x3ff
push eax
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextA]
imul esi, esi, 0x2c
mov eax, dword [edi + 0x70]
push 0xb
pop ecx
lea edi, [ebp - 0xa8]
lea esi, [esi + eax + 0x4ac]
rep movsd dword es:[edi], dword [esi]
cmp dword [eax + 0x578], ebx
jne 0x4ad695
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 8]
push 2
and eax, 1
pop ecx
and edx, ecx
mov dword [ebp - 0x38], edx
jne 0x4ad678
xor ecx, ecx
cmp eax, ebx
setne cl
mov eax, dword [ebp + 8]
push 0
and eax, 0x200
mov dword [ebp - 0xa8], ecx
mov dword [ebp - 0x38], eax
pop eax
setne al
mov dword [ebp - 0xa4], eax
lea eax, [ebp - 0x4a8]
push eax
call fcn.0045d290
test eax, eax
pop ecx
jbe 0x4ad773
lea eax, [ebp - 0x4a8]
lea ecx, [ebp - 0x34]
push eax
call fcn.004717f2
mov esi, dword [ebp - 0x30]
lea eax, [ebp - 0x1c]
push 1
push eax
lea eax, [ebp - 0xa8]
mov ecx, dword [0x510a54]
push eax
mov eax, dword [esi + 0x70]
add eax, 0x504
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x34]
push eax
push dword [ebp - 0x60]
call fcn.00475c3f
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], bl
call fcn.004717c9
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x24]
sub eax, dword [ebp - 0x1c]
sub ecx, dword [ebp - 0x2c]
cmp eax, ecx
jg 0x4ad717
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x20]
sub eax, dword [ebp - 0x18]
sub ecx, dword [ebp - 0x28]
cmp eax, ecx
jle 0x4ad776
lea eax, [ebp - 0x2c]
mov ecx, esi
push eax
push dword [esi + 4]
call fcn.004a011c
lea eax, [ebp - 0x2c]
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetParent]
push eax
mov ecx, esi
call fcn.004a00fa
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x24]
sub eax, dword [ebp - 0x1c]
sub ecx, dword [ebp - 0x2c]
cmp eax, ecx
jg 0x4ad74c
mov eax, ecx
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x20]
sub ecx, dword [ebp - 0x18]
sub edx, dword [ebp - 0x28]
cmp ecx, edx
jg 0x4ad75e
mov ecx, edx
push 1
push ecx
push eax
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_MoveWindow]
jmp 0x4ad776
mov esi, dword [ebp - 0x30]
mov eax, dword [ebp + 8]
and eax, 0x1f
cmp eax, 8
jg 0x4ad820
je 0x4ad810
sub eax, 3
je 0x4ad7d0
dec eax
je 0x4ad7a5
dec eax
je 0x4ad7a1
dec eax
jne 0x4ada37
push 5
jmp 0x4ad7a7
push 0x10
jmp 0x4ad7a7
push 0xc
call fcn.00472e2d
pop ecx
push eax
push dword [ebp - 0x60]
call dword [sym.imp.GDI32.dll_SetBkColor]
push ebx
push ebx
lea eax, [ebp - 0x2c]
push ebx
push eax
push 2
push ebx
push ebx
push dword [ebp - 0x60]
call dword [sym.imp.GDI32.dll_ExtTextOutA]
jmp 0x4ada37
push ebx
push ebx
push 0x171
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SendMessageA]
cmp eax, ebx
je 0x4ada37
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x24]
sub ecx, dword [ebp - 0x28]
sub edx, dword [ebp - 0x2c]
push 3
push ecx
push edx
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push ebx
push eax
push ebx
push ebx
push dword [ebp - 0x60]
call dword [sym.imp.USER32.dll_DrawStateA]
jmp 0x4ada37
push 0x10
call fcn.00472e2d
mov esi, eax
push 0x10
jmp 0x4ada12
cmp eax, 9
je 0x4ada07
cmp eax, 0xe
je 0x4ad8e5
cmp eax, 0x12
jne 0x4ada37
lea esi, [ebp - 0x2c]
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]
push 0x14
pop esi
push esi
call fcn.00472e2d
push esi
mov edi, eax
call fcn.00472e2d
pop ecx
pop ecx
push edi
push eax
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 0x60]
sub eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp - 0x1c]
push eax
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
call fcn.004a1c8d
push 0xffffffffffffffff
lea eax, [ebp - 0x1c]
push 0xffffffffffffffff
push eax
call dword [sym.imp.USER32.dll_InflateRect]
push esi
call fcn.00472e2d
push esi
mov edi, eax
call fcn.00472e2d
pop ecx
pop ecx
push edi
push eax
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 0x60]
sub eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp - 0x1c]
push eax
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
call fcn.004a1c8d
dec dword [ebp - 0x1c]
dec dword [ebp - 0x18]
push 0x10
call fcn.00472e2d
push 0x10
mov esi, eax
call fcn.00472e2d
pop ecx
pop ecx
push esi
push eax
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp - 0x1c]
push eax
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
jmp 0x4ada2f
push ebx
push ebx
push 0x173
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SendMessageA]
cmp eax, ebx
mov dword [ebp - 0x38], eax
je 0x4ada37
lea esi, [ebp - 0x2c]
lea edi, [ebp - 0x1c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
test byte [ebp + 9], 2
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
je 0x4ad950
lea ecx, [ebp - 0x7c]
push ecx
push 0x18
push eax
call dword [sym.imp.GDI32.dll_GetObjectA]
mov eax, dword [ebp - 0x14]
mov edi, dword [ebp - 0x78]
sub eax, edi
mov esi, dword [ebp - 0x18]
sub eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x74]
cdq
sub eax, edx
sar eax, 1
add dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
add edi, eax
mov eax, dword [ebp - 0x10]
sub eax, esi
sub eax, ecx
cdq
sub eax, edx
sar eax, 1
add esi, eax
mov dword [ebp - 0x18], esi
add esi, ecx
jmp 0x4ad956
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp - 0x14]
push dword [ebp - 0x60]
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov dword [ebp + 8], eax
sub esi, dword [ebp - 0x18]
sub edi, dword [ebp - 0x1c]
push esi
push edi
push dword [ebp - 0x60]
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x30], edi
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov esi, dword [sym.imp.GDI32.dll_SelectObject]
push eax
push dword [ebp + 8]
mov dword [ebp - 0x3c], eax
call esi
mov edi, eax
mov dword [ebp - 0x64], edi
push 4
mov byte [ebp - 4], 4
push dword [ebp - 0x34]
push dword [ebp - 0x30]
push ebx
push ebx
push ebx
push dword [ebp - 0x38]
push ebx
push ebx
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_DrawStateA]
mov eax, dword [ebp - 0x60]
push 0xf
mov dword [ebp - 0x38], eax
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
push 0xcc0020
push ebx
push ebx
push dword [ebp + 8]
push dword [ebp - 0x34]
push dword [ebp - 0x30]
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
push dword [ebp - 0x38]
call fcn.0048a8b0
add esp, 0x28
push edi
push dword [ebp + 8]
call esi
mov esi, dword [sym.imp.GDI32.dll_DeleteObject]
cmp edi, ebx
je 0x4ad9ed
push edi
call esi
cmp dword [ebp - 0x3c], ebx
je 0x4ad9f7
push dword [ebp - 0x3c]
call esi
cmp dword [ebp + 8], ebx
je 0x4ada37
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_DeleteDC]
jmp 0x4ada37
push 5
call fcn.00472e2d
mov esi, eax
push 5
call fcn.00472e2d
pop ecx
pop ecx
push esi
push eax
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x24]
sub eax, dword [ebp - 0x2c]
push eax
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x60]
call fcn.004a1c8d
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x60]
call fcn.0047368c
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 4