Function at 0x40ff10
Capabilities:
Capture screenshot
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1060
call fcn.0041ef90
push ebx
push esi
push edi
lea edi, [ebp - 0xbe0]
mov ecx, 0x2f8
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 [0x45ed1c]
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], 0x87
mov dword [ebp - 0x18], 0x1e
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 1
mov dword [ebp - 0x34], 0x18
mov dword [ebp - 0x30], 0x19
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0x48
mov dword [ebp - 0x48], 0x18
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 - 0x78], eax
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 - 0x84], eax
mov esi, esp
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x1c]
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 - 0x90], eax
mov esi, esp
mov eax, dword [ebp - 0x90]
push eax
mov ecx, dword [ebp - 0x78]
push ecx
call dword [sym.imp.GDI32.dll_SelectObject]
cmp esi, esp
call fcn.0041e9d0
mov dword [ebp - 0x9c], eax
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 - 0xa8], eax
mov esi, esp
push 0x200
lea eax, [ebp - 0x4f8]
push eax
push 0x46e
mov ecx, dword [0x45eb70]
push ecx
call dword [sym.imp.USER32.dll_LoadStringW]
cmp esi, esp
call fcn.0041e9d0
test eax, eax
jne 0x410083
mov esi, esp
push 0x10
push 0x44c3bc
push str.Error_loading_resource
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp esi, esp
call fcn.0041e9d0
lea eax, [ebp - 0x4f8]
push eax
call fcn.00425f60
add esp, 4
mov dword [ebp - 0x504], eax
cmp dword [0xae53ec], 1
jne 0x410864
mov esi, esp
push str.StartPanel
mov eax, dword [0x45ed1c]
push eax
call dword [sym.imp.UxTheme.dll_OpenThemeData]
cmp esi, esp
call fcn.0041e9d0
mov dword [0x45e8a4], eax
cmp dword [0x45e91c], 0
je 0x410354
mov dword [ebp - 0x510], 0
mov esi, esp
push 0xd
call dword [sym.imp.USER32.dll_GetSysColor]
cmp esi, esp
call fcn.0041e9d0
mov esi, esp
push eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
cmp esi, esp
call fcn.0041e9d0
mov dword [ebp - 0x6c], eax
mov esi, esp
mov eax, dword [ebp - 0x6c]
push eax
lea ecx, [ebp - 0x24]
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 0x41013b
mov esi, esp
push 0x10
push 0x44c3bc
push str.Shut_Down_Button_Creation_Failed.
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp esi, esp
call fcn.0041e9d0
mov esi, esp
push 0
lea eax, [ebp - 0x54]
push eax
push 2
push 9
mov ecx, dword [ebp - 0x78]
push ecx
mov edx, dword [0x45e8a4]
push edx
call dword [sym.imp.UxTheme.dll_DrawThemeBackground]
cmp esi, esp
call fcn.0041e9d0
mov esi, esp
lea eax, [ebp - 0x9c]
push eax
push 4
mov ecx, dword [ebp - 0x510]
push ecx
call dword [sym.imp.GDI32.dll_GetObjectW]
cmp esi, esp
call fcn.0041e9d0
mov esi, esp
mov eax, dword [ebp - 0x510]
push eax
mov ecx, dword [ebp - 0x78]
push ecx
call dword [sym.imp.GDI32.dll_SelectObject]
cmp esi, esp
call fcn.0041e9d0
mov dword [ebp - 0x60], eax
mov esi, esp
push 0
push 0x18
push 0x18
push 0
push 0x30
mov eax, dword [ebp - 0x78]
push eax
mov ecx, dword [ebp - 0x30]
sub ecx, dword [ebp - 0x38]
push ecx
mov edx, dword [ebp - 0x34]
sub edx, dword [ebp - 0x3c]
push edx
mov eax, dword [ebp - 0x3c]
add eax, 3
push eax
mov ecx, dword [ebp - 0x38]
push ecx
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.MSIMG32.dll_TransparentBlt]
cmp esi, esp
call fcn.0041e9d0
mov esi, esp
mov eax, dword [ebp - 0x510]
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
cmp esi, esp
call fcn.0041e9d0
mov esi, esp
mov eax, dword [ebp - 0x90]
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
cmp esi, esp
call fcn.0041e9d0
mov esi, esp
mov eax, dword [ebp - 0x9c]
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
cmp esi, esp
call fcn.0041e9d0
mov esi, esp
mov eax, dword [ebp - 0x9c]
push eax
mov ecx, dword [ebp - 0x78]
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 - 0x90]
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 - 0x60]
push eax
mov ecx, dword [ebp - 0x78]
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 - 0x510]
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 - 0xa8]
push eax
call dword [sym.imp.GDI32.dll_DeleteDC]
cmp esi, esp
call fcn.0041e9d0
mov esi, esp
mov eax, dword [ebp - 0x78]
push eax
call dword [sym.imp.GDI32.dll_DeleteDC]
cmp esi, esp
call fcn.0041e9d0
mov esi, esp
mov eax, dword [ebp - 0x84]
push eax
call dword [sym.imp.GDI32.dll_DeleteDC]
cmp esi, esp
call fcn.0041e9d0
mov esi, esp
mov eax, dword [ebp - 0x78]
push eax
mov ecx, dword [0x45ed1c]
push ecx
call dword [sym.imp.USER32.dll_ReleaseDC]
cmp esi, esp
call fcn.0041e9d0
mov esi, esp
mov eax, dword [ebp - 0x84]
push eax
mov ecx, dword [0x45ed1c]
push ecx
call dword [sym.imp.USER32.dll_ReleaseDC]
cmp esi, esp
call fcn.0041e9d0
mov esi, esp
mov eax, dword [ebp - 0xa8]
push eax
mov ecx, dword [0x45ed1c]
push ecx
call dword [sym.imp.USER32.dll_ReleaseDC]
cmp esi, esp
call fcn.0041e9d0
jmp 0x4106b9
mov dword [ebp - 0x51c], 0
mov esi, esp
push 0xd
call dword [sym.imp.USER32.dll_GetSysColor]
cmp esi, esp
call fcn.0041e9d0
mov esi, esp
push eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
cmp esi, esp
call fcn.0041e9d0
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x534], 0
mov dword [ebp - 0x530], 0x50
mov dword [ebp - 0x52c], 0x190
mov dword [ebp - 0x528], 0x190
mov esi, esp
mov eax, dword [ebp - 0x528]
push eax
mov ecx, dword [ebp - 0x52c]
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 - 0x540], eax
mov esi, esp
mov eax, dword [ebp - 0x540]
push eax
mov ecx, dword [ebp - 0xa8]
push ecx
call dword [sym.imp.GDI32.dll_SelectObject]
cmp esi, esp
call fcn.0041e9d0
mov dword [ebp - 0x54c], eax
mov dword [ebp - 0x558], 0
mov esi, esp
push 0
lea eax, [ebp - 0x534]
push eax
push 0
push 8
mov ecx, dword [ebp - 0xa8]
push ecx
mov edx, dword [0x45e8a4]
push edx
call dword [sym.imp.UxTheme.dll_DrawThemeBackground]
cmp esi, esp
call fcn.0041e9d0
mov esi, esp
lea eax, [ebp - 0x54c]
push eax
push 4
mov ecx, dword [ebp - 0x558]
push ecx
call dword [sym.imp.GDI32.dll_GetObjectW]
cmp esi, esp
call fcn.0041e9d0
mov esi, esp
mov eax, dword [ebp - 0x558]
push eax
mov ecx, dword [ebp - 0xa8]
push ecx
call dword [sym.imp.GDI32.dll_SelectObject]
cmp esi, esp
call fcn.0041e9d0
mov dword [ebp - 0x60], eax
mov esi, esp
push 0xcc0020
push 0x168
push 0xfa
mov eax, dword [ebp - 0xa8]
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
mov esi, esp
push 0
lea eax, [ebp - 0x54]
push eax
push 1
push 9
mov ecx, dword [ebp - 0x78]
push ecx
mov edx, dword [0x45e8a4]
push edx
call dword [sym.imp.UxTheme.dll_DrawThemeBackground]
cmp esi, esp
call fcn.0041e9d0
mov esi, esp
lea eax, [ebp - 0x9c]
push eax
push 4
mov ecx, dword [ebp - 0x558]
push ecx
call dword [sym.imp.GDI32.dll_GetObjectW]
cmp esi, esp
call fcn.0041e9d0
mov esi, esp
mov eax, dword [ebp - 0x558]
push eax
mov ecx, dword [ebp - 0x78]
push ecx
call dword [sym.imp.GDI32.dll_SelectObject]
cmp esi, esp
call fcn.0041e9d0
mov dword [ebp - 0x60], eax
mov esi, esp
push 0
push 0x18
push 0x18
push 0
push 0x30
mov eax, dword [ebp - 0x78]
push eax
mov ecx, dword [ebp - 0x30]
sub ecx, dword [ebp - 0x38]
push ecx
mov edx, dword [ebp - 0x34]
sub edx, dword [ebp - 0x3c]
push edx
mov eax, dword [ebp - 0x3c]
add eax, 3
push eax
mov ecx, dword [ebp - 0x38]
push ecx
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.MSIMG32.dll_TransparentBlt]
cmp esi, esp
call fcn.0041e9d0
mov esi, esp
mov eax, dword [ebp - 0x51c]
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
cmp esi, esp
call fcn.0041e9d0
mov esi, esp
mov eax, dword [ebp - 0x90]
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
cmp esi, esp
call fcn.0041e9d0
mov esi, esp
mov eax, dword [ebp - 0x9c]
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
cmp esi, esp
call fcn.0041e9d0
mov esi, esp
mov eax, dword [ebp - 0x558]
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
cmp esi, esp
call fcn.0041e9d0
mov esi, esp
mov eax, dword [ebp - 0x540]
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
cmp esi, esp
call fcn.0041e9d0
mov esi, esp
mov eax, dword [ebp - 0x54c]
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
cmp esi, esp
call fcn.0041e9d0
mov esi, esp
mov eax, dword [ebp - 0x9c]
push eax
mov ecx, dword [ebp - 0x78]
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 - 0x558]
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 - 0x90]
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 - 0x54c]
push eax
mov ecx, dword [ebp - 0xa8]
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 - 0x51c]
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 - 0x540]
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
push 1
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.GDI32.dll_SetBkMode]
cmp esi, esp
call fcn.0041e9d0
mov esi, esp
push 0xe
call dword [sym.imp.USER32.dll_GetSysColor]
cmp esi, esp
call fcn.0041e9d0
mov esi, esp
push eax
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.GDI32.dll_SetTextColor]
cmp esi, esp
call fcn.0041e9d0
call fcn.0041cab0
mov dword [ebp - 0x564], eax
mov esi, esp
mov eax, dword [ebp - 0x564]
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
mov eax, dword [ebp - 0x504]
push eax
lea ecx, [ebp - 0x4f8]
push ecx
push 8
push 0x1e
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.GDI32.dll_TextOutW]
cmp esi, esp
call fcn.0041e9d0
mov esi, esp
mov eax, dword [ebp - 0x564]
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
cmp esi, esp
call fcn.0041e9d0
mov esi, esp
mov eax, dword [ebp - 0x564]
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 [0x45e8a4]
push eax
call dword [sym.imp.UxTheme.dll_CloseThemeData]
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 - 0x60]
push eax
mov ecx, dword [ebp - 0x78]
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 - 0xa8]
push eax
call dword [sym.imp.GDI32.dll_DeleteDC]
cmp esi, esp
call fcn.0041e9d0
mov esi, esp
mov eax, dword [ebp - 0x78]
push eax
call dword [sym.imp.GDI32.dll_DeleteDC]
cmp esi, esp
call fcn.0041e9d0
mov esi, esp
mov eax, dword [ebp - 0x84]
push eax
call dword [sym.imp.GDI32.dll_DeleteDC]
cmp esi, esp
call fcn.0041e9d0
mov esi, esp
mov eax, dword [ebp - 0x78]
push eax
mov ecx, dword [0x45ed1c]
push ecx
call dword [sym.imp.USER32.dll_ReleaseDC]
cmp esi, esp
call fcn.0041e9d0
mov esi, esp
mov eax, dword [ebp - 0x84]
push eax
mov ecx, dword [0x45ed1c]
push ecx
call dword [sym.imp.USER32.dll_ReleaseDC]
cmp esi, esp
call fcn.0041e9d0
mov esi, esp
mov eax, dword [ebp - 0xa8]
push eax
mov ecx, dword [0x45ed1c]
push ecx
call dword [sym.imp.USER32.dll_ReleaseDC]
cmp esi, esp
call fcn.0041e9d0
jmp 0x410e69
mov dword [ebp - 0x570], 0
mov dword [ebp - 0x588], 1
push 0x208
push 0
lea eax, [ebp - 0x798]
push eax
call fcn.00420f80
add esp, 0xc
push 0x208
push 0
lea eax, [ebp - 0x9a8]
push eax
call fcn.00420f80
add esp, 0xc
push 0x208
push 0
lea eax, [ebp - 0xbb8]
push eax
call fcn.00420f80
add esp, 0xc
mov esi, esp
push 0x104
lea eax, [ebp - 0x798]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
cmp esi, esp
call fcn.0041e9d0
test eax, eax
jne 0x410900
mov esi, esp
push 0x10
push 0x44c3bc
push str.Cannot_locate_OS_installation_directory
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp esi, esp
call fcn.0041e9d0
mov dword [ebp - 0x588], 0
push str.System32_shell32.dll
push 0x104
lea eax, [ebp - 0x9a8]
push eax
call fcn.00425800
add esp, 0xc
lea eax, [ebp - 0x798]
push eax
push 0x104
lea ecx, [ebp - 0xbb8]
push ecx
call fcn.004254c0
add esp, 0xc
lea eax, [ebp - 0x9a8]
push eax
push 0x104
lea ecx, [ebp - 0xbb8]
push ecx
call fcn.004254c0
add esp, 0xc
lea eax, [ebp - 0xbb8]
push eax
call fcn.0041dfa0
add esp, 4
test eax, eax
jne 0x410989
mov esi, esp
push 0x10
push 0x44c3bc
push str.File_not_found:_shell32.dll_.
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp esi, esp
call fcn.0041e9d0
mov dword [ebp - 0x588], 0
push str.ReactOS
lea eax, [ebp - 0x798]
push eax
call fcn.0041e0a0
add esp, 8
mov dword [ebp - 0xbc4], eax
cmp dword [ebp - 0xbc4], 0
je 0x4109b6
mov dword [ebp - 0x570], 1
cmp dword [0x45e91c], 0
je 0x410c27
mov esi, esp
push 0x1d
call dword [sym.imp.USER32.dll_GetSysColor]
cmp esi, esp
call fcn.0041e9d0
mov esi, esp
push eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
cmp esi, esp
call fcn.0041e9d0
mov dword [ebp - 0x6c], eax
mov esi, esp
mov eax, dword [ebp - 0x6c]
push eax
lea ecx, [ebp - 0x24]
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 0x410a23
mov esi, esp
push 0x10
push 0x44c3bc
push str.Shut_Down_Button_Creation_Failed.
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp esi, esp
call fcn.0041e9d0
cmp dword [ebp - 0x588], 1
jne 0x410b4b
cmp dword [ebp - 0x570], 1
jne 0x410ac5
mov esi, esp
push 0x1b
lea eax, [ebp - 0xbb8]
push eax
mov ecx, dword [0x45e89c]
push ecx
call dword [sym.imp.SHELL32.dll_ExtractIconW]
cmp esi, esp
call fcn.0041e9d0
mov dword [ebp - 0x57c], eax
mov esi, esp
mov eax, dword [ebp - 0x57c]
push eax
push 0
push 0
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.USER32.dll_DrawIcon]
cmp esi, esp
call fcn.0041e9d0
mov esi, esp
mov eax, dword [ebp - 0x57c]
push eax
call dword [sym.imp.USER32.dll_DestroyIcon]
cmp esi, esp
call fcn.0041e9d0
mov esi, esp
mov eax, dword [ebp - 0x57c]
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
jmp 0x410b4b
mov esi, esp
push 0xd7
lea eax, [ebp - 0xbb8]
push eax
mov ecx, dword [0x45e89c]
push ecx
call dword [sym.imp.SHELL32.dll_ExtractIconW]
cmp esi, esp
call fcn.0041e9d0
mov dword [ebp - 0x57c], eax
mov esi, esp
mov eax, dword [ebp - 0x57c]
push eax
push 0
push 0
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.USER32.dll_DrawIcon]
cmp esi, esp
call fcn.0041e9d0
mov esi, esp
mov eax, dword [ebp - 0x57c]
push eax
call dword [sym.imp.USER32.dll_DestroyIcon]
cmp esi, esp
call fcn.0041e9d0
mov esi, esp
mov eax, dword [ebp - 0x57c]
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
push 1
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.GDI32.dll_SetBkMode]
cmp esi, esp
call fcn.0041e9d0
mov esi, esp
push 0xe
call dword [sym.imp.USER32.dll_GetSysColor]
cmp esi, esp
call fcn.0041e9d0
mov esi, esp
push eax
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.GDI32.dll_SetTextColor]
cmp esi, esp
call fcn.0041e9d0
call fcn.0041cab0
mov dword [ebp - 0xbd0], eax
mov esi, esp
mov eax, dword [ebp - 0xbd0]
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
mov eax, dword [ebp - 0x504]
push eax
lea ecx, [ebp - 0x4f8]
push ecx
push 8
push 0x1e
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.GDI32.dll_TextOutW]
cmp esi, esp
call fcn.0041e9d0
mov esi, esp
mov eax, dword [ebp - 0xbd0]
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
cmp esi, esp
call fcn.0041e9d0
mov esi, esp
mov eax, dword [ebp - 0xbd0]
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 - 0x6c]
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
cmp esi, esp
call fcn.0041e9d0
jmp 0x410e69
mov dword [ebp - 0x6c], 5
mov esi, esp
mov eax, dword [ebp - 0x6c]
push eax
lea ecx, [ebp - 0x24]
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 0x410c6a
mov esi, esp
push 0x10
push 0x44c3bc
push str.Shut_Down_Button_Creation_Failed.
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp esi, esp
call fcn.0041e9d0
cmp dword [ebp - 0x588], 1
jne 0x410d92
cmp dword [ebp - 0x570], 1
jne 0x410d0c
mov esi, esp
push 0x1b
lea eax, [ebp - 0xbb8]
push eax
mov ecx, dword [0x45e89c]
push ecx
call dword [sym.imp.SHELL32.dll_ExtractIconW]
cmp esi, esp
call fcn.0041e9d0
mov dword [ebp - 0x57c], eax
mov esi, esp
mov eax, dword [ebp - 0x57c]
push eax
push 0
push 0
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.USER32.dll_DrawIcon]
cmp esi, esp
call fcn.0041e9d0
mov esi, esp
mov eax, dword [ebp - 0x57c]
push eax
call dword [sym.imp.USER32.dll_DestroyIcon]
cmp esi, esp
call fcn.0041e9d0
mov esi, esp
mov eax, dword [ebp - 0x57c]
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
jmp 0x410d92
mov esi, esp
push 0xd7
lea eax, [ebp - 0xbb8]
push eax
mov ecx, dword [0x45e89c]
push ecx
call dword [sym.imp.SHELL32.dll_ExtractIconW]
cmp esi, esp
call fcn.0041e9d0
mov dword [ebp - 0x57c], eax
mov esi, esp
mov eax, dword [ebp - 0x57c]
push eax
push 0
push 0
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.USER32.dll_DrawIcon]
cmp esi, esp
call fcn.0041e9d0
mov esi, esp
mov eax, dword [ebp - 0x57c]
push eax
call dword [sym.imp.USER32.dll_DestroyIcon]
cmp esi, esp
call fcn.0041e9d0
mov esi, esp
mov eax, dword [ebp - 0x57c]
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
push 1
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.GDI32.dll_SetBkMode]
cmp esi, esp
call fcn.0041e9d0
mov esi, esp
push 0x1a
call dword [sym.imp.USER32.dll_GetSysColor]
cmp esi, esp
call fcn.0041e9d0
mov esi, esp
push eax
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.GDI32.dll_SetTextColor]
cmp esi, esp
call fcn.0041e9d0
call fcn.0041cab0
mov dword [ebp - 0xbdc], eax
mov esi, esp
mov eax, dword [ebp - 0xbdc]
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
mov eax, dword [ebp - 0x504]
push eax
lea ecx, [ebp - 0x4f8]
push ecx
push 8
push 0x1e
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.GDI32.dll_TextOutW]
cmp esi, esp
call fcn.0041e9d0
mov esi, esp
mov eax, dword [ebp - 0xbdc]
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
cmp esi, esp
call fcn.0041e9d0
mov esi, esp
mov eax, dword [ebp - 0xbdc]
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 - 0x6c]
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
cmp esi, esp
call fcn.0041e9d0
mov esi, esp
mov eax, dword [ebp - 0x90]
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
cmp esi, esp
call fcn.0041e9d0
mov esi, esp
mov eax, dword [ebp - 0x9c]
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
cmp esi, esp
call fcn.0041e9d0
mov esi, esp
mov eax, dword [ebp - 0x9c]
push eax
mov ecx, dword [ebp - 0x78]
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 - 0x90]
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 - 0x6c]
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
cmp esi, esp
call fcn.0041e9d0
mov esi, esp
mov eax, dword [ebp - 0xa8]
push eax
call dword [sym.imp.GDI32.dll_DeleteDC]
cmp esi, esp
call fcn.0041e9d0
mov esi, esp
mov eax, dword [ebp - 0x78]
push eax
call dword [sym.imp.GDI32.dll_DeleteDC]
cmp esi, esp
call fcn.0041e9d0
mov esi, esp
mov eax, dword [ebp - 0x84]
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 - 0x78]
push eax
mov ecx, dword [0x45ed1c]
push ecx
call dword [sym.imp.USER32.dll_ReleaseDC]
cmp esi, esp
call fcn.0041e9d0
mov esi, esp
mov eax, dword [ebp - 0x84]
push eax
mov ecx, dword [0x45ed1c]
push ecx
call dword [sym.imp.USER32.dll_ReleaseDC]
cmp esi, esp
call fcn.0041e9d0
mov esi, esp
mov eax, dword [ebp - 0xa8]
push eax
mov ecx, dword [0x45ed1c]
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 [0x45ed1c]
push ecx
call dword [sym.imp.USER32.dll_ReleaseDC]
cmp esi, esp
call fcn.0041e9d0
push edx
mov ecx, ebp
push eax
lea edx, [0x410fec]
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, 0x1060
cmp ebp, esp
call fcn.0041e9d0
mov esp, ebp
pop ebp
ret