Function at 0x1008fee0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x138
mov eax, dword [0x100eb3e0]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], 0
cmp dword [ebp + 0x10], 1
jae 0x1008ff07
xor eax, eax
jmp 0x10090130
call fcn.1008f640
test eax, eax
je 0x1008ff17
xor eax, eax
jmp 0x10090130
mov dword [ebp - 0x128], 0
push pe_nt_image_headers32
push 0
lea eax, [ebp - 0x124]
push eax
call fcn.10073a50
add esp, 0xc
mov dword [ebp - 0x128], 0x114
lea ecx, [ebp - 0x128]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x124], 5
je 0x1008ff82
cmp dword [ebp - 0x124], 6
jne 0x1008ff7b
cmp dword [ebp - 0x120], 1
je 0x1008ff82
cmp dword [ebp - 0x120], 2
je 0x1008ff82
cmp dword [ebp - 0x120], 3
je 0x1008ff82
xor eax, eax
jmp 0x10090130
mov edx, dword [ebp + 0x10]
add edx, 3
imul edx, edx, 0x410
add edx, 0x14
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
push eax
call fcn.10070158
add esp, 4
mov dword [ebp - 0x134], eax
mov ecx, dword [ebp - 0x134]
mov dword [ebp - 4], ecx
cmp dword [ebp - 4], 0
jne 0x1008ffbc
xor eax, eax
jmp 0x10090130
mov edx, dword [ebp - 8]
push edx
push 0
mov eax, dword [ebp - 4]
push eax
call fcn.10073a50
add esp, 0xc
mov ecx, dword [ebp - 4]
mov dword [ecx], 0x89acbb19
mov edx, dword [ebp - 4]
mov dword [edx + 8], 0
mov eax, dword [ebp + 0x10]
add eax, 1
mov ecx, dword [ebp - 4]
mov dword [ecx + 0xc], eax
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
mov dword [edx + 4], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0x24]
mov dword [ecx + 0x10], edx
mov eax, dword [ebp - 4]
add eax, 0x14
mov dword [ebp - 0x12c], eax
mov dword [ebp - 0x130], 0
jmp 0x10090026
mov ecx, dword [ebp - 0x130]
add ecx, 1
mov dword [ebp - 0x130], ecx
mov edx, dword [ebp - 0x130]
cmp edx, dword [ebp + 0x10]
jae 0x10090073
mov eax, dword [ebp - 0x130]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + eax*4]
push edx
call fcn.10070dbb
add esp, 4
shl eax, 1
push eax
mov eax, dword [ebp - 0x130]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + eax*4]
push edx
mov eax, dword [ebp - 0x130]
imul eax, eax, 0x410
add eax, dword [ebp - 0x12c]
push eax
call fcn.10073ad0
add esp, 0xc
jmp 0x10090017
mov ecx, dword [ebp + 8]
push ecx
call fcn.10070dbb
add esp, 4
shl eax, 1
push eax
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp + 0x10]
imul eax, eax, 0x410
add eax, dword [ebp - 0x12c]
push eax
call fcn.10073ad0
add esp, 0xc
mov ecx, dword [ebp + 0x1c]
push ecx
call fcn.10070dbb
add esp, 4
shl eax, 1
push eax
mov edx, dword [ebp + 0x1c]
push edx
mov eax, dword [ebp + 0x10]
add eax, 1
imul eax, eax, 0x410
add eax, dword [ebp - 0x12c]
push eax
call fcn.10073ad0
add esp, 0xc
mov ecx, dword [ebp + 0x20]
push ecx
call fcn.10070d30
add esp, 4
push eax
mov edx, dword [ebp + 0x20]
push edx
mov eax, dword [ebp + 0x10]
add eax, 2
imul eax, eax, 0x410
add eax, dword [ebp - 0x12c]
push eax
call fcn.10073ad0
add esp, 0xc
mov ecx, dword [ebp + 0x18]
push ecx
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
push edx
call fcn.1008f6b0
add esp, 0x10
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x138], eax
mov ecx, dword [ebp - 0x138]
push ecx
call fcn.10072d0d
add esp, 4
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10070dd1
mov esp, ebp
pop ebp
ret 0x20