Function at 0x40d160
Capabilities:
Capture screenshot
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x16c
push ebx
push esi
push edi
lea edi, [ebp - 0xac]
mov ecx, 0x2b
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [0x45e034]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, 0xae703a
call fcn.0041ea00
mov esi, esp
mov eax, dword [0x45ed68]
push eax
call dword [sym.imp.USER32.dll_GetDC]
cmp esi, esp
call fcn.0041e9d0
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0xc3
mov dword [ebp - 0x18], 0x5dc
mov esi, esp
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
cmp esi, esp
call fcn.0041e9d0
mov dword [ebp - 0x30], eax
mov eax, dword [0x45e898]
cmp eax, dword [0x45e894]
jae 0x40d202
mov esi, esp
push 0
mov eax, dword [0x45ed78]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
cmp esi, esp
call fcn.0041e9d0
jmp 0x40d21e
call fcn.0041c2e0
mov esi, esp
push 5
mov eax, dword [0x45ed78]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
cmp esi, esp
call fcn.0041e9d0
cmp dword [0xae53ec], 1
jne 0x40d4f0
mov esi, esp
push str.StartPanel
mov eax, dword [0x45ed68]
push eax
call dword [sym.imp.UxTheme.dll_OpenThemeData]
cmp esi, esp
call fcn.0041e9d0
mov dword [0x45e8a4], eax
mov dword [ebp - 0x60], 1
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 0xc3
mov dword [ebp - 0x54], 0x5dc
mov esi, esp
mov eax, dword [ebp - 0x54]
push eax
mov ecx, dword [ebp - 0x58]
push ecx
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
cmp esi, esp
call fcn.0041e9d0
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0
jne 0x40d2a7
mov esi, esp
push 0x10
push 0x44c3bc
push str.Pinned_View_Background_Creation_Failed.
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp esi, esp
call fcn.0041e9d0
mov esi, esp
mov eax, dword [ebp - 0x6c]
push eax
mov ecx, dword [ebp - 0x30]
push ecx
call dword [sym.imp.GDI32.dll_SelectObject]
cmp esi, esp
call fcn.0041e9d0
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x84], 0
mov esi, esp
push 0
lea eax, [ebp - 0x60]
push eax
push 0
push 4
mov ecx, dword [ebp - 0x30]
push ecx
mov edx, dword [0x45e8a4]
push edx
call dword [sym.imp.UxTheme.dll_DrawThemeBackground]
cmp esi, esp
call fcn.0041e9d0
mov dword [ebp - 0x90], eax
cmp dword [ebp - 0x90], 0
je 0x40d31b
mov esi, esp
push 0x10
push 0x44c3bc
push str.Pinned_View_Background_Creation_Failed.
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp esi, esp
call fcn.0041e9d0
mov esi, esp
lea eax, [ebp - 0x78]
push eax
push 4
mov ecx, dword [ebp - 0x84]
push ecx
call dword [sym.imp.GDI32.dll_GetObjectW]
cmp esi, esp
call fcn.0041e9d0
mov esi, esp
mov eax, dword [ebp - 0x84]
push eax
mov ecx, dword [ebp - 0x30]
push ecx
call dword [sym.imp.GDI32.dll_SelectObject]
cmp esi, esp
call fcn.0041e9d0
mov dword [ebp - 0x3c], eax
mov esi, esp
push 0xcc0020
push 0xa
push 0xa
mov eax, dword [ebp - 0x30]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
push 0
push 0
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.GDI32.dll_BitBlt]
cmp esi, esp
call fcn.0041e9d0
test eax, eax
jne 0x40d3a1
mov esi, esp
push 0x10
push 0x44c3bc
push str.Pinned_View_Background_Creation_Failed.
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp esi, esp
call fcn.0041e9d0
mov esi, esp
mov eax, dword [ebp - 0x6c]
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
cmp esi, esp
call fcn.0041e9d0
mov esi, esp
mov eax, dword [ebp - 0x78]
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
cmp esi, esp
call fcn.0041e9d0
mov esi, esp
mov eax, dword [ebp - 0x84]
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
cmp esi, esp
call fcn.0041e9d0
mov esi, esp
mov eax, dword [ebp - 0x6c]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.GDI32.dll_SelectObject]
cmp esi, esp
call fcn.0041e9d0
mov esi, esp
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
cmp esi, esp
call fcn.0041e9d0
mov esi, esp
mov eax, dword [ebp - 0x78]
push eax
mov ecx, dword [ebp - 0x30]
push ecx
call dword [sym.imp.GDI32.dll_SelectObject]
cmp esi, esp
call fcn.0041e9d0
mov esi, esp
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
cmp esi, esp
call fcn.0041e9d0
mov esi, esp
mov eax, dword [ebp - 0x84]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.GDI32.dll_SelectObject]
cmp esi, esp
call fcn.0041e9d0
mov esi, esp
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
cmp esi, esp
call fcn.0041e9d0
mov esi, esp
mov eax, dword [ebp - 0x3c]
push eax
mov ecx, dword [ebp - 0x30]
push ecx
call dword [sym.imp.GDI32.dll_SelectObject]
cmp esi, esp
call fcn.0041e9d0
mov esi, esp
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
cmp esi, esp
call fcn.0041e9d0
mov esi, esp
mov eax, dword [ebp - 0x30]
push eax
call dword [sym.imp.GDI32.dll_DeleteDC]
cmp esi, esp
call fcn.0041e9d0
mov esi, esp
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.GDI32.dll_DeleteDC]
cmp esi, esp
call fcn.0041e9d0
mov esi, esp
mov eax, dword [ebp - 0x30]
push eax
mov ecx, dword [0x45ed68]
push ecx
call dword [sym.imp.USER32.dll_ReleaseDC]
cmp esi, esp
call fcn.0041e9d0
mov esi, esp
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [0x45ed68]
push ecx
call dword [sym.imp.USER32.dll_ReleaseDC]
cmp esi, esp
call fcn.0041e9d0
mov esi, esp
mov eax, dword [0x45e8a4]
push eax
call dword [sym.imp.UxTheme.dll_CloseThemeData]
cmp esi, esp
call fcn.0041e9d0
jmp 0x40d571
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0xa4], 0
mov dword [ebp - 0xa0], 0xbe
mov dword [ebp - 0x9c], 0x172
mov dword [ebp - 0x48], 5
mov esi, esp
mov eax, dword [ebp - 0x48]
push eax
lea ecx, [ebp - 0xa8]
push ecx
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.USER32.dll_FillRect]
cmp esi, esp
call fcn.0041e9d0
test eax, eax
jne 0x40d55e
mov esi, esp
push 0x10
push 0x44c3bc
push str.Pinned_View_Background_Creation_Failed.
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp esi, esp
call fcn.0041e9d0
mov esi, esp
mov eax, dword [ebp - 0x48]
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
cmp esi, esp
call fcn.0041e9d0
mov esi, esp
mov eax, dword [ebp - 0x30]
push eax
call dword [sym.imp.GDI32.dll_DeleteDC]
cmp esi, esp
call fcn.0041e9d0
mov esi, esp
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.GDI32.dll_DeleteDC]
cmp esi, esp
call fcn.0041e9d0
mov esi, esp
mov eax, dword [ebp - 0x30]
push eax
mov ecx, dword [0x45ed68]
push ecx
call dword [sym.imp.USER32.dll_ReleaseDC]
cmp esi, esp
call fcn.0041e9d0
mov esi, esp
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [0x45ed68]
push ecx
call dword [sym.imp.USER32.dll_ReleaseDC]
cmp esi, esp
call fcn.0041e9d0
push edx
mov ecx, ebp
push eax
lea edx, [0x40d5fc]
call fcn.0041e970
pop eax
pop edx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041ea40
add esp, 0x16c
cmp ebp, esp
call fcn.0041e9d0
mov esp, ebp
pop ebp
ret