Function at 0x426ec0
Capabilities:
Capture screenshot

Disassembly:
push 0xffffffffffffffff
push 0x435370
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x44
push ebx
push ebp
push esi
mov esi, dword [esp + 0x60]
push edi
mov edi, ecx
mov ecx, esi
mov dword [esp + 0x10], edi
call fcn.0042a390
test eax, eax
jne 0x426ef8
mov eax, edi
jmp 0x4271d8
mov eax, dword [esi + 0x18]
xor ebx, ebx
push ebx
push eax
mov ecx, edi
call fcn.0042a070
cmp eax, ebx
mov dword [esp + 0x64], eax
jne 0x426f15
mov eax, edi
jmp 0x4271d8
mov dword [esp + 0x20], ebx
mov dword [esp + 0x1c], 0x4368a4
mov dword [esp + 0x5c], ebx
call dword [sym.imp.USER32.dll_GetDesktopWindow]
mov ebp, eax
push ebp
call dword [sym.imp.USER32.dll_GetDC]
lea ecx, [esp + 0x24]
mov edi, eax
call fcn.00431276
push edi
lea ecx, [esp + 0x28]
mov byte [esp + 0x60], 1
call sub.MFC42.DLL_CDC::Attach
mov ecx, esi
call fcn.0042a310
mov ecx, esi
mov edi, eax
call fcn.0042a2f0
mov ecx, dword [esp + 0x28]
push edi
push eax
push ecx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CGdiObject::Attach
cmp eax, ebx
je 0x42718f
lea ecx, [esp + 0x44]
call fcn.00431276
lea ecx, [esp + 0x34]
mov byte [esp + 0x5c], 2
call fcn.00431276
mov edi, dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push ebx
mov byte [esp + 0x60], 3
call edi
push eax
lea ecx, [esp + 0x48]
call sub.MFC42.DLL_CDC::Attach
push ebx
call edi
push eax
lea ecx, [esp + 0x38]
call sub.MFC42.DLL_CDC::Attach
mov edi, dword [esp + 0x20]
mov edx, dword [esp + 0x48]
lea eax, [esp + 0x1c]
neg eax
sbb eax, eax
and eax, edi
push eax
push edx
call sub.MFC42.DLL_CDC::SelectGdiObject
cmp esi, ebx
mov dword [esp + 0x18], eax
jne 0x426fde
xor eax, eax
jmp 0x426fe1
mov eax, dword [esi + 4]
push eax
mov eax, dword [esp + 0x3c]
push eax
call sub.MFC42.DLL_CDC::SelectGdiObject
mov ecx, esi
mov edi, eax
call fcn.0042a310
mov ecx, esi
mov dword [esp + 0x14], eax
call fcn.0042a2f0
mov esi, dword [esp + 0x38]
lea ecx, [esp + 0x34]
neg ecx
sbb ecx, ecx
push 0xcc0020
mov edx, dword [esp + 0x4c]
and ecx, esi
push ebx
push ebx
push ecx
mov ecx, dword [esp + 0x24]
push ecx
push eax
push ebx
push ebx
push edx
call dword [sym.imp.GDI32.dll_BitBlt]
cmp edi, ebx
jne 0x427031
xor edi, edi
jmp 0x427034
mov edi, dword [edi + 4]
mov eax, dword [esp + 0x38]
push edi
push eax
call sub.MFC42.DLL_CDC::SelectGdiObject
mov eax, dword [esp + 0x18]
cmp eax, ebx
jne 0x42704b
xor eax, eax
jmp 0x42704e
mov eax, dword [eax + 4]
mov ecx, dword [esp + 0x48]
push eax
push ecx
call sub.MFC42.DLL_CDC::SelectGdiObject
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CGdiObject::Detach
mov esi, eax
lea ecx, [esp + 0x24]
cmp esi, ebx
jne 0x4270c5
call sub.MFC42.DLL_CDC::Detach
push eax
push ebp
call dword [sym.imp.USER32.dll_ReleaseDC]
mov edx, dword [esp + 0x64]
push edx
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
lea ecx, [esp + 0x34]
mov byte [esp + 0x5c], 2
call sub.MFC42.DLL_CDC::CDC
lea ecx, [esp + 0x44]
mov byte [esp + 0x5c], 1
call sub.MFC42.DLL_CDC::CDC
lea ecx, [esp + 0x24]
mov byte [esp + 0x5c], bl
call sub.MFC42.DLL_CDC::CDC
mov dword [esp + 0x1c], 0x436890
mov dword [esp + 0x5c], 4
jmp 0x4271cb
call sub.MFC42.DLL_CDC::Detach
push eax
push ebp
call dword [sym.imp.USER32.dll_ReleaseDC]
mov ebp, dword [esp + 0x64]
mov edi, dword [esp + 0x10]
push esi
push ebp
push 0x43f7fc
push ebx
push 3
mov ecx, edi
call fcn.0042a610
test eax, eax
jne 0x427149
push ebp
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
push esi
call dword [sym.imp.GDI32.dll_DeleteObject]
lea ecx, [esp + 0x34]
mov byte [esp + 0x5c], 2
call sub.MFC42.DLL_CDC::CDC
lea ecx, [esp + 0x44]
mov byte [esp + 0x5c], 1
call sub.MFC42.DLL_CDC::CDC
lea ecx, [esp + 0x24]
mov byte [esp + 0x5c], bl
call sub.MFC42.DLL_CDC::CDC
mov dword [esp + 0x1c], 0x436890
lea ecx, [esp + 0x1c]
mov dword [esp + 0x5c], 5
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov eax, edi
jmp 0x4271d8
lea ecx, [esp + 0x34]
mov byte [esp + 0x5c], 2
call sub.MFC42.DLL_CDC::CDC
lea ecx, [esp + 0x44]
mov byte [esp + 0x5c], 1
call sub.MFC42.DLL_CDC::CDC
lea ecx, [esp + 0x24]
mov byte [esp + 0x5c], bl
call sub.MFC42.DLL_CDC::CDC
mov dword [esp + 0x1c], 0x436890
lea ecx, [esp + 0x1c]
mov dword [esp + 0x5c], 6
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov eax, edi
jmp 0x4271d8
lea ecx, [esp + 0x24]
call sub.MFC42.DLL_CDC::Detach
push eax
push ebp
call dword [sym.imp.USER32.dll_ReleaseDC]
mov eax, dword [esp + 0x64]
push eax
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
lea ecx, [esp + 0x24]
mov byte [esp + 0x5c], bl
call sub.MFC42.DLL_CDC::CDC
mov dword [esp + 0x1c], 0x436890
mov dword [esp + 0x5c], 7
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x54]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x50
ret 4