Function at 0x1010be0
Capabilities:
Capture screenshot

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x4a8
push ebx
push esi
xor ebx, ebx
push edi
mov esi, ecx
mov dword [ebp + 0x60], ebx
mov dword [ebp + 0x64], ebx
call fcn.010073cc
cmp eax, 8
mov dword [ebp + 0x44], eax
ja 0x1010c16
mov dword [esi + 0x134], 1
mov eax, 0x270
jmp 0x1010c21
mov dword [esi + 0x134], ebx
mov eax, 0x26b
push 0x2000
push ebx
push ebx
movzx eax, ax
push ebx
push eax
push dword [esi + 0xc]
call fcn.0101c641
cmp eax, ebx
mov dword [ebp + 0x54], eax
je 0x1010e86
push 0x14
pop ecx
xor eax, eax
mov dword [ebp - 0x30], ebx
lea edi, [ebp - 0x2c]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x30]
push eax
push 0x54
push dword [ebp + 0x54]
call fcn.0101c412
test eax, eax
je 0x1010c65
mov eax, dword [ebp - 0x28]
mov dword [ebp + 0x64], eax
lea eax, [ebp + 0x24]
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetClientRect]
mov edi, dword [ebp + 0x2c]
sub edi, dword [ebp + 0x24]
push dword [esi + 4]
mov dword [ebp + 0x5c], edi
call dword [sym.imp.USER32.dll_GetWindowDC]
cmp eax, ebx
mov dword [ebp + 0x70], eax
je 0x1010e69
push dword [ebp + 0x64]
push edi
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push dword [ebp + 0x70]
mov edi, dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov dword [ebp + 0x60], eax
call edi
push dword [ebp + 0x70]
mov dword [ebp + 0x6c], eax
call edi
cmp dword [ebp + 0x6c], ebx
mov dword [ebp + 0x68], eax
je 0x1010e5a
cmp eax, ebx
je 0x1010e5a
push dword [ebp + 0x54]
mov dword [ebp + 0x4c], ebx
push dword [ebp + 0x6c]
mov dword [ebp + 0x50], ebx
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [ebp + 0x48], eax
lea eax, [ebp - 0x430]
push eax
mov edi, 0x100
push edi
push ebx
push dword [ebp + 0x6c]
call dword [sym.imp.GDI32.dll_GetDIBColorTable]
cmp eax, edi
jne 0x1010d63
push 0x2000
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov ecx, eax
cmp ecx, ebx
mov dword [ebp + 0x58], ecx
je 0x1010d63
mov word [ecx], 0x300
mov word [ecx + 2], di
mov dword [ebp + 0x74], ebx
lea eax, [ecx + 5]
mov edx, dword [ebp + 0x74]
mov dl, byte [ebp + edx*4 - 0x42e]
mov byte [eax - 1], dl
mov edx, dword [ebp + 0x74]
mov dl, byte [ebp + edx*4 - 0x42f]
mov byte [eax], dl
mov edx, dword [ebp + 0x74]
mov dl, byte [ebp + edx*4 - 0x430]
inc dword [ebp + 0x74]
mov byte [eax + 1], dl
mov byte [eax + 2], bl
add eax, 4
cmp dword [ebp + 0x74], edi
jl 0x1010d19
push ecx
call dword [sym.imp.GDI32.dll_CreatePalette]
push dword [ebp + 0x58]
mov dword [esi + 0x3a0], eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [esi + 0x3a0]
cmp eax, ebx
mov edi, dword [sym.imp.GDI32.dll_SelectPalette]
je 0x1010d95
push ebx
push eax
push dword [ebp + 0x70]
call edi
push ebx
push dword [esi + 0x3a0]
mov dword [ebp + 0x4c], eax
push dword [ebp + 0x68]
call edi
push dword [ebp + 0x70]
mov dword [ebp + 0x50], eax
call dword [sym.imp.GDI32.dll_RealizePalette]
push dword [ebp + 0x60]
push dword [ebp + 0x68]
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [ebp + 0x74], eax
mov eax, dword [ebp + 0x64]
mov dword [ebp + 0x40], eax
mov eax, dword [ebp + 0x5c]
mov dword [ebp + 0x3c], eax
mov eax, dword [esi + 0x134]
neg eax
sbb eax, eax
and eax, 0x24b8d7
add eax, 0xda4729
push eax
mov dword [ebp + 0x34], ebx
mov dword [ebp + 0x38], ebx
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
cmp eax, ebx
mov dword [ebp + 0x58], eax
je 0x1010def
push eax
lea eax, [ebp + 0x34]
push eax
push dword [ebp + 0x68]
call dword [sym.imp.USER32.dll_FillRect]
push dword [ebp + 0x58]
call dword [sym.imp.GDI32.dll_DeleteObject]
push 0xcc0020
push ebx
push ebx
push dword [ebp + 0x6c]
push dword [ebp + 0x64]
push dword [ebp + 0x5c]
push ebx
push ebx
push dword [ebp + 0x68]
call dword [sym.imp.GDI32.dll_BitBlt]
cmp dword [ebp + 0x74], ebx
je 0x1010e1b
push dword [ebp + 0x74]
push dword [ebp + 0x68]
call dword [sym.imp.GDI32.dll_SelectObject]
cmp dword [ebp + 0x48], ebx
je 0x1010e2c
push dword [ebp + 0x48]
push dword [ebp + 0x6c]
call dword [sym.imp.GDI32.dll_SelectObject]
cmp dword [ebp + 0x4c], ebx
je 0x1010e3b
push 1
push dword [ebp + 0x4c]
push dword [ebp + 0x70]
call edi
cmp dword [ebp + 0x50], ebx
je 0x1010e4a
push 1
push dword [ebp + 0x50]
push dword [ebp + 0x70]
call edi
push dword [ebp + 0x6c]
mov edi, dword [sym.imp.GDI32.dll_DeleteDC]
call edi
push dword [ebp + 0x68]
call edi
push dword [ebp + 0x70]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ReleaseDC]
mov edi, dword [ebp + 0x5c]
push dword [ebp + 0x54]
call dword [sym.imp.GDI32.dll_DeleteObject]
cmp dword [ebp + 0x60], ebx
mov eax, dword [ebp + 0x64]
mov dword [esi + 0x18c], edi
mov dword [esi + 0x188], eax
jne 0x1010e8a
xor eax, eax
jmp 0x1010ee0
push dword [ebp + 0x60]
mov ecx, esi
call fcn.01010a0a
lea edi, [esi + 0x39c]
mov eax, dword [edi]
cmp eax, ebx
je 0x1010ea7
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [ebp + 0x60]
mov dword [edi], eax
lea eax, [esi + 0x17c]
push eax
xor eax, eax
cmp dword [esi + 0x134], ebx
mov ecx, esi
setne al
add eax, 0x271
push eax
push dword [esi + 0xc]
call fcn.0100fedc
mov dword [esi + 0x178], eax
mov eax, dword [ebp + 0x44]
mov dword [esi + 0x138], eax
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
add ebp, 0x78
leave
ret