Function at 0x4449e0
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x54
mov eax, dword [0x5ac004]
xor eax, esp
mov dword [esp + 0x50], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, edx
mov dword [esp + 0x18], ebx
push esi
push edi
mov edi, ecx
test eax, eax
jne 0x444a15
push 1
push 1
push edi
call sym.ProcessHacker.exe_PhSetFlagsAllEMenuItems
jmp 0x444d05
cmp eax, 1
jne 0x444c1f
mov eax, dword [ebx]
mov ecx, dword [eax + 0x10]
test ecx, ecx
js 0x444a29
jne 0x444a56
push 1
push 1
push edi
call sym.ProcessHacker.exe_PhSetFlagsAllEMenuItems
push 0
push 1
push 0x9c46
push edi
call sym.ProcessHacker.exe_PhSetFlagsEMenuItem
push 0
push 1
push 0x9c7c
push edi
call sym.ProcessHacker.exe_PhSetFlagsEMenuItem
mov eax, dword [ebx]
mov eax, dword [eax + 0x30]
test eax, eax
je 0x444a6e
cmp dword [eax], 0
je 0x444a6e
push dword [eax + 4]
call sym.ProcessHacker.exe_PhDoesFileExists
test al, al
jne 0x444a7d
push 1
push 1
push 0x9d38
push edi
call sym.ProcessHacker.exe_PhSetFlagsEMenuItem
mov eax, dword [ebx]
mov eax, dword [eax + 0x28]
test eax, eax
je 0x444ab2
push 0
push 4
lea ecx, [esp + 0x2c]
push ecx
push 0x1d
push eax
call dword [sym.imp.ntdll.dll_NtQueryInformationProcess]
test eax, eax
js 0x444ab2
cmp dword [esp + 0x24], 0
je 0x444ab2
push 2
push 2
push 0x9c66
push edi
call sym.ProcessHacker.exe_PhSetFlagsEMenuItem
mov eax, dword [ebx]
test dword [eax + 0x74], 0x100
je 0x444af0
mov esi, dword [edi + 0x24]
test esi, esi
je 0x444af0
xor eax, eax
cmp dword [esi], eax
jbe 0x444af0
mov ecx, dword [esi + 8]
lea ecx, [ecx]
mov edx, dword [ecx]
cmp dword [edx + 4], 0x9c48
je 0x444ae6
inc eax
add ecx, 4
cmp eax, dword [esi]
jb 0x444ad0
jmp 0x444af0
test edx, edx
je 0x444af0
push edx
call sym.ProcessHacker.exe_PhDestroyEMenuItem
mov eax, dword [ebx]
test dword [eax + 0x74], 0x1000
jne 0x444b30
mov esi, dword ds:[edi + 0x24]
test esi, esi
je 0x444b30
xor eax, eax
cmp dword [esi], eax
jbe 0x444b30
mov ecx, dword [esi + 8]
lea ecx, [ecx]
mov edx, dword [ecx]
cmp dword [edx + 4], 0x9c49
je 0x444b26
inc eax
add ecx, 4
cmp eax, dword [esi]
jb 0x444b10
jmp 0x444b30
test edx, edx
je 0x444b30
push edx
call sym.ProcessHacker.exe_PhDestroyEMenuItem
mov eax, dword ds:[esp + 0x20]
xor bh, bh
xor bl, bl
mov eax, dword [eax]
mov esi, dword [eax + 0x28]
test esi, esi
je 0x444bf4
lea eax, [esp + 0x24]
push eax
cmp byte [0x5b18bb], bl
jne 0x444b78
push 8
push esi
call dword [sym.imp.ntdll.dll_NtOpenProcessToken]
mov edi, edi
cmp eax, 0xc0000022
jne 0x444b85
cmp byte [0x5b18bb], bl
je 0x444bf4
lea eax, [esp + 0x24]
push eax
mov edx, 8
mov ecx, esi
call fcn.004cbfa0
test eax, eax
js 0x444bf4
lea eax, ds:[esp + 0x2c]
push eax
push 4
lea eax, [esp + 0x30]
push eax
push 0x17
push dword [esp + 0x34]
call dword [sym.imp.ntdll.dll_NtQueryInformationToken]
test eax, eax
js 0x444bb2
cmp dword [esp + 0x28], 0
setne bh
lea eax, [esp + 0x2c]
push eax
push 4
lea eax, [esp + 0x30]
push eax
push 0x18
push dword [esp + 0x34]
call dword [sym.imp.ntdll.dll_NtQueryInformationToken]
test eax, eax
js 0x444bd6
cmp dword [esp + 0x28], 0
setne bl
push dword [esp + 0x24]
mov byte [0x5b4aa0], bl
call dword [sym.imp.ntdll.dll_NtClose]
test bh, bh
je 0x444bf4
test bl, bl
je 0x444c05
push 2
push 2
jmp 0x444bf8
push 1
push 1
push 0x9c62
push edi
call sym.ProcessHacker.exe_PhSetFlagsEMenuItem
mov ebx, dword [esp + 0x20]
mov ecx, edi
push 1
sub esp, 8
mov edx, dword [ebx]
mov edx, dword [edx + 0x10]
call fcn.004447a0
jmp 0x444d05
push 1
push 1
push edi
mov dword [esp + 0x18], 0x9c47
mov dword [esp + 0x1c], 0x9c48
mov dword [esp + 0x20], 0x9c49
mov dword [esp + 0x24], 0x9d39
mov dword [esp + 0x28], 0x9d02
call sym.ProcessHacker.exe_PhSetFlagsAllEMenuItems
mov esi, dword [edi + 0x24]
test esi, esi
je 0x444c87
xor eax, eax
cmp dword [esi], eax
jbe 0x444c87
mov ecx, dword [esi + 8]
mov edx, dword [ecx]
cmp dword [edx + 4], 0x9c69
je 0x444c76
inc eax
add ecx, 4
cmp eax, dword [esi]
jb 0x444c61
jmp 0x444c87
test edx, edx
je 0x444c87
and dword [edx], 0xfffffffe
push 1
push 1
push edx
call sym.ProcessHacker.exe_PhSetFlagsAllEMenuItems
mov esi, dword [edi + 0x24]
test esi, esi
je 0x444cbc
xor eax, eax
cmp dword [esi], eax
jbe 0x444cbc
mov ecx, dword [esi + 8]
jmp 0x444ca0
mov edx, dword [ecx]
cmp dword [edx + 4], 0x9c65
je 0x444cb5
inc eax
add ecx, 4
cmp eax, dword [esi]
jb 0x444ca0
jmp 0x444cbc
test edx, edx
je 0x444cbc
and dword [edx], 0xfffffffe
mov esi, dword ds:[edi + 0x24]
test esi, esi
je 0x444ced
xor eax, eax
cmp dword [esi], eax
jbe 0x444ced
mov ecx, dword [esi + 8]
lea ecx, [ecx]
mov edx, dword [ecx]
cmp dword [edx + 4], 0x9c68
je 0x444ce6
inc eax
add ecx, 4
cmp eax, dword [esi]
jb 0x444cd0
jmp 0x444ced
test edx, edx
je 0x444ced
and dword [edx], 0xfffffffe
xor esi, esi
nop
push 0
push 1
push dword [esp + esi*4 + 0x14]
push edi
call sym.ProcessHacker.exe_PhSetFlagsEMenuItem
inc esi
cmp esi, 5
jb 0x444cf0
mov edx, dword [edi + 0x24]
test edx, edx
je 0x444ec6
mov edi, dword [edx]
xor ecx, ecx
test edi, edi
je 0x444ec6
lea esp, [esp]
mov eax, dword [edx + 8]
mov esi, dword [eax + ecx*4]
cmp dword [esi + 4], 0x9c6a
je 0x444d4b
inc ecx
cmp ecx, edi
jb 0x444d20
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x50]
xor ecx, esp
call fcn.0051e068
mov esp, ebp
pop ebp
ret 4
test esi, esi
je 0x444ec6
cmp dword [ebp + 8], 1
jne 0x444ec3
mov eax, dword [ebx]
xor ecx, ecx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x24], 0
mov dword [esp + 0xc], ecx
mov edi, dword [eax + 0x28]
mov eax, dword [eax + 0x10]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], eax
mov byte [esp + 0x19], 1
test edi, edi
je 0x444d90
mov eax, edi
mov dword [esp + 0x24], eax
jmp 0x444da3
push eax
mov edx, 0x1000
lea ecx, [esp + 0x28]
call fcn.004c3180
mov eax, dword [esp + 0x24]
test eax, eax
je 0x444dca
cmp dword [sym.ProcessHacker.exe_WindowsVersion], 0x3e
jb 0x444dca
cmp dword [sym.imp.USER32.dll_IsImmersiveProcess], 0
je 0x444dca
push eax
call dword [sym.imp.USER32.dll_IsImmersiveProcess]
mov byte [esp + 0x18], al
lea eax, [esp + 0xc]
push eax
push 0x4bb8c0
call dword [sym.imp.USER32.dll_EnumWindows]
test edi, edi
jne 0x444ded
mov eax, dword [esp + 0x24]
test eax, eax
je 0x444ded
push eax
call dword [sym.imp.ntdll.dll_NtClose]
mov eax, dword [esp + 0x10]
test eax, eax
mov ecx, dword [esp + 0xc]
cmovne ecx, eax
mov dword [0x5b4a9c], ecx
test ecx, ecx
je 0x444ec3
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 0x444e72
push 1
push 1
push 0x9c79
push esi
call sym.ProcessHacker.exe_PhSetFlagsEMenuItem
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x50]
xor ecx, esp
call fcn.0051e068
mov esp, ebp
pop ebp
ret 4
cmp eax, 3
jne 0x444e9a
push 1
push 1
push 0x9c7a
push esi
call sym.ProcessHacker.exe_PhSetFlagsEMenuItem
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x50]
xor ecx, esp
call fcn.0051e068
mov esp, ebp
pop ebp
ret 4
cmp eax, 1
jne 0x444ec6
push eax
push eax
push 0x9c78
push esi
call sym.ProcessHacker.exe_PhSetFlagsEMenuItem
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x50]
xor ecx, esp
call fcn.0051e068
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.0051e068
mov esp, ebp
pop ebp
ret 4