Function at 0x402fd1
Capabilities:
Capture screenshot

Disassembly:
mov eax, 0x406cf0
call fcn.00406550
sub esp, 0xc0
push ebx
mov ebx, ecx
push esi
push edi
lea edi, [ebx + 0x224]
mov ecx, edi
call sub.MFC42.DLL_CGdiObject::DeleteObject
lea eax, [ebp - 0x3c]
push eax
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_GetClientRect]
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_GetDC]
push eax
call sub.MFC42.DLL_CDC::FromHandle
and dword [ebp - 0x2c], 0
mov esi, eax
test esi, esi
mov dword [ebp - 0x7c], esi
je 0x403992
lea ecx, [ebp - 0x54]
call sub.MFC42.DLL_CDC::CDC
and dword [ebp - 4], 0
lea ecx, [ebp - 0x28]
call sub.MFC42.DLL_CDC::CDC
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x34]
sub eax, dword [ebp - 0x38]
sub ecx, dword [ebp - 0x3c]
mov byte [ebp - 4], 1
push eax
push ecx
push dword [esi + 4]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
mov ecx, edi
call sub.MFC42.DLL_CGdiObject::Attach
test eax, eax
je 0x40396e
push dword [esi + 4]
mov edi, dword [sym.imp.GDI32.dll_CreateCompatibleDC]
call edi
push eax
lea ecx, [ebp - 0x54]
call sub.MFC42.DLL_CDC::Attach
test eax, eax
je 0x40396e
push dword [esi + 4]
call edi
push eax
lea ecx, [ebp - 0x28]
call sub.MFC42.DLL_CDC::Attach
test eax, eax
je 0x40396e
lea ecx, [ebp - 0x14]
call fcn.004039a4
mov byte [ebp - 4], 2
mov dword [ebp - 0x14], 0x4089f8
lea eax, [ebx + 0x224]
mov byte [ebp - 4], 3
test eax, eax
je 0x4030b5
mov eax, dword [eax + 4]
push eax
push dword [ebp - 0x50]
call sub.MFC42.DLL_CDC::SelectGdiObject
mov dword [ebp - 0x80], eax
lea eax, [ebp - 0x3c]
push 0xffffff
push eax
lea ecx, [ebp - 0x54]
call sub.MFC42.DLL_CDC::FillSolidRect
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 0xc]
push str.QQRes.dll
mov dword [ebp - 0x78], eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov esi, eax
test esi, esi
je 0x4030f6
call sub.MFC42.DLL_AfxGetModuleState
mov dword [eax + 0xc], esi
cmp dword [ebx + 0x26c], 0
je 0x403106
push 0xa45
jmp 0x40310b
push 0x45a
lea ecx, [ebp - 0x14]
call fcn.00403a3b
mov edi, dword [sym.imp.GDI32.dll_GetObjectA]
lea eax, [ebp - 0x70]
push eax
push 0x18
push dword [ebp - 0x10]
call edi
mov eax, dword [ebp - 0x6c]
mov ecx, dword [ebp - 0x3c]
mov esi, dword [ebp - 0x34]
lea edx, [eax + ecx]
sub esi, eax
lea eax, [ebp - 0x14]
sub esi, ecx
neg eax
sbb eax, eax
mov dword [ebp - 0x2c], edx
and eax, dword [ebp - 0x10]
push eax
push dword [ebp - 0x24]
call sub.MFC42.DLL_CDC::SelectGdiObject
mov dword [ebp - 0x18], eax
mov ecx, dword [ebx + 0x118]
lea eax, [ebp - 0x28]
push 0xcc0020
neg eax
sbb eax, eax
push 0
and eax, dword [ebp - 0x24]
push 0
push eax
push ecx
push dword [ebp - 0x6c]
push dword [ebp - 0x38]
push dword [ebp - 0x3c]
push dword [ebp - 0x50]
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x403184
mov eax, dword [eax + 4]
push eax
push dword [ebp - 0x24]
call sub.MFC42.DLL_CDC::SelectGdiObject
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CGdiObject::DeleteObject
push 0x462
lea ecx, [ebp - 0x14]
call fcn.00403a3b
lea eax, [ebp - 0x70]
push eax
push 0x18
push dword [ebp - 0x10]
call edi
sub esi, dword [ebp - 0x6c]
lea eax, [ebp - 0x14]
neg eax
sbb eax, eax
and eax, dword [ebp - 0x10]
push eax
push dword [ebp - 0x24]
call sub.MFC42.DLL_CDC::SelectGdiObject
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x18], eax
sub ecx, dword [ebp - 0x6c]
mov edx, dword [ebx + 0x118]
lea eax, [ebp - 0x28]
push 0xcc0020
neg eax
sbb eax, eax
push 0
and eax, dword [ebp - 0x24]
push 0
push eax
push edx
push dword [ebp - 0x6c]
push dword [ebp - 0x38]
push ecx
push dword [ebp - 0x50]
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x403201
mov eax, dword [eax + 4]
push eax
push dword [ebp - 0x24]
call sub.MFC42.DLL_CDC::SelectGdiObject
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CGdiObject::DeleteObject
push 0x45c
lea ecx, [ebp - 0x14]
call fcn.00403a3b
lea eax, [ebp - 0x70]
push eax
push 0x18
push dword [ebp - 0x10]
call edi
lea eax, [ebp - 0x14]
neg eax
sbb eax, eax
and eax, dword [ebp - 0x10]
push eax
push dword [ebp - 0x24]
call sub.MFC42.DLL_CDC::SelectGdiObject
mov dword [ebp - 0x18], eax
push 0xcc0020
push dword [ebp - 0x68]
mov ecx, dword [ebx + 0x118]
lea eax, [ebp - 0x28]
mov edi, dword [ebp - 0x2c]
push dword [ebp - 0x6c]
neg eax
sbb eax, eax
push 0
and eax, dword [ebp - 0x24]
push 0
push eax
push ecx
push esi
push dword [ebp - 0x38]
push edi
push dword [ebp - 0x50]
call dword [sym.imp.GDI32.dll_StretchBlt]
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x40327c
mov eax, dword [eax + 4]
push eax
push dword [ebp - 0x24]
call sub.MFC42.DLL_CDC::SelectGdiObject
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov eax, dword [ebx + 0x118]
mov ecx, dword [ebp - 0x38]
add esi, edi
mov dword [ebp - 0x90], edi
mov dword [ebp - 0x88], esi
add eax, ecx
lea edi, [ebx + 0x19c]
lea esi, [ebp - 0x90]
mov dword [ebp - 0x8c], ecx
mov dword [ebp - 0x84], eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0x30]
sub esi, dword [ebx + 0x124]
cmp dword [ebx + 0x26c], 0
mov dword [ebp - 0x58], esi
je 0x403355
push 0xa46
lea ecx, [ebp - 0x14]
call fcn.00403a3b
lea eax, [ebp - 0x70]
push eax
push 0x18
push dword [ebp - 0x10]
call dword [sym.imp.GDI32.dll_GetObjectA]
lea eax, [ebp - 0x14]
neg eax
sbb eax, eax
and eax, dword [ebp - 0x10]
push eax
push dword [ebp - 0x24]
call sub.MFC42.DLL_CDC::SelectGdiObject
mov dword [ebp - 0x18], eax
mov ecx, dword [ebx + 0x124]
lea eax, [ebp - 0x28]
mov edi, 0xcc0020
neg eax
sbb eax, eax
push edi
and eax, dword [ebp - 0x24]
push 0
push 0
push eax
push ecx
push dword [ebp - 0x6c]
push esi
push dword [ebp - 0x3c]
push dword [ebp - 0x50]
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x40333f
mov eax, dword [eax + 4]
push eax
push dword [ebp - 0x24]
call sub.MFC42.DLL_CDC::SelectGdiObject
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CGdiObject::DeleteObject
jmp 0x4034dc
push 0x459
lea ecx, [ebp - 0x14]
call fcn.00403a3b
mov esi, dword [sym.imp.GDI32.dll_GetObjectA]
lea eax, [ebp - 0x70]
push eax
push 0x18
push dword [ebp - 0x10]
call esi
mov eax, dword [ebp - 0x6c]
mov ecx, dword [ebp - 0x3c]
mov edi, dword [ebp - 0x34]
lea edx, [eax + ecx]
sub edi, eax
lea eax, [ebp - 0x14]
sub edi, ecx
neg eax
sbb eax, eax
mov dword [ebp - 0x2c], edx
and eax, dword [ebp - 0x10]
push eax
push dword [ebp - 0x24]
call sub.MFC42.DLL_CDC::SelectGdiObject
mov dword [ebp - 0x18], eax
mov ecx, dword [ebx + 0x124]
lea eax, [ebp - 0x28]
push 0xcc0020
neg eax
sbb eax, eax
push 0
and eax, dword [ebp - 0x24]
push 0
push eax
push ecx
push dword [ebp - 0x6c]
push dword [ebp - 0x58]
push dword [ebp - 0x3c]
push dword [ebp - 0x50]
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x4033d3
mov eax, dword [eax + 4]
push eax
push dword [ebp - 0x24]
call sub.MFC42.DLL_CDC::SelectGdiObject
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CGdiObject::DeleteObject
push 0x461
lea ecx, [ebp - 0x14]
call fcn.00403a3b
lea eax, [ebp - 0x70]
push eax
push 0x18
push dword [ebp - 0x10]
call esi
sub edi, dword [ebp - 0x6c]
lea eax, [ebp - 0x14]
neg eax
sbb eax, eax
and eax, dword [ebp - 0x10]
push eax
push dword [ebp - 0x24]
call sub.MFC42.DLL_CDC::SelectGdiObject
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x18], eax
sub ecx, dword [ebp - 0x6c]
mov edx, dword [ebx + 0x124]
lea eax, [ebp - 0x28]
push 0xcc0020
neg eax
sbb eax, eax
push 0
and eax, dword [ebp - 0x24]
push 0
push eax
push edx
push dword [ebp - 0x6c]
push dword [ebp - 0x58]
push ecx
push dword [ebp - 0x50]
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x403450
mov eax, dword [eax + 4]
push eax
push dword [ebp - 0x24]
call sub.MFC42.DLL_CDC::SelectGdiObject
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CGdiObject::DeleteObject
push 0x45b
lea ecx, [ebp - 0x14]
call fcn.00403a3b
lea eax, [ebp - 0x70]
push eax
push 0x18
push dword [ebp - 0x10]
call esi
lea eax, [ebp - 0x14]
neg eax
sbb eax, eax
and eax, dword [ebp - 0x10]
push eax
push dword [ebp - 0x24]
call sub.MFC42.DLL_CDC::SelectGdiObject
mov esi, eax
push 0xcc0020
push dword [ebp - 0x68]
mov ecx, dword [ebx + 0x124]
lea eax, [ebp - 0x28]
push dword [ebp - 0x6c]
neg eax
sbb eax, eax
push 0
and eax, dword [ebp - 0x24]
push 0
push eax
push ecx
push edi
push dword [ebp - 0x58]
push dword [ebp - 0x2c]
push dword [ebp - 0x50]
call dword [sym.imp.GDI32.dll_StretchBlt]
test esi, esi
je 0x4034c6
mov esi, dword [esi + 4]
push esi
push dword [ebp - 0x24]
call sub.MFC42.DLL_CDC::SelectGdiObject
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov edi, 0xcc0020
lea ecx, [ebp - 0x74]
call sub.MFC42.DLL_CString::CString
push 0xa37
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 4
call sub.MFC42.DLL_CString::LoadStringA
mov dword [ebp - 0x44], 0x408734
mov byte [ebp - 4], 5
and dword [ebp - 0x40], 0
mov dword [ebp - 0x44], 0x408a20
mov byte [ebp - 4], 6
mov dword [ebp - 0x44], 0x408b08
push 0x11
mov byte [ebp - 4], 7
call dword [sym.imp.GDI32.dll_GetStockObject]
push eax
lea ecx, [ebp - 0x44]
call sub.MFC42.DLL_CGdiObject::Attach
lea eax, [ebp - 0xcc]
push eax
push 0x3c
push dword [ebp - 0x40]
call dword [sym.imp.GDI32.dll_GetObjectA]
lea ecx, [ebp - 0x44]
mov dword [ebp - 0xbc], 0x2bc
call sub.MFC42.DLL_CGdiObject::Detach
lea eax, [ebp - 0xcc]
push eax
call dword [sym.imp.GDI32.dll_CreateFontIndirectA]
push eax
lea ecx, [ebp - 0x44]
call sub.MFC42.DLL_CGdiObject::Attach
lea eax, [ebp - 0x44]
lea ecx, [ebp - 0x54]
push eax
call sub.MFC42.DLL_CDC::SelectObject
push 1
lea ecx, [ebp - 0x54]
mov esi, eax
call sub.MFC42.DLL_CDC::SetBkMode
push 0xffffff
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x2c], eax
call sub.MFC42.DLL_CDC::SetTextColor
push eax
lea ecx, [ebp - 0x54]
call sub.MFC42.DLL_CDC::SetTextColor
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x54]
call sub.MFC42.DLL_CDC::SetBkMode
push esi
lea ecx, [ebp - 0x54]
call sub.MFC42.DLL_CDC::SelectObject
mov esi, dword [ebp - 0x30]
push 0x458
sub esi, dword [ebx + 0x124]
lea ecx, [ebp - 0x14]
sub esi, dword [ebx + 0x118]
sub esi, dword [ebp - 0x38]
call fcn.00403a3b
lea eax, [ebp - 0x70]
push eax
push 0x18
push dword [ebp - 0x10]
call dword [sym.imp.GDI32.dll_GetObjectA]
lea eax, [ebp - 0x14]
neg eax
sbb eax, eax
and eax, dword [ebp - 0x10]
push eax
push dword [ebp - 0x24]
call sub.MFC42.DLL_CDC::SelectGdiObject
mov ecx, dword [ebx + 0x11c]
mov edx, dword [ebx + 0x118]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x28]
neg eax
push edi
push dword [ebp - 0x68]
sbb eax, eax
push dword [ebp - 0x6c]
and eax, dword [ebp - 0x24]
push 0
push 0
push eax
push esi
push ecx
push edx
push dword [ebp - 0x3c]
push dword [ebp - 0x50]
call dword [sym.imp.GDI32.dll_StretchBlt]
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x403629
mov eax, dword [eax + 4]
push eax
push dword [ebp - 0x24]
call sub.MFC42.DLL_CDC::SelectGdiObject
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CGdiObject::DeleteObject
push 0x460
lea ecx, [ebp - 0x14]
call fcn.00403a3b
lea eax, [ebp - 0x70]
push eax
push 0x18
push dword [ebp - 0x10]
call dword [sym.imp.GDI32.dll_GetObjectA]
lea eax, [ebp - 0x14]
neg eax
sbb eax, eax
and eax, dword [ebp - 0x10]
push eax
push dword [ebp - 0x24]
call sub.MFC42.DLL_CDC::SelectGdiObject
mov edx, dword [ebx + 0x120]
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x18], eax
push edi
push dword [ebp - 0x68]
lea eax, [ebp - 0x28]
sub ecx, edx
push dword [ebp - 0x6c]
neg eax
sbb eax, eax
push 0
and eax, dword [ebp - 0x24]
push 0
push eax
push esi
push edx
push dword [ebx + 0x118]
push ecx
push dword [ebp - 0x50]
call dword [sym.imp.GDI32.dll_StretchBlt]
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x4036a9
mov eax, dword [eax + 4]
push eax
push dword [ebp - 0x24]
call sub.MFC42.DLL_CDC::SelectGdiObject
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov esi, dword [ebp - 0x34]
push 0x639
sub esi, dword [ebx + 0x11c]
lea ecx, [ebp - 0x14]
sub esi, dword [ebx + 0x120]
sub esi, dword [ebp - 0x3c]
call fcn.00403a3b
lea eax, [ebp - 0x70]
push eax
push 0x18
push dword [ebp - 0x10]
call dword [sym.imp.GDI32.dll_GetObjectA]
lea eax, [ebp - 0x14]
neg eax
sbb eax, eax
and eax, dword [ebp - 0x10]
push eax
push dword [ebp - 0x24]
call sub.MFC42.DLL_CDC::SelectGdiObject
mov ecx, dword [ebx + 0x11c]
mov dword [ebp - 0x18], eax
add ecx, dword [ebp - 0x3c]
push edi
push dword [ebp - 0x68]
mov edx, dword [ebx + 0x128]
lea eax, [ebp - 0x28]
push dword [ebp - 0x6c]
neg eax
sbb eax, eax
push 0
and eax, dword [ebp - 0x24]
push 0
push eax
push edx
push esi
push dword [ebx + 0x118]
push ecx
push dword [ebp - 0x50]
call dword [sym.imp.GDI32.dll_StretchBlt]
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x40373f
mov eax, dword [eax + 4]
push eax
push dword [ebp - 0x24]
call sub.MFC42.DLL_CDC::SelectGdiObject
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov eax, dword [ebp - 0x30]
push 0x63a
sub eax, dword [ebx + 0x124]
lea ecx, [ebp - 0x14]
sub eax, dword [ebx + 0x12c]
sub eax, dword [ebp - 0x38]
mov dword [ebp - 0x58], eax
call fcn.00403a3b
lea eax, [ebp - 0x70]
push eax
push 0x18
push dword [ebp - 0x10]
call dword [sym.imp.GDI32.dll_GetObjectA]
lea eax, [ebp - 0x14]
neg eax
sbb eax, eax
and eax, dword [ebp - 0x10]
push eax
push dword [ebp - 0x24]
call sub.MFC42.DLL_CDC::SelectGdiObject
mov ecx, dword [ebx + 0x11c]
mov dword [ebp - 0x18], eax
add ecx, dword [ebp - 0x3c]
push edi
push dword [ebp - 0x68]
mov edx, dword [ebx + 0x12c]
lea eax, [ebp - 0x28]
push dword [ebp - 0x6c]
neg eax
sbb eax, eax
push 0
and eax, dword [ebp - 0x24]
push 0
push eax
push edx
push esi
push dword [ebp - 0x58]
push ecx
push dword [ebp - 0x50]
call dword [sym.imp.GDI32.dll_StretchBlt]
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x4037d5
mov eax, dword [eax + 4]
push eax
push dword [ebp - 0x24]
call sub.MFC42.DLL_CDC::SelectGdiObject
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CGdiObject::DeleteObject
push 0x45f
lea ecx, [ebp - 0x14]
call fcn.00403a3b
lea eax, [ebp - 0x14]
neg eax
sbb eax, eax
and eax, dword [ebp - 0x10]
push eax
push dword [ebp - 0x24]
call sub.MFC42.DLL_CDC::SelectGdiObject
mov edx, dword [ebx + 0x180]
mov esi, dword [ebx + 0x17c]
sub edx, dword [ebx + 0x178]
sub esi, dword [ebx + 0x174]
mov dword [ebp - 0x18], eax
lea eax, [ebx + 0x174]
lea ecx, [ebp - 0x28]
push edi
neg ecx
sbb ecx, ecx
mov eax, dword [eax]
and ecx, dword [ebp - 0x24]
push 0
push 0
push ecx
push edx
push esi
push dword [ebx + 0x178]
push eax
push dword [ebp - 0x50]
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x403855
mov eax, dword [eax + 4]
push eax
push dword [ebp - 0x24]
call sub.MFC42.DLL_CDC::SelectGdiObject
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CGdiObject::DeleteObject
push 0x457
lea ecx, [ebp - 0x14]
call fcn.00403a3b
lea eax, [ebp - 0x14]
neg eax
sbb eax, eax
and eax, dword [ebp - 0x10]
push eax
push dword [ebp - 0x24]
call sub.MFC42.DLL_CDC::SelectGdiObject
mov edx, dword [ebx + 0x190]
mov esi, dword [ebx + 0x18c]
sub edx, dword [ebx + 0x188]
sub esi, dword [ebx + 0x184]
mov dword [ebp - 0x18], eax
lea eax, [ebx + 0x184]
lea ecx, [ebp - 0x28]
push edi
neg ecx
sbb ecx, ecx
mov eax, dword [eax]
and ecx, dword [ebp - 0x24]
push 0
push 0
push ecx
push edx
push esi
push dword [ebx + 0x188]
push eax
push dword [ebp - 0x50]
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x4038d5
mov eax, dword [eax + 4]
push eax
push dword [ebp - 0x24]
call sub.MFC42.DLL_CDC::SelectGdiObject
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov eax, dword [ebp - 0x80]
test eax, eax
je 0x4038f0
mov eax, dword [eax + 4]
push eax
push dword [ebp - 0x50]
call sub.MFC42.DLL_CDC::SelectGdiObject
mov esi, dword [ebp - 0x78]
mov dword [ebp - 0x2c], 1
test esi, esi
je 0x40390f
call sub.MFC42.DLL_AfxGetModuleState
mov dword [eax + 0xc], esi
mov byte [ebp - 4], 4
mov dword [ebp - 0x44], 0x408b08
mov esi, 0x408a20
mov byte [ebp - 4], 4
mov dword [ebp - 0x44], esi
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 9
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov byte [ebp - 4], 4
mov dword [ebp - 0x44], 0x408734
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 3
call fcn.0040610c
mov byte [ebp - 4], 1
mov dword [ebp - 0x14], 0x4089f8
mov byte [ebp - 4], 1
mov dword [ebp - 0x14], esi
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0xb
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov esi, dword [ebp - 0x7c]
mov byte [ebp - 4], 1
push dword [esi + 4]
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_ReleaseDC]
and byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.00406328
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x54]
call fcn.00406328
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x2c]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret