Function at 0x495890
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x61e2a7
mov eax, dword fs:[0]
push eax
sub esp, 0xf4
mov eax, dword [0x6ec7c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0xc4], esi
push str.CItemListCtrl::MakeSubstrate
lea ecx, [ebp - 0xa8]
call fcn.00562ae0
cmp dword [esi + 0x268], 0
mov dword [ebp - 4], 0
jne 0x495ee1
xorps xmm0, xmm0
mov ecx, esi
movups xmmword [ebp - 0x20], xmm0
movups xmmword [ebp - 0x30], xmm0
movups xmmword [ebp - 0x70], xmm0
call fcn.00603cd3
lea ecx, [ebp - 0x70]
push ecx
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov dword [ebp - 0xb8], 0
mov dword [ebp - 0xbc], vtable.CBitmap.0
sub esp, 0x18
mov byte [ebp - 4], 1
mov ecx, esp
mov dword [ebp - 0xb0], esp
xorps xmm0, xmm0
push 0x12
movups xmmword [ecx], xmm0
push str.IDB_EMPTY_TASKLIST
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.00414450
sub esp, 0x18
mov byte [ebp - 4], 2
mov ecx, esp
xorps xmm0, xmm0
push 0xd
movups xmmword [ecx], xmm0
push str.CItemListCtrl
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.00414450
lea eax, [ebp - 0x60]
mov byte [ebp - 4], 1
push eax
call fcn.00477bd0
add esp, 0x34
cmp dword [eax + 0x14], 7
mov byte [ebp - 4], 3
jbe 0x495994
mov eax, dword [eax]
push eax
call fcn.0047a7a0
mov ecx, dword [ebp - 0x4c]
add esp, 4
mov byte [ebp - 4], 1
mov edi, eax
mov dword [ebp - 0xb0], edi
cmp ecx, 7
jbe 0x4959e5
mov edx, dword [ebp - 0x60]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4959db
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4959db
call dword [0x63e2e0]
push ecx
push edx
call fcn.00604b8c
add esp, 8
xor eax, eax
mov dword [ebp - 0x50], 0
push edi
lea ecx, [ebp - 0xbc]
mov dword [ebp - 0x4c], 7
mov word [ebp - 0x60], ax
call fcn.006038b9
mov eax, dword [ebp - 0xb8]
test eax, eax
je 0x495ecc
lea ecx, [ebp - 0x100]
push ecx
push 0x18
push eax
call dword [sym.imp.GDI32.dll_GetObjectW]
push dword [ebp - 0xf8]
lea eax, [ebp - 0x20]
push dword [ebp - 0xfc]
push 0
push 0
push eax
call dword [sym.imp.USER32.dll_SetRect]
mov eax, dword [ebp - 0x64]
sub eax, dword [ebp - 0x6c]
push eax
push 0
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
mov eax, dword [esi + 0x248]
lea ecx, [esi + 0x248]
push 0xffff
push esi
lea edx, [ebp - 0x20]
mov eax, dword [eax + 0x16c]
push edx
push 0x4000000e
push 0
call eax
test eax, eax
je 0x495ecc
lea ecx, [ebp - 0xd8]
call fcn.00603bcb
lea ecx, [ebp - 0xe8]
mov byte [ebp - 4], 4
call fcn.00603bcb
push dword [esi + 0x20]
mov byte [ebp - 4], 5
call dword [sym.imp.USER32.dll_GetDC]
push eax
call fcn.006038cb
lea edi, [eax + 4]
test eax, eax
jne 0x495ac8
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [ebp - 0xd8]
call fcn.00603bc5
xor eax, eax
jmp 0x495ade
push dword [edi]
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [ebp - 0xd8]
call fcn.00603bc5
mov eax, dword [edi]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [ebp - 0xe8]
call fcn.00603bc5
lea eax, [ebp - 0x20]
push eax
push dword [esi + 0x268]
call dword [sym.imp.USER32.dll_GetClientRect]
cmp dword [esi + 0x2cc], 0
je 0x495b15
lea ecx, [esi + 0x2c8]
call fcn.006038bf
mov ecx, dword [ebp - 0x14]
lea edx, [esi + 0x2c8]
sub ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x20]
push ecx
push eax
push dword [edi]
mov dword [ebp - 0xc0], edx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
lea ecx, [esi + 0x2c8]
call fcn.006038b9
push dword [edi]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_ReleaseDC]
lea eax, [esi + 0x2c8]
test eax, eax
je 0x495b5b
mov eax, dword [eax + 4]
push eax
push dword [ebp - 0xd4]
call fcn.00603bdd
push dword [esi + 0x204]
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0xd8]
call fcn.00603c07
push dword [ebp - 0xb8]
push dword [ebp - 0xe4]
call fcn.00603bdd
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x1c]
sub edx, eax
sub eax, dword [ebp - 0x14]
add eax, dword [ebp - 0xf8]
mov edi, dword [ebp - 0x20]
mov dword [ebp - 0xac], edx
mov edx, dword [ebp - 0x18]
sub edx, edi
sub edi, dword [ebp - 0x18]
add edi, dword [ebp - 0xfc]
mov dword [ebp - 0xc8], edx
cdq
sub eax, edx
mov ecx, eax
mov eax, edi
push 0xcc0020
cdq
sar ecx, 1
sub eax, edx
push ecx
sar eax, 1
push eax
push dword [ebp - 0xe4]
push dword [ebp - 0xac]
push dword [ebp - 0xc8]
push 0
push 0
push dword [ebp - 0xd4]
call dword [sym.imp.GDI32.dll_BitBlt]
lea ecx, [ebp - 0xbc]
call fcn.00603c01
mov eax, dword [ebp - 0xc0]
test eax, eax
je 0x495c0a
mov eax, dword [eax + 4]
mov esi, dword [ebp - 0xc4]
push eax
push 0
push 0x172
push dword [esi + 0x268]
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebp - 0xb0]
test eax, eax
je 0x495c35
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0xb0], esp
push str.IDS_EMPTY_TASKLIST
call fcn.00414770
sub esp, 0x18
mov byte [ebp - 4], 6
mov ecx, esp
push str.CItemListCtrl
call fcn.00414770
lea eax, [ebp - 0x60]
mov byte [ebp - 4], 5
push eax
call fcn.00477bd0
add esp, 0x34
cmp dword [eax + 0x14], 7
mov byte [ebp - 4], 7
jbe 0x495c79
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x48]
call fcn.00414770
mov ecx, dword [ebp - 0x4c]
mov byte [ebp - 4], 9
cmp ecx, 7
jbe 0x495cc2
mov edx, dword [ebp - 0x60]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x495cb8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x495cb8
call dword [0x63e2e0]
push ecx
push edx
call fcn.00604b8c
add esp, 8
xor eax, eax
mov dword [ebp - 0x50], 0
cmp dword [ebp - 0x34], 7
lea ecx, [ebp - 0xac]
mov word [ebp - 0x60], ax
lea eax, [ebp - 0x48]
cmova eax, dword [ebp - 0x48]
push eax
mov dword [ebp - 0x4c], 7
call dword [0x63ea98]
lea eax, [ebp - 0xb4]
push eax
mov eax, dword [ebp - 0xac]
push dword [eax - 0xc]
push eax
push dword [ebp - 0xd0]
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
lea ecx, [ebp - 0xac]
call dword [0x63f5a8]
mov ecx, dword [ebp - 0xb0]
mov eax, dword [ebp - 0xb4]
add ecx, 6
push ecx
add eax, 0xa
push eax
push 0
push 0
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.USER32.dll_SetRect]
mov eax, dword [ebp - 0x64]
sub eax, dword [ebp - 0x6c]
mov edi, dword [sym.imp.USER32.dll_OffsetRect]
push eax
push 0
lea eax, [ebp - 0x30]
push eax
call edi
mov eax, dword [ebp - 0x24]
sub eax, dword [ebp - 0x2c]
sub eax, dword [ebp - 0x1c]
add eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x28]
sub eax, dword [ebp - 0x20]
add eax, dword [ebp - 0x30]
cdq
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x30]
push eax
call edi
push 0x188
call fcn.0060388f
mov edi, eax
add esp, 4
mov dword [ebp - 0xb0], edi
mov byte [ebp - 4], 0xa
test edi, edi
je 0x495d9f
mov ecx, edi
call fcn.00462350
mov dword [edi], vtable.CCreateTaskButton.0
jmp 0x495da1
xor edi, edi
mov dword [ebp - 0xb0], edi
push 0x10
mov byte [ebp - 4], 0xb
call fcn.0060388f
add esp, 4
mov dword [ebp - 0xb0], eax
test eax, eax
je 0x495de6
xorps xmm0, xmm0
movq qword [eax], xmm0
mov dword [eax + 8], 0
mov dword [eax + 4], 1
mov dword [eax + 8], 1
mov dword [eax], vtable.std::_Ref_count_class_CCreateTaskButton_.0
mov dword [eax + 0xc], edi
jmp 0x495de8
xor eax, eax
mov dword [esi + 0x2d0], edi
mov edi, dword [esi + 0x2d4]
mov byte [ebp - 4], 9
mov dword [esi + 0x2d4], eax
test edi, edi
je 0x495e23
or eax, 0xffffffff
lock xadd dword [edi + 4], eax
jne 0x495e23
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [edi + 8], eax
jne 0x495e23
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov ecx, dword [esi + 0x2d0]
lea edi, [ebp - 0x30]
cmp dword [ebp - 0x34], 7
lea edx, [ebp - 0x48]
push 0x3e8
cmova edx, dword [ebp - 0x48]
mov eax, dword [ecx]
push esi
push edi
push 0x40000001
push edx
call dword [eax + 0x16c]
push 0
lea ecx, [esi + 0x248]
call fcn.00603979
mov ecx, dword [esi + 0x2d0]
push 0
call fcn.00603979
mov ecx, dword [ebp - 0x34]
cmp ecx, 7
jbe 0x495ea2
mov edx, dword [ebp - 0x48]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x495e98
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x495e98
call dword [0x63e2e0]
push ecx
push edx
call fcn.00604b8c
add esp, 8
xor eax, eax
mov dword [ebp - 0x38], 0
lea ecx, [ebp - 0xe8]
mov dword [ebp - 0x34], 7
mov word [ebp - 0x48], ax
call fcn.00603bd7
lea ecx, [ebp - 0xd8]
call fcn.00603bd7
lea ecx, [ebp - 0xbc]
mov dword [ebp - 0xbc], vtable.CBitmap.0
call fcn.00415590
lea ecx, [ebp - 0xa8]
call fcn.005630c0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00604ed9
mov esp, ebp
pop ebp
ret