Function at 0x463b40
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x54
mov eax, dword [0x62d040]
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 0x463b75
push 1
push 1
push edi
call sym.SystemInformer.exe_PhSetFlagsAllEMenuItems
jmp 0x464114
cmp eax, 1
jne 0x46401f
mov eax, dword [ebx]
mov eax, dword [eax + 0x10]
test eax, eax
js 0x463b89
jne 0x463bf7
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 edx, dword [edi + 0x24]
test edx, edx
je 0x463bf7
mov esi, dword ds:[edx]
xor ecx, ecx
test esi, esi
je 0x463bf7
jmp 0x463bd0
mov eax, dword [edx + 8]
mov eax, dword [eax + ecx*4]
cmp dword [eax + 4], 0x9c69
je 0x463be6
inc ecx
cmp ecx, esi
jb 0x463bd0
jmp 0x463bf7
test eax, eax
je 0x463bf7
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 0x463c18
cmp dword [eax], 0
je 0x463c18
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 0x463c33
cmp dword [eax], 0
je 0x463c33
push eax
call sym.SystemInformer.exe_PhDoesFileExist
test al, al
jne 0x463c45
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 0x463c85
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 0x463c85
cmp dword [esp + 0x14], 0
je 0x463c85
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 0x463ccc
mov eax, dword [eax + 0x5c]
test eax, eax
je 0x463c9f
cmp dword [eax], 0
jne 0x463ccc
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 [0x62dbb0], 0x69
jae 0x463cdb
push 1
push 1
jmp 0x463d26
mov eax, dword [ebx]
mov eax, dword [eax + 0x30]
test eax, eax
je 0x463d31
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 0x463d31
test byte [esp + 0x1c], 1
je 0x463d31
test byte ds:[esp + 0x20], 1
je 0x463d31
push 2
push 2
push 0x9c72
push edi
call sym.SystemInformer.exe_PhSetFlagsEMenuItem
cmp dword [0x62dbb0], 0x72
jae 0x463da5
mov edx, dword ds:[edi + 0x24]
test edx, edx
je 0x463d70
mov esi, dword [edx]
xor ecx, ecx
test esi, esi
je 0x463d70
lea esp, [esp]
mov eax, dword [edx + 8]
mov eax, dword [eax + ecx*4]
cmp dword [eax + 4], 0x9c94
je 0x463d66
inc ecx
cmp ecx, esi
jb 0x463d50
jmp 0x463d70
test eax, eax
je 0x463d70
push eax
call sym.SystemInformer.exe_PhDestroyEMenuItem
mov edx, dword [edi + 0x24]
test edx, edx
je 0x463da5
mov esi, dword [edx]
xor ecx, ecx
test esi, esi
je 0x463da5
nop
mov eax, dword [edx + 8]
mov eax, dword [eax + ecx*4]
cmp dword [eax + 4], 0x9c95
je 0x463d96
inc ecx
cmp ecx, esi
jb 0x463d80
jmp 0x463da5
test eax, eax
je 0x463da5
push eax
call sym.SystemInformer.exe_PhDestroyEMenuItem
mov eax, dword [ebx]
test dword [eax + 0x7c], 0x100
je 0x463e25
mov edx, dword [edi + 0x24]
test edx, edx
je 0x463de5
mov esi, dword [edx]
xor ecx, ecx
test esi, esi
je 0x463de5
nop
mov eax, dword [edx + 8]
mov eax, dword [eax + ecx*4]
cmp dword [eax + 4], 0x9c48
je 0x463dd6
inc ecx
cmp ecx, esi
jb 0x463dc0
jmp 0x463de5
test eax, eax
je 0x463de5
push eax
call sym.SystemInformer.exe_PhDestroyEMenuItem
mov edx, dword [edi + 0x24]
test edx, edx
je 0x463e25
mov esi, dword [edx]
xor ecx, ecx
test esi, esi
je 0x463e25
jmp 0x463e00
mov eax, dword [edx + 8]
mov eax, dword [eax + ecx*4]
cmp dword [eax + 4], 0x9c86
je 0x463e16
inc ecx
cmp ecx, esi
jb 0x463e00
jmp 0x463e25
test eax, eax
je 0x463e25
push eax
call sym.SystemInformer.exe_PhDestroyEMenuItem
mov eax, dword [ebx]
test dword [eax + 0x7c], 0x800
jne 0x463ea5
mov edx, dword [edi + 0x24]
test edx, edx
je 0x463e65
mov esi, dword [edx]
xor ecx, ecx
test esi, esi
je 0x463e65
nop
mov eax, dword [edx + 8]
mov eax, dword [eax + ecx*4]
cmp dword [eax + 4], 0x9c49
je 0x463e56
inc ecx
cmp ecx, esi
jb 0x463e40
jmp 0x463e65
test eax, eax
je 0x463e65
push eax
call sym.SystemInformer.exe_PhDestroyEMenuItem
mov edx, dword [edi + 0x24]
test edx, edx
je 0x463ea5
mov esi, dword [edx]
xor ecx, ecx
test esi, esi
je 0x463ea5
jmp 0x463e80
mov eax, dword [edx + 8]
mov eax, dword [eax + ecx*4]
cmp dword [eax + 4], 0x9c87
je 0x463e96
inc ecx
cmp ecx, esi
jb 0x463e80
jmp 0x463ea5
test eax, eax
je 0x463ea5
push eax
call sym.SystemInformer.exe_PhDestroyEMenuItem
cmp dword [0x62dbb0], 0x72
jb 0x463f45
mov eax, dword [ebx]
mov esi, dword [eax + 0x10]
test esi, esi
jle 0x463f45
nop
call fcn.0051dd60
test al, al
je 0x463f09
lea eax, [esp + 0x18]
mov dword [esp + 0x18], esi
push eax
push dword [0x6353c4]
call sym.SystemInformer.exe_PhFindEntryHashtable
lea ecx, [ecx]
test eax, eax
je 0x463f09
mov edx, dword [edi + 0x24]
test edx, edx
je 0x463f45
mov esi, dword [edx]
xor ecx, ecx
test esi, esi
je 0x463f45
mov eax, dword [edx + 8]
mov eax, dword [eax + ecx*4]
cmp dword [eax + 4], 0x9c94
je 0x463f36
inc ecx
cmp ecx, esi
jb 0x463ef3
jmp 0x463f45
mov edx, dword [edi + 0x24]
test edx, edx
je 0x463f45
mov esi, dword [edx]
xor ecx, ecx
test esi, esi
je 0x463f45
jmp 0x463f20
mov eax, dword [edx + 8]
mov eax, dword [eax + ecx*4]
cmp dword [eax + 4], 0x9c95
je 0x463f36
inc ecx
cmp ecx, esi
jb 0x463f20
jmp 0x463f45
test eax, eax
je 0x463f45
push eax
call sym.SystemInformer.exe_PhDestroyEMenuItem
mov eax, dword [esp + 0x10]
xor bh, bh
xor bl, bl
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
test eax, eax
je 0x463ff4
cmp dword [0x6355f0], 3
lea ecx, [esp + 0x14]
push ecx
jl 0x463f76
mov edx, 8
mov ecx, eax
call fcn.00523b00
jmp 0x463f87
push 8
push eax
call dword [sym.imp.ntdll.dll_NtOpenProcessToken]
nop
cmp eax, 0xc0000022
je 0x463ff4
test eax, eax
js 0x463ff4
lea eax, ds:[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 0x463fb2
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 0x463fd6
cmp dword [esp + 0x2c], 0
setne bl
push dword [esp + 0x14]
mov byte [0x6366c0], bl
call dword [sym.imp.ntdll.dll_NtClose]
test bh, bh
je 0x463ff4
test bl, bl
je 0x464005
push 2
push 2
jmp 0x463ff8
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.004638e0
jmp 0x464114
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 edx, dword [edi + 0x24]
test edx, edx
je 0x464097
mov esi, dword ds:[edx]
xor ecx, ecx
test esi, esi
je 0x464097
jmp 0x464070
mov eax, dword [edx + 8]
mov eax, dword [eax + ecx*4]
cmp dword [eax + 4], 0x9c69
je 0x464086
inc ecx
cmp ecx, esi
jb 0x464070
jmp 0x464097
test eax, eax
je 0x464097
and dword [eax], 0xfffffffe
push 1
push 1
push eax
call sym.SystemInformer.exe_PhSetFlagsAllEMenuItems
mov edx, dword [edi + 0x24]
test edx, edx
je 0x4640cd
mov esi, dword [edx]
xor ecx, ecx
test esi, esi
je 0x4640cd
jmp 0x4640b0
mov eax, dword [edx + 8]
mov eax, dword [eax + ecx*4]
cmp dword [eax + 4], 0x9c65
je 0x4640c6
inc ecx
cmp ecx, esi
jb 0x4640b0
jmp 0x4640cd
test eax, eax
je 0x4640cd
and dword [eax], 0xfffffffe
mov edx, dword [edi + 0x24]
test edx, edx
je 0x4640fd
mov esi, dword [edx]
xor ecx, ecx
test esi, esi
je 0x4640fd
lea esp, [esp]
mov eax, dword [edx + 8]
mov eax, dword [eax + ecx*4]
cmp dword [eax + 4], 0x9c68
je 0x4640f6
inc ecx
cmp ecx, esi
jb 0x4640e0
jmp 0x4640fd
test eax, eax
je 0x4640fd
and dword [eax], 0xfffffffe
xor esi, esi
nop
push 0
push 1
push dword [esp + esi*4 + 0x20]
push edi
call sym.SystemInformer.exe_PhSetFlagsEMenuItem
inc esi
cmp esi, 5
jb 0x464100
mov edx, dword [edi + 0x24]
test edx, edx
je 0x4642ce
mov edi, dword [edx]
xor ecx, ecx
test edi, edi
je 0x4642ce
jmp 0x464130
mov eax, dword [edx + 8]
mov esi, dword [eax + ecx*4]
cmp dword [esi + 4], 0x9c6a
je 0x464158
inc ecx
cmp ecx, edi
jb 0x464130
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x50]
xor ecx, esp
call fcn.0057fcaf
mov esp, ebp
pop ebp
ret 4
jmp 0x464160
test esi, esi
je 0x4642ce
cmp dword [ebp + 8], 1
jne 0x4642cb
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 0x4641a5
mov ecx, edi
mov dword [esp + 0x14], ecx
jmp 0x4641b9
push eax
push 0x1000
lea eax, [esp + 0x1c]
push eax
call sym.SystemInformer.exe_PhOpenProcess
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x4641cf
cmp dword [0x62dbb0], 0x3e
jb 0x4641cf
call fcn.00509e20
mov byte [esp + 0x24], al
lea eax, [esp + 0x18]
push eax
push 0x509a60
call dword [sym.imp.USER32.dll_EnumWindows]
nop
test edi, edi
jne 0x4641f3
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4641f3
push eax
call dword [sym.imp.ntdll.dll_NtClose]
mov eax, dword [esp + 0x1c]
test eax, eax
mov ecx, dword [esp + 0x18]
cmovne ecx, eax
mov dword [0x6366bc], ecx
test ecx, ecx
je 0x4642cb
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 0x464279
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.0057fcaf
mov esp, ebp
pop ebp
ret 4
cmp eax, 3
jne 0x4642a3
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.0057fcaf
mov esp, ebp
pop ebp
ret 4
cmp eax, 1
jne 0x4642ce
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.0057fcaf
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.0057fcaf
mov esp, ebp
pop ebp
ret 4