Function at 0x48dbe9
Capabilities:
Get graphical window text

Disassembly:
mov eax, 0x4d0850
call fcn.0045d02c
sub esp, 0x170
push ebx
push esi
push edi
mov ebx, ecx
call fcn.0048d4d7
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.00472e2d
pop ecx
push eax
push dword [ebp - 0x10]
call dword [sym.imp.GDI32.dll_SetBkColor]
mov ecx, ebx
call fcn.0049ee65
mov eax, dword [ebx + 0x44]
test eax, eax
je 0x48dc92
push 0
push eax
push dword [ebp - 0x10]
mov ecx, ebx
call fcn.0049fae7
jmp 0x48dc9d
lea eax, [ebp - 0x10]
mov ecx, ebx
push eax
call fcn.0049fb7f
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 0x48dcfa
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 0x48dcd6
push dword [ebp + 0xc]
call esi
mov eax, dword [ebp - 0x10]
cmp eax, edi
je 0x48dce7
push eax
mov dword [ebp - 0x10], edi
call dword [sym.imp.GDI32.dll_DeleteDC]
cmp dword [ebp - 0x2c], edi
je 0x48e0bd
push dword [ebp - 0x2c]
call esi
jmp 0x48e0bd
push 1
push 0xff00ff
push eax
lea eax, [ebp - 0x48]
push eax
push dword [ebp - 0x10]
call fcn.0048b577
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 0x48deaf
test al, 0x40
je 0x48ddbd
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 0x48deaf
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.0048ad2a
add esp, 0xc
cmp dword [ebp + 0x10], 1
jne 0x48dd94
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 0x48deaf
test al, 0x80
je 0x48deaf
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 0x48deaf
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 0x48ddfd
mov eax, dword [ebp - 0x70]
mov ecx, dword [ebp - 0x50]
sub ecx, dword [ebp - 0x58]
cmp dword [ebp - 0x70], ecx
jge 0x48de0b
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.0048ad2a
add esp, 0xc
cmp dword [ebp + 0x10], 1
jne 0x48de46
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.0048a8b0
add esp, 0x28
push dword [ebp + 0x10]
push edi
call esi
test edi, edi
je 0x48deaf
push edi
call dword [sym.imp.GDI32.dll_DeleteDC]
test eax, eax
je 0x48dea4
xor edi, edi
test edi, edi
je 0x48deaf
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 0x48dee8
push 1
pop ecx
cmp eax, ecx
je 0x48deea
push 2
pop ecx
cmp eax, ecx
je 0x48deea
xor ecx, ecx
mov eax, dword [edi + 0x14c]
test eax, eax
jne 0x48def9
push 0x20
pop eax
jmp 0x48df0d
cmp eax, 1
jne 0x48df02
push 0x24
jmp 0x48def6
cmp eax, 2
jne 0x48df0b
push 0x28
jmp 0x48def6
xor eax, eax
or eax, ecx
cmp dword [ebp - 0x38], 0
mov dword [ebp + 0x10], eax
je 0x48df3b
mov ecx, dword [ebp - 0x5c]
test ch, 2
je 0x48df26
and dword [ebp + 0x10], 0xfffffffc
jmp 0x48df3b
mov eax, 0x100
and ecx, eax
cmp ecx, eax
jne 0x48df3b
mov eax, dword [ebp + 0x10]
and al, 0xfe
or al, 2
mov dword [ebp + 0x10], eax
mov eax, dword [0x50a49c]
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.004719f6
mov eax, dword [ebp - 0x14]
cmp dword [eax - 8], 0
je 0x48e030
mov eax, dword [ebx + 0x7c]
cmp dword [eax + 0xb9c], 0
je 0x48e030
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 0x48e000
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.004717c9
mov edi, dword [sym.imp.GDI32.dll_DeleteObject]
xor ebx, ebx
cmp dword [ebp - 0x30], ebx
je 0x48e056
push dword [ebp - 0x30]
call edi
cmp dword [ebp - 0x18], ebx
je 0x48e060
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 0x48e098
push dword [ebp - 0x10]
call dword [sym.imp.GDI32.dll_DeleteDC]
test eax, eax
je 0x48e098
mov dword [ebp - 0x10], ebx
cmp dword [ebp + 0xc], ebx
je 0x48e0a2
push dword [ebp + 0xc]
call edi
mov eax, dword [ebp - 0x10]
cmp eax, ebx
je 0x48e0b3
push eax
mov dword [ebp - 0x10], ebx
call dword [sym.imp.GDI32.dll_DeleteDC]
cmp dword [ebp - 0x2c], ebx
je 0x48e0bd
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