Function at 0x10090830
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x138
mov eax, dword [0x100ed3e0]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], 0
cmp dword [ebp + 0x10], 1
jae 0x10090857
xor eax, eax
jmp 0x10090a80
call fcn.1008ff90
test eax, eax
je 0x10090867
xor eax, eax
jmp 0x10090a80
mov dword [ebp - 0x128], 0
push 0x110
push 0
lea eax, [ebp - 0x124]
push eax
call fcn.10071b20
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 0x100908d2
cmp dword [ebp - 0x124], 6
jne 0x100908cb
cmp dword [ebp - 0x120], 1
je 0x100908d2
cmp dword [ebp - 0x120], 2
je 0x100908d2
cmp dword [ebp - 0x120], 3
je 0x100908d2
xor eax, eax
jmp 0x10090a80
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.10071417
add esp, 4
mov dword [ebp - 0x134], eax
mov ecx, dword [ebp - 0x134]
mov dword [ebp - 4], ecx
cmp dword [ebp - 4], 0
jne 0x1009090c
xor eax, eax
jmp 0x10090a80
mov edx, dword [ebp - 8]
push edx
push 0
mov eax, dword [ebp - 4]
push eax
call fcn.10071b20
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 0x10090976
mov ecx, dword [ebp - 0x130]
add ecx, 1
mov dword [ebp - 0x130], ecx
mov edx, dword [ebp - 0x130]
cmp edx, dword [ebp + 0x10]
jae 0x100909c3
mov eax, dword [ebp - 0x130]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + eax*4]
push edx
call fcn.10071feb
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.10073370
add esp, 0xc
jmp 0x10090967
mov ecx, dword [ebp + 8]
push ecx
call fcn.10071feb
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.10073370
add esp, 0xc
mov ecx, dword [ebp + 0x1c]
push ecx
call fcn.10071feb
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.10073370
add esp, 0xc
mov ecx, dword [ebp + 0x20]
push ecx
call fcn.10071f60
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.10073370
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.10090000
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.10075252
add esp, 4
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10071b0a
mov esp, ebp
pop ebp
ret 0x20