Function at 0x441c00
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x4c9144]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [edi + 0x86], 0
push ebx
push esi
jne 0x441c2e
or eax, 0xffffffff
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00487efe
mov esp, ebp
pop ebp
ret
inc dword [edi + 0x20]
mov eax, dword [edi + 0x20]
xor ebx, ebx
cmp eax, dword [edi + 0x1c]
jb 0x441c3e
mov dword [edi + 0x20], ebx
cmp byte [edi + 0x48], 0
je 0x441dca
mov esi, dword [edi + 0x7c]
mov ecx, dword [esi + 4]
push 1
lea eax, [ebp - 0x24]
push eax
push ecx
call dword [sym.imp.gdiplus.dll_GdipImageGetFrameDimensionsList]
cmp eax, ebx
je 0x441c62
mov dword [esi + 8], eax
mov eax, dword [edi + 0x20]
mov esi, dword [edi + 0x7c]
push eax
mov eax, dword [esi + 4]
lea edx, [ebp - 0x24]
push edx
push eax
call dword [sym.imp.gdiplus.dll_GdipImageSelectActiveFrame]
cmp eax, ebx
je 0x441c7e
mov dword [esi + 8], eax
cmp dword [edi + 0x94], ebx
je 0x441db0
cmp byte [edi + 0x97], 0xff
jne 0x441db0
mov eax, dword [edi + 8]
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], ebx
mov edx, dword [eax + 4]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetClientRect]
test eax, eax
je 0x441dca
mov eax, dword [edi + 8]
mov eax, dword [eax + 4]
push eax
call dword [sym.imp.USER32.dll_GetDC]
mov esi, eax
push esi
mov dword [ebp - 0x28], esi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ecx, dword [edi + 0x58]
mov edx, dword [edi + 0x54]
sub ecx, dword [edi + 0x50]
mov ebx, eax
mov eax, dword [edi + 0x5c]
sub eax, dword [edi + 0x54]
add edx, eax
mov eax, dword [edi + 0x50]
push edx
add eax, ecx
push eax
push esi
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov dword [ebp - 0x2c], eax
test ebx, ebx
je 0x441d8f
test eax, eax
je 0x441d8f
push eax
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
push 8
call dword [sym.imp.gdiplus.dll_GdipAlloc]
test eax, eax
je 0x441d2a
mov ecx, ebx
mov esi, eax
call fcn.0041adc0
mov esi, eax
jmp 0x441d2c
xor esi, esi
mov edx, dword [edi]
mov eax, dword [edx + 4]
push esi
mov ecx, edi
call eax
test al, al
je 0x441d72
mov ecx, dword [esi]
push 1
push ecx
call dword [sym.imp.gdiplus.dll_GdipFlush]
call fcn.00419a20
mov eax, dword [edi + 0x30]
mov ecx, dword [edi + 0x2c]
mov edx, dword [edi + 0x38]
push 0xcc0020
push eax
push ecx
push ebx
sub edx, eax
push edx
mov edx, dword [edi + 0x34]
sub edx, ecx
push edx
push eax
mov eax, dword [ebp - 0x28]
push ecx
push eax
call dword [sym.imp.GDI32.dll_BitBlt]
jmp 0x441d7b
test esi, esi
je 0x441d7b
call fcn.00419a20
push ebx
call dword [sym.imp.GDI32.dll_DeleteDC]
mov ecx, dword [ebp - 0x2c]
push ecx
call dword [sym.imp.GDI32.dll_DeleteObject]
mov esi, dword [ebp - 0x28]
mov edx, dword [edi + 8]
mov eax, dword [edx + 4]
push esi
push eax
call dword [sym.imp.USER32.dll_ReleaseDC]
mov eax, dword [edi + 0x20]
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00487efe
mov esp, ebp
pop ebp
ret
mov eax, dword [edi + 8]
push 1
lea ecx, [edi + 0x50]
push ecx
mov ecx, dword [eax + 4]
push ecx
mov byte [eax + 0xc8], 1
call dword [sym.imp.USER32.dll_InvalidateRect]
mov ecx, dword [ebp - 4]
mov eax, dword [edi + 0x20]
pop esi
xor ecx, ebp
pop ebx
call fcn.00487efe
mov esp, ebp
pop ebp
ret