Function at 0x428a20
Capabilities:
Capture screenshot

Disassembly:
push 0x24
mov eax, 0x490c60
call fcn.0048e67a
push dword [ebp + 0x2c]
mov edi, dword [ebp + 0x18]
push dword [ebp + 0x28]
mov edx, dword [ebp + 0xc]
push dword [ebp + 0x24]
mov ecx, dword [ebp + 8]
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push edi
push dword [ebp + 0x14]
push dword [ebp + 0x10]
call fcn.004288cd
test eax, eax
jne 0x428bee
lea ecx, [ebp - 0x30]
call dword [0x4a5544]
xor ecx, ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x20], 0x401af0
mov eax, 0xffff
mov dword [ebp - 0x14], ecx
cdq
xor ebx, ebx
idiv dword [ebp + 0x14]
inc ebx
mov esi, eax
mov byte [ebp - 4], bl
cmp edi, esi
jge 0x428a8a
mov eax, edi
cmp eax, ebx
jge 0x428a92
mov esi, ebx
jmp 0x428a98
cmp edi, esi
jge 0x428a98
mov esi, edi
push ecx
call dword [sym.imp.USER32.dll_GetDC]
push 0
mov dword [ebp - 0x10], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [ebp - 0x30]
call dword [sym.imp.MFC42u.dll_CDC::Attach]
test eax, eax
je 0x428af1
push dword [ebp - 0x10]
call dword [sym.imp.MFC42u.dll_CDC::FromHandle]
push esi
push dword [ebp + 0x14]
push dword [eax + 4]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
lea ecx, [ebp - 0x20]
call dword [sym.imp.MFC42u.dll_CGdiObject::Attach]
test eax, eax
je 0x428af1
push dword [ebp - 0x1c]
push dword [ebp - 0x2c]
call dword [sym.imp.MFC42u.dll_CDC::SelectGdiObject]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x428af1
xor ebx, ebx
push dword [ebp - 0x10]
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
test ebx, ebx
je 0x428b0d
or word [0x4a3bc4], 0xa
jmp 0x428bd5
push 0
push dword [ebp + 0x1c]
call fcn.0042846e
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x30]
push 0
push eax
call fcn.0042846e
push dword [ebp + 0x2c]
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x18], eax
call dword [sym.imp.MFC42u.dll_CDC::SetBkColor]
xor ebx, ebx
test edi, edi
jle 0x428b9b
mov eax, edi
sub eax, ebx
cmp esi, eax
jle 0x428b44
mov esi, eax
mov eax, dword [ebp + 0x1c]
test eax, eax
jne 0x428b4f
xor ecx, ecx
jmp 0x428b52
mov ecx, dword [eax + 4]
mov eax, dword [ebp + 0x24]
push 0xcc0020
add eax, ebx
push eax
push dword [ebp + 0x20]
push ecx
push esi
push dword [ebp + 0x14]
push 0
push 0
push dword [ebp - 0x2c]
call dword [sym.imp.GDI32.dll_BitBlt]
push dword [ebp + 0x28]
mov eax, dword [ebp + 0x10]
push 0
push 0
push dword [ebp - 0x2c]
add eax, ebx
push esi
push dword [ebp + 0x14]
push eax
mov eax, dword [ebp + 8]
push dword [ebp + 0xc]
push dword [eax + 4]
call dword [sym.imp.GDI32.dll_BitBlt]
add ebx, esi
cmp ebx, edi
jl 0x428b3a
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x428bae
mov ecx, dword [ebp + 0x1c]
push 0
push eax
call dword [sym.imp.MFC42u.dll_CDC::SelectPalette]
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x428bb8
mov eax, dword [eax + 4]
push eax
push dword [ebp - 0x2c]
call dword [sym.imp.MFC42u.dll_CDC::SelectGdiObject]
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x428bd5
push 0
push eax
lea ecx, [ebp - 0x30]
call dword [sym.imp.MFC42u.dll_CDC::SelectPalette]
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0
call fcn.00427f79
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call dword [sym.imp.MFC42u.dll_CDC::CDC]
call fcn.0048e639
ret 0x28