Function at 0x40f570
Capabilities:
Capture screenshot

Disassembly:
push 0xffffffffffffffff
push 0x42ec68
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x38
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x20]
push eax
call dword [sym.imp.user32.dll_GetDC]
push eax
call sub.mfc42.dll_CDC::FromHandle
lea ecx, [esp + 0x20]
mov ebp, eax
call fcn.0042da2e
xor edi, edi
cmp ebp, edi
mov dword [esp + 0x50], edi
jne 0x40f5b7
xor eax, eax
jmp 0x40f5ba
mov eax, dword [ebp + 4]
push eax
call dword [sym.imp.gdi32.dll_CreateCompatibleDC]
push eax
lea ecx, [esp + 0x24]
call sub.mfc42.dll_CDC::Attach
mov dword [esp + 0x1c], edi
mov dword [esp + 0x18], 0x405320
push 0xdd
push 2
push 0xdd
mov byte [esp + 0x5c], 1
call sub.mfc42.dll_AfxFindResourceHandle
mov ebx, dword [sym.imp.user32.dll_LoadBitmapA]
push eax
call ebx
push eax
lea ecx, [esp + 0x1c]
call sub.mfc42.dll_CGdiObject::Attach
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x30]
push ecx
push 0x18
push edx
call dword [sym.imp.gdi32.dll_GetObjectA]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x24]
push eax
push ecx
call sub.mfc42.dll_CDC::SelectGdiObject
mov edx, dword [esi + 0x60]
mov edi, dword [sym.imp.gdi32.dll_BitBlt]
mov ecx, 0x7f
mov dword [esp + 0x10], eax
cmp edx, ecx
mov dword [esp + 0x14], ecx
jle 0x40f680
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x24]
mov eax, dword [esi + 0x5c]
push 0xcc0020
push 0
push 0
push edx
mov edx, dword [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x48]
sub eax, 0x8b
push ecx
push edx
push eax
mov eax, dword [ebp + 4]
push eax
call edi
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x14]
mov edx, dword [esi + 0x60]
add eax, ecx
cmp eax, edx
mov dword [esp + 0x14], eax
jl 0x40f63f
mov eax, dword [esp + 0x10]
test eax, eax
je 0x40f687
mov eax, dword [eax + 4]
mov ecx, dword [esp + 0x24]
push eax
push ecx
call sub.mfc42.dll_CDC::SelectGdiObject
lea ecx, [esp + 0x18]
call sub.mfc42.dll_CGdiObject::DeleteObject
push 0xe2
push 2
push 0xe2
call sub.mfc42.dll_AfxFindResourceHandle
push eax
call ebx
push eax
lea ecx, [esp + 0x1c]
call sub.mfc42.dll_CGdiObject::Attach
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x30]
push edx
push 0x18
push eax
call dword [sym.imp.gdi32.dll_GetObjectA]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x24]
push ecx
push edx
call sub.mfc42.dll_CDC::SelectGdiObject
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x34]
mov dword [esp + 0x10], eax
mov eax, dword [esi + 0x60]
sub eax, ecx
mov ecx, dword [esi + 0x5c]
sub ecx, edx
mov edx, dword [esp + 0x24]
push 0xcc0020
push 0
push 0
push edx
mov edx, dword [esp + 0x48]
push edx
mov edx, dword [esp + 0x48]
push edx
push eax
mov eax, dword [ebp + 4]
push ecx
push eax
call edi
mov eax, dword [esp + 0x10]
test eax, eax
je 0x40f71b
mov eax, dword [eax + 4]
mov ecx, dword [esp + 0x24]
push eax
push ecx
call sub.mfc42.dll_CDC::SelectGdiObject
lea ecx, [esp + 0x18]
call sub.mfc42.dll_CGdiObject::DeleteObject
mov eax, dword [esp + 0x58]
sub eax, 0
je 0x40fdbf
dec eax
je 0x40fa79
dec eax
jne 0x41002a
push 0xdb
push 2
push 0xdb
call sub.mfc42.dll_AfxFindResourceHandle
push eax
call ebx
push eax
lea ecx, [esp + 0x1c]
call sub.mfc42.dll_CGdiObject::Attach
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x24]
push edx
push eax
call sub.mfc42.dll_CDC::SelectGdiObject
mov ecx, dword [esi + 0x763c]
mov edx, dword [esi + 0x7638]
mov dword [esp + 0x10], eax
mov eax, dword [esi + 0x7644]
sub eax, ecx
mov ecx, dword [esi + 0x7640]
sub ecx, edx
mov edx, dword [esp + 0x24]
push 0xcc0020
push 0
push 0
push edx
push eax
mov eax, dword [esi + 0x763c]
push ecx
push eax
mov eax, dword [esi + 0x7638]
push eax
mov eax, dword [ebp + 4]
push eax
call edi
mov eax, dword [esp + 0x10]
test eax, eax
je 0x40f7c6
mov eax, dword [eax + 4]
mov ecx, dword [esp + 0x24]
push eax
push ecx
call sub.mfc42.dll_CDC::SelectGdiObject
lea ecx, [esp + 0x18]
call sub.mfc42.dll_CGdiObject::DeleteObject
push 0xdc
push 2
push 0xdc
call sub.mfc42.dll_AfxFindResourceHandle
push eax
call ebx
push eax
lea ecx, [esp + 0x1c]
call sub.mfc42.dll_CGdiObject::Attach
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x24]
push edx
push eax
call sub.mfc42.dll_CDC::SelectGdiObject
mov ecx, dword [esi + 0x764c]
mov edx, dword [esi + 0x7648]
mov dword [esp + 0x10], eax
mov eax, dword [esi + 0x7654]
sub eax, ecx
mov ecx, dword [esi + 0x7650]
sub ecx, edx
mov edx, dword [esp + 0x24]
push 0xcc0020
push 0
push 0
push edx
push eax
mov eax, dword [esi + 0x764c]
push ecx
push eax
mov eax, dword [esi + 0x7648]
push eax
mov eax, dword [ebp + 4]
push eax
call edi
mov eax, dword [esp + 0x10]
test eax, eax
je 0x40f856
mov eax, dword [eax + 4]
mov ecx, dword [esp + 0x24]
push eax
push ecx
call sub.mfc42.dll_CDC::SelectGdiObject
lea ecx, [esp + 0x18]
call sub.mfc42.dll_CGdiObject::DeleteObject
push 0xd4
push 2
push 0xd4
call sub.mfc42.dll_AfxFindResourceHandle
push eax
call ebx
push eax
lea ecx, [esp + 0x1c]
call sub.mfc42.dll_CGdiObject::Attach
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x24]
push edx
push eax
call sub.mfc42.dll_CDC::SelectGdiObject
mov ecx, dword [esi + 0x766c]
mov edx, dword [esi + 0x7668]
mov dword [esp + 0x10], eax
mov eax, dword [esi + 0x7674]
sub eax, ecx
mov ecx, dword [esi + 0x7670]
sub ecx, edx
mov edx, dword [esp + 0x24]
push 0xcc0020
push 0
push 0
push edx
push eax
mov eax, dword [esi + 0x766c]
push ecx
push eax
mov eax, dword [esi + 0x7668]
push eax
mov eax, dword [ebp + 4]
push eax
call edi
mov eax, dword [esp + 0x10]
test eax, eax
je 0x40f8e6
mov eax, dword [eax + 4]
mov ecx, dword [esp + 0x24]
push eax
push ecx
call sub.mfc42.dll_CDC::SelectGdiObject
lea ecx, [esp + 0x18]
call sub.mfc42.dll_CGdiObject::DeleteObject
push 0xd8
push 2
push 0xd8
call sub.mfc42.dll_AfxFindResourceHandle
push eax
call ebx
push eax
lea ecx, [esp + 0x1c]
call sub.mfc42.dll_CGdiObject::Attach
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x30]
push edx
push 0x18
push eax
call dword [sym.imp.gdi32.dll_GetObjectA]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x24]
push ecx
push edx
call sub.mfc42.dll_CDC::SelectGdiObject
mov edx, dword [esp + 0x24]
push 0xcc0020
push 0
mov ecx, dword [esi + 0x7668]
push 0
push edx
mov edx, dword [esp + 0x48]
mov dword [esp + 0x20], eax
mov eax, dword [esi + 0x7674]
push edx
mov edx, dword [esp + 0x48]
inc eax
push edx
push eax
mov eax, dword [ebp + 4]
push ecx
push eax
call edi
mov eax, dword [esp + 0x10]
test eax, eax
je 0x40f975
mov eax, dword [eax + 4]
mov ecx, dword [esp + 0x24]
push eax
push ecx
call sub.mfc42.dll_CDC::SelectGdiObject
lea ecx, [esp + 0x18]
call sub.mfc42.dll_CGdiObject::DeleteObject
push 0xef
push 2
push 0xef
call sub.mfc42.dll_AfxFindResourceHandle
push eax
call ebx
push eax
lea ecx, [esp + 0x1c]
call sub.mfc42.dll_CGdiObject::Attach
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x30]
push edx
push 0x18
push eax
call dword [sym.imp.gdi32.dll_GetObjectA]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x24]
push ecx
push edx
call sub.mfc42.dll_CDC::SelectGdiObject
mov edx, dword [esp + 0x24]
push 0xcc0020
push 0
mov ecx, dword [esi + 0x7668]
push 0
push edx
mov edx, dword [esp + 0x48]
mov ebx, eax
mov eax, dword [esi + 0x7674]
push edx
mov edx, dword [esp + 0x48]
add eax, 0xa7
push edx
push eax
mov eax, dword [ebp + 4]
push ecx
push eax
call edi
test ebx, ebx
je 0x40fa02
mov ebx, dword [ebx + 4]
mov ecx, dword [esp + 0x24]
push ebx
push ecx
call sub.mfc42.dll_CDC::SelectGdiObject
lea ecx, [esp + 0x18]
call sub.mfc42.dll_CGdiObject::DeleteObject
mov eax, dword [esi + 0x78]
mov dword [esp + 0x14], 0
test eax, eax
jle 0x41002a
lea edi, [esi + 0x8138]
lea ebx, [esi + 0x404]
mov eax, dword [ebx + 4]
test eax, eax
jne 0x40fa41
cmp dword [ebx], 0
je 0x40fa5b
mov eax, dword [ebx + 0x248]
mov ecx, esi
test eax, eax
push 0
je 0x40fa53
push 2
jmp 0x40fa55
push 3
push edi
call fcn.00411690
mov eax, dword [esp + 0x14]
mov ecx, dword [esi + 0x78]
inc eax
add ebx, 0x358
add edi, 0x24
cmp eax, ecx
mov dword [esp + 0x14], eax
jl 0x40fa35
jmp 0x41002a
push 0xdb
push 2
push 0xdb
call sub.mfc42.dll_AfxFindResourceHandle
push eax
call ebx
push eax
lea ecx, [esp + 0x1c]
call sub.mfc42.dll_CGdiObject::Attach
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x24]
push edx
push eax
call sub.mfc42.dll_CDC::SelectGdiObject
mov ecx, dword [esi + 0x763c]
mov edx, dword [esi + 0x7638]
mov dword [esp + 0x10], eax
mov eax, dword [esi + 0x7644]
sub eax, ecx
mov ecx, dword [esi + 0x7640]
sub ecx, edx
mov edx, dword [esp + 0x24]
push 0xcc0020
push 0
push 0
push edx
push eax
mov eax, dword [esi + 0x763c]
push ecx
push eax
mov eax, dword [esi + 0x7638]
push eax
mov eax, dword [ebp + 4]
push eax
call edi
mov eax, dword [esp + 0x10]
test eax, eax
je 0x40faf5
mov eax, dword [eax + 4]
mov ecx, dword [esp + 0x24]
push eax
push ecx
call sub.mfc42.dll_CDC::SelectGdiObject
lea ecx, [esp + 0x18]
call sub.mfc42.dll_CGdiObject::DeleteObject
push 0xdc
push 2
push 0xdc
call sub.mfc42.dll_AfxFindResourceHandle
push eax
call ebx
push eax
lea ecx, [esp + 0x1c]
call sub.mfc42.dll_CGdiObject::Attach
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x24]
push edx
push eax
call sub.mfc42.dll_CDC::SelectGdiObject
mov ecx, dword [esi + 0x764c]
mov edx, dword [esi + 0x7648]
mov dword [esp + 0x10], eax
mov eax, dword [esi + 0x7654]
sub eax, ecx
mov ecx, dword [esi + 0x7650]
sub ecx, edx
mov edx, dword [esp + 0x24]
push 0xcc0020
push 0
push 0
push edx
push eax
mov eax, dword [esi + 0x764c]
push ecx
push eax
mov eax, dword [esi + 0x7648]
push eax
mov eax, dword [ebp + 4]
push eax
call edi
mov eax, dword [esp + 0x10]
test eax, eax
je 0x40fb85
mov eax, dword [eax + 4]
mov ecx, dword [esp + 0x24]
push eax
push ecx
call sub.mfc42.dll_CDC::SelectGdiObject
lea ecx, [esp + 0x18]
call sub.mfc42.dll_CGdiObject::DeleteObject
push 0xd8
push 2
push 0xd8
call sub.mfc42.dll_AfxFindResourceHandle
push eax
call ebx
push eax
lea ecx, [esp + 0x1c]
call sub.mfc42.dll_CGdiObject::Attach
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x30]
push edx
push 0x18
push eax
call dword [sym.imp.gdi32.dll_GetObjectA]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x24]
push ecx
push edx
call sub.mfc42.dll_CDC::SelectGdiObject
mov edx, dword [esp + 0x24]
push 0xcc0020
push 0
mov ecx, dword [esi + 0x7648]
push 0
push edx
mov edx, dword [esp + 0x48]
mov dword [esp + 0x20], eax
mov eax, dword [esi + 0x7654]
push edx
mov edx, dword [esp + 0x48]
inc eax
push edx
push eax
mov eax, dword [ebp + 4]
push ecx
push eax
call edi
mov eax, dword [esp + 0x10]
test eax, eax
je 0x40fc14
mov eax, dword [eax + 4]
mov ecx, dword [esp + 0x24]
push eax
push ecx
call sub.mfc42.dll_CDC::SelectGdiObject
lea ecx, [esp + 0x18]
call sub.mfc42.dll_CGdiObject::DeleteObject
push 0xef
push 2
push 0xef
call sub.mfc42.dll_AfxFindResourceHandle
push eax
call ebx
push eax
lea ecx, [esp + 0x1c]
call sub.mfc42.dll_CGdiObject::Attach
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x30]
push edx
push 0x18
push eax
call dword [sym.imp.gdi32.dll_GetObjectA]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x24]
push ecx
push edx
call sub.mfc42.dll_CDC::SelectGdiObject
mov edx, dword [esp + 0x24]
push 0xcc0020
push 0
mov ecx, dword [esi + 0x7648]
push 0
push edx
mov edx, dword [esp + 0x48]
mov dword [esp + 0x20], eax
mov eax, dword [esi + 0x7654]
push edx
mov edx, dword [esp + 0x48]
add eax, 0xa7
push edx
push eax
mov eax, dword [ebp + 4]
push ecx
push eax
call edi
mov eax, dword [esp + 0x10]
test eax, eax
je 0x40fca7
mov eax, dword [eax + 4]
mov ecx, dword [esp + 0x24]
push eax
push ecx
call sub.mfc42.dll_CDC::SelectGdiObject
lea ecx, [esp + 0x18]
call sub.mfc42.dll_CGdiObject::DeleteObject
push 0xd4
push 2
push 0xd4
call sub.mfc42.dll_AfxFindResourceHandle
push eax
call ebx
push eax
lea ecx, [esp + 0x1c]
call sub.mfc42.dll_CGdiObject::Attach
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x24]
push edx
push eax
call sub.mfc42.dll_CDC::SelectGdiObject
mov ebx, dword [esi + 0x7678]
mov ecx, dword [esi + 0x7680]
mov edx, dword [esi + 0x767c]
mov dword [esp + 0x10], eax
mov eax, dword [esi + 0x7684]
sub ecx, ebx
mov ebx, dword [esp + 0x24]
push 0xcc0020
push 0
sub eax, edx
push 0
push ebx
push eax
mov eax, dword [esi + 0x7678]
push ecx
mov ecx, dword [ebp + 4]
push edx
push eax
push ecx
call edi
mov eax, dword [esp + 0x10]
test eax, eax
je 0x40fd31
mov eax, dword [eax + 4]
mov edx, dword [esp + 0x24]
push eax
push edx
call sub.mfc42.dll_CDC::SelectGdiObject
lea ecx, [esp + 0x18]
call sub.mfc42.dll_CGdiObject::DeleteObject
mov eax, dword [esi + 0x78]
mov dword [esp + 0x14], 0
test eax, eax
jle 0x41002a
lea edi, [esi + 0x7c70]
lea ebx, [esi + 0x584]
mov eax, dword [ebx + 0xa8]
test eax, eax
je 0x40fd74
push 0
push 1
jmp 0x40fd99
cmp dword [ebx], 0
jne 0x40fd87
mov eax, dword [ebx - 4]
test eax, eax
jne 0x40fd87
mov eax, dword [ebx + 4]
test eax, eax
je 0x40fda1
mov eax, dword [ebx + 0xac]
push 0
test eax, eax
je 0x40fd97
push 2
jmp 0x40fd99
push 3
mov ecx, esi
push edi
call fcn.00411690
mov eax, dword [esp + 0x14]
mov ecx, dword [esi + 0x78]
inc eax
add ebx, 0x358
add edi, 0x24
cmp eax, ecx
mov dword [esp + 0x14], eax
jl 0x40fd64
jmp 0x41002a
push 0xdb
push 2
push 0xdb
call sub.mfc42.dll_AfxFindResourceHandle
push eax
call ebx
push eax
lea ecx, [esp + 0x1c]
call sub.mfc42.dll_CGdiObject::Attach
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x24]
push eax
push ecx
call sub.mfc42.dll_CDC::SelectGdiObject
mov ecx, dword [esi + 0x763c]
mov edx, dword [esi + 0x7638]
mov dword [esp + 0x10], eax
mov eax, dword [esi + 0x7644]
sub eax, ecx
mov ecx, dword [esi + 0x7640]
sub ecx, edx
mov edx, dword [esp + 0x24]
push 0xcc0020
push 0
push 0
push edx
push eax
mov eax, dword [esi + 0x763c]
push ecx
push eax
mov eax, dword [esi + 0x7638]
push eax
mov eax, dword [ebp + 4]
push eax
call edi
mov eax, dword [esp + 0x10]
test eax, eax
je 0x40fe3b
mov eax, dword [eax + 4]
mov ecx, dword [esp + 0x24]
push eax
push ecx
call sub.mfc42.dll_CDC::SelectGdiObject
lea ecx, [esp + 0x18]
call sub.mfc42.dll_CGdiObject::DeleteObject
push 0xd8
push 2
push 0xd8
call sub.mfc42.dll_AfxFindResourceHandle
push eax
call ebx
push eax
lea ecx, [esp + 0x1c]
call sub.mfc42.dll_CGdiObject::Attach
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x30]
push edx
push 0x18
push eax
call dword [sym.imp.gdi32.dll_GetObjectA]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x24]
push ecx
push edx
call sub.mfc42.dll_CDC::SelectGdiObject
mov edx, dword [esp + 0x24]
push 0xcc0020
push 0
mov ecx, dword [esi + 0x7638]
push 0
push edx
mov edx, dword [esp + 0x48]
mov dword [esp + 0x20], eax
mov eax, dword [esi + 0x7644]
push edx
mov edx, dword [esp + 0x48]
inc eax
push edx
push eax
mov eax, dword [ebp + 4]
push ecx
push eax
call edi
mov eax, dword [esp + 0x10]
test eax, eax
je 0x40feca
mov eax, dword [eax + 4]
mov ecx, dword [esp + 0x24]
push eax
push ecx
call sub.mfc42.dll_CDC::SelectGdiObject
lea ecx, [esp + 0x18]
call sub.mfc42.dll_CGdiObject::DeleteObject
push 0xdc
push 2
push 0xdc
call sub.mfc42.dll_AfxFindResourceHandle
push eax
call ebx
push eax
lea ecx, [esp + 0x1c]
call sub.mfc42.dll_CGdiObject::Attach
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x24]
push edx
push eax
call sub.mfc42.dll_CDC::SelectGdiObject
mov ecx, dword [esi + 0x765c]
mov edx, dword [esi + 0x7658]
mov dword [esp + 0x10], eax
mov eax, dword [esi + 0x7664]
sub eax, ecx
mov ecx, dword [esi + 0x7660]
sub ecx, edx
mov edx, dword [esp + 0x24]
push 0xcc0020
push 0
push 0
push edx
push eax
mov eax, dword [esi + 0x765c]
push ecx
push eax
mov eax, dword [esi + 0x7658]
push eax
mov eax, dword [ebp + 4]
push eax
call edi
mov eax, dword [esp + 0x10]
test eax, eax
je 0x40ff5a
mov eax, dword [eax + 4]
mov ecx, dword [esp + 0x24]
push eax
push ecx
call sub.mfc42.dll_CDC::SelectGdiObject
lea ecx, [esp + 0x18]
call sub.mfc42.dll_CGdiObject::DeleteObject
push 0xd4
push 2
push 0xd4
call sub.mfc42.dll_AfxFindResourceHandle
push eax
call ebx
push eax
lea ecx, [esp + 0x1c]
call sub.mfc42.dll_CGdiObject::Attach
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x24]
push edx
push eax
call sub.mfc42.dll_CDC::SelectGdiObject
mov ebx, dword [esi + 0x7678]
mov ecx, dword [esi + 0x7680]
mov edx, dword [esi + 0x767c]
mov dword [esp + 0x10], eax
mov eax, dword [esi + 0x7684]
sub ecx, ebx
mov ebx, dword [esp + 0x24]
push 0xcc0020
push 0
sub eax, edx
push 0
push ebx
push eax
mov eax, dword [esi + 0x7678]
push ecx
mov ecx, dword [ebp + 4]
push edx
push eax
push ecx
call edi
mov eax, dword [esp + 0x10]
test eax, eax
je 0x40ffe4
mov eax, dword [eax + 4]
mov edx, dword [esp + 0x24]
push eax
push edx
call sub.mfc42.dll_CDC::SelectGdiObject
lea ecx, [esp + 0x18]
call sub.mfc42.dll_CGdiObject::DeleteObject
mov eax, dword [esi + 0x328]
lea ecx, [eax + eax*2]
lea ecx, [ecx + ecx*8]
shl ecx, 2
sub ecx, eax
mov edx, dword [esi + ecx*8 + 0x368]
test edx, edx
je 0x41002a
lea edx, [eax + eax*8]
push 0
push 1
mov ecx, esi
lea eax, [esi + edx*4 + 0x77a8]
push eax
call fcn.00411690
lea ecx, [esp + 0x20]
call sub.mfc42.dll_CDC::DeleteDC
mov ecx, dword [ebp + 4]
mov edx, dword [esi + 0x20]
push ecx
push edx
call dword [sym.imp.user32.dll_ReleaseDC]
mov dword [esp + 0x18], 0x404950
lea ecx, [esp + 0x18]
mov byte [esp + 0x50], 2
call sub.mfc42.dll_CGdiObject::DeleteObject
lea ecx, [esp + 0x20]
mov dword [esp + 0x18], 0x40493c
mov dword [esp + 0x50], 0xffffffff
call sub.mfc42.dll_CDC::CDC
mov ecx, dword [esp + 0x48]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x44
ret 4