Function at 0x42c2a0
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov ebx, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
xor eax, eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 4], 0
jne 0x42c2d2
test esi, esi
je 0x42c4fd
test edi, edi
je 0x42c4fd
push 0
call sub.USER32.dll_GetDC
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
push eax
call sub.GDI32.dll_CreateCompatibleDC
mov dword [ebp - 0x1c], eax
xor eax, eax
push ebp
push 0x42c4f6
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [ebp + 8], 0
je 0x42c30e
push 0
push 1
push 1
push edi
push esi
call sub.GDI32.dll_CreateBitmap
mov dword [ebp - 0xc], eax
jmp 0x42c31c
push edi
push esi
mov eax, dword [ebp - 0x18]
push eax
call sub.GDI32.dll_CreateCompatibleBitmap
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x42c327
call fcn.00429b78
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x1c]
push eax
call sub.GDI32.dll_SelectObject
mov dword [ebp - 0x14], eax
xor eax, eax
push ebp
push 0x42c4af
push dword fs:[eax]
mov dword fs:[eax], esp
test ebx, ebx
je 0x42c39d
mov eax, dword [ebx + 0x14]
call fcn.00428f7c
push eax
push edi
lea eax, [ebp - 0x30]
push eax
mov ecx, esi
xor edx, edx
xor eax, eax
call fcn.0040f9f0
lea eax, [ebp - 0x30]
push eax
mov eax, dword [ebp - 0x1c]
push eax
call sub.USER32.dll_FillRect
mov eax, dword [ebx + 0xc]
mov eax, dword [eax + 0x10]
call fcn.0042866c
push eax
mov eax, dword [ebp - 0x1c]
push eax
call sub.GDI32.dll_SetTextColor
mov eax, dword [ebx + 0x14]
call fcn.00428f40
call fcn.0042866c
push eax
mov eax, dword [ebp - 0x1c]
push eax
call sub.GDI32.dll_SetBkColor
jmp 0x42c3b1
push 0xff0062
push edi
push esi
push 0
push 0
mov eax, dword [ebp - 0x1c]
push eax
call sub.GDI32.dll_PatBlt
cmp dword [ebp - 4], 0
je 0x42c4a5
mov eax, dword [ebp - 0x18]
push eax
call sub.GDI32.dll_CreateCompatibleDC
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x42c3d2
call fcn.00429b78
xor eax, eax
push ebp
push 0x42c49e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0042c0c4
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 0x20]
push eax
call sub.GDI32.dll_SelectObject
mov dword [ebp - 0x10], eax
cmp dword [ebp - 8], 0
je 0x42c42e
push 1
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 0x20]
push eax
call sub.GDI32.dll_SelectPalette
mov eax, dword [ebp - 0x20]
push eax
call sub.GDI32.dll_RealizePalette
push 1
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 0x1c]
push eax
call sub.GDI32.dll_SelectPalette
mov eax, dword [ebp - 0x1c]
push eax
call sub.GDI32.dll_RealizePalette
test ebx, ebx
je 0x42c45e
mov eax, dword [ebx + 0xc]
mov eax, dword [eax + 0x10]
call fcn.0042866c
push eax
mov eax, dword [ebp - 0x20]
push eax
call sub.GDI32.dll_SetTextColor
mov eax, dword [ebx + 0x14]
call fcn.00428f40
call fcn.0042866c
push eax
mov eax, dword [ebp - 0x20]
push eax
call sub.GDI32.dll_SetBkColor
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 0x20]
push eax
push edi
push esi
push 0
push 0
mov eax, dword [ebp - 0x1c]
push eax
call sub.GDI32.dll_BitBlt
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x20]
push eax
call sub.GDI32.dll_SelectObject
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42c4a5
mov eax, dword [ebp - 0x20]
push eax
call sub.GDI32.dll_DeleteDC
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x42c4d4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42c4fd
mov eax, dword [ebp - 0x1c]
push eax
call sub.GDI32.dll_DeleteDC
mov eax, dword [ebp - 0x18]
push eax
push 0
call sub.USER32.dll_ReleaseDC
ret
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc