Function at 0x10009740
Capabilities:
Capture screenshot

Disassembly:
push 0xffffffffffffffff
push 0x1001335d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x9c
push ebx
push ebp
push esi
push edi
lea ecx, [esp + 0x18]
call fcn.1001018e
xor ebx, ebx
push ebx
push ebx
push ebx
push str.DISPLAY
mov dword [esp + 0xc4], ebx
mov dword [esp + 0x38], ebx
call dword [sym.imp.GDI32.dll_CreateDCA]
push eax
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CDC::Attach
cmp eax, ebx
jne 0x100097aa
push ebx
call dword [sym.imp.USER32.dll_GetDC]
push eax
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CDC::Attach
mov dword [esp + 0x28], 1
lea ecx, [esp + 0x30]
call fcn.1001018e
mov edi, dword [esp + 0x1c]
lea eax, [esp + 0x18]
neg eax
sbb eax, eax
mov byte [esp + 0xb4], 1
and eax, edi
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [esp + 0x34]
call sub.MFC42.DLL_CDC::Attach
cmp eax, ebx
je 0x100099fb
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], 0x10014b44
mov eax, dword [esp + 0xc8]
mov ebp, dword [esp + 0xc0]
mov ecx, dword [esp + 0xc4]
mov edi, dword [esp + 0xbc]
mov edx, dword [esp + 0x1c]
sub eax, ebp
sub ecx, edi
mov byte [esp + 0xb4], 2
lea esi, [eax + 1]
lea edi, [ecx + 1]
push esi
push edi
push edx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CGdiObject::Attach
cmp eax, ebx
jne 0x10009883
mov dword [esp + 0x10], 0x10014b30
lea ecx, [esp + 0x10]
mov byte [esp + 0xb4], 3
call sub.MFC42.DLL_CGdiObject::DeleteObject
lea ecx, [esp + 0x30]
mov dword [esp + 0x10], 0x10014b04
mov byte [esp + 0xb4], bl
call sub.MFC42.DLL_CDC::CDC
lea ecx, [esp + 0x18]
mov dword [esp + 0xb4], 0xffffffff
call sub.MFC42.DLL_CDC::CDC
xor eax, eax
jmp 0x10009ab9
lea eax, [esp + 0x10]
test eax, eax
je 0x100098a5
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x100098a5
mov ecx, dword [esp + 0x34]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x2c], eax
jmp 0x100098a9
mov dword [esp + 0x2c], ebx
mov edx, dword [esp + 0x1c]
lea eax, [esp + 0x18]
mov ecx, dword [esp + 0xbc]
neg eax
sbb eax, eax
and eax, edx
mov edx, dword [esp + 0xd0]
push edx
mov edx, dword [esp + 0x38]
push ebp
push ecx
push eax
push esi
push edi
push ebx
push ebx
push edx
call dword [sym.imp.GDI32.dll_BitBlt]
cmp eax, ebx
jne 0x10009928
mov dword [esp + 0x10], 0x10014b30
lea ecx, [esp + 0x10]
mov byte [esp + 0xb4], 4
call sub.MFC42.DLL_CGdiObject::DeleteObject
lea ecx, [esp + 0x30]
mov dword [esp + 0x10], 0x10014b04
mov byte [esp + 0xb4], bl
call sub.MFC42.DLL_CDC::CDC
lea ecx, [esp + 0x18]
mov dword [esp + 0xb4], 0xffffffff
call sub.MFC42.DLL_CDC::CDC
xor eax, eax
jmp 0x10009ab9
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x68]
push eax
push 0x18
push ecx
call dword [sym.imp.GDI32.dll_GetObjectA]
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x6c]
mov eax, ecx
mov esi, dword [esp + 0xcc]
imul eax, edx
mov dword [esp + 0x44], edx
mov dword [esi], eax
lea edx, [eax*4 + 4]
mov dword [esp + 0x40], 0x28
neg ecx
push edx
mov dword [esp + 0x4c], ecx
mov word [esp + 0x50], 1
mov word [esp + 0x52], 0x20
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], ebx
call sub.MFC42.DLL_operatornew
mov ebp, eax
mov ecx, 0xa
lea esi, [esp + 0x44]
lea edi, [esp + 0x84]
lea eax, [esp + 0x14]
add esp, 4
mov edx, dword [esp + 0x70]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x14]
push ebx
neg eax
sbb eax, eax
and eax, ecx
lea ecx, [esp + 0x84]
push ecx
push ebp
push edx
push ebx
push eax
mov eax, dword [esp + 0x34]
push eax
call dword [sym.imp.GDI32.dll_GetDIBits]
cmp eax, ebx
jne 0x10009a26
mov dword [esp + 0x10], 0x10014b30
lea ecx, [esp + 0x10]
mov byte [esp + 0xb4], 5
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov dword [esp + 0x10], 0x10014b04
lea ecx, [esp + 0x30]
mov byte [esp + 0xb4], bl
call sub.MFC42.DLL_CDC::CDC
lea ecx, [esp + 0x18]
mov dword [esp + 0xb4], 0xffffffff
call sub.MFC42.DLL_CDC::CDC
xor eax, eax
jmp 0x10009ab9
mov eax, dword [esp + 0x2c]
cmp eax, ebx
je 0x10009a3a
mov ecx, dword [esp + 0x34]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SelectObject]
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CGdiObject::DeleteObject
lea ecx, [esp + 0x30]
call sub.MFC42.DLL_CDC::DeleteDC
cmp dword [esp + 0x28], ebx
je 0x10009a69
mov edx, dword [esp + 0x1c]
push edx
push ebx
call dword [sym.imp.USER32.dll_ReleaseDC]
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CDC::Detach
jmp 0x10009a72
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CDC::DeleteDC
mov dword [esp + 0x10], 0x10014b30
lea ecx, [esp + 0x10]
mov byte [esp + 0xb4], 6
call sub.MFC42.DLL_CGdiObject::DeleteObject
lea ecx, [esp + 0x30]
mov dword [esp + 0x10], 0x10014b04
mov byte [esp + 0xb4], bl
call sub.MFC42.DLL_CDC::CDC
lea ecx, [esp + 0x18]
mov dword [esp + 0xb4], 0xffffffff
call sub.MFC42.DLL_CDC::CDC
mov eax, ebp
mov ecx, dword [esp + 0xac]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xa8
ret