Function at 0x660c262b
Capabilities:
Capture screenshot

Disassembly:
sub esp, 0x18
push edi
xor edi, edi
push edi
mov dword [esp + 0xc], edi
call dword [sym.imp.USER32.dll_GetDC]
cmp eax, edi
mov dword [esp + 0x10], eax
jne 0x660c2650
mov eax, 0x8007000e
pop edi
add esp, 0x18
ret 0x24
push esi
push ebp
mov ebp, dword [esp + 0x44]
push ebx
mov ebx, dword [esp + 0x4c]
push edi
mov dword [ebp], edi
mov dword [esp + 0x14], edi
mov dword [ebx], edi
xor esi, esi
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x1c], edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
push dword [esp + 0x40]
push dword [esp + 0x40]
push dword [esp + 0x24]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
cmp eax, edi
mov dword [ebx], eax
je 0x660c2773
push edi
push 1
push 1
push dword [esp + 0x4c]
push dword [esp + 0x4c]
call dword [sym.imp.GDI32.dll_CreateBitmap]
cmp eax, edi
mov dword [ebp], eax
je 0x660c289c
push dword [esp + 0x1c]
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov esi, eax
cmp esi, edi
je 0x660c2773
push dword [ebx]
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
cmp eax, edi
mov dword [esp + 0x20], eax
je 0x660c289c
mov ebp, dword [esp + 0x30]
cmp ebp, edi
je 0x660c26f9
push 1
push ebp
push esi
call dword [sym.imp.GDI32.dll_SelectPalette]
push esi
mov dword [esp + 0x1c], eax
call dword [sym.imp.GDI32.dll_RealizePalette]
cmp dword [esp + 0x18], edi
jne 0x660c2707
cmp ebp, edi
jne 0x660c289c
push dword [esp + 0x2c]
call dword [sym.imp.GDI32.dll_GetBkColor]
mov ebx, dword [sym.imp.GDI32.dll_SetBkColor]
push eax
push esi
call ebx
push dword [esp + 0x2c]
call dword [sym.imp.GDI32.dll_GetTextColor]
mov ebp, dword [sym.imp.GDI32.dll_SetTextColor]
push eax
push esi
call ebp
push 0xcc0020
push dword [esp + 0x3c]
push dword [esp + 0x3c]
push dword [esp + 0x38]
push dword [esp + 0x50]
push dword [esp + 0x50]
push edi
push edi
push esi
call dword [sym.imp.GDI32.dll_BitBlt]
test eax, eax
je 0x660c2898
push dword [esp + 0x1c]
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
cmp eax, edi
mov dword [esp + 0x10], eax
jne 0x660c2810
mov ebx, dword [esp + 0x4c]
mov dword [esp + 0x14], 0x8007000e
cmp dword [esp + 0x20], edi
je 0x660c278b
push dword [esp + 0x20]
push esi
call fcn.6607c849
cmp dword [esp + 0x18], edi
je 0x660c27a5
push 1
push dword [esp + 0x1c]
push esi
call dword [sym.imp.GDI32.dll_SelectPalette]
push esi
call dword [sym.imp.GDI32.dll_RealizePalette]
mov ebp, dword [sym.imp.GDI32.dll_DeleteDC]
cmp esi, edi
je 0x660c27b2
push esi
call ebp
cmp dword [esp + 0x24], edi
je 0x660c27c5
push dword [esp + 0x24]
push dword [esp + 0x14]
call fcn.6607c849
cmp dword [esp + 0x10], edi
je 0x660c27d1
push dword [esp + 0x10]
call ebp
push dword [esp + 0x1c]
push edi
call dword [sym.imp.USER32.dll_ReleaseDC]
cmp dword [esp + 0x14], edi
jge 0x660c2804
mov ebp, dword [esp + 0x48]
mov esi, dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [ebp]
cmp eax, edi
je 0x660c27f6
push eax
call esi
mov eax, dword [ebx]
cmp eax, edi
je 0x660c27ff
push eax
call esi
mov dword [ebp], edi
mov dword [ebx], edi
mov eax, dword [esp + 0x14]
pop ebx
pop ebp
pop esi
jmp 0x660c2649
mov eax, dword [esp + 0x48]
push dword [eax]
push dword [esp + 0x14]
call dword [sym.imp.GDI32.dll_SelectObject]
cmp eax, edi
mov dword [esp + 0x24], eax
je 0x660c2898
push dword [esp + 0x44]
push esi
call ebx
push 0xffffff
push esi
call ebp
push 0xcc0020
push dword [esp + 0x3c]
push dword [esp + 0x3c]
push esi
push dword [esp + 0x50]
push dword [esp + 0x50]
push edi
push edi
push dword [esp + 0x30]
call dword [sym.imp.GDI32.dll_BitBlt]
test eax, eax
jne 0x660c2866
call fcn.66072d39
mov dword [esp + 0x14], eax
cmp dword [esp + 0x14], edi
jl 0x660c28ba
push edi
push esi
call ebp
push 0xffffff
push esi
call ebx
push 0x220326
push edi
push edi
push dword [esp + 0x1c]
push dword [esp + 0x50]
push dword [esp + 0x50]
push edi
push edi
push esi
call dword [sym.imp.GDI32.dll_BitBlt]
test eax, eax
jne 0x660c28ba
mov ebx, dword [esp + 0x4c]
call fcn.66072d39
cmp eax, edi
mov dword [esp + 0x14], eax
jl 0x660c277b
mov dword [esp + 0x14], 0x80004005
jmp 0x660c277b
mov ebx, dword [esp + 0x4c]
jmp 0x660c277b