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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x623838
mov eax, dword fs:[0]
push eax
sub esp, 0x1b0
mov eax, dword [0x6cd400]
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 eax, dword [ebp + 8]
xor ecx, ecx
push 0xffffffffffffffff
push ecx
mov word [ebp - 0x44], cx
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
push eax
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x30], 7
mov dword [ebp - 0x34], 0
call fcn.00403b10
mov dword [ebp - 4], 0
push 0x19
push 0x679960
lea ecx, [ebp - 0x44]
call fcn.004039e0
push 0x38
lea eax, [ebp - 0x1b4]
push 0
push eax
mov dword [ebp - 0x1b8], 0x3c
call fcn.005edd10
xor eax, eax
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x1b4], 0x540
mov dword [ebp - 0x48], 7
mov dword [ebp - 0x4c], 0
mov word [ebp - 0x5c], ax
mov byte [ebp - 4], 1
lea edx, [eax + 0xf]
lea ecx, [ebp - 0x5c]
call fcn.004a05c0
cmp dword [ebp - 0x48], 8
lea eax, [ebp - 0x5c]
cmovae eax, dword [ebp - 0x5c]
push 0x11c
mov dword [ebp - 0x1a8], eax
lea eax, [ebp - 0x17c]
push 0
push eax
call fcn.005edd10
add esp, 0x18
lea eax, [ebp - 0x17c]
push eax
mov dword [ebp - 0x17c], 0x11c
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x412b2a
mov edi, dword [ebp - 0x178]
mov esi, dword [ebp - 0x174]
jmp 0x412b30
mov esi, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x20]
call fcn.0040f000
test al, al
je 0x412b54
cmp edi, 5
jne 0x412b54
cmp esi, 1
je 0x412b48
cmp esi, 2
jne 0x412b54
mov dword [ebp - 0x1ac], 0x679994
jmp 0x412b5e
mov dword [ebp - 0x1ac], 0x6799a0
cmp dword [ebp - 0x30], 8
lea eax, [ebp - 0x44]
cmovae eax, dword [ebp - 0x44]
mov dword [ebp - 0x1a4], eax
xor eax, eax
push 0xffffffffffffffff
push eax
mov word [ebp - 0x2c], ax
lea eax, [ebp - 0x5c]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
push eax
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
call fcn.00403b10
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2c]
call fcn.004a0980
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
mov dword [ebp - 0x1a0], eax
lea eax, [ebp - 0x1b8]
push eax
mov dword [ebp - 0x19c], 0xa
xor bl, bl
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
push dword [ebp - 0x180]
movzx ebx, bl
mov ecx, 1
test eax, eax
cmovne ebx, ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 4], 1
cmp dword [ebp - 0x18], 8
jb 0x412c04
push dword [ebp - 0x2c]
call fcn.004c56c2
add esp, 4
xor eax, eax
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
mov byte [ebp - 4], al
cmp dword [ebp - 0x48], 8
jb 0x412c2c
push dword [ebp - 0x5c]
call fcn.004c56c2
add esp, 4
xor eax, eax
mov dword [ebp - 0x48], 7
mov dword [ebp - 0x4c], 0
mov word [ebp - 0x5c], ax
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x30], 8
jb 0x412c58
push dword [ebp - 0x44]
call fcn.004c56c2
add esp, 4
xor eax, eax
mov word [ebp - 0x44], ax
mov dword [ebp - 0x30], 7
mov dword [ebp - 0x34], 0
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.005e96ad
mov esp, ebp
pop ebp
ret 4