Function at 0x4a0930
Capabilities:
Capture screenshot

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5625c8
push eax
mov dword fs:[0], esp
sub esp, 0x48
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x14]
lea ebp, [esi + 0x14]
mov ecx, ebp
call dword [eax + 0x90]
test eax, eax
je 0x4a0c95
mov edx, dword [ebp]
mov ecx, ebp
call dword [edx + 0x88]
test eax, eax
je 0x4a0c95
mov eax, dword [esi + 0x94]
xor ebx, ebx
cmp eax, ebx
je 0x4a0c95
cmp dword [eax + 0x20], ebx
je 0x4a0c95
mov eax, dword [esp + 0x68]
mov edi, dword [esi + 0x2cc]
mov edx, dword [ebp]
mov ecx, dword [eax]
mov eax, dword [ecx - 8]
mov ecx, ebp
imul edi, eax
lea eax, [esp + 0x18]
push eax
call dword [edx + 0x74]
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x20]
mov dl, byte [esp + 0x6c]
add ecx, 2
sub eax, 2
cmp dl, bl
mov dword [esp + 0x18], ecx
mov dword [esp + 0x20], eax
je 0x4a09db
sub eax, ecx
cmp edi, eax
jg 0x4a09e9
add ecx, edi
mov dword [esp + 0x20], ecx
jmp 0x4a09e9
mov edx, eax
sub edx, ecx
cmp edi, edx
jg 0x4a09e9
sub eax, edi
mov dword [esp + 0x18], eax
mov eax, dword [ebp]
lea ecx, [esp + 0x28]
push ecx
mov ecx, ebp
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
call dword [eax + 0x98]
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
push edx
lea ecx, [esp + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_OffsetRect]
mov edx, dword [esi + 0x2d8]
mov eax, dword [esi + 0x2d0]
mov ecx, dword [esp + 0x18]
sub edx, eax
mov eax, dword [esp + 0x20]
mov edi, eax
sub edi, ecx
cmp edx, edi
jle 0x4a0a8c
mov ebx, dword [esi + 0x2d0]
mov edx, dword [esp + 0x1c]
mov edi, dword [esp + 0x24]
cmp ebx, ecx
mov ebp, ecx
mov dword [esp + 0x50], eax
jge 0x4a0a5a
mov ecx, ebx
mov dword [esp + 0x18], ecx
mov ebx, dword [esi + 0x2d8]
cmp ebx, eax
jle 0x4a0a6a
mov eax, ebx
mov dword [esp + 0x20], eax
mov ebx, edx
mov dword [esi + 0x2d0], ebp
mov dword [esi + 0x2d4], ebx
mov ebx, dword [esp + 0x50]
mov dword [esi + 0x2d8], ebx
mov ebx, edi
mov dword [esi + 0x2dc], ebx
jmp 0x4a0aac
mov edx, dword [esp + 0x1c]
mov edi, dword [esp + 0x24]
mov dword [esi + 0x2d0], ecx
mov dword [esi + 0x2d4], edx
mov dword [esi + 0x2d8], eax
mov dword [esi + 0x2dc], edi
mov ebx, dword [esp + 0x28]
mov ebp, dword [esi + 0x50]
sub ebx, ebp
mov ebp, dword [esp + 0x2c]
sub ebp, dword [esi + 0x54]
mov dword [esp + 0x68], ebx
mov dword [esp + 0x6c], ebp
mov ebp, dword [esi + 0x58]
add ebx, ebp
cmp eax, ebx
jle 0x4a0ad3
mov eax, ebx
mov dword [esp + 0x20], eax
mov ebp, dword [esi + 0x2d8]
cmp ebp, ebx
jg 0x4a0adf
mov ebx, ebp
mov dword [esi + 0x2d8], ebx
lea ebx, [esi + 0x18c]
test ebx, ebx
je 0x4a0af6
mov ebp, dword [ebx + 4]
test ebp, ebp
jne 0x4a0b22
mov ecx, dword [esi + 0x94]
lea eax, [esp + 0x18]
push 0
push eax
mov edx, dword [ecx + 0x20]
push edx
call dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, dword [esi + 0x94]
mov ecx, dword [eax + 0x20]
push ecx
call dword [sym.imp.USER32.dll_UpdateWindow]
jmp 0x4a0c95
mov ebx, dword [esp + 0x68]
mov ebp, dword [esp + 0x6c]
sub eax, ebx
sub edi, ebp
mov dword [esp + 0x40], eax
mov eax, dword [esi + 0x94]
sub edx, ebp
sub ecx, ebx
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], edx
mov dword [esp + 0x44], edi
mov edx, dword [eax + 0x20]
push edx
call dword [sym.imp.USER32.dll_GetDC]
push eax
call sub.MFC42.DLL_CDC::FromHandle
mov edi, eax
xor ebx, ebx
cmp edi, ebx
je 0x4a0c95
lea ecx, [esp + 0x48]
call fcn.0054f754
mov eax, dword [edi + 4]
mov dword [esp + 0x60], ebx
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [esp + 0x4c]
call sub.MFC42.DLL_CDC::Attach
cmp eax, ebx
je 0x4a0c70
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], vtable.CBitmap.0
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x40]
mov eax, dword [edi + 4]
push ecx
push edx
push eax
mov byte [esp + 0x6c], 1
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CGdiObject::Attach
cmp eax, ebx
je 0x4a0c52
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x4c]
lea eax, [esp + 0x10]
neg eax
sbb eax, eax
and eax, edx
push eax
push ecx
call sub.MFC42.DLL_CDC::SelectGdiObject
mov edx, dword [esi + 0xe0]
mov ebx, eax
lea eax, [esp + 0x38]
lea ecx, [esi + 0xe0]
push eax
lea eax, [esp + 0x4c]
push eax
call dword [edx + 0x10]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
sub ecx, edx
mov edx, dword [esp + 0x20]
mov ebp, dword [esp + 0x4c]
sub edx, eax
lea eax, [esp + 0x48]
neg eax
sbb eax, eax
push 0xcc0020
and eax, ebp
mov ebp, dword [esp + 0x40]
push ebp
mov ebp, dword [esp + 0x40]
push ebp
push eax
mov eax, dword [edi + 4]
push ecx
mov ecx, dword [esp + 0x30]
push edx
mov edx, dword [esp + 0x30]
push ecx
push edx
push eax
call dword [sym.imp.GDI32.dll_BitBlt]
test ebx, ebx
je 0x4a0c47
mov ebx, dword [ebx + 4]
mov ecx, dword [esp + 0x4c]
push ebx
push ecx
call sub.MFC42.DLL_CDC::SelectGdiObject
mov dword [esp + 0x10], vtable.CGdiObject.0
lea ecx, [esp + 0x10]
mov byte [esp + 0x60], 2
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov dword [esp + 0x10], vtable.CObject.0
mov esi, dword [esi + 0x94]
mov edx, dword [edi + 4]
push edx
mov eax, dword [esi + 0x20]
push eax
call dword [sym.imp.USER32.dll_ReleaseDC]
lea ecx, [esp + 0x48]
mov dword [esp + 0x60], 0xffffffff
call sub.MFC42.DLL_CDC::CDC
mov ecx, dword [esp + 0x58]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x54
ret 8