Function at 0x40dbf3
Capabilities:
Capture screenshot

Disassembly:
push 0x44
mov eax, 0x5330cd
call fcn.0050a549
mov esi, ecx
lea ecx, [esi + 0xec]
xor ebx, ebx
mov edi, edx
mov dword [ebp - 0x24], ecx
cmp ecx, ebx
je 0x40dc1c
cmp dword [ecx + 4], ebx
je 0x40dc1c
call fcn.00422f6f
mov ecx, esi
call fcn.0040da7b
mov dword [ebp - 0x30], eax
cmp eax, ebx
je 0x40ddee
cmp edi, ebx
je 0x40dde3
cmp edi, esi
je 0x40dde3
lea eax, [ebp - 0x20]
push eax
push dword [edi + 0x20]
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
call dword [sym.imp.USER32.dll_GetClientRect]
cmp esi, ebx
jne 0x40dc5f
xor eax, eax
jmp 0x40dc62
mov eax, dword [esi + 0x20]
push 2
lea ecx, [ebp - 0x20]
push ecx
push eax
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_MapWindowPoints]
lea ecx, [ebp - 0x50]
call fcn.0042260c
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], ebx
call fcn.0042260c
mov byte [ebp - 4], 1
push dword [esi + 0x20]
mov edi, dword [sym.imp.USER32.dll_GetDC]
call edi
push eax
call fcn.00422c2d
cmp eax, ebx
jne 0x40dca2
xor eax, eax
jmp 0x40dca5
mov eax, dword [eax + 4]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [ebp - 0x50]
call fcn.00422c41
test eax, eax
je 0x40ddc9
push dword [esi + 0x20]
call edi
push eax
call fcn.00422c2d
cmp eax, ebx
jne 0x40dcd0
xor eax, eax
jmp 0x40dcd3
mov eax, dword [eax + 4]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [ebp - 0x40]
call fcn.00422c41
test eax, eax
je 0x40ddc9
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x2c], vtable.CBitmap.0
mov byte [ebp - 4], 2
mov edi, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x18]
push dword [esi + 0x20]
sub edi, dword [ebp - 0x1c]
sub ebx, dword [ebp - 0x20]
call dword [sym.imp.USER32.dll_GetDC]
push eax
call fcn.00422c2d
push edi
push ebx
push dword [eax + 4]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00422f15
test eax, eax
je 0x40dda4
mov eax, dword [ebp - 0x30]
push dword [eax + 4]
push dword [ebp - 0x4c]
call fcn.00422fa6
push dword [ebp - 0x28]
mov esi, eax
push dword [ebp - 0x3c]
call fcn.00422fa6
mov ecx, dword [ebp - 0x18]
sub ecx, dword [ebp - 0x20]
push 0xcc0020
push dword [ebp - 0x1c]
mov edi, eax
push dword [ebp - 0x20]
mov eax, dword [ebp - 0x14]
push dword [ebp - 0x4c]
sub eax, dword [ebp - 0x1c]
push eax
push ecx
push 0
push 0
push dword [ebp - 0x3c]
call dword [sym.imp.GDI32.dll_BitBlt]
test esi, esi
je 0x40dd79
mov esi, dword [esi + 4]
push esi
push dword [ebp - 0x4c]
call fcn.00422fa6
test edi, edi
je 0x40dd89
mov edi, dword [edi + 4]
push edi
push dword [ebp - 0x3c]
call fcn.00422fa6
push dword [ebp - 0x28]
call dword [sym.imp.GDI32.dll_CreatePatternBrush]
mov ecx, dword [ebp - 0x24]
push eax
call fcn.00422f15
lea ecx, [ebp - 0x50]
call fcn.00422cac
lea ecx, [ebp - 0x40]
call fcn.00422cac
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x2c], vtable.CBitmap.0
call fcn.0040d71d
xor ebx, ebx
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0
call fcn.00422cc2
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x50]
call fcn.00422cc2
jmp 0x40de03
mov ecx, dword [ebp - 0x24]
push eax
call fcn.0040deec
jmp 0x40de03
push dword [esi + 0xdc]
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov ecx, dword [ebp - 0x24]
push eax
call fcn.00422f15
mov eax, dword [ebp - 0x24]
cmp eax, ebx
jne 0x40de0e
xor eax, eax
jmp 0x40de11
mov eax, dword [eax + 4]
call fcn.0050a5cc
ret