Function at 0x65bfc0
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7486f0
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x857060]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x48], edx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x28]
push eax
push 0x20
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x28], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x65c086
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [0x87d0dc]
mov edx, eax
test ecx, ecx
je 0x65c06d
push edx
push str.Privilege_lowering_failed__openProcessToken_currentprocess___Error:__u__n
push 0x799430
push 0x799430
push str.ProcessUtils
push str.OOBEUtils
push 0x32
call ecx
add esp, 0x1c
xor al, al
jmp 0x65c450
mov ecx, dword [0x87d0e0]
test ecx, ecx
je 0x65c267
push edx
push str.Privilege_lowering_failed__openProcessToken_currentprocess___Error:__u__n
jmp 0x65c252
lea eax, [ebp - 0x20]
mov dword [ebp - 0x24], 1
push eax
push str.SeIncreaseQuotaPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
push 0
push 0
push 0
lea eax, [ebp - 0x24]
mov dword [ebp - 0x18], 2
push eax
push 0
push dword [ebp - 0x28]
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
call edi
push dword [ebp - 0x28]
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
jne 0x65c11e
mov ecx, dword [0x87d0dc]
test ecx, ecx
je 0x65c105
push ebx
push str.Privilege_lowering_failed__AdjustTokenPrivileges___Error:__u__n
push 0x799430
push 0x799430
push str.ProcessUtils
push str.OOBEUtils
push 0x32
call ecx
add esp, 0x1c
xor al, al
jmp 0x65c450
mov ecx, dword [0x87d0e0]
test ecx, ecx
je 0x65c267
push ebx
push str.Privilege_lowering_failed__AdjustTokenPrivileges___Error:__u__n
jmp 0x65c252
call dword [sym.imp.USER32.dll_GetShellWindow]
mov dword [ebp - 0x14], eax
test eax, eax
jne 0x65c186
lea eax, [ebp - 0x14]
push eax
push 0x65bf50
call dword [sym.imp.USER32.dll_EnumWindows]
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x65c186
mov eax, dword [0x87d0dc]
test eax, eax
je 0x65c171
push str.Privilege_lowering_failed__Could_not_get_Shell_window_or_any_user_window._n
push 0x799430
push 0x799430
push str.ProcessUtils
push str.OOBEUtils
push 0x32
call eax
add esp, 0x18
xor al, al
jmp 0x65c450
mov ecx, dword [0x87d0e0]
test ecx, ecx
je 0x65c267
push str.Privilege_lowering_failed__Could_not_get_Shell_window_or_any_user_window._n
jmp 0x65c1db
lea ecx, [ebp - 0x34]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov eax, dword [ebp - 0x34]
test eax, eax
jne 0x65c1f7
mov eax, dword [0x87d0dc]
test eax, eax
je 0x65c1c8
push str.Privilege_lowering_failed__Could_not_get_process_ID._n
push 0x799430
push 0x799430
push str.ProcessUtils
push str.OOBEUtils
push 0x32
call eax
add esp, 0x18
xor al, al
jmp 0x65c450
mov ecx, dword [0x87d0e0]
test ecx, ecx
je 0x65c267
push str.Privilege_lowering_failed__Could_not_get_process_ID._n
mov eax, dword [ecx]
push str.ProcessUtils
push 0x799430
push 0x32
push ecx
call dword [eax + 0x34]
add esp, 0x14
xor al, al
jmp 0x65c450
push eax
push 0
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x50], eax
test eax, eax
jne 0x65c26e
call edi
mov ecx, dword [0x87d0dc]
mov edx, eax
test ecx, ecx
je 0x65c242
push edx
push str.Privilege_lowering_failed__openProcess_desktop_shell__Error:__u__n
push 0x799430
push 0x799430
push str.ProcessUtils
push str.OOBEUtils
push 0x32
call ecx
add esp, 0x1c
xor al, al
jmp 0x65c450
mov ecx, dword [0x87d0e0]
test ecx, ecx
je 0x65c267
push edx
push str.Privilege_lowering_failed__openProcess_desktop_shell__Error:__u__n
mov eax, dword [ecx]
push str.ProcessUtils
push 0x799430
push 0x32
push ecx
call dword [eax + 0x34]
add esp, 0x18
xor al, al
jmp 0x65c450
lea ecx, [ebp - 0x2c]
mov byte [ebp - 0x35], 0
push ecx
push 2
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x65c2e5
call edi
mov ecx, dword [0x87d0dc]
mov edx, eax
test ecx, ecx
je 0x65c2b7
push edx
push str.Privilege_lowering_failed__Error:__u__n
push 0x799430
push 0x799430
push str.ProcessUtils
push str.OOBEUtils
push 0x32
call ecx
add esp, 0x1c
jmp 0x65c438
mov ecx, dword [0x87d0e0]
test ecx, ecx
je 0x65c438
push edx
push str.Privilege_lowering_failed__Error:__u__n
mov eax, dword [ecx]
push str.ProcessUtils
push 0x799430
push 0x32
push ecx
call dword [eax + 0x34]
add esp, 0x18
jmp 0x65c438
lea eax, [ebp - 0x30]
push eax
push 1
push 2
push 0
push 0x18b
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_DuplicateTokenEx]
test eax, eax
jne 0x65c34b
call edi
mov ecx, dword [0x87d0dc]
mov edx, eax
test ecx, ecx
je 0x65c335
push edx
push str.Privilege_lowering_failed__duplicate_token___Error:__u__n
push 0x799430
push 0x799430
push str.ProcessUtils
push str.OOBEUtils
push 0x32
call ecx
add esp, 0x1c
jmp 0x65c438
mov ecx, dword [0x87d0e0]
test ecx, ecx
je 0x65c438
push edx
push str.Privilege_lowering_failed__duplicate_token___Error:__u__n
jmp 0x65c2cb
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x68]
push 0xc
xor eax, eax
mov dword [ebp - 0x58], 0
push str.Advapi32.dll
mov dword [ebp - 0x54], 7
mov word [ebp - 0x68], ax
call fcn.00426d40
lea eax, [ebp - 0x68]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x14]
call fcn.0065e690
mov esi, dword [ebp - 0x14]
xor ebx, ebx
test esi, esi
je 0x65c3a9
push str.CreateProcessWithTokenW
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebx, eax
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 0
call fcn.00426ce0
test ebx, ebx
je 0x65c3d6
push dword [ebp - 0x3c]
push dword [ebp - 0x40]
push dword [ebp - 0x44]
push 0
push 0
push dword [ebp - 0x48]
push 0
push 0
push dword [ebp - 0x4c]
call ebx
mov ebx, eax
jmp 0x65c3d8
xor ebx, ebx
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x65c3ea
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
test ebx, ebx
jne 0x65c434
call edi
mov ecx, dword [0x87d0dc]
mov edx, eax
test ecx, ecx
je 0x65c41f
push edx
push str.Privilege_lowering_failed_PU_CreateProcessWithTokenW__Error:__u
push 0x799430
push 0x799430
push str.ProcessUtils
push str.OOBEUtils
push 0x32
call ecx
add esp, 0x1c
jmp 0x65c438
mov ecx, dword [0x87d0e0]
test ecx, ecx
je 0x65c438
push edx
push str.Privilege_lowering_failed_PU_CreateProcessWithTokenW__Error:__u
jmp 0x65c2cb
mov byte [ebp - 0x35], 1
push dword [ebp - 0x2c]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x30]
call esi
push dword [ebp - 0x50]
call esi
mov al, byte [ebp - 0x35]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.006d0965
mov esp, ebp
pop ebp
ret