Function at 0x47a4fe
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
xor edx, edx
sub esp, 0x20
cmp dword [esi + 0x1c], edx
je 0x47a6bd
mov eax, dword [ebp + 8]
cmp eax, edx
je 0x47a6bd
cmp dword [eax + 0x4c], edx
je 0x47a6bd
push edi
cmp ecx, edx
je 0x47a52c
mov edi, dword [ecx]
jmp 0x47a52f
mov edi, dword [eax + 4]
mov dword [ebp - 0x10], edi
push ebx
cmp ecx, edx
je 0x47a53c
mov ebx, dword [ecx + 4]
jmp 0x47a53f
mov ebx, dword [eax + 8]
cmp ecx, edx
je 0x47a54a
mov edi, dword [ecx + 8]
sub edi, dword [ecx]
jmp 0x47a550
mov edi, dword [eax + 0xc]
sub edi, dword [eax + 4]
mov dword [ebp - 0xc], edi
cmp ecx, edx
je 0x47a562
mov edi, dword [ecx + 0xc]
sub edi, dword [ecx + 4]
mov dword [ebp - 8], edi
jmp 0x47a56d
mov ecx, dword [eax + 0x10]
sub ecx, dword [eax + 8]
mov dword [ebp - 8], ecx
mov edi, ecx
mov dword [ebp - 0x14], edx
cmp dword [ebp + 0xc], edx
jne 0x47a588
push dword [esi + 0x14]
call dword [sym.imp.USER32.dll_GetDC]
mov dword [ebp + 0xc], eax
mov dword [ebp - 0x14], 1
push dword [ebp + 0xc]
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push edi
push dword [ebp - 0xc]
mov dword [ebp - 4], eax
push dword [ebp + 0xc]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov edi, dword [sym.imp.GDI32.dll_SelectObject]
push eax
push dword [ebp - 4]
mov dword [ebp - 0x20], eax
call edi
push ebx
push dword [ebp - 0x10]
mov eax, esi
push dword [ebp - 8]
push dword [ebp - 0xc]
push 0
push 0
push dword [ebp - 4]
call fcn.0047a4c9
push dword [esi + 0x18]
push dword [ebp - 4]
call edi
mov ecx, dword [ebp + 8]
mov edx, ebx
neg edx
push edx
mov edx, dword [ebp - 0x10]
neg edx
push edx
push dword [ebp - 4]
mov dword [ebp - 0x18], eax
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp - 0x18]
push dword [ebp - 4]
call edi
xor eax, eax
push eax
push eax
push eax
push eax
call dword [sym.imp.GDI32.dll_CreateRectRgn]
push eax
push dword [ebp + 0xc]
mov dword [ebp + 8], eax
call dword [sym.imp.GDI32.dll_GetClipRgn]
mov edx, dword [ebp - 8]
mov ecx, dword [esi + 4]
mov edi, dword [ebp - 0x10]
mov dword [ebp - 0x1c], eax
mov eax, dword [esi + 8]
add edx, eax
add edx, ebx
add edx, dword [ebp + 0x14]
add eax, ebx
add eax, dword [ebp + 0x14]
push edx
mov edx, dword [ebp - 0xc]
add edx, ecx
add edx, edi
add edx, dword [ebp + 0x10]
add ecx, edi
add ecx, dword [ebp + 0x10]
push edx
push eax
push ecx
call dword [sym.imp.GDI32.dll_CreateRectRgn]
push eax
push dword [ebp + 0xc]
mov dword [ebp - 0x18], eax
call dword [sym.imp.GDI32.dll_SelectClipRgn]
mov eax, dword [ebp + 0x14]
push 0xcc0020
push 0
push 0
push dword [ebp - 4]
add ebx, eax
push dword [ebp - 8]
push dword [ebp - 0xc]
mov eax, dword [esi + 4]
add ebx, dword [esi + 8]
add eax, edi
add eax, dword [ebp + 0x10]
mov edi, dword [ebp + 0xc]
push ebx
push eax
push edi
call dword [sym.imp.GDI32.dll_BitBlt]
push dword [ebp - 0x18]
mov ebx, dword [sym.imp.GDI32.dll_DeleteObject]
call ebx
cmp dword [ebp - 0x1c], 1
jne 0x47a68f
push dword [ebp + 8]
jmp 0x47a691
push 0
push edi
call dword [sym.imp.GDI32.dll_SelectClipRgn]
push dword [ebp + 8]
call ebx
push dword [ebp - 4]
call dword [sym.imp.GDI32.dll_DeleteDC]
push dword [ebp - 0x20]
call ebx
cmp dword [ebp - 0x14], 0
pop ebx
je 0x47a6bc
push edi
push dword [esi + 0x14]
call dword [sym.imp.USER32.dll_ReleaseDC]
pop edi
leave
ret 0x10