Function at 0x45ff33
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push ebx
push edi
push 0x18
xor ebx, ebx
lea eax, [ebp - 0x44]
push ebx
push eax
mov edi, ecx
call sub.MSVCR80.dll_memset
mov eax, dword [edi + 0x10c]
add esp, 0xc
cmp eax, ebx
je 0x45ff65
lea ecx, [ebp - 0x44]
push ecx
push 0x18
push eax
call dword [sym.imp.GDI32.dll_GetObjectA]
push ebx
call dword [sym.imp.USER32.dll_GetDC]
cmp eax, ebx
mov dword [ebp - 0xc], eax
je 0x4600e2
push esi
mov esi, dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
call esi
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x4600d7
push dword [ebp - 0xc]
call esi
cmp eax, ebx
mov dword [ebp - 8], eax
je 0x4600ce
push ebx
push ebx
push ebx
push dword [ebp + 8]
push dword [ebp + 0x10]
call dword [sym.imp.COMCTL32.dll_CreateMappedBitmap]
cmp eax, ebx
mov dword [ebp + 0x10], eax
je 0x4600c5
push dword [0x47b4ac]
mov eax, dword [ebp - 0x40]
mov ecx, dword [0x47b4a8]
add ecx, eax
push ecx
push dword [ebp - 0xc]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
cmp eax, ebx
mov dword [ebp + 8], eax
je 0x4600bc
mov esi, dword [sym.imp.GDI32.dll_SelectObject]
push eax
push dword [ebp - 8]
call esi
mov dword [ebp - 0x14], eax
mov eax, dword [edi + 0x10c]
cmp eax, ebx
je 0x460021
push eax
push dword [ebp - 4]
call esi
push 0xcc0020
push ebx
push ebx
push dword [ebp - 4]
mov dword [ebp - 0x10], eax
push dword [ebp - 0x3c]
push dword [ebp - 0x40]
push ebx
push ebx
push dword [ebp - 8]
call dword [sym.imp.GDI32.dll_BitBlt]
push dword [ebp - 0x10]
push dword [ebp - 4]
call esi
push dword [ebp + 0x10]
push dword [ebp - 4]
call esi
push 0xcc0020
push dword [0x479f04]
mov dword [ebp - 0x10], eax
mov eax, dword [0x479f00]
push eax
imul eax, dword [ebp + 0xc]
push ebx
push eax
push dword [ebp - 4]
push dword [0x47b4ac]
push dword [0x47b4a8]
push ebx
push dword [ebp - 0x40]
push dword [ebp - 8]
call dword [sym.imp.GDI32.dll_StretchBlt]
push dword [ebp - 0x10]
push dword [ebp - 4]
call esi
push dword [ebp - 0x14]
push dword [ebp - 8]
call esi
mov eax, dword [edi + 0x10c]
cmp eax, ebx
mov esi, dword [ebp + 8]
mov ecx, dword [0x47b4a8]
jne 0x460119
mov eax, dword [edi + 4]
mov dword [ebp + 8], eax
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x40]
add eax, ecx
cdq
idiv ecx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], esi
push eax
push 0x413
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
je 0x460158
push esi
call dword [sym.imp.GDI32.dll_DeleteObject]
push dword [ebp + 0x10]
call dword [sym.imp.GDI32.dll_DeleteObject]
push dword [ebp - 8]
call dword [sym.imp.GDI32.dll_DeleteDC]
push dword [ebp - 4]
call dword [sym.imp.GDI32.dll_DeleteDC]
push dword [ebp - 0xc]
push ebx
call dword [sym.imp.USER32.dll_ReleaseDC]
pop esi
push 0x18
lea eax, [ebp - 0x44]
push ebx
push eax
call sub.MSVCR80.dll_memset
mov edi, dword [edi + 0x10c]
add esp, 0xc
cmp edi, ebx
je 0x460108
lea eax, [ebp - 0x44]
push eax
push 0x18
push edi
call dword [sym.imp.GDI32.dll_GetObjectA]
mov eax, dword [ebp - 0x40]
cdq
idiv dword [0x47b4a8]
pop edi
pop ebx
dec eax
leave
ret 0xc
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x40]
add eax, ecx
cdq
idiv ecx
lea ecx, [ebp - 0x2c]
push ecx
push ebx
push 0x42e
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], eax
mov eax, dword [edi + 4]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
je 0x4600b5
push dword [edi + 0x10c]
call dword [sym.imp.GDI32.dll_DeleteObject]
mov dword [edi + 0x10c], esi
jmp 0x4600bc