Function at 0x40b4e0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d50bd
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c0
mov ecx, 0x511838
call fcn.004a7e89
call dword [sym.imp.SHELL32.dll_IsUserAnAdmin]
test eax, eax
je 0x40b519
mov al, 1
jmp 0x40b7b6
push 0x208
push 0
lea eax, [ebp - 0x2cc]
push eax
call fcn.004ab3a0
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.004ab3a0
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.00404830
mov dword [ebp - 4], 0
mov edx, dword [ebp + 8]
movzx eax, byte [edx]
test eax, eax
je 0x40b5b1
push str._upprivi__can_ins_d
lea ecx, [ebp - 0x14]
call fcn.00405330
jmp 0x40b5be
push str._upprivi
lea ecx, [ebp - 0x14]
call fcn.00405330
lea ecx, [ebp - 0x14]
call fcn.00405410
mov dword [ebp - 0xb0], eax
lea ecx, [ebp - 0xc4]
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0x40b7a0
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.00402cb0
push eax
lea ecx, [ebp - 0x22]
push ecx
lea edx, [ebp - 0x38]
push edx
lea ecx, [ebp - 0x80]
call fcn.00404d30
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [eax]
push edx
lea ecx, [ebp - 0x6c]
call fcn.00404da0
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.00409750
push eax
lea ecx, [ebp - 0x1c]
call fcn.00404700
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x6c]
call fcn.00405100
push 0x4ddd50
lea ecx, [ebp - 0x1c]
call fcn.004056d0
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.00402cb0
push eax
lea eax, [ebp - 0x3a]
push eax
lea ecx, [ebp - 0x50]
push ecx
lea ecx, [ebp - 0x88]
call fcn.00404d30
mov edx, dword [eax + 4]
push edx
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x78]
call fcn.00404da0
mov dword [ebp - 0x60], eax
mov ecx, dword [ebp - 0x60]
call fcn.00409750
push eax
lea ecx, [ebp - 0x1c]
call fcn.00405410
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 6
je 0x40b758
mov dword [ebp - 0x20], 1
jmp 0x40b75f
mov dword [ebp - 0x20], 0
mov cl, byte [ebp - 0x20]
mov byte [ebp - 0xd], cl
lea ecx, [ebp - 0x78]
call fcn.00405100
movzx edx, byte [ebp - 0xd]
test edx, edx
je 0x40b77c
push 0
call fcn.004b54f9
mov byte [ebp - 0xe], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.00404fb0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00404fb0
mov al, byte [ebp - 0xe]
jmp 0x40b7b6
mov byte [ebp - 0xf], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00404fb0
mov al, byte [ebp - 0xf]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret