Function at 0x432fd1
Capabilities:
Acquire debug privileges
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
push ebx
push esi
xor esi, esi
push edi
mov dword [ebp - 0x1c], esi
call fcn.00433e64
mov dword [ebp - 0x10], eax
call fcn.0043677c
test al, al
je 0x43300b
pop ecx
pop esi
push edx
push ebx
push edx
pop ebp
push ecx
push eax
pop ebp
pop edx
push eax
push ebx
pop ebx
push esi
push ecx
push edx
pop edx
push ecx
push eax
push ecx
pop ecx
pop edx
push ebp
push eax
pop esi
xor esi, esi
call fcn.00436668
test al, al
je 0x43302e
push esp
push esp
push ecx
pop edi
push ebp
push edx
pop edx
push esp
push edi
push esp
pop ebp
pop ebx
pop ecx
pop edx
pop ebp
push eax
push edx
push esp
pop ecx
push esp
pop esp
push ecx
push esi
push esi
push esi
push ebx
mov dword [ebp - 4], esi
mov dword [ebp - 8], esi
mov dword [ebp - 0xc], esi
call fcn.004365de
test al, al
je 0x433058
push ecx
push esp
push esi
push ebx
push edx
pop esi
pop ebx
pop esp
pop edi
pop eax
pop esi
pop edx
pop esp
pop esi
pop esp
pop ebp
push ebx
pop edi
pop edx
pop ebx
pop esi
push eax
pop ecx
push ebx
call fcn.004365de
test al, al
je 0x43307f
push edi
pop ecx
push ecx
pop esi
push ebx
pop ebp
push edx
pop esp
pop esi
push edx
pop ebx
push ecx
push esp
pop ebp
pop edi
pop edi
pop ebp
pop edi
pop esp
pop ecx
push edx
pop edx
push ecx
push esp
pop eax
pop ebp
push esp
push eax
push esp
pop edi
mov esi, dword [ebp - 0x10]
lea eax, [ebp - 0x18]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ProcessIdToSessionId]
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x18]
call sub.WTSAPI32.dll_WTSQueryUserToken
mov edi, 0x400
test eax, eax
jne 0x4330c8
push esi
push eax
push edi
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x4330c8
lea eax, [ebp - 4]
push eax
push 0xf00ff
push esi
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.00436104
test al, al
je 0x4330ee
push ecx
push esi
pop esi
pop esi
pop ebx
pop ebp
pop ebp
push ebx
pop ecx
push ebp
pop esp
push esp
push esi
push esp
pop edi
pop ebp
pop ecx
pop edi
pop esi
push edi
push ecx
push ebp
pop esi
pop esp
mov edi, 0x400
cmp dword [ebp - 4], 0
je 0x433234
lea eax, [ebp - 0x1c]
push eax
push 4
lea eax, [ebp - 0x20]
push eax
push 0x13
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
xor esi, esi
xor ebx, ebx
inc esi
test eax, eax
jne 0x433140
lea eax, [ebp - 0x14]
push eax
push str.SeDebugPrivilege
push ebx
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
lea eax, [ebp - 8]
push eax
push esi
push esi
push ebx
push 0x2000000
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_DuplicateTokenEx]
mov eax, dword [ebp - 8]
jmp 0x433146
mov eax, dword [ebp - 0x20]
mov dword [ebp - 8], eax
push esi
push eax
lea eax, [ebp - 0xc]
push eax
call sub.USERENV.dll_CreateEnvironmentBlock
test eax, eax
je 0x433166
cmp dword [ebp + 0x10], 0
mov eax, 0x404
cmovne edi, eax
mov dword [ebp - 0x10], edi
jmp 0x43316c
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x10], eax
push 0x44
pop esi
push esi
lea eax, [ebp - 0x64]
push ebx
push eax
call fcn.0044b370
push 0x10
push ebx
push dword [ebp + 0xc]
call fcn.0044b370
push 5
pop eax
push 0x10
push ebx
push dword [ebp + 0xc]
mov dword [ebp - 0x64], esi
mov dword [ebp - 0x38], 1
mov word [ebp - 0x34], ax
call fcn.0044b370
add esp, 0x24
call fcn.004365de
test al, al
je 0x4331c5
push ecx
push esp
push esi
push ebx
push edx
pop esi
pop ebx
pop esp
pop edi
pop eax
pop esi
pop edx
pop esp
pop esi
pop esp
pop ebp
push ebx
pop edi
pop edx
pop ebx
pop esi
push eax
pop ecx
push ebx
call fcn.004365de
test al, al
je 0x4331ec
push edi
pop ecx
push ecx
pop esi
push ebx
pop ebp
push edx
pop esp
pop esi
push edx
pop ebx
push ecx
push esp
pop ebp
pop edi
pop edi
pop ebp
pop edi
pop esp
pop ecx
push edx
pop edx
push ecx
push esp
pop eax
pop ebp
push esp
push eax
push esp
pop edi
push dword [ebp + 0xc]
xor ebx, ebx
lea eax, [ebp - 0x64]
push eax
push ebx
push dword [ebp - 0xc]
push dword [ebp - 0x10]
push ebx
push ebx
push ebx
push dword [ebp + 8]
push ebx
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
test eax, eax
push 1
pop eax
cmovne ebx, eax
cmp dword [ebp - 8], 0
je 0x433223
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 4], 0
je 0x433236
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x433236
xor ebx, ebx
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret