Function at 0x43f0b4
Capabilities:
Capture screenshot

Disassembly:
mov eax, 0x4b8e8c
call fcn.00458b70
sub esp, 0xa4
push ebx
push esi
mov esi, ecx
push edi
xor edi, edi
lea ecx, [esi + 0x88]
cmp ecx, edi
je 0x43f0df
cmp dword [ecx + 4], edi
je 0x43f0df
call sub.MFC42.DLL_CGdiObject::DeleteObject
push dword [esi + 0x20]
mov dword [ebp - 0x10], edi
call dword [sym.imp.USER32.dll_GetDC]
push eax
call sub.MFC42.DLL_CDC::FromHandle
mov ebx, eax
cmp ebx, edi
mov dword [ebp - 0x48], ebx
je 0x43f496
lea eax, [ebp - 0x5c]
push eax
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetClientRect]
lea ecx, [ebp - 0x30]
call sub.MFC42.DLL_CDC::CDC
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], edi
call sub.MFC42.DLL_CDC::CDC
push dword [ebx + 4]
mov edi, dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov byte [ebp - 4], 1
call edi
push eax
lea ecx, [ebp - 0x30]
call sub.MFC42.DLL_CDC::Attach
test eax, eax
je 0x43f472
mov eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x54]
sub eax, dword [ebp - 0x58]
sub ecx, dword [ebp - 0x5c]
push eax
push ecx
push dword [ebx + 4]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
lea ecx, [esi + 0x88]
call sub.MFC42.DLL_CGdiObject::Attach
test eax, eax
je 0x43f472
push dword [ebx + 4]
call edi
push eax
lea ecx, [ebp - 0x40]
call sub.MFC42.DLL_CDC::Attach
test eax, eax
je 0x43f472
lea eax, [esi + 0x88]
test eax, eax
je 0x43f18c
mov eax, dword [eax + 4]
push eax
push dword [ebp - 0x2c]
call sub.MFC42.DLL_CDC::SelectGdiObject
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x5c]
push 0xffffff
push eax
lea ecx, [ebp - 0x30]
call sub.MFC42.DLL_CDC::FillSolidRect
mov dword [ebp - 0x18], 0x4c8778
mov ebx, 0x4cb464
mov byte [ebp - 4], 2
and dword [ebp - 0x14], 0
mov dword [ebp - 0x18], ebx
mov byte [ebp - 4], 3
mov dword [ebp - 0x18], 0x4cd558
push dword [esi + 0x54]
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 4
call fcn.004334d6
mov edi, dword [sym.imp.GDI32.dll_GetObjectA]
test eax, eax
je 0x43f23d
lea eax, [ebp - 0x74]
push eax
push 0x18
push dword [ebp - 0x14]
call edi
lea eax, [ebp - 0x18]
neg eax
sbb eax, eax
and eax, dword [ebp - 0x14]
push eax
push dword [ebp - 0x3c]
call sub.MFC42.DLL_CDC::SelectGdiObject
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x40]
neg eax
sbb eax, eax
xor ecx, ecx
and eax, dword [ebp - 0x3c]
push 0xcc0020
push ecx
push ecx
push eax
push dword [ebp - 0x6c]
push dword [ebp - 0x70]
push ecx
push ecx
push dword [ebp - 0x2c]
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x43f234
mov eax, dword [eax + 4]
push eax
push dword [ebp - 0x3c]
call sub.MFC42.DLL_CDC::SelectGdiObject
lea ecx, [ebp - 0x18]
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov eax, dword [esi + 0x58]
test eax, eax
je 0x43f2b2
push eax
lea ecx, [ebp - 0x18]
call fcn.004334d6
test eax, eax
je 0x43f2b2
lea eax, [ebp - 0x74]
push eax
push 0x18
push dword [ebp - 0x14]
call edi
lea eax, [ebp - 0x18]
neg eax
sbb eax, eax
and eax, dword [ebp - 0x14]
push eax
push dword [ebp - 0x3c]
call sub.MFC42.DLL_CDC::SelectGdiObject
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x40]
neg eax
sbb eax, eax
xor ecx, ecx
and eax, dword [ebp - 0x3c]
push 0xcc0020
push ecx
push ecx
push eax
push dword [ebp - 0x6c]
push dword [ebp - 0x70]
push ecx
push ecx
push dword [ebp - 0x2c]
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x43f2a9
mov eax, dword [eax + 4]
push eax
push dword [ebp - 0x3c]
call sub.MFC42.DLL_CDC::SelectGdiObject
lea ecx, [ebp - 0x18]
call sub.MFC42.DLL_CGdiObject::DeleteObject
push 0x475
lea ecx, [ebp - 0x18]
call fcn.004334d6
test eax, eax
je 0x43f32a
lea eax, [ebp - 0x74]
push eax
push 0x18
push dword [ebp - 0x14]
call edi
lea eax, [ebp - 0x18]
neg eax
sbb eax, eax
and eax, dword [ebp - 0x14]
push eax
push dword [ebp - 0x3c]
call sub.MFC42.DLL_CDC::SelectGdiObject
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x40]
neg eax
sbb eax, eax
push 0xcc0020
and eax, dword [ebp - 0x3c]
mov ecx, dword [esi + 0x64]
push 0
mov edx, dword [esi + 0x60]
push 0
push eax
push dword [ebp - 0x6c]
push dword [ebp - 0x70]
push ecx
push edx
push dword [ebp - 0x2c]
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x43f321
mov eax, dword [eax + 4]
push eax
push dword [ebp - 0x3c]
call sub.MFC42.DLL_CDC::SelectGdiObject
lea ecx, [ebp - 0x18]
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov eax, dword [esi + 0x5c]
cmp dword [eax - 8], 0
je 0x43f433
mov dword [ebp - 0x20], 0x4c8778
mov byte [ebp - 4], 5
and dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], ebx
mov byte [ebp - 4], 6
mov dword [ebp - 0x20], 0x4cebe8
push 0x11
mov byte [ebp - 4], 7
call dword [sym.imp.GDI32.dll_GetStockObject]
push eax
lea ecx, [ebp - 0x20]
call sub.MFC42.DLL_CGdiObject::Attach
lea eax, [ebp - 0xb0]
push eax
push 0x3c
push dword [ebp - 0x1c]
call edi
lea ecx, [ebp - 0x20]
call sub.MFC42.DLL_CGdiObject::Detach
lea ecx, [ebp - 0x20]
call sub.MFC42.DLL_CGdiObject::DeleteObject
lea eax, [ebp - 0xb0]
mov dword [ebp - 0xa0], 0x2bc
push eax
call dword [sym.imp.GDI32.dll_CreateFontIndirectA]
push eax
lea ecx, [ebp - 0x20]
call sub.MFC42.DLL_CGdiObject::Attach
lea eax, [ebp - 0x20]
lea ecx, [ebp - 0x30]
push eax
call sub.MFC42.DLL_CDC::SelectObject_1
push dword [esi + 0x80]
lea ecx, [ebp - 0x30]
mov edi, eax
call sub.MFC42.DLL_CDC::SetTextColor
push 1
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x44], eax
call sub.MFC42.DLL_CDC::SetBkMode
mov dword [ebp - 0x10], eax
mov eax, dword [esi + 0x5c]
lea edx, [esi + 0x70]
push 0x24
mov ecx, dword [eax - 8]
push edx
push ecx
push eax
mov eax, dword [ebp - 0x30]
lea ecx, [ebp - 0x30]
call dword [eax + 0x70]
push dword [ebp - 0x10]
lea ecx, [ebp - 0x30]
call sub.MFC42.DLL_CDC::SetBkMode
push dword [ebp - 0x44]
lea ecx, [ebp - 0x30]
call sub.MFC42.DLL_CDC::SetTextColor
push edi
lea ecx, [ebp - 0x30]
call sub.MFC42.DLL_CDC::SelectObject_1
mov byte [ebp - 4], 4
mov dword [ebp - 0x20], 0x4cebe8
mov byte [ebp - 4], 4
mov dword [ebp - 0x20], ebx
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 9
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x4c]
test eax, eax
je 0x43f43d
mov eax, dword [eax + 4]
push eax
push dword [ebp - 0x2c]
call sub.MFC42.DLL_CDC::SelectGdiObject
mov byte [ebp - 4], 1
mov dword [ebp - 0x10], 1
mov dword [ebp - 0x18], 0x4cd558
mov byte [ebp - 4], 1
mov dword [ebp - 0x18], ebx
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0xb
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov ebx, dword [ebp - 0x48]
mov byte [ebp - 4], 1
push dword [ebx + 4]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_ReleaseDC]
and byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.004589fe
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.004589fe
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret