Function at 0x40a6d0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c27fd
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c0
mov ecx, 0x4fa838
call fcn.0049af19
call dword [sym.imp.SHELL32.dll_IsUserAnAdmin]
test eax, eax
je 0x40a709
mov al, 1
jmp 0x40a9a6
push 0x208
push 0
lea eax, [ebp - 0x2cc]
push eax
call fcn.0049d9a0
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.0049d9a0
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.004041e0
mov dword [ebp - 4], 0
mov edx, dword [ebp + 8]
movzx eax, byte [edx]
test eax, eax
je 0x40a7a1
push str._upprivi__can_ins_d
lea ecx, [ebp - 0x14]
call fcn.00404ce0
jmp 0x40a7ae
push str._upprivi
lea ecx, [ebp - 0x14]
call fcn.00404ce0
lea ecx, [ebp - 0x14]
call fcn.00404dc0
mov dword [ebp - 0xb0], eax
lea ecx, [ebp - 0xc4]
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0x40a990
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.00402880
push eax
lea ecx, [ebp - 0x22]
push ecx
lea edx, [ebp - 0x38]
push edx
lea ecx, [ebp - 0x80]
call fcn.004046e0
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [eax]
push edx
lea ecx, [ebp - 0x6c]
call fcn.00404750
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.00408f60
push eax
lea ecx, [ebp - 0x1c]
call fcn.004040b0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x6c]
call fcn.00404ab0
push 0x4c9d10
lea ecx, [ebp - 0x1c]
call fcn.00405080
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.00402880
push eax
lea eax, [ebp - 0x3a]
push eax
lea ecx, [ebp - 0x50]
push ecx
lea ecx, [ebp - 0x88]
call fcn.004046e0
mov edx, dword [eax + 4]
push edx
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x78]
call fcn.00404750
mov dword [ebp - 0x60], eax
mov ecx, dword [ebp - 0x60]
call fcn.00408f60
push eax
lea ecx, [ebp - 0x1c]
call fcn.00404dc0
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 6
je 0x40a948
mov dword [ebp - 0x20], 1
jmp 0x40a94f
mov dword [ebp - 0x20], 0
mov cl, byte [ebp - 0x20]
mov byte [ebp - 0xd], cl
lea ecx, [ebp - 0x78]
call fcn.00404ab0
movzx edx, byte [ebp - 0xd]
test edx, edx
je 0x40a96c
push 0
call fcn.004a7428
mov byte [ebp - 0xe], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.00404960
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00404960
mov al, byte [ebp - 0xe]
jmp 0x40a9a6
mov byte [ebp - 0xf], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00404960
mov al, byte [ebp - 0xf]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret