Function at 0x434419
Capabilities:
Capture screenshot

Disassembly:
mov eax, 0x4a9c80
call fcn.0044c320
sub esp, 0xa4
push ebx
push esi
mov esi, ecx
push edi
xor edi, edi
lea ecx, [esi + 0x88]
cmp ecx, edi
je 0x434444
cmp dword [ecx + 4], edi
je 0x434444
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 0x4347fb
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 0x4347d7
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 0x4347d7
push dword [ebx + 4]
call edi
push eax
lea ecx, [ebp - 0x40]
call sub.MFC42.DLL_CDC::Attach
test eax, eax
je 0x4347d7
lea eax, [esi + 0x88]
test eax, eax
je 0x4344f1
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], 0x4b9588
mov ebx, 0x4bd6ec
mov byte [ebp - 4], 2
and dword [ebp - 0x14], 0
mov dword [ebp - 0x18], ebx
mov byte [ebp - 4], 3
mov dword [ebp - 0x18], 0x4bdabc
push dword [esi + 0x54]
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 4
call fcn.0042be02
mov edi, dword [sym.imp.GDI32.dll_GetObjectA]
test eax, eax
je 0x4345a2
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 0x434599
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 0x434617
push eax
lea ecx, [ebp - 0x18]
call fcn.0042be02
test eax, eax
je 0x434617
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 0x43460e
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.0042be02
test eax, eax
je 0x43468f
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 0x434686
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 0x434798
mov dword [ebp - 0x20], 0x4b9588
mov byte [ebp - 4], 5
and dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], ebx
mov byte [ebp - 4], 6
mov dword [ebp - 0x20], 0x4bf018
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], 0x4bf018
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 0x4347a2
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], 0x4bdabc
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.0044c16c
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.0044c16c
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret