Function at 0x656600
Capabilities:
Capture screenshot
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x69bce0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x58
push ebx
push ebp
push esi
mov esi, ecx
lea ecx, [esp + 0x34]
push edi
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x20]
mov edx, dword [eax]
mov ecx, esi
mov dword [esi + 8], edx
mov edx, dword [esi]
mov eax, dword [eax + 4]
mov dword [esi + 0xc], eax
lea eax, [esp + 0x38]
push eax
call dword [edx + 0x24]
mov ecx, dword [eax]
xor ebp, ebp
mov dword [esi + 0x10], ecx
push ebp
mov edx, dword [eax + 4]
mov eax, dword [esi]
mov ecx, esi
mov dword [esi + 0x14], edx
call dword [eax + 0x1c]
mov edx, dword [esi]
push 1
mov ecx, esi
mov dword [esp + 0x14], eax
call dword [edx + 0x1c]
mov ebx, dword [esp + 0x7c]
mov dword [esp + 0x18], eax
mov eax, dword [ebx + 8]
cmp eax, 0xffffffff
je 0x65667a
sub eax, dword [ebx]
mov dword [esi + 8], eax
jmp 0x656684
mov eax, dword [ebx]
mov ecx, dword [esi + 8]
sub ecx, eax
mov dword [esi + 8], ecx
mov eax, dword [ebx + 0xc]
mov ecx, dword [ebx + 4]
cmp eax, 0xffffffff
jne 0x656692
mov eax, dword [esi + 0xc]
sub eax, ecx
mov dword [esi + 0xc], eax
mov eax, dword [esi + 4]
mov edx, dword [eax + 0x20]
push edx
call dword [sym.imp.USER32.dll_GetDC]
push eax
call sub.MFC42u.DLL_CDC::FromHandle
mov edi, eax
lea ecx, [esp + 0x58]
mov dword [esp + 0x24], edi
call fcn.0060887c
lea ecx, [esp + 0x48]
mov dword [esp + 0x70], ebp
call fcn.0060887c
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x28], vtable.CBitmap.0
cmp edi, ebp
mov byte [esp + 0x70], 2
jne 0x6566df
xor eax, eax
jmp 0x6566e2
mov eax, dword [edi + 4]
mov ebp, dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
call ebp
push eax
lea ecx, [esp + 0x5c]
call sub.MFC42u.DLL_CDC::Attach
test eax, eax
je 0x65698b
test edi, edi
jne 0x656705
xor eax, eax
jmp 0x656708
mov eax, dword [edi + 4]
push eax
call ebp
push eax
lea ecx, [esp + 0x4c]
call sub.MFC42u.DLL_CDC::Attach
test eax, eax
je 0x65698b
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 8]
mov ebp, dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
mov eax, dword [edi + 4]
push ecx
push eax
call ebp
mov ecx, dword [esp + 0x78]
push eax
call sub.MFC42u.DLL_CGdiObject::Attach
test eax, eax
je 0x65698b
mov eax, dword [esi + 0x14]
mov ecx, dword [esi + 0x10]
push eax
push ecx
mov ecx, dword [edi + 4]
push ecx
call ebp
push eax
lea ecx, [esp + 0x2c]
call sub.MFC42u.DLL_CGdiObject::Attach
test eax, eax
je 0x65698b
mov eax, dword [esi + 4]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 6
mov edx, dword [eax + 0x20]
push 0x114
push edx
call edi
mov eax, dword [esi + 4]
push 0
push 6
push 0x115
mov eax, dword [eax + 0x20]
push eax
call edi
mov eax, dword [esp + 0x78]
test eax, eax
je 0x656798
mov eax, dword [eax + 4]
mov ecx, dword [esp + 0x5c]
push eax
push ecx
call sub.MFC42u.DLL_CDC::SelectGdiObject
push 5
mov dword [esp + 0x20], eax
call dword [sym.imp.USER32.dll_GetSysColor]
mov edx, dword [esi + 0xc]
push eax
mov eax, dword [esi + 8]
push edx
push eax
push 0
push 0
lea ecx, [esp + 0x6c]
call sub.MFC42u.DLL_CDC::FillSolidRect
mov ebp, dword [esp + 0x2c]
mov ecx, dword [esp + 0x4c]
lea eax, [esp + 0x28]
neg eax
sbb eax, eax
and eax, ebp
push eax
push ecx
call sub.MFC42u.DLL_CDC::SelectGdiObject
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x18]
xor edi, edi
xor ebp, ebp
test eax, eax
mov dword [esp + 0x34], ebp
mov dword [esp + 0x14], ebp
jle 0x65695b
mov eax, dword [ebx + 0xc]
cmp eax, 0xffffffff
je 0x65680a
cmp ebp, eax
jge 0x65695b
mov ecx, dword [esi + 0x14]
mov eax, dword [ebx + 4]
mov edx, ebp
add edx, ecx
cmp edx, eax
jle 0x65692b
mov eax, dword [esp + 0x10]
mov dword [esp + 0x78], 0
test eax, eax
jle 0x656913
mov eax, dword [ebx + 8]
cmp eax, 0xffffffff
je 0x656840
cmp edi, eax
jge 0x656913
mov eax, dword [esi + 0x10]
mov ecx, dword [ebx]
add eax, edi
cmp eax, ecx
jle 0x6568e7
push 5
call dword [sym.imp.USER32.dll_GetSysColor]
mov ecx, dword [esi + 0x14]
mov edx, dword [esi + 0x10]
push eax
push ecx
push edx
push 0
push 0
lea ecx, [esp + 0x5c]
call sub.MFC42u.DLL_CDC::FillSolidRect
mov eax, dword [esi]
push ebp
lea ecx, [esp + 0x4c]
push edi
push ecx
mov ecx, esi
call dword [eax + 0xc]
mov eax, dword [esp + 0x50]
lea edx, [esp + 0x38]
push edx
push eax
call dword [sym.imp.GDI32.dll_GetWindowOrgEx]
push 0
lea ecx, [esp + 0x44]
push 0
push ecx
lea ecx, [esp + 0x54]
call sub.MFC42u.DLL_CDC::SetWindowOrg
mov ecx, dword [esp + 0x34]
mov edx, dword [ebx + 4]
mov eax, dword [ebx]
sub ecx, edx
mov ebx, dword [esp + 0x4c]
mov edx, edi
sub edx, eax
lea eax, [esp + 0x48]
neg eax
sbb eax, eax
mov ebp, dword [esi + 0x14]
and eax, ebx
mov ebx, dword [esp + 0x3c]
push 0xcc0020
push ebx
mov ebx, dword [esp + 0x40]
push ebx
push eax
mov eax, dword [esi + 0x10]
push ebp
push eax
push ecx
push edx
mov edx, dword [esp + 0x7c]
push edx
call dword [sym.imp.GDI32.dll_BitBlt]
mov ebx, dword [esp + 0x7c]
mov ebp, dword [esp + 0x34]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x78]
dec eax
cmp ecx, eax
jge 0x6568fe
mov edx, dword [esi]
push edi
mov ecx, esi
call dword [edx + 8]
mov edi, eax
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x10]
inc eax
cmp eax, ecx
mov dword [esp + 0x78], eax
jl 0x656830
mov eax, dword [esi + 4]
push 0
push 6
push 0x114
mov eax, dword [eax + 0x20]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
xor edi, edi
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
dec ecx
cmp eax, ecx
jge 0x656946
mov edx, dword [esi]
push ebp
mov ecx, esi
call dword [edx + 4]
mov dword [esp + 0x34], eax
mov ebp, eax
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
inc eax
cmp eax, ecx
mov dword [esp + 0x14], eax
jl 0x6567fa
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x656966
mov eax, dword [eax + 4]
push eax
mov eax, dword [esp + 0x60]
push eax
call sub.MFC42u.DLL_CDC::SelectGdiObject
mov eax, dword [esp + 0x20]
test eax, eax
je 0x65697c
mov eax, dword [eax + 4]
mov ecx, dword [esp + 0x4c]
push eax
push ecx
call sub.MFC42u.DLL_CDC::SelectGdiObject
mov edi, dword [esp + 0x24]
mov esi, dword [esi + 4]
mov edx, dword [edi + 4]
push edx
mov eax, dword [esi + 0x20]
push eax
call dword [sym.imp.USER32.dll_ReleaseDC]
mov dword [esp + 0x28], vtable.CGdiObject.0
lea ecx, [esp + 0x28]
mov byte [esp + 0x70], 3
call sub.MFC42u.DLL_CGdiObject::DeleteObject
lea ecx, [esp + 0x48]
mov dword [esp + 0x28], vtable.CObject.0
mov byte [esp + 0x70], 0
call sub.MFC42u.DLL_CDC::CDC
lea ecx, [esp + 0x58]
mov dword [esp + 0x70], 0xffffffff
call sub.MFC42u.DLL_CDC::CDC
mov ecx, dword [esp + 0x68]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x64
ret 8