Function at 0x48c4fc
Capabilities:
Get graphical window text

Disassembly:
mov eax, 0x4b0330
call fcn.0043cb10
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 0x48c537
push dword [ebp + 8]
mov ecx, esi
call fcn.0048cb1b
jmp 0x48ca41
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.0045274f
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 0x48c5a5
mov ecx, edi
call fcn.0047fbea
mov eax, dword [edi + 0x44]
cmp eax, ebx
je 0x48c598
push ebx
push eax
push dword [ebp - 0x60]
mov ecx, edi
call fcn.004815c7
jmp 0x48c5f9
lea eax, [ebp - 0x60]
mov ecx, edi
push eax
call fcn.0048165f
jmp 0x48c5f9
cmp dword [eax + 0x218], ebx
je 0x48c5d5
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.0046a63f
add esp, 0x14
jmp 0x48c5f9
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 [0x4e7dd8]
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 0x48c693
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 0x48c676
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.0043cd70
test eax, eax
pop ecx
jbe 0x48c771
lea eax, [ebp - 0x4a8]
lea ecx, [ebp - 0x34]
push eax
call fcn.00450939
mov esi, dword [ebp - 0x30]
lea eax, [ebp - 0x1c]
push 1
push eax
lea eax, [ebp - 0xa8]
mov ecx, dword [0x4eaa84]
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.00454d8d
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], bl
call fcn.004508ff
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x24]
sub eax, dword [ebp - 0x1c]
sub ecx, dword [ebp - 0x2c]
cmp eax, ecx
jg 0x48c715
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x20]
sub eax, dword [ebp - 0x18]
sub ecx, dword [ebp - 0x28]
cmp eax, ecx
jle 0x48c774
lea eax, [ebp - 0x2c]
mov ecx, esi
push eax
push dword [esi + 4]
call fcn.00481bfc
lea eax, [ebp - 0x2c]
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetParent]
push eax
mov ecx, esi
call fcn.00481bda
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x24]
sub eax, dword [ebp - 0x1c]
sub ecx, dword [ebp - 0x2c]
cmp eax, ecx
jg 0x48c74a
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 0x48c75c
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 0x48c774
mov esi, dword [ebp - 0x30]
mov eax, dword [ebp + 8]
and eax, 0x1f
cmp eax, 8
jg 0x48c81e
je 0x48c80e
sub eax, 3
je 0x48c7ce
dec eax
je 0x48c7a3
dec eax
je 0x48c79f
dec eax
jne 0x48ca35
push 5
jmp 0x48c7a5
push 0x10
jmp 0x48c7a5
push 0xc
call fcn.00451f7b
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 0x48ca35
push ebx
push ebx
push 0x171
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SendMessageA]
cmp eax, ebx
je 0x48ca35
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 0x48ca35
push 0x10
call fcn.00451f7b
mov esi, eax
push 0x10
jmp 0x48ca10
cmp eax, 9
je 0x48ca05
cmp eax, 0xe
je 0x48c8e3
cmp eax, 0x12
jne 0x48ca35
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.00451f7b
push esi
mov edi, eax
call fcn.00451f7b
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.00483789
push 0xffffffffffffffff
lea eax, [ebp - 0x1c]
push 0xffffffffffffffff
push eax
call dword [sym.imp.USER32.dll_InflateRect]
push esi
call fcn.00451f7b
push esi
mov edi, eax
call fcn.00451f7b
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.00483789
dec dword [ebp - 0x1c]
dec dword [ebp - 0x18]
push 0x10
call fcn.00451f7b
push 0x10
mov esi, eax
call fcn.00451f7b
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 0x48ca2d
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 0x48ca35
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 0x48c94e
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 0x48c954
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.00469978
add esp, 0x28
push edi
push dword [ebp + 8]
call esi
mov esi, dword [sym.imp.GDI32.dll_DeleteObject]
cmp edi, ebx
je 0x48c9eb
push edi
call esi
cmp dword [ebp - 0x3c], ebx
je 0x48c9f5
push dword [ebp - 0x3c]
call esi
cmp dword [ebp + 8], ebx
je 0x48ca35
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_DeleteDC]
jmp 0x48ca35
push 5
call fcn.00451f7b
mov esi, eax
push 5
call fcn.00451f7b
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.00483789
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x60]
call fcn.004527da
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 4