Function at 0x660c18dd
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x9c
push ebx
xor ebx, ebx
push ebx
call dword [sym.imp.USER32.dll_GetDC]
cmp eax, ebx
mov dword [ebp - 0x14], eax
jne 0x660c1901
mov eax, 0x8007000e
pop ebx
leave
ret 0x20
mov eax, dword [ebp + 0x24]
push edi
push esi
push ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x50], ebx
mov dword [eax], ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov edi, dword [sym.imp.USER32.dll_GetSysColor]
or byte [ebp - 0x48], 0xff
or byte [ebp - 0x47], 0xff
or byte [ebp - 0x46], 0xff
push 0xf
mov byte [ebp - 0x3c], bl
mov byte [ebp - 0x3b], bl
mov byte [ebp - 0x3a], bl
mov byte [ebp - 0x39], bl
mov byte [ebp - 0x45], bl
call edi
push 0x10
mov dword [ebp - 0x30], eax
call edi
push 0x14
mov dword [ebp - 0x54], eax
call edi
push 0xa
mov dword [ebp - 0x60], eax
pop ecx
xor eax, eax
lea edi, [ebp - 0x88]
push 0x30
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 0x1c]
push ebx
push dword [0x6610e6c0]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x88], 0x28
neg eax
mov dword [ebp - 0x80], eax
mov word [ebp - 0x7c], 1
mov word [ebp - 0x7a], 1
mov dword [ebp - 0x78], ebx
mov dword [ebp - 0x74], ebx
mov dword [ebp - 0x70], ebx
mov dword [ebp - 0x6c], ebx
mov dword [ebp - 0x68], ebx
mov dword [ebp - 0x64], ebx
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
cmp eax, ebx
mov dword [ebp - 0x5c], eax
je 0x660c1ddf
push 0xa
lea esi, [ebp - 0x88]
pop ecx
mov edi, eax
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 0x3c]
push ebx
mov dword [eax + 0x28], ecx
mov ecx, dword [ebp - 0x48]
mov dword [eax + 0x2c], ecx
lea ecx, [ebp - 0x8c]
push ebx
push ecx
push ebx
push eax
push dword [ebp - 0x14]
call dword [sym.imp.GDI32.dll_CreateDIBSection]
cmp eax, ebx
mov dword [ebp - 0x24], eax
je 0x660c1ddf
push dword [ebp - 0x14]
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
cmp eax, ebx
mov dword [ebp - 0xc], eax
je 0x660c1ddf
push dword [ebp - 0x24]
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
cmp eax, ebx
mov dword [ebp - 0x2c], eax
je 0x660c1a9a
mov esi, 0xcc0020
mov edi, dword [sym.imp.GDI32.dll_BitBlt]
push esi
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 8]
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push ebx
push ebx
push dword [ebp - 0xc]
call edi
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push dword [ebp - 0x14]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov ecx, dword [ebp + 0x24]
cmp eax, ebx
mov dword [ecx], eax
je 0x660c1ddf
push dword [ebp - 0x14]
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
cmp eax, ebx
mov dword [ebp - 0x10], eax
je 0x660c1ddf
mov eax, dword [ebp + 0x24]
push dword [eax]
push dword [ebp - 0x10]
call dword [sym.imp.GDI32.dll_SelectObject]
cmp eax, ebx
mov dword [ebp - 0x4c], eax
jne 0x660c1bba
call fcn.66072549
cmp eax, ebx
mov dword [ebp + 0x1c], eax
jl 0x660c1aad
mov dword [ebp + 0x1c], 0x80004005
cmp dword [ebp - 0x2c], ebx
je 0x660c1abd
push dword [ebp - 0x2c]
push dword [ebp - 0xc]
call fcn.6607bc08
cmp dword [ebp - 0xc], ebx
mov esi, dword [sym.imp.GDI32.dll_DeleteDC]
je 0x660c1acd
push dword [ebp - 0xc]
call esi
cmp dword [ebp - 0x24], ebx
je 0x660c1deb
push dword [ebp - 0x24]
mov edi, dword [sym.imp.GDI32.dll_DeleteObject]
call edi
cmp dword [ebp - 0x4c], ebx
je 0x660c1af1
push dword [ebp - 0x4c]
push dword [ebp - 0x10]
call fcn.6607bc08
cmp dword [ebp - 0x10], ebx
je 0x660c1afb
push dword [ebp - 0x10]
call esi
cmp dword [ebp - 0x40], ebx
je 0x660c1b0b
push dword [ebp - 0x40]
push dword [ebp - 0x18]
call fcn.6607bc08
cmp dword [ebp - 0x18], ebx
je 0x660c1b15
push dword [ebp - 0x18]
call esi
cmp dword [ebp - 0x34], ebx
je 0x660c1b1f
push dword [ebp - 0x34]
call edi
cmp dword [ebp - 0x44], ebx
je 0x660c1b2f
push dword [ebp - 0x44]
push dword [ebp - 8]
call fcn.6607bc08
cmp dword [ebp - 8], ebx
je 0x660c1b55
cmp dword [ebp + 0xc], ebx
je 0x660c1b50
push 1
push dword [ebp - 0x58]
push dword [ebp - 8]
call dword [sym.imp.GDI32.dll_SelectPalette]
push dword [ebp - 8]
call dword [sym.imp.GDI32.dll_RealizePalette]
push dword [ebp - 8]
call esi
cmp dword [ebp - 0x38], ebx
je 0x660c1b5f
push dword [ebp - 0x38]
call edi
cmp dword [ebp - 0x50], ebx
je 0x660c1b6f
push dword [ebp - 0x50]
push dword [ebp - 4]
call fcn.6607bc08
cmp dword [ebp - 4], ebx
je 0x660c1b79
push dword [ebp - 4]
call esi
cmp dword [ebp - 0x28], ebx
je 0x660c1b83
push dword [ebp - 0x28]
call edi
push dword [ebp - 0x14]
push ebx
call dword [sym.imp.USER32.dll_ReleaseDC]
cmp dword [ebp - 0x5c], ebx
je 0x660c1ba2
push dword [ebp - 0x5c]
push ebx
push dword [0x6610e6c0]
call dword [sym.imp.KERNEL32.dll_HeapFree]
cmp dword [ebp + 0x1c], ebx
jge 0x660c1bb0
mov esi, dword [ebp + 0x24]
push dword [esi]
call edi
mov dword [esi], ebx
mov eax, dword [ebp + 0x1c]
pop esi
pop edi
jmp 0x660c18fc
mov eax, dword [ebp - 0x60]
xor ecx, ecx
mov byte [ebp - 0x1e], al
mov cl, ah
shr eax, 0x10
mov byte [ebp - 0x1f], cl
mov byte [ebp - 0x20], al
mov eax, dword [ebp - 0x30]
xor ecx, ecx
mov byte [ebp - 0x1a], al
mov cl, ah
shr eax, 0x10
mov byte [ebp - 0x1c], al
lea eax, [ebp - 0x20]
push eax
push 2
push ebx
mov byte [ebp - 0x1b], cl
push dword [ebp - 0xc]
call dword [sym.imp.GDI32.dll_SetDIBColorTable]
push dword [ebp - 0x30]
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
cmp eax, ebx
mov dword [ebp - 0x30], eax
je 0x660c1ddf
push dword [ebp + 0x20]
lea eax, [ebp - 0x9c]
push dword [ebp + 0x1c]
push ebx
push ebx
push eax
call dword [sym.imp.USER32.dll_SetRect]
push dword [ebp - 0x30]
lea eax, [ebp - 0x9c]
push eax
push dword [ebp - 0x10]
call dword [sym.imp.USER32.dll_FillRect]
push dword [ebp - 0x30]
call dword [sym.imp.GDI32.dll_DeleteObject]
push esi
push ebx
push ebx
push dword [ebp - 0xc]
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push 1
push 1
push dword [ebp - 0x10]
call edi
mov eax, dword [ebp - 0x54]
xor ecx, ecx
mov byte [ebp - 0x1e], al
mov cl, ah
shr eax, 0x10
mov byte [ebp - 0x20], al
lea eax, [ebp - 0x20]
push eax
push 2
push ebx
mov byte [ebp - 0x1f], cl
push dword [ebp - 0xc]
mov byte [ebp - 0x1a], bl
mov byte [ebp - 0x1b], bl
mov byte [ebp - 0x1c], bl
call dword [sym.imp.GDI32.dll_SetDIBColorTable]
push ebx
push 1
push 1
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
call dword [sym.imp.GDI32.dll_CreateBitmap]
push dword [ebp - 0x14]
mov dword [ebp - 0x28], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
cmp dword [ebp - 0x28], ebx
mov dword [ebp - 4], eax
je 0x660c1ddf
cmp eax, ebx
je 0x660c1ddf
push dword [ebp - 0x28]
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebp + 8]
mov dword [ebp - 0x50], eax
call dword [sym.imp.GDI32.dll_GetMapMode]
push eax
push dword [ebp - 4]
call dword [sym.imp.GDI32.dll_SetMapMode]
push dword [ebp - 0x54]
push dword [ebp - 4]
call dword [sym.imp.GDI32.dll_SetBkColor]
push ebx
push dword [ebp - 4]
call dword [sym.imp.GDI32.dll_SetTextColor]
push 1
push dword [ebp + 0xc]
push dword [ebp - 4]
call dword [sym.imp.GDI32.dll_SelectPalette]
push dword [ebp - 4]
call dword [sym.imp.GDI32.dll_RealizePalette]
push esi
mov esi, dword [ebp + 0x1c]
push ebx
push ebx
push dword [ebp - 0xc]
push dword [ebp + 0x20]
push esi
push ebx
push ebx
push dword [ebp - 4]
call edi
push dword [ebp - 0x2c]
push dword [ebp - 0xc]
call fcn.6607bc08
push dword [ebp - 0x24]
call dword [sym.imp.GDI32.dll_DeleteObject]
lea eax, [ebp - 0x38]
mov dword [ebp - 0x2c], ebx
push eax
lea eax, [ebp - 0x34]
push eax
push ebx
push dword [ebp + 0x20]
mov dword [ebp - 0x24], ebx
push esi
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0xc]
push dword [ebp - 4]
call fcn.660c1645
cmp eax, ebx
mov dword [ebp + 0x1c], eax
jl 0x660c1aad
push dword [ebp - 0x14]
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
cmp dword [ebp - 0x18], ebx
mov dword [ebp - 8], eax
je 0x660c1ddf
cmp eax, ebx
je 0x660c1ddf
cmp dword [ebp + 0xc], ebx
je 0x660c1d89
push 1
push dword [ebp + 0xc]
push eax
call dword [sym.imp.GDI32.dll_SelectPalette]
push dword [ebp - 8]
mov dword [ebp - 0x58], eax
call dword [sym.imp.GDI32.dll_RealizePalette]
push dword [ebp - 0x34]
push dword [ebp - 0x18]
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebp - 0x38]
mov dword [ebp - 0x40], eax
push dword [ebp - 8]
call dword [sym.imp.GDI32.dll_SelectObject]
cmp dword [ebp - 0x40], ebx
mov dword [ebp - 0x44], eax
je 0x660c1ddf
cmp eax, ebx
je 0x660c1ddf
push 0x8800c6
push ebx
push ebx
push dword [ebp - 0x18]
push dword [ebp + 0x20]
push esi
push ebx
push ebx
push dword [ebp - 0x10]
call edi
push 0xee0086
push ebx
push ebx
push dword [ebp - 8]
push dword [ebp + 0x20]
push esi
push ebx
push ebx
push dword [ebp - 0x10]
call edi
jmp 0x660c1aad
mov dword [ebp + 0x1c], 0x8007000e
jmp 0x660c1aad
mov edi, dword [sym.imp.GDI32.dll_DeleteObject]
jmp 0x660c1ae1