Function at 0x424c30
Capabilities:
Capture screenshot

Disassembly:
push 0xffffffffffffffff
push 0x4b4e5b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x7c
push ebx
mov al, byte [0x1404c14]
xor ebx, ebx
cmp al, bl
mov dword [esp + 0x88], ebx
je 0x424c87
lea ecx, [esp + 0xbc]
mov dword [esp + 0x88], 0xffffffff
call sub.MFC42u.DLL_CString::CString
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x7c]
mov dword fs:[0], ecx
add esp, 0x88
ret
push ebp
push esi
push edi
lea ecx, [esp + 0x24]
call sub.MFC42u.DLL_CDC::CDC
push ebx
push ebx
push ebx
push str.DISPLAY
mov byte [esp + 0xa4], 1
call dword [sym.imp.GDI32.dll_CreateDCW]
push eax
lea ecx, [esp + 0x28]
call sub.MFC42u.DLL_CDC::Attach
mov dword [esp + 0x20], ebx
mov dword [esp + 0x1c], 0x4bc520
mov esi, dword [esp + 0xb8]
mov edi, dword [esp + 0xb0]
mov eax, dword [esp + 0x28]
push esi
push edi
push eax
mov byte [esp + 0xa0], 2
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
lea ecx, [esp + 0x20]
call sub.MFC42u.DLL_CGdiObject::Attach
lea ecx, [esp + 0x44]
call sub.MFC42u.DLL_CDC::CDC
mov ebp, dword [esp + 0x28]
lea eax, [esp + 0x24]
neg eax
sbb eax, eax
mov byte [esp + 0x94], 3
and eax, ebp
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [esp + 0x48]
call sub.MFC42u.DLL_CDC::Attach
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x48]
lea eax, [esp + 0x1c]
neg eax
sbb eax, eax
and eax, edx
push eax
push ecx
call sub.MFC42u.DLL_CDC::SelectGdiObject
mov edx, dword [esp + 0x28]
lea eax, [esp + 0x24]
neg eax
sbb eax, eax
push 0x40cc0020
and eax, edx
mov edx, dword [esp + 0xb8]
push edx
push ebx
push eax
mov eax, dword [esp + 0x58]
push esi
push edi
push ebx
push ebx
push eax
call dword [sym.imp.GDI32.dll_BitBlt]
mov edi, dword [esp + 0x28]
lea eax, [esp + 0x24]
mov esi, dword [sym.imp.USER32.dll_ReleaseDC]
neg eax
sbb eax, eax
and eax, edi
push eax
push ebx
call esi
lea eax, [esp + 0x44]
neg eax
sbb eax, eax
and eax, dword [esp + 0x48]
push eax
push ebx
call esi
mov edi, dword [esp + 0x20]
push 0x10
call sub.gdiplus.dll_GdipAlloc
mov esi, eax
cmp esi, ebx
je 0x424dbc
lea ecx, [esp + 0x18]
mov dword [esi], 0x4bc4d0
push ecx
push ebx
push edi
mov dword [esp + 0x24], ebx
call sub.gdiplus.dll_GdipCreateBitmapFromHBITMAP
mov edx, dword [esp + 0x18]
mov dword [esi + 8], eax
mov dword [esi + 4], edx
jmp 0x424dbe
xor esi, esi
push 0x4d27a8
lea ecx, [esp + 0x14]
call sub.MFC42u.DLL_CString::CString_2
mov eax, dword [esp + 0xc4]
mov ebp, 1
cmp eax, ebp
mov byte [esp + 0x94], 4
jne 0x424df2
push 0x4d34fc
lea ecx, [esp + 0x14]
call fcn.004b0454
mov eax, dword [esp + 0x10]
mov edi, dword [sym.imp.MSVCRT.dll_wcscmp]
push 0x4d3554
push eax
call edi
add esp, 8
cmp eax, ebx
jne 0x424e1a
lea ecx, [esp + 0x34]
push ecx
push 0x4d3540
jmp 0x424eca
mov edx, dword [esp + 0x10]
push 0x4d27a8
push edx
call edi
add esp, 8
cmp eax, ebx
je 0x424ec0
mov eax, dword [esp + 0x10]
push 0x4d361c
push eax
call edi
add esp, 8
cmp eax, ebx
je 0x424ec0
mov ecx, dword [esp + 0x10]
push 0x4d3518
push ecx
call edi
add esp, 8
cmp eax, ebx
jne 0x424e63
lea edx, [esp + 0x34]
push edx
push str.image_png
jmp 0x424eca
mov eax, dword [esp + 0x10]
push 0x4d34fc
push eax
call edi
add esp, 8
cmp eax, ebx
jne 0x424e82
lea ecx, [esp + 0x34]
push ecx
push str.image_gif
jmp 0x424eca
mov edx, dword [esp + 0x10]
push 0x4d34e0
push edx
call edi
add esp, 8
cmp eax, ebx
jne 0x424ea1
lea eax, [esp + 0x34]
push eax
push str.image_tiff
jmp 0x424eca
mov ecx, dword [esp + 0x10]
push 0x4d34c0
push ecx
call edi
add esp, 8
cmp eax, ebx
jne 0x424ed2
lea edx, [esp + 0x34]
push edx
push str.image_ico
jmp 0x424eca
lea eax, [esp + 0x34]
push eax
push str.image_jpeg
call fcn.0043c750
add esp, 8
mov eax, dword [esp + 0xc0]
mov dword [esp + 0x14], 0x41
cmp eax, ebp
jne 0x424eef
mov dword [esp + 0x14], 0x64
jmp 0x424f29
cmp eax, 2
jne 0x424efe
mov dword [esp + 0x14], 0x50
jmp 0x424f29
cmp eax, 3
jne 0x424f0d
mov dword [esp + 0x14], 0x32
jmp 0x424f29
cmp eax, 4
jne 0x424f1c
mov dword [esp + 0x14], 0x1e
jmp 0x424f29
cmp eax, 5
jne 0x424f29
mov dword [esp + 0x14], 0xa
mov ecx, dword [0x4c0f14]
mov edx, dword [0x4c0f18]
mov eax, dword [0x4c0f1c]
mov dword [esp + 0x70], ecx
mov ecx, dword [0x4c0f20]
mov dword [esp + 0x74], edx
mov dword [esp + 0x7c], ecx
lea edx, [esp + 0x14]
push ebx
lea ecx, [esp + 0x58]
mov dword [esp + 0x70], ebp
mov dword [esp + 0x7c], eax
mov dword [esp + 0x88], 4
mov dword [esp + 0x84], ebp
mov dword [esp + 0x8c], edx
call sub.MFC42u.DLL_COleStreamFile::COleStreamFile
push ebx
lea ecx, [esp + 0x58]
mov byte [esp + 0x98], 5
call sub.MFC42u.DLL_COleStreamFile::CreateMemoryStream
mov eax, dword [esp + 0x54]
push ebx
push ebx
lea ecx, [esp + 0x5c]
call dword [eax + 0x30]
lea ecx, [esp + 0x54]
call sub.MFC42u.DLL_COleStreamFile::GetStream
lea ecx, [esp + 0x6c]
lea edx, [esp + 0x34]
push ecx
push edx
push eax
mov eax, dword [esi + 4]
push eax
call sub.gdiplus.dll_GdipSaveImageToStream
cmp eax, ebx
je 0x424fbe
mov dword [esi + 8], eax
lea ecx, [esp + 0x54]
call sub.MFC42u.DLL_COleStreamFile::GetLength
mov ebp, dword [esp + 0xac]
mov dword [ebp], eax
inc eax
push eax
call sub.MFC42u.DLL_operatornew
mov edx, dword [esp + 0x58]
add esp, 4
lea ecx, [esp + 0x54]
mov edi, eax
push ebx
push ebx
call dword [edx + 0x30]
mov eax, dword [ebp]
lea ecx, [esp + 0x54]
push eax
push edi
call sub.MFC42u.DLL_COleStreamFile::Read
lea ecx, [esp + 0x54]
call sub.MFC42u.DLL_COleStreamFile::Close
cmp esi, ebx
je 0x42500d
mov edx, dword [esi]
push 1
mov ecx, esi
call dword [edx]
lea ecx, [esp + 0x1c]
call sub.MFC42u.DLL_CGdiObject::DeleteObject
lea ecx, [esp + 0x54]
mov byte [esp + 0x94], 4
call fcn.004b05e6
lea ecx, [esp + 0x10]
mov byte [esp + 0x94], 3
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x44]
mov byte [esp + 0x94], 2
call fcn.004b05ce
mov dword [esp + 0x1c], 0x4bc50c
lea ecx, [esp + 0x1c]
mov byte [esp + 0x94], 6
call sub.MFC42u.DLL_CGdiObject::DeleteObject
lea ecx, [esp + 0x24]
mov dword [esp + 0x1c], 0x4bc480
mov byte [esp + 0x94], bl
call fcn.004b05ce
lea ecx, [esp + 0xc8]
mov dword [esp + 0x94], 0xffffffff
call sub.MFC42u.DLL_CString::CString
mov ecx, dword [esp + 0x8c]
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x88
ret