Function at 0x48d8bc
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 0x48d904
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 0x48df5d
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 0x48d954
or esi, 0x80
call sub.USER32.dll_GetFocus
mov edx, dword [ebp + 8]
cmp eax, edx
jne 0x48d966
or esi, 0x200
push 0
mov ecx, dword [ebp + 8]
push ecx
call sub.USER32.dll_GetWindowLongA
test ah, 1
je 0x48d97c
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 0x48d9b3
mov eax, dword [ebp - 4]
push eax
mov edx, dword [ebp + 8]
push edx
call sub.USER32.dll_ReleaseDC
jmp 0x48df5d
mov ecx, dword [ebp - 4]
push ecx
call sub.GDI32.dll_CreateCompatibleDC
mov ebx, eax
test ebx, ebx
jne 0x48d9dd
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 0x48df5d
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 0x48da4b
movsx ecx, cl
cmp ecx, 0x7c
jne 0x48da47
mov byte [eax], 0
jmp 0x48da4b
inc edx
inc eax
jmp 0x48da34
test byte [ebp - 0x2f], 2
je 0x48da88
test esi, 0x100
jne 0x48da88
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 0x48daa8
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.004cdfec
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 0x48dba3
mov ecx, dword [ebp - 0x18]
mov al, byte [ecx]
test al, al
je 0x48dadb
test byte [ebp - 0x2f], 4
je 0x48dae4
mov dword [ebp - 0x10], 0x20
jmp 0x48daeb
mov dword [ebp - 0x10], 0x10
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x3c]
sub eax, ecx
sar eax, 1
jns 0x48dafa
adc eax, 0
mov edx, dword [ebp - 0x10]
sar edx, 1
jns 0x48db04
adc edx, 0
sub eax, edx
test byte [ebp - 0x2f], 0x10
je 0x48db2d
mov ecx, dword [ebp - 0x38]
mov edi, dword [ebp - 0x40]
sub ecx, edi
sar ecx, 1
jns 0x48db1b
adc ecx, 0
sub ecx, edx
mov edx, dword [ebp - 0xc]
sar edx, 1
jns 0x48db27
adc edx, 0
sub ecx, edx
mov edx, ecx
jmp 0x48db30
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 0x48db41
xor edx, edx
test esi, 0x80
je 0x48db67
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 0x48dba3
test byte [ebp - 0x2f], 4
je 0x48db89
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 0x48dba3
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 0x48dc86
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 0x48dc03
push 0x11
call sub.USER32.dll_GetSysColor
push eax
push ebx
call sub.GDI32.dll_SetTextColor
jmp 0x48dc11
push 0x12
call sub.USER32.dll_GetSysColor
push eax
push ebx
call sub.GDI32.dll_SetTextColor
mov eax, dword [0x597570]
test eax, eax
je 0x48dc25
push eax
push ebx
call sub.GDI32.dll_SelectObject
mov edi, eax
jmp 0x48dc35
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 0x48dc5e
push 0x8025
lea eax, [ebp - 0xd0]
push eax
mov edx, dword [ebp - 0x18]
push edx
call fcn.004cdfec
pop ecx
push eax
mov ecx, dword [ebp - 0x18]
push ecx
push ebx
call sub.USER32.dll_DrawTextA
jmp 0x48dc7f
push 0x8024
lea eax, [ebp - 0xd0]
push eax
mov edx, dword [ebp - 0x18]
push edx
call fcn.004cdfec
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 0x48dd3c
test esi, 0x100
jne 0x48dd3c
test esi, 0x80
jne 0x48dd3c
test esi, 0x20
jne 0x48dcbc
test esi, 0x40
je 0x48de37
mov dword [ebp - 0x10], 2
test esi, 0x40
je 0x48dcd2
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 0x48de37
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 0x48dd74
test esi, 0x100
je 0x48dd82
mov edx, dword [ebp - 0x28]
push edx
push ebx
call sub.GDI32.dll_SelectObject
mov edi, eax
jmp 0x48dd8e
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 0x48ddd4
test esi, 0x100
je 0x48dde2
mov eax, dword [ebp - 0x2c]
push eax
push ebx
call sub.GDI32.dll_SelectObject
mov edi, eax
jmp 0x48ddee
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 0x48decf
test esi, 0x80
je 0x48de5f
push 0x11
call sub.USER32.dll_GetSysColor
push eax
push 1
push 0
call sub.GDI32.dll_CreatePen
mov dword [ebp - 0x28], eax
jmp 0x48de73
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 0x48df10
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