Function at 0x421a50
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6da26d
mov eax, dword fs:[0]
push eax
sub esp, 0x8c
push ebx
push esi
push edi
mov eax, dword [0x79a200]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x18], ecx
mov edi, dword [ebp + 0xc]
test edi, edi
je 0x421ea6
cmp dword [ebp + 0x20], 2
jne 0x421b83
lea ecx, [ebp - 0x68]
call fcn.00547c35
mov eax, dword [ebp + 8]
mov dword [ebp - 4], 0
test eax, eax
je 0x421aac
mov eax, dword [eax + 4]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [ebp - 0x68]
call fcn.005485d9
push edi
push dword [ebp - 0x64]
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [ebp + 0x18]
sub ecx, dword [ebp + 0x10]
mov ebx, dword [ebp + 0x14]
mov esi, dword [sym.imp.GDI32.dll_GetObjectW]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x98]
mov dword [ebp + 0xc], ecx
mov ecx, dword [ebp + 0x1c]
push eax
push 0x18
sub ecx, ebx
push edi
mov dword [ebp - 0x10], ecx
call esi
lea eax, [ebp - 0x80]
push eax
push 0x18
push edi
call esi
mov edi, dword [ebp - 0x10]
mov esi, dword [ebp - 0x78]
cmp ebx, edi
jge 0x421b62
mov edx, dword [ebp + 0xc]
mov ecx, edi
lea eax, [ebx + esi]
sub ecx, ebx
cmp eax, edi
mov edi, dword [ebp - 0x94]
cmovle ecx, esi
mov esi, dword [ebp + 0x10]
mov dword [ebp + 0x20], ecx
cmp esi, edx
jge 0x421b56
push 0xcc0020
push 0
push 0
push dword [ebp - 0x64]
lea eax, [esi + edi]
mov ecx, edx
push dword [ebp + 0x20]
sub ecx, esi
cmp eax, edx
mov eax, dword [ebp + 8]
cmovle ecx, edi
mov edi, ecx
push edi
push ebx
push esi
push dword [eax + 4]
call dword [sym.imp.GDI32.dll_BitBlt]
mov edx, dword [ebp + 0xc]
add esi, edi
cmp esi, edx
jl 0x421b21
mov esi, dword [ebp + 0x20]
add ebx, esi
mov edi, dword [ebp - 0x10]
cmp ebx, edi
jl 0x421b05
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x421b73
push eax
push dword [ebp - 0x64]
call dword [sym.imp.GDI32.dll_SelectObject]
lea ecx, [ebp - 0x68]
call fcn.00548775
lea ecx, [ebp - 0x68]
jmp 0x421ea1
mov edi, dword [ebp + 0x18]
lea ecx, [ebp - 0x44]
mov esi, dword [ebp + 0x1c]
sub edi, dword [ebp + 0x10]
sub esi, dword [ebp + 0x14]
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x14], esi
call fcn.00547c35
lea ecx, [ebp - 0x58]
mov dword [ebp - 4], 1
call fcn.00547c35
mov ebx, dword [ebp + 8]
mov byte [ebp - 4], 2
test ebx, ebx
jne 0x421bbb
xor eax, eax
jmp 0x421bbe
mov eax, dword [ebx + 4]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [ebp - 0x44]
call fcn.005485d9
push dword [ebp + 0xc]
push dword [ebp - 0x40]
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x18]
cmp dword [eax + 0x14c], 0
je 0x421e11
test ebx, ebx
jne 0x421bf5
xor ecx, ecx
jmp 0x421bf8
mov ecx, dword [ebx + 4]
push ecx
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [ebp - 0x58]
call fcn.005485d9
mov eax, dword [ebp - 0x18]
add eax, 0x148
je 0x421c25
mov eax, dword [eax + 4]
test eax, eax
je 0x421c25
push eax
push dword [ebp - 0x54]
call dword [sym.imp.GDI32.dll_SelectObject]
jmp 0x421c27
xor eax, eax
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x1c], eax
call fcn.00547c35
mov byte [ebp - 4], 3
test ebx, ebx
jne 0x421c3e
xor eax, eax
jmp 0x421c41
mov eax, dword [ebx + 4]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [ebp - 0x34]
call fcn.005485d9
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], vtable.CBitmap.0
push esi
push edi
mov byte [ebp - 4], 4
push dword [ebx + 4]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
lea ecx, [ebp - 0x24]
call fcn.0054861b
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x421c8a
push eax
push dword [ebp - 0x30]
call dword [sym.imp.GDI32.dll_SelectObject]
jmp 0x421c8c
xor eax, eax
push 0xcc0020
push 0
push 0
push dword [ebx + 4]
mov dword [ebp - 0x18], eax
push esi
push edi
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp - 0x30]
call dword [sym.imp.GDI32.dll_BitBlt]
cmp dword [ebp + 0x20], 0
jne 0x421d0e
push 0x660046
push 0
push 0
push dword [ebp - 0x40]
push esi
push edi
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp - 0x30]
call dword [sym.imp.GDI32.dll_BitBlt]
push 0x8800c6
push 0
push 0
push dword [ebp - 0x54]
push esi
push edi
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp - 0x30]
call dword [sym.imp.GDI32.dll_BitBlt]
push 0x660046
push 0
push 0
push dword [ebp - 0x40]
push esi
push edi
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp - 0x30]
call dword [sym.imp.GDI32.dll_BitBlt]
jmp 0x421d9f
mov ebx, dword [ebp + 0xc]
lea eax, [ebp - 0x80]
mov esi, dword [sym.imp.GDI32.dll_GetObjectW]
push eax
push 0x18
push ebx
call esi
lea eax, [ebp - 0x98]
push eax
push 0x18
push ebx
call esi
mov ebx, dword [ebp - 0x90]
mov edi, dword [ebp - 0x7c]
push 0x660046
push ebx
mov esi, dword [sym.imp.GDI32.dll_StretchBlt]
push edi
push 0
push 0
push dword [ebp - 0x40]
push dword [ebp - 0x14]
push dword [ebp - 0x10]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp - 0x30]
call esi
push 0x8800c6
push ebx
push edi
push 0
push 0
push dword [ebp - 0x54]
push dword [ebp - 0x14]
push dword [ebp - 0x10]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp - 0x30]
call esi
push 0x660046
push ebx
push edi
mov edi, dword [ebp - 0x10]
push 0
push 0
push dword [ebp - 0x40]
push dword [ebp - 0x14]
push edi
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp - 0x30]
call esi
mov ebx, dword [ebp + 8]
mov esi, dword [ebp - 0x14]
push 0xcc0020
push 0
push 0
push dword [ebp - 0x30]
push esi
push edi
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebx + 4]
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [ebp - 0x18]
mov ebx, dword [sym.imp.GDI32.dll_SelectObject]
test eax, eax
je 0x421dcf
push eax
push dword [ebp - 0x30]
call ebx
lea ecx, [ebp - 0x34]
call fcn.00548775
lea ecx, [ebp - 0x24]
call fcn.0054878b
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x421dec
push eax
push dword [ebp - 0x54]
call ebx
lea ecx, [ebp - 0x58]
call fcn.00548775
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x24], vtable.CBitmap.0
call fcn.004071e0
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 2
call fcn.00547d91
jmp 0x421e7d
cmp dword [ebp + 0x20], 0
jne 0x421e36
push 0xcc0020
push 0
push 0
push dword [ebp - 0x40]
push esi
push edi
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebx + 4]
call dword [sym.imp.GDI32.dll_BitBlt]
jmp 0x421e7d
mov esi, dword [sym.imp.GDI32.dll_GetObjectW]
lea eax, [ebp - 0x80]
push eax
push 0x18
push dword [ebp + 0xc]
call esi
lea eax, [ebp - 0x98]
push eax
push 0x18
push dword [ebp + 0xc]
call esi
push 0xcc0020
push dword [ebp - 0x90]
push dword [ebp - 0x7c]
push 0
push 0
push dword [ebp - 0x40]
push dword [ebp - 0x14]
push edi
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebx + 4]
call dword [sym.imp.GDI32.dll_StretchBlt]
mov eax, dword [ebp - 0x48]
test eax, eax
je 0x421e8e
push eax
push dword [ebp - 0x40]
call dword [sym.imp.GDI32.dll_SelectObject]
lea ecx, [ebp - 0x44]
call fcn.00548775
lea ecx, [ebp - 0x58]
call fcn.00547d91
lea ecx, [ebp - 0x44]
call fcn.00547d91
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c