Function at 0x660c1645
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 0x660c166a
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 0x660c178d
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 0x660c18b6
push dword [esp + 0x1c]
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov esi, eax
cmp esi, edi
je 0x660c178d
push dword [ebx]
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
cmp eax, edi
mov dword [esp + 0x20], eax
je 0x660c18b6
mov ebp, dword [esp + 0x30]
cmp ebp, edi
je 0x660c1713
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 0x660c1721
cmp ebp, edi
jne 0x660c18b6
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 0x660c18b2
push dword [esp + 0x1c]
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
cmp eax, edi
mov dword [esp + 0x10], eax
jne 0x660c182a
mov ebx, dword [esp + 0x4c]
mov dword [esp + 0x14], 0x8007000e
cmp dword [esp + 0x20], edi
je 0x660c17a5
push dword [esp + 0x20]
push esi
call fcn.6607bc08
cmp dword [esp + 0x18], edi
je 0x660c17bf
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 0x660c17cc
push esi
call ebp
cmp dword [esp + 0x24], edi
je 0x660c17df
push dword [esp + 0x24]
push dword [esp + 0x14]
call fcn.6607bc08
cmp dword [esp + 0x10], edi
je 0x660c17eb
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 0x660c181e
mov ebp, dword [esp + 0x48]
mov esi, dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [ebp]
cmp eax, edi
je 0x660c1810
push eax
call esi
mov eax, dword [ebx]
cmp eax, edi
je 0x660c1819
push eax
call esi
mov dword [ebp], edi
mov dword [ebx], edi
mov eax, dword [esp + 0x14]
pop ebx
pop ebp
pop esi
jmp 0x660c1663
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 0x660c18b2
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 0x660c1880
call fcn.66072549
mov dword [esp + 0x14], eax
cmp dword [esp + 0x14], edi
jl 0x660c18d4
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 0x660c18d4
mov ebx, dword [esp + 0x4c]
call fcn.66072549
cmp eax, edi
mov dword [esp + 0x14], eax
jl 0x660c1795
mov dword [esp + 0x14], 0x80004005
jmp 0x660c1795
mov ebx, dword [esp + 0x4c]
jmp 0x660c1795