Function at 0x41dde0
Capabilities:
Check os version
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x605921
mov eax, dword fs:[0]
push eax
sub esp, 0x2b0
mov eax, dword [0x69f000]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 0
xorps xmm0, xmm0
mov dword [ebp - 0x250], 0
push 0x65fe6c
lea ecx, [ebp - 0x260]
mov dword [ebp - 0x24c], 0
movups xmmword [ebp - 0x260], xmm0
call fcn.0040c3f0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x260]
push 0xb
push str.__pipename
call fcn.0040ff20
cmp dword [esi + 0x24], 8
lea eax, [esi + 0x10]
jb 0x41de64
mov eax, dword [esi + 0x10]
push dword [esi + 0x20]
lea ecx, [ebp - 0x260]
push eax
call fcn.0040ff20
xorps xmm0, xmm0
mov dword [ebp - 0x238], 0
xor eax, eax
mov dword [ebp - 0x234], 0
movups xmmword [ebp - 0x248], xmm0
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 7
mov word [ebp - 0x248], ax
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.DLL_GetCurrentProcessId]
push 0
push eax
lea ecx, [ebp - 0x248]
call fcn.00463940
add esp, 8
lea ecx, [ebp - 0x260]
push 7
push str.___pid
call fcn.0040ff20
cmp dword [ebp - 0x234], 8
lea eax, [ebp - 0x248]
push dword [ebp - 0x238]
cmovae eax, dword [ebp - 0x248]
lea ecx, [ebp - 0x260]
push eax
call fcn.0040ff20
push 0x38
lea eax, [ebp - 0x2b0]
mov dword [ebp - 0x2b4], 0x3c
push 0
push eax
call fcn.005d5480
xorps xmm0, xmm0
mov dword [ebp - 0x220], 0
xor eax, eax
mov dword [ebp - 0x21c], 0
movups xmmword [ebp - 0x230], xmm0
add esp, 0xc
mov dword [ebp - 0x2b0], 0x540
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
mov byte [ebp - 4], 2
lea eax, [ebp - 0x218]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameW]
test eax, eax
je 0x41dfb2
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41df90
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x230]
call fcn.0040be20
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
push 0x118
cmovae eax, dword [ebp - 0x230]
mov dword [ebp - 0x2a4], eax
lea eax, [ebp - 0x128]
push 0
push eax
call fcn.005d5480
add esp, 0xc
mov dword [ebp - 0x12c], 0x11c
lea eax, [ebp - 0x12c]
push eax
call dword [sym.imp.KERNEL32.DLL_GetVersionExW]
test eax, eax
je 0x41e00b
mov edi, dword [ebp - 0x128]
mov esi, dword [ebp - 0x124]
jmp 0x41e017
mov esi, dword [ebp - 0x2bc]
mov edi, dword [ebp - 0x2bc]
call fcn.00419600
test al, al
je 0x41e03b
cmp edi, 5
jne 0x41e03b
cmp esi, 1
je 0x41e02f
cmp esi, 2
jne 0x41e03b
mov dword [ebp - 0x2a8], str.open
jmp 0x41e045
mov dword [ebp - 0x2a8], str.runas
cmp dword [ebp - 0x24c], 8
lea eax, [ebp - 0x260]
lea ecx, [ebp - 0x278]
cmovae eax, dword [ebp - 0x260]
mov dword [ebp - 0x2a0], eax
lea eax, [ebp - 0x230]
push eax
call fcn.0040bb80
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x278]
call fcn.0046a960
cmp dword [ebp - 0x264], 8
lea eax, [ebp - 0x278]
mov dword [ebp - 0x298], 0xa
cmovae eax, dword [ebp - 0x278]
mov dword [ebp - 0x29c], eax
lea eax, [ebp - 0x2b4]
push eax
mov byte [ebp - 0x2b5], 0
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
movzx ecx, byte [ebp - 0x2b5]
test eax, eax
push dword [ebp - 0x27c]
mov edx, 1
cmovne ecx, edx
mov dword [ebp - 0x2bc], ecx
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x278]
call fcn.0040bd90
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x230]
call fcn.0040bd90
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x248]
call fcn.0040bd90
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x260]
call fcn.0040bd90
mov al, byte [ebp - 0x2bc]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005d077b
mov esp, ebp
pop ebp
ret