Function at 0x474a90
Capabilities:
Capture screenshot

Disassembly:
sub esp, 0xcc
mov eax, dword [0x4abf20]
push ebp
push edi
push 0
push 0
push 0
push 0
mov dword [esp + 0xe0], eax
mov ebp, ecx
call dword [sym.imp.GDI32.dll_CreateRectRgn]
mov edi, eax
mov eax, dword [ebp + 4]
push 0
push edi
push eax
mov dword [esp + 0x1c], edi
call dword [sym.imp.USER32.dll_GetUpdateRgn]
cmp eax, 1
jne 0x474b1d
push edi
call dword [sym.imp.GDI32.dll_DeleteObject]
mov edx, dword [ebp + 4]
lea ecx, [esp + 0x90]
push ecx
push edx
call dword [sym.imp.USER32.dll_BeginPaint]
mov ecx, dword [ebp + 4]
lea eax, [esp + 0x90]
push eax
push ecx
call dword [sym.imp.USER32.dll_EndPaint]
mov edx, dword [esp + 0xe4]
pop edi
mov dword [edx], 0
xor eax, eax
pop ebp
mov ecx, dword [esp + 0xc8]
call fcn.00484547
add esp, 0xcc
ret 0x10
mov ecx, dword [ebp + 4]
push ebx
push esi
lea eax, [esp + 0x58]
push eax
push ecx
call dword [sym.imp.USER32.dll_BeginPaint]
mov edx, dword [esp + 0x58]
mov ebx, dword [sym.imp.GDI32.dll_SetStretchBltMode]
push 3
push edx
call ebx
mov eax, dword [esp + 0x58]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov esi, eax
push 3
push esi
call ebx
mov eax, dword [ebp + 0xbc]
test eax, eax
jne 0x474c6b
mov eax, dword [ebp + 0xf0]
test eax, eax
je 0x474b80
mov eax, dword [ebp + 0xf4]
test eax, eax
je 0x474b80
lea ecx, [esp + 0x38]
push ecx
mov ecx, ebp
call fcn.00474930
push eax
jmp 0x474bb1
mov eax, dword [ebp + 4]
push eax
lea ecx, [esp + 0x4c]
push ecx
call fcn.004334d0
mov edx, dword [eax]
mov dword [esp + 0x40], edx
mov ecx, dword [eax + 4]
mov dword [esp + 0x44], ecx
mov edx, dword [eax + 8]
mov dword [esp + 0x48], edx
mov eax, dword [eax + 0xc]
add esp, 8
lea ecx, [esp + 0x38]
mov dword [esp + 0x44], eax
push ecx
lea edx, [esp + 0x20]
push edx
call dword [sym.imp.USER32.dll_CopyRect]
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x1c]
sub eax, ecx
mov ecx, dword [esp + 0x24]
push eax
sub ecx, edx
mov edx, dword [esp + 0x5c]
push ecx
push edx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
push esi
mov dword [ebp + 0xbc], eax
call dword [sym.imp.GDI32.dll_SelectObject]
push 4
mov dword [esp + 0x30], eax
call dword [sym.imp.GDI32.dll_GetStockObject]
push eax
lea eax, [esp + 0x20]
push eax
push esi
call dword [sym.imp.USER32.dll_FillRect]
lea ecx, [esp + 0x10]
push ecx
push 0
push 0
push esi
call dword [sym.imp.GDI32.dll_SetWindowOrgEx]
mov eax, dword [ebp + 0x28]
mov ebx, dword [eax]
cmp ebx, eax
je 0x474c56
lea ecx, [ecx]
mov edi, dword [ebx + 8]
mov ecx, dword [edi + 0xc]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
push 0
sub edx, ecx
mov ecx, dword [edi + 8]
push edx
sub eax, ecx
push eax
push esi
call dword [sym.imp.GDI32.dll_SetWindowOrgEx]
mov ecx, dword [edi + 4]
mov edx, dword [ecx]
push 0
push esi
call dword [edx + 0x68]
mov ebx, dword [ebx]
cmp ebx, dword [ebp + 0x28]
jne 0x474c20
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
push 0
push eax
push ecx
push esi
call dword [sym.imp.GDI32.dll_SetWindowOrgEx]
jmp 0x474c77
push eax
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x2c], eax
lea edx, [esp + 0x30]
push edx
push 0
push 0
push esi
call dword [sym.imp.GDI32.dll_SetWindowOrgEx]
push 0
push 0
push 0
push 0
call dword [sym.imp.GDI32.dll_CreateRectRgn]
mov dword [esp + 0x10], eax
mov eax, dword [ebp + 0x28]
mov ebx, dword [eax]
cmp ebx, eax
je 0x474d03
mov edi, dword [ebx + 8]
mov eax, dword [edi + 0xc]
mov ecx, dword [edi + 8]
mov edx, dword [esp + 0x10]
neg eax
push eax
neg ecx
push ecx
push edx
call dword [sym.imp.GDI32.dll_OffsetRgn]
mov eax, dword [esp + 0x34]
mov edx, dword [edi + 0xc]
mov ecx, dword [esp + 0x30]
push 0
sub eax, edx
push eax
sub ecx, dword [edi + 8]
push ecx
push esi
call dword [sym.imp.GDI32.dll_SetWindowOrgEx]
mov eax, dword [esp + 0x10]
mov ecx, dword [edi + 4]
mov edx, dword [ecx]
push eax
push esi
call dword [edx + 0x28]
mov ecx, dword [edi + 0xc]
mov edx, dword [edi + 8]
mov eax, dword [esp + 0x10]
push ecx
push edx
push eax
call dword [sym.imp.GDI32.dll_OffsetRgn]
mov ebx, dword [ebx]
cmp ebx, dword [ebp + 0x28]
jne 0x474ca2
mov edi, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.GDI32.dll_DeleteObject]
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x30]
push 0
push edx
push eax
push esi
call dword [sym.imp.GDI32.dll_SetWindowOrgEx]
push 0
push 0
push edi
call dword [sym.imp.GDI32.dll_GetRegionData]
mov edi, eax
push edi
call fcn.004844a9
mov ecx, dword [esp + 0x1c]
add esp, 4
mov ebx, eax
push ebx
push edi
push ecx
call dword [sym.imp.GDI32.dll_GetRegionData]
mov eax, dword [ebx + 8]
xor edi, edi
test eax, eax
jbe 0x474dc5
lea edx, [ebx + 0x20]
mov dword [esp + 0x10], edx
mov eax, dword [esp + 0x10]
push eax
lea ecx, [esp + 0x20]
push ecx
call dword [sym.imp.USER32.dll_CopyRect]
mov eax, dword [esp + 0x58]
push 2
lea edx, [esp + 0x20]
push edx
push eax
call dword [sym.imp.GDI32.dll_DPtoLP]
push 1
push 1
lea ecx, [esp + 0x24]
push ecx
call dword [sym.imp.USER32.dll_InflateRect]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x28]
push 0xcc0020
push eax
push ecx
push esi
sub edx, eax
push edx
mov edx, dword [esp + 0x38]
sub edx, ecx
push edx
push eax
mov eax, dword [esp + 0x74]
push ecx
push eax
call dword [sym.imp.GDI32.dll_BitBlt]
mov ecx, dword [esp + 0x10]
mov eax, dword [ebx + 8]
inc edi
add ecx, 0x10
cmp edi, eax
mov dword [esp + 0x10], ecx
jb 0x474d56
push ebx
call sub.MSVCR71.dll_void___cdecl_operator_delete___void__
mov ecx, dword [esp + 0x30]
add esp, 4
push ecx
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
push esi
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, dword [ebp + 4]
lea edx, [esp + 0x58]
push edx
push eax
call dword [sym.imp.USER32.dll_EndPaint]
mov ecx, dword [esp + 0x18]
push ecx
call dword [sym.imp.GDI32.dll_DeleteObject]
mov ecx, dword [esp + 0xd8]
pop esi
pop ebx
pop edi
mov eax, 1
pop ebp
call fcn.00484547
add esp, 0xcc
ret 0x10