Function at 0x48cee8
Capabilities:
Capture screenshot
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff20
push ebx
push esi
push edi
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x10], 0x20
mov dword [ebp - 0x14], 9
push 0
push 0
push 0x7f
mov eax, dword [ebp + 8]
push eax
call sub.USER32.dll_SendMessageA
mov dword [ebp - 0x1c], eax
mov edx, dword [ebp - 0x1c]
test edx, edx
jne 0x48cf30
push 0
push 1
push 0x7f
mov ecx, dword [ebp + 8]
push ecx
call sub.USER32.dll_SendMessageA
mov dword [ebp - 0x1c], eax
push 0
mov eax, dword [ebp + 8]
push eax
call sub.USER32.dll_ValidateRect
lea edx, [ebp - 0x40]
push edx
mov ecx, dword [ebp + 8]
push ecx
call sub.USER32.dll_GetClientRect
mov eax, dword [ebp + 8]
push eax
call sub.USER32.dll_GetDC
mov dword [ebp - 4], eax
mov edx, dword [ebp - 4]
test edx, edx
je 0x48d589
push 0
mov ecx, dword [ebp + 8]
push ecx
call sub.USER32.dll_GetWindowLongA
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 8]
push eax
call sub.USER32.dll_IsWindowEnabled
test eax, eax
jne 0x48cf80
or esi, 0x80
call sub.USER32.dll_GetFocus
mov edx, dword [ebp + 8]
cmp eax, edx
jne 0x48cf92
or esi, 0x200
push 0
mov ecx, dword [ebp + 8]
push ecx
call sub.USER32.dll_GetWindowLongA
test ah, 1
je 0x48cfa8
or esi, 0x100
mov eax, dword [ebp - 0x34]
mov edx, dword [ebp - 0x3c]
sub eax, edx
push eax
mov ecx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x40]
sub ecx, eax
push ecx
mov edx, dword [ebp - 4]
push edx
call sub.GDI32.dll_CreateCompatibleBitmap
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
test ecx, ecx
jne 0x48cfdf
mov eax, dword [ebp - 4]
push eax
mov edx, dword [ebp + 8]
push edx
call sub.USER32.dll_ReleaseDC
jmp 0x48d589
mov ecx, dword [ebp - 4]
push ecx
call sub.GDI32.dll_CreateCompatibleDC
mov ebx, eax
test ebx, ebx
jne 0x48d009
mov eax, dword [ebp - 0x20]
push eax
call sub.GDI32.dll_DeleteObject
mov edx, dword [ebp - 4]
push edx
mov ecx, dword [ebp + 8]
push ecx
call sub.USER32.dll_ReleaseDC
jmp 0x48d589
mov eax, dword [ebp - 0x20]
push eax
push ebx
call sub.GDI32.dll_SelectObject
mov dword [ebp - 0x24], eax
push 0xcc0020
mov edx, dword [ebp - 0x3c]
push edx
mov eax, dword [ebp - 0x40]
push eax
mov ecx, dword [ebp - 4]
push ecx
mov ecx, dword [ebp - 0x34]
sub ecx, edx
push ecx
mov edx, dword [ebp - 0x38]
sub edx, eax
push edx
push 0
push 0
push ebx
call sub.GDI32.dll_BitBlt
push 0x80
lea eax, [ebp - 0xc0]
push eax
mov eax, dword [ebp + 8]
push eax
call sub.USER32.dll_GetWindowTextA
lea edx, [ebp - 0xc0]
mov dword [ebp - 0x18], edx
xor edx, edx
mov eax, dword [ebp - 0x18]
mov cl, byte [eax]
test cl, cl
je 0x48d077
movsx ecx, cl
cmp ecx, 0x7c
jne 0x48d073
mov byte [eax], 0
jmp 0x48d077
inc edx
inc eax
jmp 0x48d060
test byte [ebp - 0x2f], 2
je 0x48d0b4
test esi, 0x100
jne 0x48d0b4
mov eax, dword [ebp + 8]
push eax
push 0
push 0x136
mov edx, dword [ebp + 8]
push edx
call sub.USER32.dll_GetParent
push eax
call sub.USER32.dll_SendMessageA
mov edi, eax
lea eax, [ebp - 0x40]
push edi
push eax
push ebx
call sub.USER32.dll_FillRect
push edi
call sub.GDI32.dll_DeleteObject
jmp 0x48d0d4
push 0xf
call sub.USER32.dll_GetSysColor
push eax
call sub.GDI32.dll_CreateSolidBrush
mov edi, eax
lea eax, [ebp - 0x40]
push edi
push eax
push ebx
call sub.USER32.dll_FillRect
push edi
call sub.GDI32.dll_DeleteObject
lea edx, [ebp - 0xc]
push edx
mov ecx, dword [ebp - 0x18]
push ecx
call fcn.004cd3e4
pop ecx
push eax
mov eax, dword [ebp - 0x18]
push eax
push ebx
call sub.GDI32.dll_GetTextExtentPoint32A
mov edx, dword [ebp - 0x1c]
test edx, edx
je 0x48d1cf
mov ecx, dword [ebp - 0x18]
mov al, byte [ecx]
test al, al
je 0x48d107
test byte [ebp - 0x2f], 4
je 0x48d110
mov dword [ebp - 0x10], 0x20
jmp 0x48d117
mov dword [ebp - 0x10], 0x10
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x3c]
sub eax, ecx
sar eax, 1
jns 0x48d126
adc eax, 0
mov edx, dword [ebp - 0x10]
sar edx, 1
jns 0x48d130
adc edx, 0
sub eax, edx
test byte [ebp - 0x2f], 0x10
je 0x48d159
mov ecx, dword [ebp - 0x38]
mov edi, dword [ebp - 0x40]
sub ecx, edi
sar ecx, 1
jns 0x48d147
adc ecx, 0
sub ecx, edx
mov edx, dword [ebp - 0xc]
sar edx, 1
jns 0x48d153
adc edx, 0
sub ecx, edx
mov edx, ecx
jmp 0x48d15c
mov edx, dword [ebp - 0x14]
mov edi, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x10]
sub edi, dword [ebp - 0x40]
add ecx, edx
cmp ecx, edi
jle 0x48d16d
xor edx, edx
test esi, 0x80
je 0x48d193
push 0x13
mov ecx, dword [ebp - 0x10]
push ecx
mov ecx, dword [ebp - 0x10]
push ecx
push eax
push edx
push 0
mov eax, dword [ebp - 0x1c]
push eax
push 0
push 0
push ebx
call sub.USER32.dll_DrawStateA
jmp 0x48d1cf
test byte [ebp - 0x2f], 4
je 0x48d1b5
push 0xb
push 0
push 0
mov ecx, dword [ebp - 0x10]
push ecx
mov ecx, dword [ebp - 0x10]
push ecx
mov ecx, dword [ebp - 0x1c]
push ecx
push eax
push edx
push ebx
call sub.USER32.dll_DrawIconEx
jmp 0x48d1cf
push 3
push 0
push 0
mov ecx, dword [ebp - 0x10]
push ecx
mov ecx, dword [ebp - 0x10]
push ecx
mov ecx, dword [ebp - 0x1c]
push ecx
push eax
push edx
push ebx
call sub.USER32.dll_DrawIconEx
mov eax, dword [ebp - 0x18]
mov dl, byte [eax]
test dl, dl
je 0x48d2b2
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
add eax, edx
mov ecx, dword [ebp - 0x14]
add eax, ecx
mov dword [ebp - 0xd0], eax
mov eax, dword [ebp - 0x38]
mov edx, dword [ebp - 0x14]
sub eax, edx
mov dword [ebp - 0xc8], eax
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 0xcc], ecx
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0xc4], eax
push 1
push ebx
call sub.GDI32.dll_SetBkMode
test esi, 0x80
je 0x48d22f
push 0x11
call sub.USER32.dll_GetSysColor
push eax
push ebx
call sub.GDI32.dll_SetTextColor
jmp 0x48d23d
push 0x12
call sub.USER32.dll_GetSysColor
push eax
push ebx
call sub.GDI32.dll_SetTextColor
mov eax, dword [0x595fe8]
test eax, eax
je 0x48d251
push eax
push ebx
call sub.GDI32.dll_SelectObject
mov edi, eax
jmp 0x48d261
push 0xc
call sub.GDI32.dll_GetStockObject
push eax
push ebx
call sub.GDI32.dll_SelectObject
mov edi, eax
test byte [ebp - 0x2f], 0x10
je 0x48d28a
push 0x8025
lea eax, [ebp - 0xd0]
push eax
mov edx, dword [ebp - 0x18]
push edx
call fcn.004cd3e4
pop ecx
push eax
mov ecx, dword [ebp - 0x18]
push ecx
push ebx
call sub.USER32.dll_DrawTextA
jmp 0x48d2ab
push 0x8024
lea eax, [ebp - 0xd0]
push eax
mov edx, dword [ebp - 0x18]
push edx
call fcn.004cd3e4
pop ecx
push eax
mov ecx, dword [ebp - 0x18]
push ecx
push ebx
call sub.USER32.dll_DrawTextA
push edi
push ebx
call sub.GDI32.dll_SelectObject
test byte [ebp - 0x2f], 2
je 0x48d368
test esi, 0x100
jne 0x48d368
test esi, 0x80
jne 0x48d368
test esi, 0x20
jne 0x48d2e8
test esi, 0x40
je 0x48d463
mov dword [ebp - 0x10], 2
test esi, 0x40
je 0x48d2fe
mov dword [ebp - 0x10], 3
push 0xd
call sub.USER32.dll_GetSysColor
push eax
mov eax, dword [ebp - 0x10]
push eax
push 0
call sub.GDI32.dll_CreatePen
mov dword [ebp - 0x28], eax
push 5
call sub.GDI32.dll_GetStockObject
push eax
push ebx
call sub.GDI32.dll_SelectObject
mov edi, eax
mov eax, dword [ebp - 0x28]
push eax
push ebx
call sub.GDI32.dll_SelectObject
mov dword [ebp - 0x2c], eax
mov edx, dword [ebp - 0x34]
push edx
mov ecx, dword [ebp - 0x38]
push ecx
mov eax, dword [ebp - 0x3c]
inc eax
push eax
mov edx, dword [ebp - 0x40]
inc edx
push edx
push ebx
call sub.GDI32.dll_Rectangle
mov ecx, dword [ebp - 0x2c]
push ecx
push ebx
call sub.GDI32.dll_SelectObject
push edi
push ebx
call sub.GDI32.dll_SelectObject
mov eax, dword [ebp - 0x28]
push eax
call sub.GDI32.dll_DeleteObject
jmp 0x48d463
push 0x10
call sub.USER32.dll_GetSysColor
push eax
push 1
push 0
call sub.GDI32.dll_CreatePen
mov dword [ebp - 0x28], eax
push 0x14
call sub.USER32.dll_GetSysColor
push eax
push 1
push 0
call sub.GDI32.dll_CreatePen
test esi, 0x40
mov dword [ebp - 0x2c], eax
jne 0x48d3a0
test esi, 0x100
je 0x48d3ae
mov edx, dword [ebp - 0x28]
push edx
push ebx
call sub.GDI32.dll_SelectObject
mov edi, eax
jmp 0x48d3ba
mov eax, dword [ebp - 0x2c]
push eax
push ebx
call sub.GDI32.dll_SelectObject
mov edi, eax
push 0
mov eax, dword [ebp - 0x34]
add eax, 0xfffffffe
push eax
mov edx, dword [ebp - 0x40]
push edx
push ebx
call sub.GDI32.dll_MoveToEx
mov ecx, dword [ebp - 0x3c]
push ecx
mov eax, dword [ebp - 0x40]
push eax
push ebx
call sub.GDI32.dll_LineTo
mov edx, dword [ebp - 0x3c]
push edx
mov ecx, dword [ebp - 0x38]
push ecx
push ebx
call sub.GDI32.dll_LineTo
push edi
push ebx
call sub.GDI32.dll_SelectObject
test esi, 0x40
jne 0x48d400
test esi, 0x100
je 0x48d40e
mov eax, dword [ebp - 0x2c]
push eax
push ebx
call sub.GDI32.dll_SelectObject
mov edi, eax
jmp 0x48d41a
mov eax, dword [ebp - 0x28]
push eax
push ebx
call sub.GDI32.dll_SelectObject
mov edi, eax
push 0
mov eax, dword [ebp - 0x3c]
push eax
mov edx, dword [ebp - 0x38]
dec edx
push edx
push ebx
call sub.GDI32.dll_MoveToEx
mov ecx, dword [ebp - 0x34]
dec ecx
push ecx
mov eax, dword [ebp - 0x38]
dec eax
push eax
push ebx
call sub.GDI32.dll_LineTo
mov edx, dword [ebp - 0x34]
dec edx
push edx
mov ecx, dword [ebp - 0x40]
push ecx
push ebx
call sub.GDI32.dll_LineTo
push edi
push ebx
call sub.GDI32.dll_SelectObject
mov eax, dword [ebp - 0x28]
push eax
call sub.GDI32.dll_DeleteObject
mov edx, dword [ebp - 0x2c]
push edx
call sub.GDI32.dll_DeleteObject
test byte [ebp - 0x2f], 8
je 0x48d4fb
test esi, 0x80
je 0x48d48b
push 0x11
call sub.USER32.dll_GetSysColor
push eax
push 1
push 0
call sub.GDI32.dll_CreatePen
mov dword [ebp - 0x28], eax
jmp 0x48d49f
push 0x12
call sub.USER32.dll_GetSysColor
push eax
push 1
push 0
call sub.GDI32.dll_CreatePen
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x28]
push ecx
push ebx
call sub.GDI32.dll_SelectObject
mov edi, eax
push 0
push 0
push 0
push ebx
call sub.GDI32.dll_MoveToEx
mov eax, dword [ebp - 0x34]
dec eax
push eax
push 0
push ebx
call sub.GDI32.dll_LineTo
mov edx, dword [ebp - 0x34]
dec edx
push edx
mov ecx, dword [ebp - 0x38]
dec ecx
push ecx
push ebx
call sub.GDI32.dll_LineTo
push 0
mov eax, dword [ebp - 0x38]
dec eax
push eax
push ebx
call sub.GDI32.dll_LineTo
push 0
push 0
push ebx
call sub.GDI32.dll_LineTo
push edi
push ebx
call sub.GDI32.dll_SelectObject
mov edx, dword [ebp - 0x28]
push edx
call sub.GDI32.dll_DeleteObject
test esi, 0x200
je 0x48d53c
mov dword [ebp - 0xe0], 2
mov ecx, dword [ebp - 0x38]
lea edx, [ebp - 0xe0]
add ecx, 0xfffffffe
mov dword [ebp - 0xd8], ecx
mov dword [ebp - 0xdc], 2
mov eax, dword [ebp - 0x34]
add eax, 0xfffffffe
mov dword [ebp - 0xd4], eax
push edx
push ebx
call sub.USER32.dll_DrawFocusRect
push 0xcc0020
mov edx, dword [ebp - 0x3c]
push edx
mov eax, dword [ebp - 0x40]
push eax
push ebx
mov ecx, dword [ebp - 0x34]
sub ecx, edx
push ecx
mov edx, dword [ebp - 0x38]
sub edx, eax
push edx
push 0
push 0
mov eax, dword [ebp - 4]
push eax
call sub.GDI32.dll_BitBlt
mov ecx, dword [ebp - 0x24]
push ecx
push ebx
call sub.GDI32.dll_SelectObject
mov eax, dword [ebp - 0x20]
push eax
call sub.GDI32.dll_DeleteObject
push ebx
call sub.GDI32.dll_DeleteDC
mov edx, dword [ebp - 4]
push edx
mov ecx, dword [ebp + 8]
push ecx
call sub.USER32.dll_ReleaseDC
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret