Function at 0x462b60
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x54
mov eax, dword [0x62a040]
xor eax, esp
mov dword [esp + 0x50], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, edx
mov dword [esp + 8], ebx
push esi
push edi
mov edi, ecx
test eax, eax
jne 0x462b95
push 1
push 1
push edi
call sym.SystemInformer.exe_PhSetFlagsAllEMenuItems
jmp 0x463174
cmp eax, 1
jne 0x46306b
mov eax, dword [ebx]
mov eax, dword [eax + 0x10]
test eax, eax
js 0x462ba9
jne 0x462c16
push 1
push 1
push edi
call sym.SystemInformer.exe_PhSetFlagsAllEMenuItems
push 0
push 1
push 0x9c46
push edi
call sym.SystemInformer.exe_PhSetFlagsEMenuItem
push 0
push 1
push 0x9c7c
push edi
call sym.SystemInformer.exe_PhSetFlagsEMenuItem
mov ecx, dword [edi + 0x24]
test ecx, ecx
je 0x462c16
mov esi, dword ds:[ecx]
xor edx, edx
test esi, esi
je 0x462c16
mov ecx, dword [ecx + 8]
mov eax, dword [ecx]
cmp dword [eax + 4], 0x9c69
je 0x462c05
inc edx
lea ecx, [ecx + 4]
cmp edx, esi
jae 0x462c16
mov eax, dword [ecx]
cmp dword [eax + 4], 0x9c69
jne 0x462bf2
test eax, eax
je 0x462c16
and dword [eax], 0xfffffffe
push 1
push 1
push eax
call sym.SystemInformer.exe_PhSetFlagsAllEMenuItems
mov eax, dword ds:[ebx]
mov eax, dword [eax + 0x8c]
test eax, eax
je 0x462c38
cmp dword [eax], 0
je 0x462c38
push 1
push 1
push 0x9c60
push edi
call sym.SystemInformer.exe_PhSetFlagsEMenuItem
mov eax, dword ds:[ebx]
mov eax, dword [eax + 0x38]
test eax, eax
je 0x462c53
cmp dword [eax], 0
je 0x462c53
push eax
call sym.SystemInformer.exe_PhDoesFileExist
test al, al
jne 0x462c65
push 1
push 1
push 0x9d38
push edi
call sym.SystemInformer.exe_PhSetFlagsEMenuItem
mov eax, dword [ebx]
mov eax, dword [eax + 0x30]
test eax, eax
je 0x462ca5
push 0
push 4
lea ecx, [esp + 0x1c]
push ecx
push 0x1d
push eax
call dword [sym.imp.ntdll.dll_NtQueryInformationProcess]
test eax, eax
js 0x462ca5
cmp dword [esp + 0x14], 0
je 0x462ca5
push 2
push 2
push 0x9c66
push edi
call sym.SystemInformer.exe_PhSetFlagsEMenuItem
mov eax, dword [ebx]
push dword [eax + 0x10]
call sym.SystemInformer.exe__PhFindProcessNode_4
test eax, eax
je 0x462cec
mov eax, dword [eax + 0x5c]
test eax, eax
je 0x462cbf
cmp dword [eax], 0
jne 0x462cec
push 1
push 1
push 0x9c85
push edi
call sym.SystemInformer.exe_PhSetFlagsEMenuItem
push 1
push 1
push 0x9c86
push edi
call sym.SystemInformer.exe_PhSetFlagsEMenuItem
push 1
push 1
push 0x9c87
push edi
call sym.SystemInformer.exe_PhSetFlagsEMenuItem
cmp dword [0x62abb0], 0x69
jae 0x462cfb
push 1
push 1
jmp 0x462d46
mov eax, dword [ebx]
mov eax, dword [eax + 0x30]
test eax, eax
je 0x462d51
push 0
push 0xc
lea ecx, [esp + 0x20]
mov dword [esp + 0x24], 0
push ecx
push 0x4d
push eax
mov dword [esp + 0x34], 0
mov dword [esp + 0x2c], 1
call dword [sym.imp.ntdll.dll_NtQueryInformationProcess]
test eax, eax
js 0x462d51
test byte [esp + 0x1c], 1
je 0x462d51
test byte ds:[esp + 0x20], 1
je 0x462d51
push 2
push 2
push 0x9c72
push edi
call sym.SystemInformer.exe_PhSetFlagsEMenuItem
cmp dword [0x62abb0], 0x72
jae 0x462ddd
mov eax, dword [edi + 0x24]
test eax, eax
je 0x462d9d
mov esi, dword [eax]
xor ecx, ecx
test esi, esi
je 0x462d9d
mov eax, dword [eax + 8]
mov edx, dword [eax]
cmp dword [edx + 4], 0x9c94
je 0x462d93
jmp 0x462d80
inc ecx
lea eax, [eax + 4]
cmp ecx, esi
jae 0x462d9d
mov edx, dword [eax]
cmp dword [edx + 4], 0x9c94
jne 0x462d80
test edx, edx
je 0x462d9d
push edx
call sym.SystemInformer.exe_PhDestroyEMenuItem
mov eax, dword [edi + 0x24]
test eax, eax
je 0x462ddd
mov esi, dword [eax]
xor ecx, ecx
test esi, esi
je 0x462ddd
mov eax, dword [eax + 8]
mov edx, dword [eax]
cmp dword [edx + 4], 0x9c95
je 0x462dd3
lea ebx, [ebx]
inc ecx
lea eax, [eax + 4]
cmp ecx, esi
jae 0x462ddd
mov edx, dword [eax]
cmp dword [edx + 4], 0x9c95
jne 0x462dc0
test edx, edx
je 0x462ddd
push edx
call sym.SystemInformer.exe_PhDestroyEMenuItem
mov eax, dword [ebx]
test dword [eax + 0x7c], 0x100
je 0x462e5f
mov eax, dword [edi + 0x24]
test eax, eax
je 0x462e25
mov esi, dword [eax]
xor ecx, ecx
test esi, esi
je 0x462e25
mov eax, dword [eax + 8]
mov edx, dword [eax]
cmp dword [edx + 4], 0x9c48
je 0x462e18
inc ecx
lea eax, [eax + 4]
cmp ecx, esi
jae 0x462e25
mov edx, dword [eax]
cmp dword [edx + 4], 0x9c48
jne 0x462e05
test edx, edx
je 0x462e25
push edx
call sym.SystemInformer.exe_PhDestroyEMenuItem
mov eax, dword [edi + 0x24]
test eax, eax
je 0x462e5f
mov esi, dword [eax]
xor ecx, ecx
test esi, esi
je 0x462e5f
mov eax, dword [eax + 8]
mov edx, dword [eax]
cmp dword [edx + 4], 0x9c86
je 0x462e55
inc ecx
lea eax, [eax + 4]
cmp ecx, esi
jae 0x462e5f
mov edx, dword [eax]
cmp dword [edx + 4], 0x9c86
jne 0x462e42
test edx, edx
je 0x462e5f
push edx
call sym.SystemInformer.exe_PhDestroyEMenuItem
mov eax, dword [ebx]
test dword [eax + 0x7c], 0x800
jne 0x462edf
mov eax, dword [edi + 0x24]
test eax, eax
je 0x462ea5
mov esi, dword [eax]
xor ecx, ecx
test esi, esi
je 0x462ea5
mov eax, dword [eax + 8]
mov edx, dword [eax]
cmp dword [edx + 4], 0x9c49
je 0x462e9a
inc ecx
lea eax, [eax + 4]
cmp ecx, esi
jae 0x462ea5
mov edx, dword [eax]
cmp dword [edx + 4], 0x9c49
jne 0x462e87
test edx, edx
je 0x462ea5
push edx
call sym.SystemInformer.exe_PhDestroyEMenuItem
mov eax, dword [edi + 0x24]
test eax, eax
je 0x462edf
mov esi, dword [eax]
xor ecx, ecx
test esi, esi
je 0x462edf
mov eax, dword [eax + 8]
mov edx, dword [eax]
cmp dword [edx + 4], 0x9c87
je 0x462ed5
inc ecx
lea eax, [eax + 4]
cmp ecx, esi
jae 0x462edf
mov edx, dword [eax]
cmp dword [edx + 4], 0x9c87
jne 0x462ec2
test edx, edx
je 0x462edf
push edx
call sym.SystemInformer.exe_PhDestroyEMenuItem
cmp dword [0x62abb0], 0x72
jb 0x462f8d
mov eax, dword [ebx]
mov esi, dword [eax + 0x10]
test esi, esi
jle 0x462f8d
call fcn.0051b720
mov edi, edi
test al, al
je 0x462f53
lea eax, [esp + 0x18]
mov dword [esp + 0x18], esi
push eax
push dword [0x632c24]
call sym.SystemInformer.exe_PhFindEntryHashtable
test eax, eax
je 0x462f53
mov esi, dword ds:[edi + 0x24]
test esi, esi
je 0x462f8d
mov edx, dword [esi]
xor eax, eax
test edx, edx
je 0x462f8d
mov esi, dword [esi + 8]
mov ecx, dword [esi]
cmp dword [ecx + 4], 0x9c94
je 0x462f83
lea ebx, [ebx]
inc eax
cmp eax, edx
jae 0x462f8d
mov ecx, dword [esi + eax*4]
cmp dword [ecx + 4], 0x9c94
jne 0x462f40
jmp 0x462f83
mov esi, dword [edi + 0x24]
test esi, esi
je 0x462f8d
mov edx, dword ds:[esi]
xor eax, eax
test edx, edx
je 0x462f8d
mov esi, dword [esi + 8]
mov ecx, dword [esi]
cmp dword [ecx + 4], 0x9c95
je 0x462f83
inc eax
cmp eax, edx
jae 0x462f8d
mov ecx, dword [esi + eax*4]
cmp dword [ecx + 4], 0x9c95
jne 0x462f72
test ecx, ecx
je 0x462f8d
push ecx
call sym.SystemInformer.exe_PhDestroyEMenuItem
mov eax, dword ds:[esp + 0x10]
xor bh, bh
xor bl, bl
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
test eax, eax
je 0x463042
cmp dword [0x632e50], 3
lea ecx, [esp + 0x14]
push ecx
jl 0x462fc7
mov edx, 8
mov ecx, eax
call fcn.00520dc0
jmp 0x462fd7
push 8
push eax
call dword [sym.imp.ntdll.dll_NtOpenProcessToken]
cmp eax, 0xc0000022
je 0x463042
test eax, eax
js 0x463042
lea eax, [esp + 0x18]
push eax
push 4
lea eax, [esp + 0x34]
push eax
push 0x17
push dword [esp + 0x24]
call dword [sym.imp.ntdll.dll_NtQueryInformationToken]
test eax, eax
js 0x462fff
cmp dword [esp + 0x2c], 0
setne bh
lea eax, [esp + 0x18]
push eax
push 4
lea eax, [esp + 0x34]
push eax
push 0x18
push dword [esp + 0x24]
call dword [sym.imp.ntdll.dll_NtQueryInformationToken]
test eax, eax
js 0x463023
cmp dword [esp + 0x2c], 0
setne bl
push dword [esp + 0x14]
mov byte [0x633f40], bl
call dword [sym.imp.ntdll.dll_NtClose]
test bh, bh
je 0x463042
test bl, bl
je 0x463051
push 2
push 2
jmp 0x463046
push 1
push 1
push 0x9c62
push edi
call sym.SystemInformer.exe_PhSetFlagsEMenuItem
mov ebx, dword [esp + 0x10]
mov ecx, edi
push 1
sub esp, 8
mov edx, dword [ebx]
mov edx, dword [edx + 0x10]
call fcn.00462900
jmp 0x463174
push 1
push 1
push edi
mov dword [esp + 0x24], 0x9c47
mov dword [esp + 0x28], 0x9c48
mov dword [esp + 0x2c], 0x9c49
mov dword [esp + 0x30], 0x9d39
mov dword [esp + 0x34], 0x9d02
call sym.SystemInformer.exe_PhSetFlagsAllEMenuItems
mov ecx, dword [edi + 0x24]
test ecx, ecx
je 0x4630e5
mov esi, dword [ecx]
xor edx, edx
test esi, esi
je 0x4630e5
mov ecx, dword [ecx + 8]
mov eax, dword [ecx]
cmp dword [eax + 4], 0x9c69
je 0x4630d3
lea ebx, [ebx]
inc edx
lea ecx, [ecx + 4]
cmp edx, esi
jae 0x4630e5
mov eax, dword [ecx]
cmp dword [eax + 4], 0x9c69
jne 0x4630c0
test eax, eax
je 0x4630e5
and dword ds:[eax], 0xfffffffe
push 1
push 1
push eax
call sym.SystemInformer.exe_PhSetFlagsAllEMenuItems
mov eax, dword [edi + 0x24]
test eax, eax
je 0x46311c
mov esi, dword [eax]
xor ecx, ecx
test esi, esi
je 0x46311c
mov eax, dword [eax + 8]
mov edx, dword [eax]
cmp dword [edx + 4], 0x9c65
je 0x463115
inc ecx
lea eax, [eax + 4]
cmp ecx, esi
jae 0x46311c
mov edx, dword [eax]
cmp dword [edx + 4], 0x9c65
jne 0x463102
test edx, edx
je 0x46311c
and dword [edx], 0xfffffffe
mov eax, dword ds:[edi + 0x24]
test eax, eax
je 0x46315a
mov esi, dword [eax]
xor ecx, ecx
test esi, esi
je 0x46315a
mov eax, dword [eax + 8]
mov edx, dword [eax]
cmp dword [edx + 4], 0x9c68
je 0x463153
lea ebx, [ebx]
inc ecx
lea eax, [eax + 4]
cmp ecx, esi
jae 0x46315a
mov edx, dword [eax]
cmp dword [edx + 4], 0x9c68
jne 0x463140
test edx, edx
je 0x46315a
and dword [edx], 0xfffffffe
xor esi, esi
lea esp, [esp]
push 0
push 1
push dword [esp + esi*4 + 0x20]
push edi
call sym.SystemInformer.exe_PhSetFlagsEMenuItem
inc esi
cmp esi, 5
jb 0x463160
mov eax, dword [edi + 0x24]
test eax, eax
je 0x463326
mov edx, dword [eax]
xor ecx, ecx
test edx, edx
je 0x463326
mov eax, dword [eax + 8]
mov esi, dword [eax]
cmp dword [esi + 4], 0x9c6a
je 0x4631b7
lea esp, [esp]
inc ecx
lea eax, [eax + 4]
cmp ecx, edx
jae 0x463326
mov esi, dword [eax]
cmp dword [esi + 4], 0x9c6a
jne 0x4631a0
test esi, esi
je 0x463326
cmp dword [ebp + 8], 1
jne 0x463323
mov eax, dword [ebx]
xor ecx, ecx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], ecx
mov edi, dword [eax + 0x30]
mov eax, dword [eax + 0x10]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], eax
mov byte [esp + 0x25], 1
test edi, edi
je 0x4631fc
mov ecx, edi
mov dword [esp + 0x14], ecx
jmp 0x463210
push eax
push 0x1000
lea eax, [esp + 0x1c]
push eax
call sym.SystemInformer.exe_PhOpenProcess
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x463229
cmp dword [0x62abb0], 0x3e
jb 0x463229
lea ecx, [ecx]
call fcn.00507cc0
mov byte [esp + 0x24], al
lea eax, [esp + 0x18]
push eax
push 0x507900
call dword [sym.imp.USER32.dll_EnumWindows]
test edi, edi
jne 0x46324c
mov eax, dword [esp + 0x14]
test eax, eax
je 0x46324c
push eax
call dword [sym.imp.ntdll.dll_NtClose]
mov eax, dword ds:[esp + 0x1c]
test eax, eax
mov ecx, dword [esp + 0x18]
cmovne ecx, eax
mov dword [0x633f3c], ecx
test ecx, ecx
je 0x463323
xor eax, eax
mov dword [esp + 0x30], 0x2c
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
lea eax, [esp + 0x30]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowPlacement]
mov eax, dword [esp + 0x38]
cmp eax, 6
jne 0x4632d2
push 1
push 1
push 0x9c79
push esi
call sym.SystemInformer.exe_PhSetFlagsEMenuItem
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x50]
xor ecx, esp
call fcn.0057c26f
mov esp, ebp
pop ebp
ret 4
cmp eax, 3
jne 0x4632fa
push 1
push 1
push 0x9c7a
push esi
call sym.SystemInformer.exe_PhSetFlagsEMenuItem
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x50]
xor ecx, esp
call fcn.0057c26f
mov esp, ebp
pop ebp
ret 4
cmp eax, 1
jne 0x463326
push eax
push eax
push 0x9c78
push esi
call sym.SystemInformer.exe_PhSetFlagsEMenuItem
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x50]
xor ecx, esp
call fcn.0057c26f
mov esp, ebp
pop ebp
ret 4
or dword [esi], 1
mov ecx, dword [esp + 0x5c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0057c26f
mov esp, ebp
pop ebp
ret 4