Function at 0x40d360
Capabilities:
Hide graphical window
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x244
mov eax, dword [ebp + 0xc]
cmp eax, 0x111
je 0x40e200
jbe 0x40d4c8
cmp eax, 0x212
je 0x40e230
jbe 0x40dce8
cmp eax, 0x214
je 0x40ded8
cmp eax, 0x405
jne case.0x40e223.32772
cmp dword [ebp + 0x14], 0x203
je case.0x40e223.32802
xor eax, eax
cmp dword [ebp + 0x14], 0x204
jne 0x40d4b9
lea eax, [ebp - 0x20c]
mov dword [esp], eax
call dword [sym.imp.user32.dll_GetCursorPos]
mov eax, dword [0x4117d0]
sub esp, 4
mov dword [esp + 4], 0xffffffec
mov dword [esp], eax
call dword [sym.imp.user32.dll_GetWindowLongW]
and eax, 8
sub esp, 8
mov edi, eax
mov eax, dword [0x4117cc]
mov dword [esp + 4], 0x8d
mov dword [esp], eax
call dword [sym.imp.user32.dll_LoadMenuW]
sub esp, 8
mov esi, eax
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [sym.imp.user32.dll_GetSubMenu]
mov ebx, eax
mov eax, dword [0x4117d0]
sub esp, 8
mov dword [esp], eax
call dword [sym.imp.user32.dll_IsWindowVisible]
sub esp, 4
mov dword [esp + 8], 0
mov dword [esp + 4], 0x8022
mov dword [esp], ebx
test eax, eax
je 0x40e990
call dword [sym.imp.user32.dll_DeleteMenu]
sub esp, 0xc
test edi, edi
jne 0x40ea25
mov eax, dword [0x4117d0]
mov dword [esp], eax
call dword [sym.imp.user32.dll_SetForegroundWindow]
mov eax, dword [0x4117d0]
sub esp, 4
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x208]
mov dword [esp + 0x14], 0
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x20c]
mov dword [esp + 4], 0
mov dword [esp + 8], eax
mov dword [esp], ebx
call dword [sym.imp.user32.dll_TrackPopupMenuEx]
sub esp, 0x18
mov dword [esp], esi
call dword [sym.imp.user32.dll_DestroyMenu]
xor eax, eax
sub esp, 4
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 0x10
cmp eax, 0x4e
je 0x40e240
jbe 0x40dc30
cmp eax, 0x85
je 0x40e288
cmp eax, 0x110
jne case.0x40e223.32772
mov eax, dword [ebp + 8]
mov ebx, dword [sym.imp.user32.dll_LoadStringW]
mov dword [esp + 0xc], 0xff
mov dword [esp + 8], 0x4118e0
mov dword [0x4117d0], eax
mov eax, dword [0x4117cc]
mov dword [esp + 4], 0x803a
mov dword [esp], eax
call ebx
mov eax, dword [0x4117cc]
sub esp, 0x10
mov dword [esp + 0xc], 0xff
mov dword [esp + 8], 0x4144e0
mov dword [esp + 4], 0x803b
mov dword [esp], eax
call ebx
mov eax, dword [0x4117cc]
sub esp, 0x10
mov dword [esp + 0xc], 0xff
mov dword [esp + 8], 0x4142e0
mov dword [esp + 4], 0x803c
mov dword [esp], eax
call ebx
mov eax, dword [0x4117cc]
sub esp, 0x10
mov dword [esp + 4], 0x88
mov dword [esp], eax
call dword [sym.imp.user32.dll_LoadIconW]
mov edi, dword [sym.imp.user32.dll_SendMessageW]
sub esp, 8
mov dword [esp + 0xc], eax
mov eax, dword [0x4117d0]
mov dword [esp + 8], 1
mov dword [esp + 4], pe_nt_image_headers32
mov dword [esp], eax
call edi
mov esi, dword [sym.imp.user32.dll_GetSystemMetrics]
sub esp, 0x10
mov dword [esp], 0x32
call esi
sub esp, 4
mov ebx, eax
mov dword [esp], 0x31
call esi
lea esi, [ebp - 0x21c]
sub esp, 4
mov dword [esp + 0xc], eax
mov eax, dword [0x4117cc]
mov dword [esp + 0x14], 0x8000
mov dword [esp + 0x10], ebx
mov dword [esp + 8], 1
mov dword [esp + 4], 0x88
mov dword [esp], eax
call dword [sym.imp.user32.dll_LoadImageW]
sub esp, 0x18
mov dword [esp + 0xc], eax
mov eax, dword [0x4117d0]
mov dword [esp + 8], 0
mov dword [esp + 4], pe_nt_image_headers32
mov dword [esp], eax
call edi
sub esp, 0x10
call dword [sym.imp.comctl32.dll_InitCommonControls]
mov eax, dword [ebp + 8]
mov dword [esp + 4], esi
mov dword [esp], eax
call dword [sym.imp.user32.dll_GetWindowRect]
mov eax, dword [ebp - 0x214]
sub eax, dword [ebp - 0x21c]
mov dword [0x411884], eax
mov eax, dword [ebp - 0x210]
sub esp, 8
sub eax, dword [ebp - 0x218]
mov dword [esp + 0xc], 0x7d1
mov dword [0x411880], eax
mov eax, dword [ebp + 8]
mov dword [esp + 4], 0
mov dword [esp + 8], eax
mov dword [esp], 0x54000100
call dword [sym.imp.comctl32.dll_CreateStatusWindowW]
mov edx, eax
mov dword [0x411858], eax
sub esp, 0x10
xor eax, eax
test edx, edx
je 0x40d4b9
lea eax, [ebp - 0x228]
mov dword [esp], edx
mov dword [ebp - 0x228], 0x64
mov dword [ebp - 0x224], 0xd2
mov dword [ebp - 0x220], 0x190
mov dword [esp + 0xc], eax
mov dword [esp + 8], 3
mov dword [esp + 4], 0x404
call edi
mov eax, dword [ebp + 8]
sub esp, 0x10
mov dword [esp + 4], 0x3f7
mov dword [esp], eax
call dword [sym.imp.user32.dll_GetDlgItem]
mov ebx, dword [sym.imp.user32.dll_CreateDialogParamW]
mov dword [0x41185c], eax
mov eax, dword [ebp + 8]
sub esp, 8
mov dword [esp + 0x10], 0
mov dword [esp + 8], eax
mov eax, dword [0x4117cc]
mov dword [esp + 0xc], sym._ApplicationPageWndProc_16
mov dword [esp + 4], 0x6a
mov dword [esp], eax
call ebx
mov dword [0x4117b4], eax
mov eax, dword [ebp + 8]
sub esp, 0x14
mov dword [esp + 0x10], 0
mov dword [esp + 8], eax
mov eax, dword [0x4117cc]
mov dword [esp + 0xc], sym._ProcessPageWndProc_16
mov dword [esp + 4], 0x85
mov dword [esp], eax
call ebx
mov dword [0x411840], eax
mov eax, dword [ebp + 8]
sub esp, 0x14
mov dword [esp + 0x10], 0
mov dword [esp + 8], eax
mov eax, dword [0x4117cc]
mov dword [esp + 0xc], sym._PerformancePageWndProc_16
mov dword [esp + 4], 0x86
mov dword [esp], eax
call ebx
xor edx, edx
mov dword [0x4117d4], eax
sub esp, 0x14
xor eax, eax
mov dword [ebp + eax - 0x208], edx
add eax, 4
cmp eax, 0x18
jb 0x40d78e
mov eax, dword [0x41185c]
lea ebx, [ebp - 0x20c]
mov dword [ebp - 0x20c], 1
mov dword [ebp - 0x200], 0x4118e0
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0
mov dword [esp + 4], 0x133e
mov dword [esp], eax
call edi
xor edx, edx
xor eax, eax
sub esp, 0x10
mov dword [ebp + eax - 0x208], edx
add eax, 4
cmp eax, 0x18
jb 0x40d7dc
mov eax, dword [0x41185c]
mov dword [esp + 0xc], ebx
mov dword [ebp - 0x20c], 1
mov dword [ebp - 0x200], 0x4144e0
mov dword [esp + 8], 1
mov dword [esp + 4], 0x133e
mov dword [esp], eax
call edi
xor edx, edx
xor eax, eax
sub esp, 0x10
mov dword [ebp + eax - 0x208], edx
add eax, 4
cmp eax, 0x18
jb 0x40d824
mov eax, dword [0x41185c]
mov dword [esp + 0xc], ebx
mov dword [ebp - 0x20c], 1
mov dword [ebp - 0x200], 0x4142e0
mov dword [esp + 8], 2
mov dword [esp + 4], 0x133e
mov dword [esp], eax
call edi
mov eax, dword [ebp + 8]
sub esp, 0x10
mov dword [esp + 4], esi
mov dword [esp], eax
call dword [sym.imp.user32.dll_GetClientRect]
mov eax, dword [ebp - 0x214]
mov ecx, dword [0x411604]
mov ebx, dword [0x411608]
mov edx, dword [0x411610]
sub esp, 8
mov dword [0x41188c], eax
mov eax, dword [ebp - 0x210]
mov esi, ecx
or esi, ebx
mov dword [0x411888], eax
mov eax, dword [0x41160c]
or esi, eax
or esi, edx
je 0x40d8dd
sub eax, ecx
sub edx, ebx
mov dword [esp + 0x14], 1
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x10], edx
mov dword [esp + 8], ebx
mov dword [esp + 4], ecx
mov dword [esp], eax
call dword [sym.imp.user32.dll_MoveWindow]
sub esp, 0x18
mov ebx, dword [0x411600]
test ebx, ebx
jne 0x40e970
mov eax, dword [ebp + 8]
mov dword [esp], eax
call dword [sym.imp.user32.dll_GetMenu]
mov ebx, dword [sym.imp.user32.dll_GetSubMenu]
sub esp, 4
mov esi, eax
mov dword [esp + 4], 1
mov dword [esp], eax
call ebx
sub esp, 8
mov dword [ebp - 0x22c], eax
mov dword [esp], esi
mov dword [esp + 4], 2
call ebx
sub esp, 8
mov esi, eax
mov dword [esp + 4], 1
mov dword [esp], eax
call ebx
sub esp, 8
mov dword [ebp - 0x230], eax
mov dword [esp + 4], 7
mov dword [esp], esi
call ebx
mov ecx, dword [0x411618]
mov dword [ebp - 0x234], eax
sub esp, 8
test ecx, ecx
je 0x40e8b8
mov eax, dword [ebp - 0x22c]
mov dword [esp + 8], 8
mov dword [esp + 4], 0x8005
mov ebx, dword [sym.imp.user32.dll_CheckMenuItem]
mov dword [esp], eax
call ebx
mov eax, dword [ebp + 8]
sub esp, 0xc
mov dword [esp + 0x18], 3
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0xffffffff
mov dword [esp], eax
call dword [sym.imp.user32.dll_SetWindowPos]
sub esp, 0x1c
mov edx, dword [0x41161c]
test edx, edx
je 0x40e8a8
mov dword [esp + 8], 8
mov eax, dword [ebp - 0x22c]
mov dword [esp + 4], 0x8006
mov dword [esp], eax
call ebx
mov eax, dword [0x411620]
sub esp, 0xc
test eax, eax
je 0x40e898
mov dword [esp + 8], 8
mov eax, dword [ebp - 0x22c]
mov dword [esp + 4], 0x8007
mov dword [esp], eax
call ebx
mov eax, dword [0x411624]
sub esp, 0xc
test eax, eax
je 0x40e888
mov dword [esp + 8], 8
mov eax, dword [ebp - 0x22c]
mov dword [esp + 4], 0x801a
mov dword [esp], eax
call ebx
mov eax, dword [0x41162c]
sub esp, 0xc
test eax, eax
jne 0x40e958
mov eax, dword [0x411630]
mov dword [esp + 0x10], 0
test eax, eax
je 0x40e948
mov dword [esp + 0xc], 0x800b
mov eax, dword [sym.imp.user32.dll_CheckMenuRadioItem]
mov dword [esp + 8], 0x800c
mov dword [esp + 4], 0x800a
mov dword [esp], esi
mov dword [ebp - 0x22c], eax
call eax
mov eax, dword [0x411774]
sub esp, 0x14
test eax, eax
je 0x40e868
mov dword [esp + 8], 8
mov dword [esp + 4], 0x801c
mov dword [esp], esi
call ebx
sub esp, 0xc
mov eax, dword [0x411628]
mov dword [esp + 0x10], 0
cmp eax, 1
je 0x40e9f9
cmp eax, 2
je 0x40ea06
cmp eax, 4
je 0x40e9a0
mov dword [esp + 0xc], 0x8010
mov eax, dword [ebp - 0x230]
mov dword [esp + 8], 0x8010
mov dword [esp + 4], 0x800d
mov dword [esp], eax
mov eax, dword [ebp - 0x22c]
call eax
mov ecx, dword [0x411770]
sub esp, 0x14
test ecx, ecx
mov dword [esp + 0x10], 0
je 0x40e858
mov dword [esp + 0xc], 0x801e
mov eax, dword [ebp - 0x234]
mov dword [esp + 8], 0x801e
mov dword [esp + 4], 0x801d
mov dword [esp], eax
mov eax, dword [ebp - 0x22c]
call eax
mov eax, dword [0x41185c]
mov ebx, dword [0x411614]
sub esp, 0x14
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x1330
mov dword [esp], eax
call edi
mov eax, dword [0x41185c]
sub esp, 0x10
mov dword [esp + 0xc], 0
mov dword [esp + 8], 1
mov dword [esp + 4], 0x1330
mov dword [esp], eax
call edi
mov eax, dword [0x41185c]
sub esp, 0x10
mov dword [esp + 0xc], 0
mov dword [esp + 8], 2
mov dword [esp + 4], 0x1330
mov dword [esp], eax
call edi
mov eax, dword [0x41185c]
sub esp, 0x10
mov dword [esp + 0xc], 0
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x1330
mov dword [esp], eax
call edi
mov eax, dword [0x411628]
sub esp, 0x10
cmp eax, 1
je 0x40e9cd
cmp eax, 2
je 0x40ea13
cmp eax, 4
je 0x40ea46
call sym._PerfDataRefresh
call sym._PerfDataRefresh
call sym._RefreshApplicationPage
call sym._RefreshProcessPage
call sym._RefreshPerformancePage
call sym._TrayIcon_ShellAddTrayIcon
mov eax, 1
jmp 0x40d4b9
cmp eax, 5
je 0x40df50
cmp eax, 0xf
jne 0x40dd70
mov eax, dword [ebp + 8]
lea edi, [ebp - 0x20c]
mov dword [esp + 4], edi
mov dword [esp], eax
call dword [sym.imp.user32.dll_BeginPaint]
mov ecx, dword [ebp + 8]
sub esp, 8
mov dword [ebp - 0x22c], eax
lea eax, [ebp - 0x21c]
mov dword [esp], ecx
mov dword [esp + 4], eax
call dword [sym.imp.user32.dll_GetClientRect]
mov ebx, dword [sym.imp.user32.dll_GetSysColor]
sub esp, 8
mov dword [esp], 0x14
call ebx
sub esp, 4
mov esi, eax
mov dword [esp], 0x10
call ebx
mov ecx, dword [ebp - 0x218]
mov edx, dword [ebp - 0x21c]
sub esp, 4
mov dword [esp + 8], eax
lea eax, [ecx + 2]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x214]
mov dword [esp + 0xc], esi
mov dword [esp], eax
mov eax, dword [ebp - 0x22c]
call sym._Draw3dRect
mov eax, dword [ebp + 8]
mov dword [esp + 4], edi
mov dword [esp], eax
call dword [sym.imp.user32.dll_EndPaint]
xor eax, eax
sub esp, 8
jmp 0x40d4b9
cmp eax, 0x11f
je 0x40de68
cmp eax, 0x211
jne 0x40de38
lea eax, [ebp - 0x20c]
mov ebx, dword [sym.imp.user32.dll_SendMessageW]
mov dword [ebp - 0x20c], 0xffffffff
mov dword [esp + 0xc], eax
mov eax, dword [0x411858]
mov dword [esp + 8], 1
mov dword [esp + 4], 0x404
mov dword [esp], eax
call ebx
mov eax, dword [0x411858]
mov dword [0x411780], 1
sub esp, 0x10
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x40b
mov dword [esp], eax
call ebx
xor eax, eax
sub esp, 0x10
jmp 0x40d4b9
cmp eax, 2
jne case.0x40e223.32772
mov eax, dword [ebp + 8]
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [sym.imp.user32.dll_ShowWindow]
sub esp, 8
call sym._TrayIcon_ShellRemoveTrayIcon
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x20c], 0x2c
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call dword [sym.imp.user32.dll_GetWindowPlacement]
mov eax, dword [ebp - 0x1f0]
sub esp, 8
mov dword [0x411604], eax
mov eax, dword [ebp - 0x1ec]
mov dword [0x411608], eax
mov eax, dword [ebp - 0x1e8]
mov dword [0x41160c], eax
mov eax, dword [ebp - 0x1e4]
mov dword [0x411610], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call dword [sym.imp.user32.dll_IsZoomed]
mov edx, eax
mov eax, dword [ebp - 0x208]
sub esp, 4
mov dword [esp + 4], 2
and eax, 2
or eax, edx
setne al
movzx eax, al
mov dword [0x411600], eax
mov eax, dword [ebp + 0x14]
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 8], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call dword [sym.imp.user32.dll_DefWindowProcW]
sub esp, 0x10
jmp 0x40d4b9
cmp eax, 0x113
jne case.0x40e223.32772
call sym._PerfDataRefresh
call sym._RefreshApplicationPage
call sym._RefreshProcessPage
call sym._RefreshPerformancePage
call sym._TrayIcon_ShellUpdateTrayIcon
xor eax, eax
jmp 0x40d4b9
xor eax, eax
lea edi, [ebp - 0x20c]
mov ecx, pe_nt_image_headers32
rep stosd dword es:[edi], eax
movzx eax, word [ebp + 0x10]
lea ebx, [ebp - 0x20c]
mov dword [esp + 0xc], 0x100
mov dword [esp + 8], ebx
mov dword [esp + 4], eax
mov eax, dword [0x4117cc]
mov dword [esp], eax
call dword [sym.imp.user32.dll_LoadStringW]
mov eax, dword [0x411858]
sub esp, 0x10
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0
mov dword [esp + 4], 0x40b
mov dword [esp], eax
call dword [sym.imp.user32.dll_SendMessageW]
sub esp, 0x10
xor eax, eax
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 0x10
cmp dword [ebp + 0x10], 7
mov eax, dword [ebp + 0x14]
jbe 0x40e320
mov esi, dword [ebp + 0x14]
mov edx, dword [eax]
mov eax, dword [0x411884]
mov esi, dword [esi + 8]
mov ecx, esi
mov dword [ebp - 0x22c], esi
sub ecx, edx
cmp ecx, eax
jge 0x40e820
add eax, edx
mov edx, dword [ebp + 0x14]
mov dword [edx + 8], eax
lea esi, [esi]
mov eax, dword [ebp + 0x14]
mov ecx, dword [0x411880]
mov ebx, dword [eax + 0xc]
mov edx, dword [eax + 4]
mov eax, dword [ebp + 0x10]
mov esi, ebx
sub eax, 3
sub esi, edx
cmp eax, 2
ja 0x40e839
mov eax, 1
cmp ecx, esi
jle 0x40d4b9
mov esi, dword [ebp + 0x14]
sub ebx, ecx
mov dword [esi + 4], ebx
jmp 0x40d4b9
cmp dword [ebp + 0x10], 1
je 0x40e358
movzx edx, word [ebp + 0x14]
mov edi, dword [ebp + 0x14]
lea ebx, [ebp - 0x20c]
mov dword [esp + 4], ebx
mov esi, dword [sym.imp.user32.dll_GetWindowRect]
shr edi, 0x10
mov eax, edx
sub eax, dword [0x41188c]
mov dword [ebp - 0x234], edx
mov dword [ebp - 0x22c], eax
mov eax, edi
sub eax, dword [0x411888]
mov dword [ebp - 0x230], eax
mov eax, dword [0x411858]
mov dword [0x41188c], edx
mov dword [0x411888], edi
mov dword [esp], eax
call esi
mov eax, dword [ebp - 0x200]
sub ax, word [ebp - 0x208]
mov edx, dword [ebp - 0x234]
add eax, edi
sub esp, 8
mov edi, dword [sym.imp.user32.dll_SendMessageW]
shl eax, 0x10
mov dword [esp + 4], 5
or eax, edx
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 8], eax
mov eax, dword [0x411858]
mov dword [esp], eax
call edi
mov eax, dword [0x411780]
mov edx, dword [ebp - 0x234]
lea ecx, [ebp - 0x21c]
sub esp, 0x10
test eax, eax
je 0x40e920
mov dword [ebp - 0x21c], 0xffffffff
mov eax, 1
mov dword [ebp - 0x218], 0xd2
mov dword [ebp - 0x214], edx
mov dword [esp + 8], eax
mov eax, dword [0x411858]
mov dword [esp + 0xc], ecx
mov dword [esp + 4], 0x404
mov dword [esp], eax
call edi
mov eax, dword [0x41185c]
sub esp, 0x10
mov dword [esp + 4], ebx
mov dword [esp], eax
call esi
mov eax, dword [ebp - 0x230]
mov ecx, dword [ebp - 0x22c]
sub esp, 8
add ecx, dword [ebp - 0x204]
add eax, dword [ebp - 0x200]
sub eax, dword [ebp - 0x208]
mov edi, dword [sym.imp.user32.dll_SetWindowPos]
mov dword [esp + 0x18], 0x216
mov dword [esp + 0x14], eax
mov eax, ecx
sub eax, dword [ebp - 0x20c]
mov dword [esp + 0x10], eax
mov eax, dword [0x41185c]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], eax
call edi
mov eax, dword [0x4117b4]
sub esp, 0x1c
mov dword [esp + 4], ebx
mov dword [esp], eax
call esi
mov eax, dword [ebp - 0x230]
mov edx, dword [ebp - 0x22c]
sub esp, 8
add edx, dword [ebp - 0x204]
add eax, dword [ebp - 0x200]
sub eax, dword [ebp - 0x208]
mov dword [esp + 0x18], 0x216
mov dword [esp + 0x14], eax
mov eax, edx
sub eax, dword [ebp - 0x20c]
mov dword [esp + 0x10], eax
mov eax, dword [0x4117b4]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], eax
call edi
mov eax, dword [0x411840]
sub esp, 0x1c
mov dword [esp + 4], ebx
mov dword [esp], eax
call esi
mov eax, dword [ebp - 0x230]
mov ecx, dword [ebp - 0x22c]
sub esp, 8
add ecx, dword [ebp - 0x204]
add eax, dword [ebp - 0x200]
sub eax, dword [ebp - 0x208]
mov dword [esp + 0x18], 0x216
mov dword [esp + 0x14], eax
mov eax, ecx
sub eax, dword [ebp - 0x20c]
mov dword [esp + 0x10], eax
mov eax, dword [0x411840]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], eax
call edi
mov eax, dword [0x4117d4]
sub esp, 0x1c
mov dword [esp + 4], ebx
mov dword [esp], eax
call esi
mov eax, dword [ebp - 0x230]
add eax, dword [ebp - 0x200]
sub esp, 8
sub eax, dword [ebp - 0x208]
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0x22c]
add eax, dword [ebp - 0x204]
sub eax, dword [ebp - 0x20c]
mov dword [esp + 0x18], 0x216
mov dword [esp + 0x10], eax
mov eax, dword [0x4117d4]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], eax
call edi
xor eax, eax
sub esp, 0x1c
jmp 0x40d4b9
movzx ecx, word [ebp + 0x10]
movzx eax, word [ebp + 0x10]
lea edx, [ecx - 1]
cmp dx, 1
jbe 0x40e9b0
sub eax, 0x8003
cmp eax, 0x2c
ja case.0x40e223.32772
jmp dword [eax*4 + 0x416210]
mov eax, dword [ebp + 8]
call sym._TaskManager_OnExitMenuLoop
xor eax, eax
jmp 0x40d4b9
mov ecx, dword [ebp + 0x14]
mov esi, dword [0x41185c]
xor eax, eax
cmp dword [ecx], esi
jne 0x40d4b9
cmp dword [ecx + 4], 0x3f7
jne 0x40d4b9
cmp dword [ecx + 8], 0xfffffdd9
jne 0x40d4b9
mov dword [ebp - 0x22c], eax
call sym._TaskManager_OnTabWndSelChange
mov eax, dword [ebp - 0x22c]
jmp 0x40d4b9
mov eax, dword [ebp + 8]
mov dword [esp], eax
call dword [sym.imp.user32.dll_GetDC]
sub esp, 4
mov ebx, eax
lea eax, [ebp - 0x21c]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call dword [sym.imp.user32.dll_GetClientRect]
mov edi, dword [sym.imp.user32.dll_GetSysColor]
sub esp, 8
mov dword [esp], 0x14
call edi
sub esp, 4
mov esi, eax
mov dword [esp], 0x10
call edi
mov ecx, dword [ebp - 0x218]
mov edx, dword [ebp - 0x21c]
sub esp, 4
mov dword [esp + 8], eax
lea eax, [ecx + 2]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x214]
mov dword [esp + 0xc], esi
mov dword [esp], eax
mov eax, ebx
call sym._Draw3dRect
mov eax, dword [ebp + 8]
mov dword [esp + 4], ebx
mov dword [esp], eax
call dword [sym.imp.user32.dll_ReleaseDC]
xor eax, eax
sub esp, 8
jmp 0x40d4b9
mov ecx, dword [eax + 8]
mov edx, dword [eax]
mov esi, 0x92
mov edi, dword [ebp + 0x10]
mov eax, dword [0x411884]
mov ebx, ecx
sub ebx, edx
bt esi, edi
jae 0x40ea58
cmp eax, ebx
jle 0x40df10
sub ecx, eax
mov eax, dword [ebp + 0x14]
mov dword [eax], ecx
jmp 0x40df10
mov edx, dword [0x411620]
test edx, edx
je case.0x40e223.32772
mov eax, dword [0x4117d0]
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [sym.imp.user32.dll_ShowWindow]
xor eax, eax
sub esp, 8
jmp 0x40dec9
call sym._TaskManager_OnRestoreMainWindow
xor eax, eax
jmp 0x40d4b9
call sym._TaskManager_OnFileNew
xor eax, eax
jmp 0x40d4b9
mov eax, dword [0x4117d0]
mov dword [esp], eax
call dword [sym.imp.user32.dll_GetMenu]
mov ebx, dword [sym.imp.user32.dll_GetSubMenu]
sub esp, 4
mov dword [esp + 4], 2
mov dword [esp], eax
call ebx
sub esp, 8
mov dword [esp + 4], 1
mov dword [esp], eax
call ebx
mov dword [0x411628], 1
sub esp, 8
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x800d
mov dword [esp + 8], 0x8010
mov dword [esp + 4], 0x800d
mov dword [esp], eax
call dword [sym.imp.user32.dll_CheckMenuRadioItem]
mov eax, dword [0x4117d0]
sub esp, 0x14
mov dword [esp + 4], 1
mov dword [esp], eax
call dword [sym.imp.user32.dll_KillTimer]
sub esp, 8
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x3e8
mov eax, dword [0x4117d0]
mov dword [esp + 4], 1
mov dword [esp], eax
call dword [sym.imp.user32.dll_SetTimer]
xor eax, eax
sub esp, 0x10
jmp 0x40dec9
call sym._ApplicationPage_OnViewDetails
xor eax, eax
jmp 0x40d4b9
call sym._ApplicationPage_OnViewSmallIcons
xor eax, eax
jmp 0x40d4b9
call sym._ApplicationPage_OnViewLargeIcons
xor eax, eax
jmp 0x40d4b9
mov eax, dword [ebp + 8]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x113
mov dword [esp], eax
call dword [sym.imp.user32.dll_PostMessageW]
xor eax, eax
sub esp, 0x10
jmp 0x40d4b9
call sym._TaskManager_OnOptionsHideWhenMinimized
xor eax, eax
jmp 0x40d4b9
call sym._TaskManager_OnOptionsMinimizeOnUse
xor eax, eax
jmp 0x40d4b9
call sym._TaskManager_OnOptionsAlwaysOnTop
xor eax, eax
jmp 0x40d4b9
call sym._ProcessPage_OnDebugChannels
xor eax, eax
jmp 0x40d4b9
call sym._ProcessPage_OnSetPriorityLow
xor eax, eax
jmp 0x40d4b9
call sym._ProcessPage_OnSetPriorityBelowNormal
xor eax, eax
jmp 0x40d4b9
call sym._ProcessPage_OnSetPriorityNormal
xor eax, eax
jmp 0x40d4b9
call sym._ProcessPage_OnSetPriorityAboveNormal
xor eax, eax
jmp 0x40d4b9
call sym._ProcessPage_OnSetPriorityHigh
xor eax, eax
jmp 0x40d4b9
call sym._ProcessPage_OnSetPriorityRealTime
xor eax, eax
jmp 0x40d4b9
call sym._ProcessPage_OnSetAffinity
xor eax, eax
jmp 0x40d4b9
call sym._ProcessPage_OnDebug
xor eax, eax
jmp 0x40d4b9
call sym._ProcessPage_OnEndProcessTree
xor eax, eax
jmp 0x40d4b9
call sym._ProcessPage_OnEndProcess
xor eax, eax
jmp 0x40d4b9
call sym._ApplicationPage_OnGotoProcess
xor eax, eax
jmp 0x40d4b9
call sym._ApplicationPage_OnEndTask
xor eax, eax
jmp 0x40d4b9
call sym._ApplicationPage_OnSwitchTo
xor eax, eax
jmp 0x40d4b9
call sym._PerformancePage_OnViewCPUHistoryOneGraphPerCPU
xor eax, eax
jmp 0x40d4b9
call sym._PerformancePage_OnViewCPUHistoryOneGraphAll
xor eax, eax
jmp 0x40d4b9
call sym._PerformancePage_OnViewShowKernelTimes
xor eax, eax
jmp 0x40d4b9
call sym._ProcessPage_OnViewSelectColumns
xor eax, eax
jmp 0x40d4b9
call sym._TaskManager_OnOptionsShow16BitTasks
xor eax, eax
jmp 0x40d4b9
mov eax, dword [ebp + 8]
mov dword [esp + 4], 1
mov dword [esp], eax
call dword [sym.imp.user32.dll_EndDialog]
xor eax, eax
sub esp, 8
jmp 0x40d4b9
call sym._OnAbout
xor eax, eax
jmp 0x40d4b9
mov eax, dword [ebp + 8]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0xb
mov dword [esp + 4], 0x4165a0
mov dword [esp], eax
call dword [sym.imp.user32.dll_WinHelpW]
xor eax, eax
sub esp, 0x10
jmp 0x40d4b9
call sym._ApplicationPage_OnWindowsBringToFront
xor eax, eax
jmp 0x40d4b9
call sym._ApplicationPage_OnWindowsCascade
xor eax, eax
jmp 0x40d4b9
call sym._ApplicationPage_OnWindowsMaximize
xor eax, eax
jmp 0x40d4b9
call sym._ApplicationPage_OnWindowsMinimize
xor eax, eax
jmp 0x40d4b9
call sym._ApplicationPage_OnWindowsTileVertically
xor eax, eax
jmp 0x40d4b9
call sym._ApplicationPage_OnWindowsTileHorizontally
xor eax, eax
jmp 0x40d4b9
mov eax, dword [0x4117d0]
mov dword [esp], eax
call dword [sym.imp.user32.dll_GetMenu]
mov ebx, dword [sym.imp.user32.dll_GetSubMenu]
sub esp, 4
mov dword [esp + 4], 2
mov dword [esp], eax
call ebx
sub esp, 8
mov dword [esp + 4], 1
mov dword [esp], eax
call ebx
mov dword [0x411628], 0
sub esp, 8
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x8010
mov dword [esp + 8], 0x8010
mov dword [esp + 4], 0x800d
mov dword [esp], eax
call dword [sym.imp.user32.dll_CheckMenuRadioItem]
mov eax, dword [0x4117d0]
sub esp, 0x14
mov dword [esp + 4], 1
mov dword [esp], eax
call dword [sym.imp.user32.dll_KillTimer]
xor eax, eax
sub esp, 8
jmp 0x40d4b9
mov eax, dword [0x4117d0]
mov dword [esp], eax
call dword [sym.imp.user32.dll_GetMenu]
mov ebx, dword [sym.imp.user32.dll_GetSubMenu]
sub esp, 4
mov dword [esp + 4], 2
mov dword [esp], eax
call ebx
sub esp, 8
mov dword [esp + 4], 1
mov dword [esp], eax
call ebx
mov dword [0x411628], 4
sub esp, 8
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x800f
mov dword [esp + 8], 0x8010
mov dword [esp + 4], 0x800d
mov dword [esp], eax
call dword [sym.imp.user32.dll_CheckMenuRadioItem]
mov eax, dword [0x4117d0]
sub esp, 0x14
mov dword [esp + 4], 1
mov dword [esp], eax
call dword [sym.imp.user32.dll_KillTimer]
sub esp, 8
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0xfa0
jmp 0x40e43e
mov eax, dword [0x4117d0]
mov dword [esp], eax
call dword [sym.imp.user32.dll_GetMenu]
mov ebx, dword [sym.imp.user32.dll_GetSubMenu]
sub esp, 4
mov dword [esp + 4], 2
mov dword [esp], eax
call ebx
sub esp, 8
mov dword [esp + 4], 1
mov dword [esp], eax
call ebx
mov dword [0x411628], 2
sub esp, 8
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x800e
mov dword [esp + 8], 0x8010
mov dword [esp + 4], 0x800d
mov dword [esp], eax
call dword [sym.imp.user32.dll_CheckMenuRadioItem]
mov eax, dword [0x4117d0]
sub esp, 0x14
mov dword [esp + 4], 1
mov dword [esp], eax
call dword [sym.imp.user32.dll_KillTimer]
sub esp, 8
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x7d0
jmp 0x40e43e
mov eax, dword [ebp + 0x14]
mov ecx, dword [0x411880]
mov edx, dword [eax + 4]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x22c], eax
mov esi, eax
sub esi, edx
mov eax, 1
cmp ecx, esi
jle 0x40d4b9
add edx, ecx
mov ecx, dword [ebp + 0x14]
mov dword [ecx + 0xc], edx
jmp 0x40d4b9
mov dword [esp + 0xc], 0x801d
jmp 0x40db2d
mov dword [esp + 8], 0
mov dword [esp + 4], 0x801c
mov dword [esp], esi
call ebx
sub esp, 0xc
jmp 0x40dabb
mov dword [esp + 8], 0
jmp 0x40da33
mov dword [esp + 8], 0
jmp 0x40da08
mov dword [esp + 8], 0
jmp 0x40d9dd
mov eax, dword [ebp - 0x22c]
mov dword [esp + 8], 0
mov dword [esp + 4], 0x8005
mov ebx, dword [sym.imp.user32.dll_CheckMenuItem]
mov dword [esp], eax
call ebx
mov eax, dword [ebp + 8]
sub esp, 0xc
mov dword [esp + 0x18], 3
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0xfffffffe
mov dword [esp], eax
call dword [sym.imp.user32.dll_SetWindowPos]
sub esp, 0x1c
jmp 0x40d9c7
mov dword [ebp - 0x21c], 0x64
mov eax, 3
mov dword [ebp - 0x218], 0xd2
mov dword [ebp - 0x214], edx
jmp 0x40e027
mov dword [esp + 0xc], 0x800c
jmp 0x40da73
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x800a
jmp 0x40da73
mov eax, dword [ebp + 8]
mov dword [esp + 4], 3
mov dword [esp], eax
call dword [sym.imp.user32.dll_ShowWindow]
sub esp, 8
jmp 0x40d8eb
call dword [sym.imp.user32.dll_SetMenuDefaultItem]
sub esp, 0xc
jmp 0x40d459
mov dword [esp + 0xc], 0x800f
jmp 0x40daeb
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call dword [sym.imp.user32.dll_EndDialog]
mov eax, 1
sub esp, 8
jmp 0x40d4b9
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x3e8
mov eax, dword [ebp + 8]
mov dword [esp + 4], 1
mov dword [esp], eax
call dword [sym.imp.user32.dll_SetTimer]
sub esp, 0x10
jmp 0x40dc07
mov dword [esp + 0xc], 0x800d
jmp 0x40daeb
mov dword [esp + 0xc], 0x800e
jmp 0x40daeb
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x7d0
jmp 0x40e9dd
mov dword [esp + 8], 8
mov dword [esp + 4], 0x8005
mov dword [esp], ebx
call dword [sym.imp.user32.dll_CheckMenuItem]
sub esp, 0xc
jmp 0x40d461
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0xfa0
jmp 0x40e9dd
cmp eax, ebx
jle 0x40df10
jmp 0x40df04