Function at 0x411e0f
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
push ebx
push esi
mov esi, ecx
push edi
push dword [esi + 0x14]
call dword [sym.imp.USER32.dll_GetDC]
push eax
mov dword [ebp - 0xc], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov edi, dword [esi + 0xc]
mov dword [ebp - 4], eax
mov eax, dword [esi + 0x10]
sub edi, dword [esi + 4]
sub eax, dword [esi + 8]
push eax
push edi
push dword [ebp - 0xc]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov ebx, dword [sym.imp.GDI32.dll_SelectObject]
push eax
push dword [ebp - 4]
mov dword [ebp - 0x18], eax
call ebx
push dword [esi + 0x18]
push dword [ebp - 4]
call ebx
push 1
mov dword [ebp - 0x14], eax
push dword [ebp - 4]
call dword [sym.imp.GDI32.dll_SetBkMode]
xor ebx, ebx
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.GDI32.dll_CreateRectRgn]
push dword [ebp + 8]
mov dword [ebp - 8], eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x24]
test eax, eax
je 0x411eec
mov eax, dword [esi]
push dword [ebp + 8]
mov ecx, esi
call dword [eax + 0x28]
test eax, eax
je 0x411eec
mov eax, dword [ebp + 8]
cmp dword [ebp + 0xc], eax
je 0x411eec
mov edx, dword [esi]
lea ecx, [ebp - 0x38]
push ebx
push ecx
push eax
mov ecx, esi
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ebx
call dword [edx + 0x30]
mov eax, dword [ebp - 0x30]
cmp eax, edi
jl 0x411ec1
mov eax, edi
push dword [ebp - 0x2c]
push eax
push dword [ebp - 0x34]
push dword [ebp - 0x38]
call dword [sym.imp.GDI32.dll_CreateRectRgn]
push 2
push eax
push dword [ebp - 8]
mov dword [ebp - 0x10], eax
push dword [ebp - 8]
call dword [sym.imp.GDI32.dll_CombineRgn]
push dword [ebp - 0x10]
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [esi]
push dword [ebp + 0xc]
mov ecx, esi
call dword [eax + 0x24]
test eax, eax
je 0x411f53
mov eax, dword [esi]
push dword [ebp + 0xc]
mov ecx, esi
call dword [eax + 0x28]
test eax, eax
je 0x411f53
mov eax, dword [esi]
lea ecx, [ebp - 0x38]
push ebx
push ecx
push dword [ebp + 0xc]
mov ecx, esi
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ebx
call dword [eax + 0x30]
cmp dword [ebp - 0x30], edi
jge 0x411f2b
mov edi, dword [ebp - 0x30]
push dword [ebp - 0x2c]
push edi
push dword [ebp - 0x34]
push dword [ebp - 0x38]
call dword [sym.imp.GDI32.dll_CreateRectRgn]
mov edi, eax
push 2
push edi
push dword [ebp - 8]
push dword [ebp - 8]
call dword [sym.imp.GDI32.dll_CombineRgn]
push edi
call dword [sym.imp.GDI32.dll_DeleteObject]
lea eax, [ebp - 0x28]
mov dword [ebp - 0x28], ebx
push eax
mov dword [ebp - 0x24], ebx
push dword [ebp - 8]
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
call dword [sym.imp.GDI32.dll_GetRgnBox]
push dword [ebp - 8]
push dword [ebp - 4]
call dword [sym.imp.GDI32.dll_SelectClipRgn]
mov edi, dword [ebp + 8]
mov eax, dword [esi]
push edi
mov ecx, esi
call dword [eax + 0x24]
test eax, eax
je 0x411fd7
mov eax, dword [esi]
push edi
mov ecx, esi
call dword [eax + 0x28]
test eax, eax
je 0x411fd7
cmp dword [ebp + 0xc], edi
je 0x411fd7
mov eax, dword [esi]
push edi
mov ecx, esi
call dword [eax + 0x20]
mov edi, eax
push ebx
push ebx
mov ecx, edi
call fcn.00414efb
mov eax, dword [edi + 8]
mov edx, dword [edi + 0x10]
mov ecx, dword [edi + 4]
push eax
sub edx, eax
push ecx
push edx
mov edx, dword [edi + 0xc]
sub edx, ecx
push edx
push eax
push ecx
mov ecx, esi
push dword [ebp - 4]
call fcn.00413f3e
mov eax, dword [edi]
push ebx
push ebx
mov ecx, edi
push dword [ebp - 4]
call dword [eax + 4]
mov eax, dword [esi]
push dword [ebp + 0xc]
mov ecx, esi
call dword [eax + 0x24]
test eax, eax
je 0x412036
mov eax, dword [esi]
push dword [ebp + 0xc]
mov ecx, esi
call dword [eax + 0x28]
test eax, eax
je 0x412036
mov eax, dword [esi]
push dword [ebp + 0xc]
mov ecx, esi
call dword [eax + 0x20]
push ebx
mov edi, eax
push dword [ebp + 0x10]
mov ecx, edi
call fcn.00414efb
mov eax, dword [edi + 8]
mov edx, dword [edi + 0x10]
mov ecx, dword [edi + 4]
push eax
sub edx, eax
push ecx
push edx
mov edx, dword [edi + 0xc]
sub edx, ecx
push edx
push eax
push ecx
mov ecx, esi
push dword [ebp - 4]
call fcn.00413f3e
mov eax, dword [edi]
push ebx
push ebx
mov ecx, edi
push dword [ebp - 4]
call dword [eax + 4]
cmp dword [esi + 0x1c], ebx
je 0x412089
push dword [esi + 8]
push dword [esi + 4]
push dword [ebp - 8]
call dword [sym.imp.GDI32.dll_OffsetRgn]
push dword [ebp - 8]
push dword [ebp - 0xc]
call dword [sym.imp.GDI32.dll_SelectClipRgn]
mov eax, dword [ebp - 0x1c]
push 0xcc0020
push dword [ebp - 0x24]
sub eax, dword [ebp - 0x24]
push dword [ebp - 0x28]
push dword [ebp - 4]
push eax
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x28]
push eax
mov eax, dword [esi + 8]
add eax, dword [ebp - 0x24]
push eax
mov eax, dword [esi + 4]
add eax, dword [ebp - 0x28]
push eax
push dword [ebp - 0xc]
call dword [sym.imp.GDI32.dll_BitBlt]
push dword [ebp - 4]
call dword [sym.imp.GDI32.dll_DeleteDC]
push dword [ebp - 0x14]
push dword [ebp - 4]
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebp - 0x18]
mov edi, dword [sym.imp.GDI32.dll_DeleteObject]
call edi
push dword [ebp - 8]
call edi
push dword [ebp - 0xc]
push dword [esi + 0x14]
call dword [sym.imp.USER32.dll_ReleaseDC]
pop edi
pop esi
pop ebx
leave
ret 0xc