Function at 0x100129c0
Capabilities:
Print debug messages

Disassembly:
push 0xffffffffffffffff
push 0x1004e64b
mov eax, dword fs:[0]
push eax
sub esp, 0x48c
mov eax, dword [0x10062da0]
xor eax, esp
mov dword [esp + 0x488], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10062da0]
xor eax, esp
push eax
lea eax, [esp + 0x4a0]
mov dword fs:[0], eax
push 0x410
mov esi, ecx
xor ebp, ebp
lea ecx, [esp + 0x8a]
xor eax, eax
push ebp
push ecx
mov edi, edx
mov word [esp + 0x90], ax
call fcn.10037cf0
add esp, 0xc
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x18], ebp
cmp edi, ebp
je 0x10012c51
call fcn.10012670
test eax, eax
jne 0x10012a4f
push str.Vista:
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov edi, str.Vista:
jmp 0x10012c4c
lea edx, [esp + 0x1c]
push edx
push 0xf01ff
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
mov eax, dword [esi + 0x30]
call eax
test eax, eax
jne 0x10012a7e
push str.CVista:OpenProcessToken_Fail__r_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov edi, str.CVista:OpenProcessToken_Fail__r_n
jmp 0x10012c4c
mov edx, dword [esp + 0x1c]
mov eax, dword [esi + 0x34]
lea ecx, [esp + 0x18]
push ecx
push 1
push 1
push ebp
push 0x2000000
push edx
call eax
test eax, eax
jne 0x10012abb
mov ecx, dword [esp + 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push str.CVista:DuplicateTokenEx_Fail__r_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov edi, str.CVista:DuplicateTokenEx_Fail__r_n
jmp 0x10012c4c
mov edx, dword [esi + 0x2c]
call edx
mov ecx, dword [esp + 0x18]
mov edx, dword [esi + 0x38]
push 4
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x2c]
push eax
push 0xc
push ecx
call edx
test eax, eax
jne 0x10012b04
mov eax, dword [esp + 0x1c]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call esi
mov ecx, dword [esp + 0x18]
push ecx
call esi
push str.CVista:SetTokenInformation_Fail__r_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov edi, str.CVista:SetTokenInformation_Fail__r_n
jmp 0x10012c4c
push 0x44
lea edx, [esp + 0x40]
push ebp
push edx
call fcn.10037cf0
mov edx, dword [esi + 0x3c]
xor eax, eax
add esp, 0xc
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x18]
push ebp
push eax
lea ecx, [esp + 0x2c]
push ecx
mov dword [esp + 0x48], 0x44
mov dword [esp + 0x50], str.WinSta0Default
mov dword [esp + 0x30], ebp
call edx
test eax, eax
je 0x10012c28
push 0x208
lea eax, [esp + 0x88]
push eax
push 0xffffffffffffffff
push edi
push ebp
push ebp
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov eax, dword [esp + 0x24]
lea ecx, [esp + 0x2c]
push ecx
lea edx, [esp + 0x40]
push edx
mov edx, dword [esp + 0x20]
push ebp
push eax
mov eax, dword [esi + 0x44]
push 0x430
push ebp
push ebp
push ebp
lea ecx, [esp + 0xa4]
push ecx
push ebp
push edx
call eax
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x10012bb4
mov ecx, dword [esp + 0x2c]
push ecx
mov ebp, 1
call ebx
mov edx, dword [esp + 0x30]
push edx
call ebx
jmp 0x10012c0c
lea ecx, [esp + 0x20]
call fcn.10002dc0
mov dword [esp + 0x4a8], ebp
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [esp + 0x24]
push str.CVista:CreateProcessAsUser_fail__d_r_n
push eax
call fcn.100027b0
mov ecx, dword [esp + 0x2c]
add esp, 0xc
push ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea ecx, [esp + 0x20]
call fcn.10001e70
mov edi, eax
call fcn.10011e30
lea ecx, [esp + 0x20]
mov dword [esp + 0x4a8], 0xffffffff
call fcn.10002d60
mov edx, dword [esp + 0x24]
mov eax, dword [esi + 0x40]
push edx
call eax
mov ecx, dword [esp + 0x1c]
push ecx
call ebx
mov edx, dword [esp + 0x18]
push edx
call ebx
mov eax, ebp
jmp 0x10012c53
mov eax, dword [esp + 0x1c]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call esi
mov ecx, dword [esp + 0x18]
push ecx
call esi
push str.CVista:CreateEnvironmentBlock_Fail__r_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov edi, str.CVista:CreateEnvironmentBlock_Fail__r_n
call fcn.10011e30
xor eax, eax
mov ecx, dword [esp + 0x4a0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x488]
xor ecx, esp
call fcn.10032551
add esp, 0x498
ret