Function at 0x443930
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x4c6184]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [edi + 0x86], 0
push ebx
push esi
jne 0x44395e
or eax, 0xffffffff
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00486a8b
mov esp, ebp
pop ebp
ret
inc dword [edi + 0x20]
mov eax, dword [edi + 0x20]
xor ebx, ebx
cmp eax, dword [edi + 0x1c]
jb 0x44396e
mov dword [edi + 0x20], ebx
cmp byte [edi + 0x48], 0
je 0x443afa
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 0x443992
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 0x4439ae
mov dword [esi + 8], eax
cmp dword [edi + 0x94], ebx
je 0x443ae0
cmp byte [edi + 0x97], 0xff
jne 0x443ae0
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 0x443afa
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 0x443abf
test eax, eax
je 0x443abf
push eax
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
push 8
call dword [sym.imp.gdiplus.dll_GdipAlloc]
test eax, eax
je 0x443a5a
mov ecx, ebx
mov esi, eax
call fcn.0041b390
mov esi, eax
jmp 0x443a5c
xor esi, esi
mov edx, dword [edi]
mov eax, dword [edx + 4]
push esi
mov ecx, edi
call eax
test al, al
je 0x443aa2
mov ecx, dword [esi]
push 1
push ecx
call dword [sym.imp.gdiplus.dll_GdipFlush]
call fcn.0041a230
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 0x443aab
test esi, esi
je 0x443aab
call fcn.0041a230
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.00486a8b
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 + 0xd0], 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.00486a8b
mov esp, ebp
pop ebp
ret