Function at 0x40cef0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e308d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c0
mov ecx, 0x51f838
call fcn.004b60a9
call dword [sym.imp.SHELL32.dll_IsUserAnAdmin]
test eax, eax
je 0x40cf29
mov al, 1
jmp 0x40d1c6
push 0x208
push 0
lea eax, [ebp - 0x2cc]
push eax
call fcn.004b93f0
add esp, 0xc
mov dword [ebp - 0x54], 0
push 0x104
lea ecx, [ebp - 0x2cc]
push ecx
mov edx, dword [ebp - 0x54]
push edx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov dword [ebp - 0xc4], 0x3c
push 0x38
push 0
lea eax, [ebp - 0xc0]
push eax
call fcn.004b93f0
add esp, 0xc
mov dword [ebp - 0xb8], str.runas
lea ecx, [ebp - 0x2cc]
mov dword [ebp - 0xb4], ecx
mov dword [ebp - 0xa8], 1
lea ecx, [ebp - 0x14]
call fcn.00406260
mov dword [ebp - 4], 0
mov edx, dword [ebp + 8]
movzx eax, byte [edx]
test eax, eax
je 0x40cfc1
push str._upprivi__can_ins_d
lea ecx, [ebp - 0x14]
call fcn.00406d60
jmp 0x40cfce
push str._upprivi
lea ecx, [ebp - 0x14]
call fcn.00406d60
lea ecx, [ebp - 0x14]
call fcn.00406e40
mov dword [ebp - 0xb0], eax
lea ecx, [ebp - 0xc4]
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0x40d1b0
mov edx, 0x47
mov word [ebp - 0x38], dx
mov eax, 0x50
mov word [ebp - 0x36], ax
mov ecx, 0x54
mov word [ebp - 0x34], cx
mov edx, 0x20
mov word [ebp - 0x32], dx
mov eax, 0x43
mov word [ebp - 0x30], ax
mov ecx, 0x68
mov word [ebp - 0x2e], cx
mov edx, 0x72
mov word [ebp - 0x2c], dx
mov eax, 0x6f
mov word [ebp - 0x2a], ax
mov ecx, 0x6d
mov word [ebp - 0x28], cx
mov edx, 0x65
mov word [ebp - 0x26], dx
xor eax, eax
mov word [ebp - 0x24], ax
lea ecx, [ebp - 0x15]
call fcn.00404730
push eax
lea ecx, [ebp - 0x22]
push ecx
lea edx, [ebp - 0x38]
push edx
lea ecx, [ebp - 0x80]
call fcn.00406760
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [eax]
push edx
lea ecx, [ebp - 0x6c]
call fcn.004067d0
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x5c], eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x5c]
call fcn.0040a880
push eax
lea ecx, [ebp - 0x1c]
call fcn.00406130
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x6c]
call fcn.00406b30
push 0x4ead10
lea ecx, [ebp - 0x1c]
call fcn.00406fc0
mov ecx, 0x47
mov word [ebp - 0x50], cx
mov edx, 0x50
mov word [ebp - 0x4e], dx
mov eax, 0x54
mov word [ebp - 0x4c], ax
mov ecx, 0x20
mov word [ebp - 0x4a], cx
mov edx, 0x43
mov word [ebp - 0x48], dx
mov eax, 0x68
mov word [ebp - 0x46], ax
mov ecx, 0x72
mov word [ebp - 0x44], cx
mov edx, 0x6f
mov word [ebp - 0x42], dx
mov eax, 0x6d
mov word [ebp - 0x40], ax
mov ecx, 0x65
mov word [ebp - 0x3e], cx
xor edx, edx
mov word [ebp - 0x3c], dx
push 4
lea ecx, [ebp - 0x16]
call fcn.00404730
push eax
lea eax, [ebp - 0x3a]
push eax
lea ecx, [ebp - 0x50]
push ecx
lea ecx, [ebp - 0x88]
call fcn.00406760
mov edx, dword [eax + 4]
push edx
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x78]
call fcn.004067d0
mov dword [ebp - 0x60], eax
mov ecx, dword [ebp - 0x60]
call fcn.0040a880
push eax
lea ecx, [ebp - 0x1c]
call fcn.00406e40
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 6
je 0x40d168
mov dword [ebp - 0x20], 1
jmp 0x40d16f
mov dword [ebp - 0x20], 0
mov cl, byte [ebp - 0x20]
mov byte [ebp - 0xd], cl
lea ecx, [ebp - 0x78]
call fcn.00406b30
movzx edx, byte [ebp - 0xd]
test edx, edx
je 0x40d18c
push 0
call fcn.004c3549
mov byte [ebp - 0xe], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.004069e0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.004069e0
mov al, byte [ebp - 0xe]
jmp 0x40d1c6
mov byte [ebp - 0xf], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.004069e0
mov al, byte [ebp - 0xf]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret