Function at 0x4931b0
Capabilities:
Acquire debug privileges
Create process on windows
Enumerate processes
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4f0b53
mov eax, dword fs:[0]
push eax
sub esp, 0x1c0
mov eax, dword [0x53fa2c]
xor eax, esp
mov dword [esp + 0x1bc], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x53fa2c]
xor eax, esp
push eax
lea eax, [esp + 0x1d4]
mov dword fs:[0], eax
mov eax, dword [esp + 0x1e8]
mov edi, dword [esp + 0x1e4]
mov ecx, dword [esp + 0x1ec]
xor ebx, ebx
mov dword [esp + 0x34], eax
mov dword [esp + 0x14], ebx
mov eax, dword [0x10db8e8]
mov dword [esp + 0x60], edi
mov dword [esp + 0x30], ecx
cmp eax, ebx
je 0x493623
cmp dword [0x10db8ec], ebx
je 0x493623
mov dword [esp + 0x28], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x18], ebx
call eax
mov dword [esp + 0x2c], eax
cmp eax, ebx
jne 0x493257
push str.Cannot_WTSGetActiveConsoleSessionId
mov ecx, edi
call dword [sym.imp.mfc90.dll_Ordinal_310]
jmp 0x493630
cmp byte [0x1038f42], bl
je 0x493271
push str.So_g_bService_is_cannot_found_explorer
mov ecx, edi
call dword [sym.imp.mfc90.dll_Ordinal_310]
jmp 0x493630
push ebx
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
je 0x493336
mov ebp, dword [sym.imp.KERNEL32.dll_Sleep]
lea ebx, [ebx]
lea edx, [esp + 0xa8]
push edx
push esi
mov dword [esp + 0xb0], 0x128
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x49336d
cmp dword [0x103a97c], 0x77
jne 0x4932d0
push str.Find_the_explorer_process_start
push 8
call fcn.0043d500
add esp, 8
lea esp, [esp]
lea eax, [esp + 0xcc]
push str.explorer.exe
push eax
call dword [sym.imp.MSVCR90.dll__stricmp]
add esp, 8
test eax, eax
je 0x493348
lea ecx, [esp + 0xa8]
push ecx
push esi
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x4932d0
mov esi, dword [esp + 0x28]
cmp dword [0x103a97c], 0x77
jne 0x493318
push str.Find_the_explorer_process_end
push 8
call fcn.0043d500
add esp, 8
cmp esi, ebx
jne 0x49337f
push 0x2710
call ebp
push ebx
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
jne 0x493290
push str.Cannot_CreateToolhelp32Snapshot
mov ecx, edi
call dword [sym.imp.mfc90.dll_Ordinal_310]
jmp 0x493630
cmp dword [0x103a97c], 0x77
jne 0x493360
push str.found_the_explorer_process_
push 8
call fcn.0043d500
add esp, 8
mov esi, dword [esp + 0xb0]
mov dword [esp + 0x28], esi
jmp 0x493300
push str.Cannot_Process32First
mov ecx, edi
call dword [sym.imp.mfc90.dll_Ordinal_310]
jmp 0x493630
push esi
push ebx
push 0x2000000
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4933a5
push str.Cannot_OpenProcess_explorer
mov ecx, edi
call dword [sym.imp.mfc90.dll_Ordinal_310]
jmp 0x493630
lea edx, [esp + 0x18]
push edx
push 2
push esi
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x4933d0
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push str.Cannot_OpenProcessToken_explorer
mov ecx, edi
call dword [sym.imp.mfc90.dll_Ordinal_310]
jmp 0x493630
cmp dword [esp + 0x18], ebx
jne 0x4933ef
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push str.Cannot_OpenProcessToken_explorer_hPToken0
mov ecx, edi
call dword [sym.imp.mfc90.dll_Ordinal_310]
jmp 0x493630
mov ecx, dword [esp + 0x2c]
lea eax, [esp + 0x20]
push eax
push ecx
call dword [0x10db8ec]
cmp dword [esp + 0x20], 0xffffffff
jne 0x493428
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
mov edx, dword [esp + 0x18]
push edx
call esi
push str.Cannot_WTSQueryUserToken_explorer
mov ecx, edi
call dword [sym.imp.mfc90.dll_Ordinal_310]
jmp 0x493630
push 0x44
lea eax, [esp + 0x68]
push ebx
push eax
mov ebp, 0x20
call sub.MSVCR90.dll_memset
add esp, 0xc
lea edx, [esp + 0x38]
push edx
xor eax, eax
push str.SeDebugPrivilege
xor ecx, ecx
push ebx
mov dword [esp + 0x70], 0x44
mov dword [esp + 0x78], str.winsta0default
mov word [esp + 0xa0], cx
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
test eax, eax
jne 0x4934a7
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
mov eax, dword [esp + 0x20]
push eax
call esi
mov ecx, dword [esp + 0x18]
push ecx
call esi
push str.Cannot_LookupPrivilegeValue_explorer
mov ecx, edi
call dword [sym.imp.mfc90.dll_Ordinal_310]
jmp 0x493630
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x3c]
lea ecx, [esp + 0x1c]
push ecx
mov ebx, 1
push ebx
push ebx
push 0
mov dword [esp + 0x54], edx
mov edx, dword [esp + 0x28]
push 0x2000000
push edx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], 2
call dword [sym.imp.ADVAPI32.dll_DuplicateTokenEx]
test eax, eax
jne 0x49351d
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
mov eax, dword [esp + 0x20]
push eax
call esi
mov ecx, dword [esp + 0x18]
push ecx
call esi
push str.Cannot_DuplicateTokenEx_explorer
mov ecx, edi
call dword [sym.imp.mfc90.dll_Ordinal_310]
mov dword [esp + 0x1dc], 0
mov dword [esp + 0x14], ebx
jmp 0x49363f
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x1c]
push 4
push edx
push 0xc
push eax
call dword [sym.imp.ADVAPI32.dll_SetTokenInformation]
mov edx, dword [esp + 0x1c]
push 0
push 0
push 0x10
lea ecx, [esp + 0x4c]
push ecx
push 0
push edx
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
jne 0x493572
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
mov eax, dword [esp + 0x20]
push eax
call esi
mov ecx, dword [esp + 0x1c]
push ecx
call esi
mov edx, dword [esp + 0x18]
push edx
call esi
push str.Cannot_AdjustTokenPrivileges
jmp 0x493501
mov eax, dword [esp + 0x1c]
push ebx
push eax
lea ecx, [esp + 0x2c]
push ecx
mov dword [esp + 0x30], 0
call dword [sym.imp.USERENV.dll_CreateEnvironmentBlock]
test eax, eax
je 0x493596
mov ebp, 0x420
jmp 0x49359e
mov dword [esp + 0x24], 0
mov ecx, dword [esp + 0x24]
lea edx, [esp + 0x50]
push edx
mov edx, dword [esp + 0x34]
lea eax, [esp + 0x68]
push eax
mov eax, dword [esp + 0x3c]
push 0
push ecx
mov ecx, dword [esp + 0x2c]
push ebp
push 0
push 0
push 0
push edx
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserA]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebp, eax
call esi
mov edx, dword [esp + 0x20]
push edx
call esi
mov eax, dword [esp + 0x1c]
push eax
call esi
mov ecx, dword [esp + 0x18]
push ecx
call esi
xor esi, esi
mov ecx, edi
cmp ebp, esi
jne 0x49360b
push str.Cannot_CreateProcessAsUser_Operation
call dword [sym.imp.mfc90.dll_Ordinal_310]
mov dword [esp + 0x1dc], esi
mov dword [esp + 0x14], ebx
jmp 0x49363f
push 0x506ca8
call dword [sym.imp.mfc90.dll_Ordinal_310]
mov dword [esp + 0x1dc], esi
mov dword [esp + 0x14], ebx
jmp 0x49363f
push str.error_WTSGetActiveConsoleSessionId__WTSQueryUserToken_support_OR_Win2000
mov ecx, edi
call dword [sym.imp.mfc90.dll_Ordinal_310]
mov dword [esp + 0x1dc], ebx
mov dword [esp + 0x14], 1
mov eax, edi
mov ecx, dword [esp + 0x1d4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1bc]
xor ecx, esp
call fcn.004e0148
add esp, 0x1cc
ret