Function at 0x48397a
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x60
mov eax, dword [esi + 0x14]
push ebx
push edi
push dword [eax + 0x14]
call dword [sym.imp.USER32.dll_GetDC]
push eax
mov dword [esp + 0x18], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov dword [esp + 0xc], eax
lea eax, [esi + 4]
push eax
lea eax, [esp + 0x5c]
push eax
call dword [sym.imp.USER32.dll_CopyRect]
mov ecx, dword [esp + 0x64]
mov eax, dword [esp + 0x60]
sub ecx, dword [esp + 0x5c]
sub eax, dword [esp + 0x58]
push ecx
push eax
push dword [esp + 0x1c]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov edi, dword [sym.imp.GDI32.dll_SelectObject]
push eax
push dword [esp + 0x10]
mov dword [esp + 0x2c], eax
call edi
mov eax, dword [esi + 0xc4]
xor ebx, ebx
cmp eax, ebx
jne 0x4839ee
mov eax, dword [esi + 0x14]
mov eax, dword [eax + 0x18]
push eax
push dword [esp + 0x10]
call edi
push 1
push dword [esp + 0x10]
mov dword [esp + 0x28], eax
call dword [sym.imp.GDI32.dll_SetBkMode]
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.GDI32.dll_CreateRectRgn]
mov dword [esp + 0x10], eax
mov eax, dword [ebp + 8]
mov ecx, esi
call fcn.00483572
mov edi, dword [sym.imp.GDI32.dll_DeleteObject]
test eax, eax
je 0x483a8a
mov eax, dword [ebp + 8]
mov ecx, esi
call fcn.0048359b
test eax, eax
je 0x483a8a
mov eax, dword [ebp + 8]
cmp dword [ebp + 0xc], eax
je 0x483a8a
lea ecx, [esp + 0x28]
push ecx
push eax
push esi
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
call fcn.004835ca
push dword [esp + 0x34]
push dword [esp + 0x34]
push dword [esp + 0x34]
push dword [esp + 0x34]
call dword [sym.imp.GDI32.dll_CreateRectRgn]
push 2
push eax
push dword [esp + 0x18]
mov dword [esp + 0x24], eax
push dword [esp + 0x1c]
call dword [sym.imp.GDI32.dll_CombineRgn]
push dword [esp + 0x18]
call edi
mov eax, dword [ebp + 0xc]
mov ecx, esi
call fcn.00483572
test eax, eax
je 0x483af5
mov eax, dword [ebp + 0xc]
mov ecx, esi
call fcn.0048359b
test eax, eax
je 0x483af5
lea eax, [esp + 0x28]
push eax
push dword [ebp + 0xc]
mov dword [esp + 0x30], ebx
push esi
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
call fcn.004835ca
push dword [esp + 0x34]
push dword [esp + 0x34]
push dword [esp + 0x34]
push dword [esp + 0x34]
call dword [sym.imp.GDI32.dll_CreateRectRgn]
push 2
push eax
push dword [esp + 0x18]
mov dword [esp + 0x24], eax
push dword [esp + 0x1c]
call dword [sym.imp.GDI32.dll_CombineRgn]
push dword [esp + 0x18]
call edi
mov eax, dword [esi + 0x14]
cmp eax, ebx
je 0x483b01
add eax, 4
jmp 0x483b03
xor eax, eax
push eax
lea eax, [esp + 0x3c]
push eax
call dword [sym.imp.USER32.dll_CopyRect]
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x38]
neg ecx
neg eax
push ecx
push eax
lea eax, [esp + 0x40]
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
mov ecx, dword [esi + 8]
mov eax, dword [esi + 4]
neg ecx
neg eax
push ecx
push eax
lea eax, [esp + 0x40]
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
push dword [esp + 0x44]
push dword [esp + 0x44]
push dword [esp + 0x44]
push dword [esp + 0x44]
call dword [sym.imp.GDI32.dll_CreateRectRgn]
push 1
push eax
push dword [esp + 0x18]
mov dword [esp + 0x24], eax
push dword [esp + 0x1c]
call dword [sym.imp.GDI32.dll_CombineRgn]
push dword [esp + 0x18]
call edi
lea eax, [esp + 0x48]
push eax
push dword [esp + 0x14]
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebx
call dword [sym.imp.GDI32.dll_GetRgnBox]
push dword [esp + 0x10]
push dword [esp + 0x10]
call dword [sym.imp.GDI32.dll_SelectClipRgn]
push dword [ebp + 8]
mov eax, esi
call fcn.00524b29
test eax, eax
je 0x483c1e
mov eax, dword [ebp + 8]
mov ecx, esi
call fcn.0048359b
test eax, eax
je 0x483c1e
mov eax, dword [ebp + 8]
cmp dword [ebp + 0xc], eax
je 0x483c1e
mov ecx, esi
call fcn.004834ec
push ebx
xor ecx, ecx
mov dword [esp + 0x1c], eax
call fcn.0051b72c
mov eax, dword [ebp + 8]
mov ecx, esi
call fcn.00483572
test eax, eax
je 0x483c1e
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
push ecx
push edx
mov dword [esp + 0x24], edx
mov edx, dword [eax + 0x10]
sub edx, ecx
push edx
mov edx, dword [eax + 0xc]
sub edx, dword [eax + 4]
mov eax, esi
push edx
push ecx
push dword [esp + 0x30]
push dword [esp + 0x24]
call fcn.00483741
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx]
push ebx
push ebx
push dword [esp + 0x14]
call dword [eax + 4]
push dword [ebp + 0xc]
mov eax, esi
call fcn.00524b29
test eax, eax
je 0x483c9b
mov eax, dword [ebp + 0xc]
mov ecx, esi
call fcn.0048359b
test eax, eax
je 0x483c9b
mov eax, dword [ebp + 0xc]
mov ecx, esi
call fcn.004834ec
mov ecx, dword [ebp + 0x10]
push ebx
mov dword [esp + 0x1c], eax
call fcn.0051b72c
mov eax, dword [ebp + 0xc]
mov ecx, esi
call fcn.00483572
test eax, eax
je 0x483c9b
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
push ecx
push edx
mov dword [esp + 0x24], edx
mov edx, dword [eax + 0x10]
sub edx, ecx
push edx
mov edx, dword [eax + 0xc]
sub edx, dword [eax + 4]
mov eax, esi
push edx
push ecx
push dword [esp + 0x30]
push dword [esp + 0x24]
call fcn.00483741
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx]
push ebx
push ebx
push dword [esp + 0x14]
call dword [eax + 4]
mov eax, dword [esi + 0x14]
mov ebx, dword [eax + 4]
mov eax, dword [eax + 8]
add eax, dword [esi + 8]
add ebx, dword [esi + 4]
push eax
push ebx
push dword [esp + 0x18]
mov dword [esp + 0x28], eax
call dword [sym.imp.GDI32.dll_OffsetRgn]
push dword [esp + 0x10]
push dword [esp + 0x18]
call dword [sym.imp.GDI32.dll_SelectClipRgn]
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x54]
push 0xcc0020
push eax
push ecx
push dword [esp + 0x18]
sub edx, eax
push edx
mov edx, dword [esp + 0x64]
sub edx, ecx
push edx
mov edx, dword [esp + 0x34]
add eax, edx
push eax
add ecx, ebx
push ecx
push dword [esp + 0x34]
call dword [sym.imp.GDI32.dll_BitBlt]
push dword [esp + 0xc]
call dword [sym.imp.GDI32.dll_DeleteDC]
push dword [esp + 0x20]
push dword [esp + 0x10]
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [esp + 0x24]
call edi
push dword [esp + 0x10]
call edi
push dword [esp + 0x14]
mov eax, dword [esi + 0x14]
push dword [eax + 0x14]
call dword [sym.imp.USER32.dll_ReleaseDC]
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 0xc