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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x462796
mov eax, dword fs:[0]
push eax
sub esp, 0x13c
mov eax, dword [0x4785d0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
push 0x8c
lea eax, [ebp - 0x108]
mov dword [ebp - 4], 1
push 0
push eax
mov dword [ebp - 0x110], 0x94
mov dword [ebp - 0x10c], 0
call fcn.00420820
add esp, 0xc
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp eax, 1
jne 0x40e2e7
cmp dword [ebp - 0x10c], 6
jb 0x40e2e7
xor bl, bl
mov byte [ebp - 0x115], bl
lea eax, [ebp - 0x2c]
push eax
push 0x46d524
push 4
push 0
push 0x4643d0
mov dword [ebp - 0x2c], 0
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [ebp - 0x20], 0
cmp dword [ebp - 0x2c], 0
mov edi, dword [sym.imp.OLEAUT32.dll_VariantClear]
je 0x40df80
lea eax, [ebp - 0x48]
push eax
mov dword [ebp - 0x114], 0
call edi
mov byte [ebp - 4], 5
mov esi, dword [ebp - 0x2c]
test esi, esi
jne 0x40df44
push 0x80004003
call fcn.00444100
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x40df51
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x20]
push ecx
push 1
lea ecx, [ebp - 0x114]
push ecx
push 8
lea ecx, [ebp - 0x48]
push ecx
mov dword [ebp - 0x20], 0
mov eax, dword [esi]
push ecx
push esi
call dword [eax + 0x3c]
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea eax, [ebp - 0x48]
push eax
call esi
jmp 0x40df86
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov dword [ebp - 0x34], 0
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x40dfad
lea edx, [ebp - 0x34]
push edx
mov dword [ebp - 0x34], 0
mov ecx, dword [eax]
push 0x46d484
push eax
call dword [ecx]
mov dword [ebp - 0x38], 0
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x34]
test eax, eax
je 0x40dfda
lea edx, [ebp - 0x38]
push edx
push 0x46d504
mov dword [ebp - 0x38], 0
mov ecx, dword [eax]
push 0x4643a0
push eax
call dword [ecx + 0xc]
mov dword [ebp - 0x28], 0
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x38]
test eax, eax
je 0x40dffd
lea edx, [ebp - 0x28]
mov dword [ebp - 0x28], 0
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x3c]
mov dword [ebp - 0x30], 0
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x40e027
lea edx, [ebp - 0x30]
push edx
push 0x46d474
mov dword [ebp - 0x30], 0
mov ecx, dword [eax]
push 0
push eax
call dword [ecx + 0x3c]
xor eax, eax
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x30]
test ecx, ecx
je 0x40e04b
lea edx, [ebp - 0x18]
push edx
mov dword [ebp - 0x18], eax
mov eax, dword [ecx]
push 0x46d514
push ecx
call dword [eax]
mov eax, dword [ebp - 0x18]
xor ecx, ecx
mov dword [ebp - 0x1c], ecx
mov byte [ebp - 4], 0xb
test eax, eax
je 0x40e06b
lea edx, [ebp - 0x1c]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x1c]
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x1c]
xor edx, edx
mov dword [ebp - 0x24], edx
mov byte [ebp - 4], 0xc
test ecx, ecx
je 0x40e233
mov dword [ebp - 0x24], edx
mov eax, dword [ecx]
lea edx, [ebp - 0x24]
push edx
push 0x46d4d4
push ecx
call dword [eax]
mov edx, dword [ebp - 0x24]
test edx, edx
je 0x40e2ce
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x114]
mov dword [ebp - 0x114], 0
call fcn.0040dc40
mov eax, 8
mov byte [ebp - 4], 0xd
push 0x46d3b0
mov word [ebp - 0x48], ax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [ebp - 0x40], eax
test eax, eax
jne 0x40e0e2
push 0x8007000e
call fcn.00444100
mov eax, 0x16
mov word [ebp - 0x68], ax
mov dword [ebp - 0x60], 1
lea eax, [ebp - 0x58]
push eax
call edi
mov byte [ebp - 4], 0x10
cmp dword [ebp + 0x30], 0
je 0x40e116
cmp dword [ebp + 0x34], 8
lea eax, [ebp + 0x20]
cmovae eax, dword [ebp + 0x20]
push eax
lea ecx, [ebp - 0x58]
call fcn.0040dd50
lea eax, [ebp - 0x78]
push eax
call edi
movq xmm0, qword [ebp - 0x68]
movq qword [ebp - 0x140], xmm0
movq xmm0, qword [ebp - 0x60]
movq qword [ebp - 0x120], xmm0
movq xmm0, qword [ebp - 0x48]
movq qword [ebp - 0x138], xmm0
movq xmm0, qword [ebp - 0x40]
lea eax, [ebp - 0x130]
push eax
movq qword [ebp - 0x148], xmm0
call edi
mov byte [ebp - 4], 0x12
mov ecx, dword [ebp - 0x24]
test ecx, ecx
jne 0x40e16e
push 0x80004003
call fcn.00444100
mov eax, dword [ebp - 0x114]
test eax, eax
je 0x40e17c
mov edi, dword [eax]
jmp 0x40e17e
xor edi, edi
movq xmm0, qword [ebp - 0x140]
sub esp, 0x10
mov eax, esp
mov edx, dword [ecx]
movq qword [eax], xmm0
movq xmm0, qword [ebp - 0x120]
movq qword [eax + 8], xmm0
movq xmm0, qword [ebp - 0x138]
sub esp, 0x10
mov eax, esp
sub esp, 0x10
movq qword [eax], xmm0
movq xmm0, qword [ebp - 0x148]
movq qword [eax + 8], xmm0
movq xmm0, qword [ebp - 0x130]
mov eax, esp
sub esp, 0x10
movq qword [eax], xmm0
movq xmm0, qword [ebp - 0x128]
movq qword [eax + 8], xmm0
movq xmm0, qword [ebp - 0x58]
mov eax, esp
push edi
movq qword [eax], xmm0
movq xmm0, qword [ebp - 0x50]
push ecx
movq qword [eax + 8], xmm0
call dword [edx + 0x7c]
mov edi, eax
lea eax, [ebp - 0x130]
push eax
call esi
lea eax, [ebp - 0x78]
test edi, edi
push eax
setns bl
call esi
lea eax, [ebp - 0x58]
push eax
call esi
lea eax, [ebp - 0x68]
push eax
call esi
lea eax, [ebp - 0x48]
push eax
call esi
lea ecx, [ebp - 0x114]
call fcn.0040dcf0
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x24]
mov byte [ebp - 4], 0xb
test edx, edx
je 0x40e247
mov eax, dword [edx]
push edx
call dword [eax + 8]
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x1c]
mov byte [ebp - 4], 0xa
test ecx, ecx
je 0x40e258
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [ebp - 0x18]
mov byte [ebp - 4], 9
test eax, eax
je 0x40e266
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x30]
test ecx, ecx
je 0x40e277
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x40e288
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x38]
test eax, eax
je 0x40e299
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x34]
test eax, eax
je 0x40e2aa
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x40e2bb
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x40e319
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x40e319
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x1c]
jmp 0x40e233
cmp dword [ebp + 0x34], 8
push 1
lea ecx, [ebp + 0x20]
cmovae ecx, dword [ebp + 0x20]
cmp dword [ebp + 0x1c], 8
push 0x46d3bc
push ecx
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push eax
push 0x46d3b0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
setg bl
cmp dword [ebp + 0x1c], 8
jb 0x40e32a
push dword [ebp + 8]
call fcn.0041a4c1
add esp, 4
xor eax, eax
cmp dword [ebp + 0x34], 8
mov word [ebp + 8], ax
mov dword [ebp + 0x18], eax
mov dword [ebp + 0x1c], 7
jb 0x40e34b
push dword [ebp + 0x20]
call fcn.0041a4c1
add esp, 4
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00419056
mov esp, ebp
pop ebp
ret