Function at 0x1011a2c
Capabilities:
Capture screenshot

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0xa8
push ebx
push esi
push edi
xor edi, edi
mov esi, ecx
mov dword [ebp + 0x6c], edi
mov dword [ebp + 0x70], edi
call fcn.010077ce
cmp eax, 8
mov dword [ebp + 0x44], eax
ja 0x1011a62
mov dword [esi + 0x134], 1
mov ebx, 0x270
jmp 0x1011a6d
mov dword [esi + 0x134], edi
mov ebx, 0x26b
lea eax, [ebp + 0x24]
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [ebp + 0x2c]
sub eax, dword [ebp + 0x24]
mov dword [ebp + 0x5c], eax
je 0x1011c5b
push 0x2000
push edi
push edi
movzx eax, bx
push edi
push eax
push dword [esi + 0xc]
call fcn.0101e477
cmp eax, edi
mov dword [ebp + 0x60], eax
je 0x1011c5b
push 0x14
pop ecx
mov dword [ebp - 0x30], edi
xor eax, eax
lea edi, [ebp - 0x2c]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x30]
push eax
push 0x54
push dword [ebp + 0x60]
call fcn.0101e238
test eax, eax
je 0x1011acd
mov eax, dword [ebp - 0x28]
mov dword [ebp + 0x70], eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowDC]
mov ebx, eax
test ebx, ebx
mov dword [ebp + 0x68], ebx
je 0x1011c38
push dword [ebp + 0x70]
push dword [ebp + 0x5c]
push ebx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov edi, dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push ebx
mov dword [ebp + 0x6c], eax
call edi
push ebx
mov dword [ebp + 0x64], eax
call edi
xor edi, edi
cmp dword [ebp + 0x64], edi
mov dword [ebp + 0x74], eax
je 0x1011c2e
cmp eax, edi
je 0x1011c2e
push dword [ebp + 0x60]
mov dword [ebp + 0x58], edi
push ebx
mov dword [ebp + 0x54], edi
call fcn.0101d65a
cmp eax, edi
mov ebx, dword [sym.imp.GDI32.dll_SelectPalette]
mov dword [esi + 0x38c], eax
je 0x1011b59
push edi
push eax
push dword [ebp + 0x68]
call ebx
push edi
push dword [esi + 0x38c]
mov dword [ebp + 0x58], eax
push dword [ebp + 0x74]
call ebx
push dword [ebp + 0x68]
mov dword [ebp + 0x54], eax
call dword [sym.imp.GDI32.dll_RealizePalette]
push dword [ebp + 0x60]
mov edi, dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebp + 0x64]
call edi
push dword [ebp + 0x6c]
mov dword [ebp + 0x4c], eax
push dword [ebp + 0x74]
call edi
and dword [ebp + 0x34], 0
and dword [ebp + 0x38], 0
mov dword [ebp + 0x50], eax
mov eax, dword [ebp + 0x70]
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
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
test eax, eax
mov dword [ebp + 0x48], eax
je 0x1011bc2
push eax
lea eax, [ebp + 0x34]
push eax
push dword [ebp + 0x74]
call dword [sym.imp.USER32.dll_FillRect]
push dword [ebp + 0x48]
call dword [sym.imp.GDI32.dll_DeleteObject]
push 0xcc0020
xor eax, eax
push eax
push eax
push dword [ebp + 0x64]
push dword [ebp + 0x70]
push dword [ebp + 0x5c]
push eax
push eax
push dword [ebp + 0x74]
call dword [sym.imp.GDI32.dll_BitBlt]
cmp dword [ebp + 0x50], 0
je 0x1011bed
push dword [ebp + 0x50]
push dword [ebp + 0x74]
call edi
cmp dword [ebp + 0x4c], 0
je 0x1011bfb
push dword [ebp + 0x4c]
push dword [ebp + 0x64]
call edi
cmp dword [ebp + 0x58], 0
je 0x1011c0b
push 1
push dword [ebp + 0x58]
push dword [ebp + 0x68]
call ebx
cmp dword [ebp + 0x54], 0
je 0x1011c1b
push 1
push dword [ebp + 0x54]
push dword [ebp + 0x68]
call ebx
push dword [ebp + 0x64]
mov edi, dword [sym.imp.GDI32.dll_DeleteDC]
call edi
push dword [ebp + 0x74]
call edi
mov ebx, dword [ebp + 0x68]
push ebx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ReleaseDC]
push dword [ebp + 0x60]
mov ebx, dword [sym.imp.GDI32.dll_DeleteObject]
call ebx
cmp dword [ebp + 0x6c], 0
mov eax, dword [ebp + 0x5c]
mov dword [esi + 0x17c], eax
mov eax, dword [ebp + 0x70]
mov dword [esi + 0x178], eax
jne 0x1011c5f
xor eax, eax
jmp 0x1011c89
push dword [ebp + 0x6c]
mov ecx, esi
call fcn.01011836
lea edi, [esi + 0x388]
mov eax, dword [edi]
test eax, eax
je 0x1011c78
push eax
call ebx
mov eax, dword [ebp + 0x6c]
mov dword [edi], 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