Function at 0x100fbfa0
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101847e0
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x101e42fc]
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 0x100fc066
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [0x101e9ed0]
mov edx, eax
test ecx, ecx
je 0x100fc04d
push edx
push str.Privilege_lowering_failed__openProcessToken_currentprocess___Error:__u__n
push 0x101a4aec
push 0x101a4aec
push str.ProcessUtils
push str.OOBEUtils
push 0x32
call ecx
add esp, 0x1c
xor al, al
jmp 0x100fc42b
mov ecx, dword [0x101e9ed4]
test ecx, ecx
je 0x100fc248
push edx
push str.Privilege_lowering_failed__openProcessToken_currentprocess___Error:__u__n
jmp 0x100fc233
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 esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [ebp - 0x28]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
jne 0x100fc0fc
mov ecx, dword [0x101e9ed0]
test ecx, ecx
je 0x100fc0e3
push edi
push str.Privilege_lowering_failed__AdjustTokenPrivileges___Error:__u__n
push 0x101a4aec
push 0x101a4aec
push str.ProcessUtils
push str.OOBEUtils
push 0x32
call ecx
add esp, 0x1c
xor al, al
jmp 0x100fc42b
mov ecx, dword [0x101e9ed4]
test ecx, ecx
je 0x100fc248
push edi
push str.Privilege_lowering_failed__AdjustTokenPrivileges___Error:__u__n
jmp 0x100fc233
call dword [sym.imp.USER32.dll_GetShellWindow]
mov dword [ebp - 0x14], eax
test eax, eax
jne 0x100fc164
lea eax, [ebp - 0x14]
push eax
push 0x100fbf30
call dword [sym.imp.USER32.dll_EnumWindows]
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x100fc164
mov eax, dword [0x101e9ed0]
test eax, eax
je 0x100fc14f
push str.Privilege_lowering_failed__Could_not_get_Shell_window_or_any_user_window._n
push 0x101a4aec
push 0x101a4aec
push str.ProcessUtils
push str.OOBEUtils
push 0x32
call eax
add esp, 0x18
xor al, al
jmp 0x100fc42b
mov ecx, dword [0x101e9ed4]
test ecx, ecx
je 0x100fc248
push str.Privilege_lowering_failed__Could_not_get_Shell_window_or_any_user_window._n
jmp 0x100fc1b9
lea ecx, [ebp - 0x34]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov eax, dword [ebp - 0x34]
test eax, eax
jne 0x100fc1d5
mov eax, dword [0x101e9ed0]
test eax, eax
je 0x100fc1a6
push str.Privilege_lowering_failed__Could_not_get_process_ID._n
push 0x101a4aec
push 0x101a4aec
push str.ProcessUtils
push str.OOBEUtils
push 0x32
call eax
add esp, 0x18
xor al, al
jmp 0x100fc42b
mov ecx, dword [0x101e9ed4]
test ecx, ecx
je 0x100fc248
push str.Privilege_lowering_failed__Could_not_get_process_ID._n
mov eax, dword [ecx]
push str.ProcessUtils
push 0x101a4aec
push 0x32
push ecx
call dword [eax + 0x34]
add esp, 0x14
xor al, al
jmp 0x100fc42b
push eax
push 0
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
jne 0x100fc24f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [0x101e9ed0]
mov edx, eax
test ecx, ecx
je 0x100fc223
push edx
push str.Privilege_lowering_failed__openProcess_desktop_shell__Error:__u__n
push 0x101a4aec
push 0x101a4aec
push str.ProcessUtils
push str.OOBEUtils
push 0x32
call ecx
add esp, 0x1c
xor al, al
jmp 0x100fc42b
mov ecx, dword [0x101e9ed4]
test ecx, ecx
je 0x100fc248
push edx
push str.Privilege_lowering_failed__openProcess_desktop_shell__Error:__u__n
mov eax, dword [ecx]
push str.ProcessUtils
push 0x101a4aec
push 0x32
push ecx
call dword [eax + 0x34]
add esp, 0x18
xor al, al
jmp 0x100fc42b
lea eax, [ebp - 0x2c]
xor bl, bl
push eax
push 2
push esi
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x100fc2c8
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [0x101e9ed0]
mov edx, eax
test ecx, ecx
je 0x100fc29a
push edx
push str.Privilege_lowering_failed__Error:__u__n
push 0x101a4aec
push 0x101a4aec
push str.ProcessUtils
push str.OOBEUtils
push 0x32
call ecx
add esp, 0x1c
jmp 0x100fc410
mov ecx, dword [0x101e9ed4]
test ecx, ecx
je 0x100fc410
push edx
push str.Privilege_lowering_failed__Error:__u__n
mov eax, dword [ecx]
push str.ProcessUtils
push 0x101a4aec
push 0x32
push ecx
call dword [eax + 0x34]
add esp, 0x18
jmp 0x100fc410
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 0x100fc335
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [0x101e9ed0]
mov edx, eax
test ecx, ecx
je 0x100fc31c
push edx
push str.Privilege_lowering_failed__duplicate_token___Error:__u__n
push 0x101a4aec
push 0x101a4aec
push str.ProcessUtils
push str.OOBEUtils
push 0x32
call ecx
add esp, 0x1c
jmp 0x100fc410
mov ecx, dword [0x101e9ed4]
test ecx, ecx
je 0x100fc410
push edx
push str.Privilege_lowering_failed__duplicate_token___Error:__u__n
jmp 0x100fc2ae
mov eax, dword [ebp - 0x30]
xor edi, edi
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x14], edi
mov dword [ebp - 4], edi
lea ecx, [ebp - 0x64]
push 0xc
xor eax, eax
mov dword [ebp - 0x54], edi
push str.Advapi32.dll
mov dword [ebp - 0x50], 7
mov word [ebp - 0x64], ax
call fcn.10001c20
push str.CreateProcessWithTokenW
lea eax, [ebp - 0x64]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x14]
call fcn.1010b180
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x38], eax
mov byte [ebp - 4], 0
call fcn.10001bc0
mov eax, dword [ebp - 0x38]
test eax, eax
je 0x100fc3a4
push dword [ebp - 0x3c]
push dword [ebp - 0x40]
push dword [ebp - 0x44]
push edi
push edi
push dword [ebp - 0x48]
push edi
push edi
push dword [ebp - 0x4c]
call eax
mov edi, eax
mov dword [ebp - 4], 2
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x100fc3b9
push ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [ebp - 4], 0xffffffff
test edi, edi
jne 0x100fc40e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [0x101e9ed0]
mov edx, eax
test ecx, ecx
je 0x100fc3f9
push edx
push str.Privilege_lowering_failed_PU_CreateProcessWithTokenW__Error:__u
push 0x101a4aec
push 0x101a4aec
push str.ProcessUtils
push str.OOBEUtils
push 0x32
call ecx
add esp, 0x1c
jmp 0x100fc410
mov ecx, dword [0x101e9ed4]
test ecx, ecx
je 0x100fc410
push edx
push str.Privilege_lowering_failed_PU_CreateProcessWithTokenW__Error:__u
jmp 0x100fc2ae
mov bl, 1
push dword [ebp - 0x2c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x30]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, bl
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.1014d1d5
mov esp, ebp
pop ebp
ret