Function at 0x48c4e0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28c
mov eax, dword [0x579aa4]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 0x28c], ecx
cmp dword [ebp + 8], 0
jne 0x48c504
jmp 0x48c773
mov ecx, dword [ebp - 0x28c]
call fcn.0048c8b0
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 0x28c]
call fcn.0048c790
mov dword [ebp - 0x218], eax
push 0x208
push 0
lea ecx, [ebp - 0x210]
push ecx
call fcn.0050c770
add esp, 0xc
push 0x54c85c
push 0x208
lea edx, [ebp - 0x210]
push edx
call fcn.0048cef0
mov eax, dword [ebp + 8]
push eax
push 0x208
lea ecx, [ebp - 0x210]
push ecx
call fcn.0048cef0
push 0x54c860
push 0x208
lea edx, [ebp - 0x210]
push edx
call fcn.0048cef0
cmp dword [ebp + 0xc], 0
je 0x48c5af
push 0x54c864
push 0x208
lea eax, [ebp - 0x210]
push eax
call fcn.0048cef0
mov ecx, dword [ebp + 0xc]
push ecx
push 0x208
lea edx, [ebp - 0x210]
push edx
call fcn.0048cef0
lea eax, [ebp - 0x214]
push eax
push 0x8b
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x48c773
lea ecx, [ebp - 0x21c]
push ecx
push 1
push 2
push 0
push 0
mov edx, dword [ebp - 0x214]
push edx
call dword [sym.imp.ADVAPI32.dll_DuplicateTokenEx]
test eax, eax
je 0x48c766
mov byte [ebp - 0x224], 0
mov byte [ebp - 0x223], 0
mov byte [ebp - 0x222], 0
mov byte [ebp - 0x221], 0
mov byte [ebp - 0x220], 0
mov byte [ebp - 0x21f], 0x10
mov dword [ebp - 0x228], 0
lea eax, [ebp - 0x228]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0
mov ecx, dword [ebp - 0x218]
push ecx
push 1
lea edx, [ebp - 0x224]
push edx
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x48c759
xor eax, eax
mov dword [ebp - 0x230], eax
mov dword [ebp - 0x22c], eax
mov dword [ebp - 0x22c], 0x20
mov ecx, dword [ebp - 0x228]
mov dword [ebp - 0x230], ecx
mov edx, dword [ebp - 0x228]
push edx
call dword [sym.imp.ADVAPI32.dll_GetLengthSid]
add eax, 8
push eax
lea eax, [ebp - 0x230]
push eax
push 0x19
mov ecx, dword [ebp - 0x21c]
push ecx
call dword [sym.imp.ADVAPI32.dll_SetTokenInformation]
test eax, eax
je 0x48c74c
push 0x44
push 0
lea edx, [ebp - 0x288]
push edx
call fcn.0050c770
add esp, 0xc
mov dword [ebp - 0x288], 0x44
mov dword [ebp - 0x25c], 1
mov eax, 1
mov word [ebp - 0x258], ax
xor ecx, ecx
mov dword [ebp - 0x240], ecx
mov dword [ebp - 0x23c], ecx
mov dword [ebp - 0x238], ecx
mov dword [ebp - 0x234], ecx
lea edx, [ebp - 0x240]
push edx
lea eax, [ebp - 0x288]
push eax
push 0
push 0
push 0x400
push 0
push 0
push 0
lea ecx, [ebp - 0x210]
push ecx
push 0
mov edx, dword [ebp - 0x21c]
push edx
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
test eax, eax
je 0x48c74c
mov eax, dword [ebp - 0x240]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x23c]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x228]
push edx
call dword [sym.imp.ADVAPI32.dll_FreeSid]
mov eax, dword [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x214]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0050c75f
mov esp, ebp
pop ebp
ret 8