Function at 0x47f1f7
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push ebx
push edi
push dword [esi + 8]
call dword [sym.imp.USER32.dll_GetDC]
push eax
mov dword [ebp - 0x10], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov dword [ebp - 8], eax
lea eax, [ebp - 0x4c]
xor edi, edi
push eax
push dword [esi + 8]
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x40], edi
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [ebp - 0x40]
mov eax, dword [ebp - 0x44]
sub ecx, dword [ebp - 0x48]
sub eax, dword [ebp - 0x4c]
push ecx
push eax
push dword [ebp - 0x10]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov ebx, dword [sym.imp.GDI32.dll_SelectObject]
push eax
push dword [ebp - 8]
mov dword [ebp - 0x1c], eax
call ebx
push dword [esi + 0xb0]
push dword [ebp - 8]
call ebx
push 1
push dword [ebp - 8]
mov dword [ebp - 0x18], eax
call dword [sym.imp.GDI32.dll_SetBkMode]
mov ebx, dword [sym.imp.GDI32.dll_CreateRectRgn]
push edi
push edi
push edi
push edi
call ebx
push dword [ebp + 8]
mov dword [ebp - 0xc], eax
push esi
call fcn.0047f634
test eax, eax
je 0x47f2e0
push dword [ebp + 8]
push esi
call fcn.0047f67d
test eax, eax
je 0x47f2e0
mov eax, dword [ebp + 8]
cmp dword [ebp + 0xc], eax
je 0x47f2e0
push eax
lea eax, [ebp - 0x2c]
mov ecx, esi
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x20], edi
call fcn.0047f4cc
push dword [ebp - 0x20]
push dword [ebp - 0x24]
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
call ebx
push 2
push eax
push dword [ebp - 0xc]
mov dword [ebp - 0x14], eax
push dword [ebp - 0xc]
call dword [sym.imp.GDI32.dll_CombineRgn]
push dword [ebp - 0x14]
call dword [sym.imp.GDI32.dll_DeleteObject]
push dword [ebp + 0xc]
push esi
call fcn.0047f634
test eax, eax
je 0x47f339
push dword [ebp + 0xc]
push esi
call fcn.0047f67d
test eax, eax
je 0x47f339
push dword [ebp + 0xc]
lea eax, [ebp - 0x2c]
mov ecx, esi
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x20], edi
call fcn.0047f4cc
push dword [ebp - 0x20]
push dword [ebp - 0x24]
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
call ebx
push 2
mov ebx, eax
push ebx
push dword [ebp - 0xc]
push dword [ebp - 0xc]
call dword [sym.imp.GDI32.dll_CombineRgn]
push ebx
call dword [sym.imp.GDI32.dll_DeleteObject]
lea eax, [ebp - 0x3c]
push eax
push dword [ebp - 0xc]
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x30], edi
call dword [sym.imp.GDI32.dll_GetRgnBox]
push dword [ebp - 0xc]
push dword [ebp - 8]
call dword [sym.imp.GDI32.dll_SelectClipRgn]
mov ebx, dword [ebp + 8]
push ebx
push esi
call fcn.0047f634
test eax, eax
je 0x47f3de
push ebx
push esi
call fcn.0047f67d
test eax, eax
je 0x47f3de
cmp dword [ebp + 0xc], ebx
je 0x47f3de
mov ecx, ebx
mov eax, esi
call fcn.0047f580
push dword [ebp + 8]
mov ebx, eax
lea eax, [ebp - 0x2c]
mov ecx, esi
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x20], edi
call fcn.0047f4cc
mov edx, dword [ebx + 0x64]
and edx, 0xfffffff0
mov ecx, ebx
call fcn.00470fc4
push dword [ebp - 0x28]
mov eax, dword [ebp - 0x20]
push dword [ebp - 0x2c]
sub eax, dword [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x24]
sub eax, dword [ebp - 0x2c]
push eax
push dword [ebp - 0x28]
mov eax, esi
push dword [ebp - 0x2c]
push dword [ebp - 8]
call fcn.0047de69
push ebx
push dword [ebp - 8]
lea ecx, [ebp - 0x2c]
push esi
call fcn.0047ed20
push dword [ebp + 0xc]
push esi
call fcn.0047f634
test eax, eax
je 0x47f45e
push dword [ebp + 0xc]
push esi
call fcn.0047f67d
test eax, eax
je 0x47f45e
mov ecx, dword [ebp + 0xc]
mov eax, esi
call fcn.0047f580
push dword [ebp + 0xc]
mov ebx, eax
lea eax, [ebp - 0x2c]
mov ecx, esi
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x20], edi
call fcn.0047f4cc
mov edx, dword [ebx + 0x64]
and edx, 0xfffffff0
or edx, dword [ebp + 0x10]
mov ecx, ebx
call fcn.00470fc4
push dword [ebp - 0x28]
mov eax, dword [ebp - 0x20]
push dword [ebp - 0x2c]
sub eax, dword [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x24]
sub eax, dword [ebp - 0x2c]
push eax
push dword [ebp - 0x28]
mov eax, esi
push dword [ebp - 0x2c]
push dword [ebp - 8]
call fcn.0047de69
push ebx
push dword [ebp - 8]
lea ecx, [ebp - 0x2c]
push esi
call fcn.0047ed20
push dword [ebp - 0xc]
push dword [ebp - 0x10]
call dword [sym.imp.GDI32.dll_SelectClipRgn]
mov eax, dword [ebp - 0x30]
sub eax, dword [ebp - 0x38]
push 0xcc0020
push dword [ebp - 0x38]
push dword [ebp - 0x3c]
push dword [ebp - 8]
push eax
mov eax, dword [ebp - 0x34]
sub eax, dword [ebp - 0x3c]
push eax
push dword [ebp - 0x38]
push dword [ebp - 0x3c]
push dword [ebp - 0x10]
call dword [sym.imp.GDI32.dll_BitBlt]
push dword [ebp - 8]
call dword [sym.imp.GDI32.dll_DeleteDC]
push dword [ebp - 0x18]
push dword [ebp - 8]
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebp - 0x1c]
mov edi, dword [sym.imp.GDI32.dll_DeleteObject]
call edi
push dword [ebp - 0xc]
call edi
push dword [ebp - 0x10]
push dword [esi + 8]
call dword [sym.imp.USER32.dll_ReleaseDC]
pop edi
pop ebx
leave
ret 0xc