Function at 0xce255c
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov dword [ebp - 0x20], ecx
mov eax, dword [esi]
lea edi, [esi + 8]
mov ebx, dword [edi]
mov ecx, dword [esi + 0xc]
mov edx, dword [esi + 4]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
cmp ebx, eax
jge 0xce2589
mov dword [esi], ebx
mov dword [edi], eax
cmp ecx, edx
jge 0xce2593
mov dword [esi + 4], ecx
mov dword [esi + 0xc], edx
push dword [ebp + 8]
lea eax, [ebp - 0x34]
push eax
mov eax, dword [ebp - 0x20]
push dword [eax + 0x10c]
call fcn.00cde4ec
mov eax, dword [esi + 4]
add eax, dword [ebp - 0x30]
mov edx, dword [ebp - 0x34]
add dword [esi], edx
add dword [edi], edx
mov edx, dword [edi]
sub edx, dword [esi]
mov dword [ebp - 0x1c], eax
mov dword [esi + 4], eax
mov eax, dword [esi + 0xc]
add eax, dword [ebp - 0x30]
inc edx
mov dword [ebp - 0x28], eax
mov dword [esi + 0xc], eax
sub eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 8], edx
push 0
mov dword [ebp - 4], eax
call dword [sym.imp.USER32.dll_GetDC]
push dword [ebp - 4]
mov dword [ebp - 0x10], eax
push dword [ebp - 8]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push dword [ebp - 0x10]
mov dword [ebp - 0xc], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push dword [ebp - 0xc]
mov dword [ebp - 0x20], eax
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 4]
cmp ecx, edx
jge 0xce2619
neg eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x24]
cmp ebx, eax
jge 0xce2631
mov esi, dword [ebp - 8]
mov dword [ebp + 8], esi
neg dword [ebp + 8]
mov esi, dword [ebp + 0xc]
jmp 0xce263a
mov ecx, dword [ebp - 8]
mov dword [ebp + 8], ecx
mov ecx, dword [ebp - 0x14]
cmp ecx, edx
jge 0xce2643
mov ecx, dword [esi + 0xc]
jmp 0xce2646
mov ecx, dword [esi + 4]
cmp ebx, eax
jl 0xce264c
mov edi, esi
mov ebx, dword [ebp - 4]
mov esi, dword [ebp - 8]
push 0xcc0020
push dword [ebp - 0x18]
push dword [ebp + 8]
push ecx
push dword [edi]
mov edi, dword [ebp - 0x20]
push dword [ebp - 0x10]
push ebx
push esi
push 0
push 0
push edi
call dword [sym.imp.GDI32.dll_StretchBlt]
mov eax, dword [ebp - 0x1c]
xor ecx, ecx
sub eax, dword [ebp - 0x28]
dec eax
mov dword [ebp - 0x5c], esi
mov esi, dword [sym.imp.GDI32.dll_GetDIBits]
mov dword [ebp - 0x58], eax
xor eax, eax
push 0x20
inc eax
mov dword [ebp - 0x60], 0x28
mov word [ebp - 0x54], ax
pop eax
push ecx
mov word [ebp - 0x52], ax
lea eax, [ebp - 0x60]
push eax
push ecx
push ecx
push ecx
push dword [ebp - 0xc]
mov dword [ebp - 0x50], ecx
push edi
call esi
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 0x4c]
push ecx
mov dword [eax], ecx
call fcn.00c7fe0b
pop ecx
push 0
mov edi, eax
lea eax, [ebp - 0x60]
push eax
push edi
push ebx
mov ebx, dword [ebp - 0x20]
push 0
push dword [ebp - 0xc]
push ebx
call esi
push dword [ebp - 0x2c]
mov esi, eax
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebp - 0xc]
call dword [sym.imp.GDI32.dll_DeleteObject]
push ebx
call dword [sym.imp.GDI32.dll_DeleteDC]
push dword [ebp - 0x10]
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
test esi, esi
je 0xce2701
mov eax, edi
jmp 0xce270a
push edi
call fcn.00c7fe14
pop ecx
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 0xc