Function at 0x25cb4d5b
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
push ebx
push esi
push edi
mov edi, eax
mov ax, word [edi + 0xe]
movzx ecx, ax
cmp ecx, 8
jle 0x25cb4d78
xor ebx, ebx
xor edx, edx
jmp 0x25cb4d7f
xor edx, edx
inc edx
shl edx, cl
xor ebx, ebx
push dword [ebp + 8]
mov esi, dword [edi + 8]
mov ecx, edx
xor edx, edx
mov dx, word [edi + 0xc]
shl ecx, 2
mov dword [ebp - 0xc], ecx
mov ecx, edx
call fcn.25cabacf
imul eax, esi
movzx ecx, dx
imul ecx, dword [ebp + 8]
mov edx, dword [edi]
add ecx, 7
shr ecx, 3
add ecx, 3
and ecx, 0xfffffffc
imul ecx, esi
add edx, ecx
mov dword [ebp - 0x34], eax
add edx, eax
mov eax, dword [ebp - 0xc]
add eax, edx
mov dword [ebp - 0x30], ecx
mov ecx, dword [ebp + 0xc]
push eax
mov dword [ecx], eax
call dword [sym.imp.MSVCRT.dll_malloc]
mov esi, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov dword [esi], eax
push dword [ecx]
push ebx
push eax
call sub.MSVCRT.dll_memset
mov eax, dword [edi]
add eax, dword [ebp - 0xc]
push eax
push edi
push dword [esi]
call sub.MSVCRT.dll_memcpy
mov eax, dword [esi]
mov ecx, dword [ebp + 8]
mov dword [eax + 4], ecx
mov esi, dword [esi]
shl dword [esi + 8], 1
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + 0x1c]
mov esi, dword [edi]
push dword [edi + 4]
xor edx, edx
mov dx, word [edi + 0xc]
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 0x10]
add esi, dword [eax]
xor eax, eax
mov ax, word [edi + 0xe]
add esi, dword [ebp - 0xc]
mov ecx, edx
call fcn.25cabacf
push dword [ebp + 8]
mov dword [ebp - 0x20], eax
xor eax, eax
mov ax, word [edi + 0xe]
mov ecx, edx
call fcn.25cabacf
add esp, 0x28
cmp dword [edi + 8], ebx
mov dword [ebp - 0x14], eax
mov dword [ebp + 0x14], ebx
jle 0x25cb4e69
push dword [ebp - 0x14]
push dword [ebp + 0xc]
push esi
call sub.MSVCRT.dll_memcpy
mov eax, dword [ebp - 0x20]
add dword [ebp + 0xc], eax
add esi, dword [ebp - 0x14]
add esp, 0xc
inc dword [ebp + 0x14]
mov eax, dword [ebp + 0x14]
cmp eax, dword [edi + 8]
jl 0x25cb4e46
mov eax, dword [ebp + 0x18]
cmp dword [eax + 8], ebx
je 0x25cb50fc
push ebx
mov dword [ebp - 0x1c], ebx
call dword [sym.imp.USER32.dll_GetDC]
mov esi, dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
mov dword [ebp - 8], eax
call esi
push dword [edi + 8]
mov dword [ebp + 0xc], eax
push dword [ebp + 8]
push dword [ebp - 8]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
push dword [ebp + 0xc]
mov dword [ebp - 0x20], eax
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebp - 8]
mov dword [ebp - 0x28], eax
call esi
push 0x30
mov dword [ebp - 0x10], eax
call dword [sym.imp.MSVCRT.dll_malloc]
push 0x2c
mov esi, eax
push ebx
push esi
call sub.MSVCRT.dll_memset
mov eax, dword [ebp + 8]
add esp, 0x10
push ebx
mov dword [esi + 4], eax
mov dword [esi], 0x28
mov eax, dword [edi + 8]
push ebx
mov dword [esi + 8], eax
lea eax, [ebp - 0x1c]
push eax
push ebx
push esi
push dword [ebp - 8]
mov word [esi + 0xc], 1
mov word [esi + 0xe], 1
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov byte [esi + 0x2a], bl
mov byte [esi + 0x29], bl
mov byte [esi + 0x28], bl
mov byte [esi + 0x2b], bl
mov byte [esi + 0x2e], 0xff
mov byte [esi + 0x2d], 0xff
mov byte [esi + 0x2c], 0xff
mov byte [esi + 0x2f], bl
call dword [sym.imp.GDI32.dll_CreateDIBSection]
push eax
push dword [ebp - 0x10]
mov dword [ebp - 0x38], eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [ebp + 0x1c]
mov dword [ebp - 0x24], eax
mov eax, dword [ecx + 0xd8]
mov dword [ebp - 0x2c], eax
mov eax, dword [ecx]
mov dword [ecx + 0xd8], ebx
call dword [eax + 0x4c]
cmp eax, ebx
mov dword [ebp - 0x18], eax
je 0x25cb4f5c
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 4]
push 0x74
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
cmp eax, ebx
pop ecx
je 0x25cb4f72
call fcn.25c70b7a
mov dword [ebp - 0x14], eax
jmp 0x25cb4f75
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x14]
mov eax, dword [ebx]
push 1
mov ecx, ebx
call dword [eax + 0x18]
mov ecx, dword [ebp + 0x1c]
mov eax, dword [ecx]
push ebx
call dword [eax + 0x1c]
mov eax, dword [ebp + 0x18]
mov eax, dword [eax + 0xc]
lea ebx, [ebp + 0x14]
mov dword [ebp + 0x14], eax
call fcn.25cabea1
and dword [ebp - 0x48], 0
and dword [ebp - 0x44], 0
mov ebx, eax
mov eax, dword [edi + 4]
mov dword [ebp - 0x40], eax
mov eax, dword [edi + 8]
mov dword [ebp - 0x3c], eax
push ebx
lea eax, [ebp - 0x48]
push eax
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_FillRect]
push ebx
call dword [sym.imp.GDI32.dll_DeleteObject]
mov ecx, dword [ebp + 0x1c]
push dword [ebp + 0xc]
mov eax, dword [ecx]
call dword [eax + 0x38]
and dword [ebp - 4], 0
cmp dword [edi + 8], 0
jle 0x25cb5035
mov ebx, dword [sym.imp.GDI32.dll_SetPixelV]
and dword [ebp + 0x14], 0
cmp dword [ebp + 8], 0
jle 0x25cb502a
push dword [ebp - 4]
push dword [ebp + 0x14]
push dword [ebp + 0xc]
call dword [sym.imp.GDI32.dll_GetPixel]
mov ecx, dword [ebp + 0x18]
cmp eax, dword [ecx + 0xc]
jne 0x25cb501f
push 0xffffff
push dword [ebp - 4]
push dword [ebp + 0x14]
push dword [ebp - 0x10]
call ebx
push 0
push dword [ebp - 4]
push dword [ebp + 0x14]
push dword [ebp + 0xc]
call ebx
inc dword [ebp + 0x14]
mov eax, dword [ebp + 0x14]
cmp eax, dword [ebp + 8]
jl 0x25cb4feb
inc dword [ebp - 4]
mov eax, dword [ebp - 4]
cmp eax, dword [edi + 8]
jl 0x25cb4fe1
mov ebx, dword [ebp + 0x10]
mov ecx, dword [ebx]
mov eax, dword [ecx + 8]
cdq
sub eax, edx
sar eax, 1
mov dword [ecx + 8], eax
mov eax, dword [ebx]
mov ecx, dword [edi]
push 0
push eax
add ecx, eax
add ecx, dword [ebp - 0xc]
push ecx
push dword [edi + 8]
push 0
push dword [ebp - 0x20]
push dword [ebp - 8]
call dword [sym.imp.GDI32.dll_GetDIBits]
push dword [ebp - 0x24]
mov eax, dword [ebx]
push dword [ebp - 0x10]
shl dword [eax + 8], 1
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebp - 0x10]
call dword [sym.imp.GDI32.dll_DeleteDC]
push dword [ebp - 0x28]
push dword [ebp + 0xc]
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebp + 0xc]
call dword [sym.imp.GDI32.dll_DeleteDC]
push dword [ebp - 8]
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
mov ecx, dword [ebp + 0x1c]
mov eax, dword [ebp - 0x2c]
push dword [ebp - 0x18]
mov dword [ecx + 0xd8], eax
mov eax, dword [ecx]
call dword [eax + 0x1c]
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x25cb50c0
mov eax, dword [ecx]
call dword [eax + 0xa4]
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx]
call dword [eax + 0xa4]
mov eax, dword [edi]
add eax, dword [ebx]
push dword [ebp - 0x30]
add eax, dword [ebp - 0x34]
push dword [ebp - 0x1c]
add eax, dword [ebp - 0xc]
push eax
call sub.MSVCRT.dll_memcpy
mov edi, dword [sym.imp.GDI32.dll_DeleteObject]
add esp, 0xc
push dword [ebp - 0x38]
call edi
push esi
call dword [sym.imp.MSVCRT.dll_free]
pop ecx
push dword [ebp - 0x20]
call edi
pop edi
pop esi
pop ebx
leave
ret