Function at 0x493ba0
Capabilities:
Capture screenshot

Disassembly:
sub esp, 0x8c
push ebx
mov ebx, ecx
cmp byte [ebx + 0x12e], 0
je 0x493f30
mov eax, dword [ebx + 0x111]
xor ecx, ecx
cmp eax, ecx
je 0x493f30
mov edx, dword [esp + 0xa4]
cmp edx, 0xffffffff
jne 0x493be1
mov eax, dword [ebx + 0x115]
mov dword [esp + 0xa4], eax
mov edx, eax
push ebp
mov ebp, dword [esp + 0xac]
cmp ebp, 0xffffffff
jne 0x493bf4
mov ebp, dword [ebx + 0x119]
cmp edx, ecx
jle 0x493f2f
cmp ebp, ecx
jle 0x493f2f
push esi
mov esi, dword [esp + 0xb4]
cmp esi, ecx
jge 0x493c19
mov dword [esp + 0xb4], ecx
mov esi, ecx
push edi
mov edi, dword [esp + 0xbc]
cmp edi, ecx
jge 0x493c2e
mov dword [esp + 0xbc], ecx
mov edi, ecx
mov ecx, dword [ebx + 0x115]
lea eax, [edx + esi]
cmp eax, ecx
jle 0x493c48
mov eax, ecx
sub eax, esi
mov dword [esp + 0xb0], eax
mov edx, eax
mov eax, dword [ebx + 0x119]
lea esi, [edi + ebp]
cmp esi, eax
jle 0x493c59
mov ebp, eax
sub ebp, edi
test edx, edx
jle 0x493f2d
test ebp, ebp
jle 0x493f2d
test byte [esp + 0xa4], 1
je 0x493ec4
cmp byte [ebx + 0x11d], 4
jne 0x493ec4
mov ecx, dword [0x66e6e8]
mov eax, dword fs:[0x2c]
mov eax, dword [eax + ecx*4]
cmp dword [eax + 8], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], eax
je 0x493cbe
mov ecx, dword [eax + 0x20]
mov eax, dword [eax + 0x24]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], eax
jmp 0x493d14
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
mov esi, eax
push esi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ecx, dword [ebx + 0x119]
mov edx, dword [ebx + 0x115]
push ecx
push edx
mov edi, eax
push esi
mov dword [esp + 0x1c], edi
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
push edi
mov dword [esp + 0x1c], eax
call dword [sym.imp.GDI32.dll_SelectObject]
push esi
mov dword [esp + 0x1c], eax
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_ReleaseDC]
mov edx, dword [esp + 0xb0]
movzx eax, byte [ebx + 0x11d]
mov ecx, dword [0x66c5f0]
imul eax, edx
sub ecx, dword [0x66c5ec]
add eax, 3
and eax, 0xfffffffc
imul eax, ebp
add eax, 0x7c
cmp ecx, eax
jae 0x493d4e
push 0
push eax
mov ecx, 0x66c5e0
call fcn.004936e0
mov edx, dword [esp + 0xb0]
mov eax, dword [esp + 0xac]
mov ecx, dword [esp + 0xa8]
push 0xcc0020
push eax
mov eax, dword [esp + 0xa8]
push ecx
mov ecx, dword [esp + 0x1c]
push eax
push ebp
push edx
push 0
push 0
push ecx
call dword [sym.imp.GDI32.dll_BitBlt]
mov edx, dword [esp + 0xb0]
mov eax, ebp
neg eax
mov dword [ebx + 0x95], edx
mov dword [ebx + 0x99], eax
lea esi, [ebx + 0x91]
mov ecx, 0x1f
lea edi, [esp + 0x20]
rep movsd dword es:[edi], dword [esi]
push 0
mov ecx, 0x66c5e0
call fcn.00425c00
mov edi, eax
mov ecx, 0x1f
lea esi, [esp + 0x20]
push 0
rep movsd dword es:[edi], dword [esi]
push 0
mov ecx, 0x66c5e0
call fcn.00425c00
push eax
push 0
mov ecx, 0x66c5e0
call fcn.00425c00
mov ecx, dword [esp + 0x1c]
mov edi, dword [esp + 0x18]
add eax, 0x7c
push eax
push ebp
push 0
push ecx
push edi
call dword [sym.imp.GDI32.dll_GetDIBits]
movzx eax, byte [ebx + 0x11d]
mov edx, dword [ebx + 0x119]
mov ecx, dword [ebx + 0x111]
mov esi, dword [esp + 0xb0]
push 1
push eax
push edx
mov edx, dword [ebx + 0x115]
push edx
mov edx, dword [esp + 0xcc]
push edx
mov edx, dword [esp + 0xcc]
push edx
add ecx, 0x7c
push ecx
push eax
push ebp
push esi
push 0
mov ecx, 0x66c5e0
call fcn.00425c00
add eax, 0x7c
push eax
mov ecx, ebx
call fcn.0048f320
push 0
push 0
mov ecx, 0x66c5e0
call fcn.00425c00
push eax
push 0
mov ecx, 0x66c5e0
call fcn.00425c00
add eax, 0x7c
mov ecx, dword [esp + 0xb0]
mov edx, dword [esp + 0xa8]
push eax
mov eax, dword [esp + 0xb8]
push ebp
push 0
push 0
push 0
push ebp
push esi
push eax
push ecx
push edx
call dword [sym.imp.GDI32.dll_SetDIBitsToDevice]
mov eax, dword [esp + 0x1c]
cmp dword [eax + 8], 0
jne 0x493f2d
mov ecx, dword [esp + 0x18]
push ecx
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.GDI32.dll_DeleteObject]
push edi
call dword [sym.imp.GDI32.dll_DeleteDC]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x8c
ret 0x28
mov edi, dword [ebx + 0x111]
push 0
mov dword [ebx + 0x95], ecx
neg eax
mov dword [ebx + 0x99], eax
lea esi, [ebx + 0x91]
mov ecx, 0x1f
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebx + 0x111]
mov ebx, dword [ebx + 0x119]
mov ecx, dword [esp + 0xb0]
push eax
add eax, 0x7c
push eax
mov eax, dword [esp + 0xc4]
push ebx
push 0
sub ebx, ebp
sub ebx, dword [esp + 0xd0]
push ebx
push eax
mov eax, dword [esp + 0xbc]
push ebp
push edx
mov edx, dword [esp + 0xcc]
push ecx
push edx
push eax
call dword [sym.imp.GDI32.dll_SetDIBitsToDevice]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x8c
ret 0x28