Function at 0x42e592
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
mov esi, dword [ebp + 0xc]
nop
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x42e780
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x42e6e2
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x42e6e2
mov eax, dword [esi + 0x44]
test eax, eax
jne 0x42e6e2
push dword [ebp + 0x18]
push dword [ebp + 0x10]
push esi
push dword [ebp + 8]
call fcn.0042e500
add esp, 0x10
test eax, eax
je 0x42e6e2
push dword [ebp + 8]
call sub.USER32.DLL_GetDC
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x10]
lea ecx, [esi + 0x50]
push esi
push edi
push ecx
lea esi, [eax + 0x20]
mov edi, ecx
cld
mov ecx, 4
rep movsd dword es:[edi], dword [esi]
pop ecx
pop edi
pop esi
mov eax, dword [esi + 0x5c]
add eax, dword [esi + 0x54]
sar eax, 1
jns 0x42e616
adc eax, 0
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
sub eax, 5
mov dword [esi + 0x54], eax
mov eax, dword [ebp - 0xc]
add eax, 5
mov dword [esi + 0x5c], eax
mov eax, dword [esi + 0x58]
add eax, 0xfffffff4
mov dword [esi + 0x50], eax
sub dword [esi + 0x58], 2
push 0xa
push 0xa
push dword [ebp - 8]
call sub.GDI32.DLL_CreateCompatibleBitmap
mov dword [esi + 0x44], eax
push dword [ebp - 8]
call sub.GDI32.DLL_CreateCompatibleDC
mov ebx, eax
push dword [esi + 0x44]
push ebx
call sub.GDI32.DLL_SelectObject
mov dword [esi + 0x44], eax
push 0xcc0020
push dword [esi + 0x54]
push dword [esi + 0x50]
push dword [ebp - 8]
push 0xa
push 0xa
push 0
push 0
push ebx
call sub.GDI32.DLL_BitBlt
push dword [esi + 0x44]
push ebx
call sub.GDI32.DLL_SelectObject
mov dword [esi + 0x44], eax
mov eax, dword [esi + 8]
cmp eax, dword [ebp + 0x10]
jne 0x42e69b
push dword [esi + 0x40]
push ebx
call sub.GDI32.DLL_SelectObject
mov dword [ebp - 4], eax
jmp 0x42e6a7
push dword [esi + 0x3c]
push ebx
call sub.GDI32.DLL_SelectObject
mov dword [ebp - 4], eax
push 0xcc0020
push 0
push 0
push ebx
push 0xa
push 0xa
push dword [esi + 0x54]
push dword [esi + 0x50]
push dword [ebp - 8]
call sub.GDI32.DLL_BitBlt
push dword [ebp - 4]
push ebx
call sub.GDI32.DLL_SelectObject
push ebx
call sub.GDI32.DLL_DeleteDC
push dword [ebp - 8]
push dword [ebp + 8]
call sub.USER32.DLL_ReleaseDC
jmp 0x42e780
mov eax, dword [esi + 0x44]
test eax, eax
je 0x42e780
lea eax, [ebp - 0x14]
push eax
call sub.USER32.DLL_GetCursorPos
lea eax, [ebp - 0x14]
push eax
push dword [ebp + 8]
call sub.USER32.DLL_ScreenToClient
push dword [ebp - 0x10]
push dword [ebp - 0x14]
mov eax, esi
add eax, 0x50
push eax
call sub.USER32.DLL_PtInRect
test eax, eax
jne 0x42e780
push dword [ebp + 8]
call sub.USER32.DLL_GetDC
mov dword [ebp - 0x18], eax
push dword [ebp - 0x18]
call sub.GDI32.DLL_CreateCompatibleDC
mov edi, eax
push dword [esi + 0x44]
push edi
call sub.GDI32.DLL_SelectObject
mov dword [esi + 0x44], eax
push 0xcc0020
push 0
push 0
push edi
push 0xa
push 0xa
push dword [esi + 0x54]
push dword [esi + 0x50]
push dword [ebp - 0x18]
call sub.GDI32.DLL_BitBlt
push dword [esi + 0x44]
push edi
call sub.GDI32.DLL_SelectObject
mov dword [esi + 0x44], eax
push edi
call sub.GDI32.DLL_DeleteDC
push dword [ebp - 0x18]
push dword [ebp + 8]
call sub.USER32.DLL_ReleaseDC
push dword [esi + 0x44]
call sub.GDI32.DLL_DeleteObject
mov dword [esi + 0x44], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret