Function at 0x4e9b73
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 0x10]
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
push 0x68
push ebx
call sub.USER32.dll_GetDlgItem
push eax
call sub.USER32.dll_IsWindowVisible
test eax, eax
je 0x4e9e96
push 0x68
push ebx
call sub.USER32.dll_GetDlgItem
push eax
call sub.USER32.dll_IsWindowEnabled
test eax, eax
je 0x4e9e96
push ebx
call sub.USER32.dll_GetDC
mov dword [0x562780], eax
cmp dword [0x562780], 0
je 0x4e9e96
push dword [0x562780]
call fcn.004e9170
push 0x56278c
push 0x69
push ebx
call sub.USER32.dll_GetDlgItem
push eax
call sub.USER32.dll_GetWindowRect
push 2
push 0x56278c
push ebx
push 0
call sub.USER32.dll_MapWindowPoints
mov eax, dword [0x562790]
mov dword [0x5627b0], eax
push 0x56279c
push ebx
call sub.USER32.dll_GetClientRect
mov edx, dword [0x5627b0]
add edx, 7
mov dword [0x5627a8], edx
push dword [0x562780]
call sub.GDI32.dll_CreateCompatibleDC
mov dword [0x562784], eax
push dword [0x5627a8]
push dword [0x5627a4]
push dword [0x562780]
call sub.GDI32.dll_CreateCompatibleBitmap
mov dword [0x562778], eax
push dword [0x562778]
push dword [0x562784]
call sub.GDI32.dll_SelectObject
mov dword [0x56277c], eax
push 1
push dword [0x562784]
call sub.GDI32.dll_SetMapMode
cmp dword [0x532a54], 0
jne 0x4e9c78
cmp dword [0x532a5c], 0
je 0x4e9c8c
push 0xf
call sub.USER32.dll_GetSysColor
push eax
call sub.GDI32.dll_CreateSolidBrush
mov dword [0x562788], eax
jmp 0x4e9c9e
push 5
call sub.USER32.dll_GetSysColor
push eax
call sub.GDI32.dll_CreateSolidBrush
mov dword [0x562788], eax
push dword [0x562788]
push 0x56279c
push dword [0x562784]
call sub.USER32.dll_FillRect
push dword [0x562788]
call sub.GDI32.dll_DeleteObject
xor ecx, ecx
mov dword [0x5627b4], ecx
jmp 0x4e9cf3
cmp edi, eax
je 0x4e9ced
imul edx, dword [0x5627b4], 0x17
cmp dword [esi + edx*4 + 0x34], 0
je 0x4e9cfd
push 0
push 0
push eax
push esi
push dword [0x562784]
push ebx
call fcn.004e9664
inc dword [0x5627b4]
mov eax, dword [0x5627b4]
cmp eax, 0x28
jl 0x4e9cc9
imul ecx, edi, 0x17
push dword [esi + ecx*4 + 0x44]
push 1
push edi
push esi
push dword [0x562784]
push ebx
call fcn.004e9664
push 0x56279c
push dword [esi + 0x34]
call sub.USER32.dll_GetWindowRect
mov eax, dword [0x5627a0]
add eax, 0xfffffff9
mov dword [0x5627b0], eax
push 0x5627ac
push ebx
call sub.USER32.dll_ScreenToClient
push 0x426
push ebx
call sub.USER32.dll_GetDlgItem
mov esi, eax
mov dword [0x5627b8], esi
test esi, esi
je 0x4e9dc3
push dword [0x562798]
push dword [0x562794]
push dword [0x5627b0]
push dword [0x56278c]
call sub.GDI32.dll_CreateRectRgn
mov esi, eax
mov dword [0x5627bc], esi
push esi
push dword [0x562780]
call sub.GDI32.dll_SelectClipRgn
push 0x5627c0
push dword [0x5627b8]
call sub.USER32.dll_GetWindowRect
push 2
push 0x5627c0
push ebx
push 0
call sub.USER32.dll_MapWindowPoints
push dword [0x5627cc]
push dword [0x5627c8]
push dword [0x5627c4]
push dword [0x5627c0]
push dword [0x562780]
call sub.GDI32.dll_ExcludeClipRect
push 0xcc0020
mov edx, dword [0x5627b0]
push edx
mov eax, dword [0x56278c]
push eax
push dword [0x562784]
push dword [0x562798]
push dword [0x562794]
push edx
push eax
push dword [0x562780]
call sub.GDI32.dll_BitBlt
cmp dword [0x5627b8], 0
je 0x4e9e15
push 0
push dword [0x562780]
call sub.GDI32.dll_SelectClipRgn
push dword [0x5627bc]
call sub.GDI32.dll_DeleteObject
push dword [0x56277c]
push dword [0x562784]
call sub.GDI32.dll_SelectObject
push dword [0x562778]
call sub.GDI32.dll_DeleteObject
push dword [0x562784]
call sub.GDI32.dll_DeleteDC
push dword [0x562780]
push ebx
call sub.USER32.dll_ReleaseDC
mov ecx, dword [0x5627a8]
mov dword [0x5627b0], ecx
push 0x5627ac
push ebx
call sub.USER32.dll_ScreenToClient
mov eax, dword [0x5627b0]
mov dword [0x5627a8], eax
xor edx, edx
mov dword [0x56279c], edx
push dword [0x5627a8]
push dword [0x5627a4]
push dword [0x5627a0]
push dword [0x56279c]
push 0
push ebx
call fcn.004e92a4
call fcn.004e9230
pop edi
pop esi
pop ebx
pop ebp
ret 0xc