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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55a3db
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2f4
mov eax, dword [0x5b5ecc]
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 0x18]
push 0
push ecx
lea ecx, [esi + 0x20]
mov byte [ebp - 4], 1
call fcn.004e1180
mov eax, dword [esi + 0x428]
test eax, eax
je 0x4f89f7
mov edx, dword [eax + 0x1c]
push edx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4f89f7
mov ecx, dword [esi + 0x428]
jmp 0x4f89f9
xor ecx, ecx
mov eax, dword [esi + 0x414]
test eax, eax
jl 0x4f8a13
jg 0x4f8a0f
mov eax, dword [esi + 0x410]
test eax, eax
jbe 0x4f8a13
mov al, 1
jmp 0x4f8a15
xor al, al
mov edx, dword [esi + 0x54]
push ecx
mov ecx, dword [ebp - 0x18]
push ecx
mov ecx, dword [esi + 0x418]
push edx
push eax
mov eax, dword [esi + 0x41c]
push eax
push ecx
lea ecx, [ebp - 0x300]
call fcn.004215d0
lea ecx, [ebp - 0x300]
mov byte [ebp - 4], 2
call fcn.00533ae5
cmp eax, 1
jne 0x4f8ba2
mov eax, dword [ebp - 0x110]
cmp eax, 1
jne 0x4f8a91
mov edx, dword [esi + 0x54]
mov ecx, 0xf
xor eax, eax
lea edi, [ebp - 0x54]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x54]
mov dword [ebp - 0x54], 0x3c
push eax
mov dword [ebp - 0x50], 0x40
mov dword [ebp - 0x44], edx
mov dword [ebp - 0x38], 1
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
jmp 0x4f8ba2
cmp eax, 2
jne 0x4f8af0
mov ecx, dword [0x5b5ecc]
mov dword [ebp - 0x14], ecx
mov edx, dword [esi + 0x54]
lea eax, [ebp - 0x14]
push edx
push 0x597ddc
push eax
mov byte [ebp - 4], 3
call fcn.0053091a
mov ecx, dword [ebp - 0x14]
add esp, 0xc
push 0x5c
push ecx
call fcn.0051c7b0
add esp, 8
test eax, eax
je 0x4f8ae4
mov byte [eax], 0
mov edx, dword [ebp - 0x14]
push 1
push 0
push 0
push edx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x14]
jmp 0x4f8b9d
cmp eax, 3
jne 0x4f8ba2
mov eax, dword [0x5b5ecc]
xor bl, bl
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0xe8]
mov byte [ebp - 4], 4
push ecx
mov dword [ebp - 0xe8], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x4f8b36
cmp dword [ebp - 0xd8], 2
jne 0x4f8b36
cmp dword [ebp - 0xe4], 6
jb 0x4f8b36
mov bl, 1
mov ecx, 0xf
xor eax, eax
lea edi, [ebp - 0x54]
rep stosd dword es:[edi], eax
test bl, bl
mov dword [ebp - 0x54], 0x3c
mov dword [ebp - 0x50], 0x40
je 0x4f8b78
mov edx, dword [esi + 0x54]
lea eax, [ebp - 0x14]
push edx
push str.shell32.dll_OpenAs_RunDLL__s
push eax
mov dword [ebp - 0x44], str.rundll32.exe
call fcn.0053091a
mov ecx, dword [ebp - 0x14]
add esp, 0xc
mov dword [ebp - 0x40], ecx
jmp 0x4f8b85
mov edx, dword [esi + 0x54]
mov dword [ebp - 0x48], str.openas
mov dword [ebp - 0x44], edx
lea eax, [ebp - 0x54]
mov dword [ebp - 0x38], 1
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x14]
call fcn.00537b04
lea ecx, [ebp - 0x108]
mov byte [ebp - 4], 0xc
call fcn.00537b04
lea ecx, [ebp - 0x10c]
mov byte [ebp - 4], 0xb
call fcn.00537b04
lea ecx, [ebp - 0x168]
mov byte [ebp - 4], 0xa
call fcn.00531312
lea ecx, [ebp - 0x1a8]
mov byte [ebp - 4], 9
call fcn.0053f9c6
lea ecx, [ebp - 0x1e4]
mov byte [ebp - 4], 8
call fcn.0053f9c6
lea ecx, [ebp - 0x220]
mov byte [ebp - 4], 7
call fcn.0053f876
lea ecx, [ebp - 0x25c]
mov byte [ebp - 4], 6
call fcn.0053f83e
lea ecx, [ebp - 0x2a4]
mov byte [ebp - 4], 5
call fcn.0041de70
lea ecx, [ebp - 0x300]
mov byte [ebp - 4], 1
call fcn.00533726
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0
call fcn.00537b04
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret