Function at 0x100920e7
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b457f
mov eax, dword fs:[0]
push eax
sub esp, 0x1c8
mov eax, dword [0x100e13e0]
xor eax, ebp
mov dword [ebp - 0x18], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1cc], ecx
push 0x114
push 0
lea eax, [ebp - 0x14c]
push eax
call fcn.10071bb0
add esp, 0xc
mov dword [ebp - 0x14c], 0x114
lea eax, [ebp - 0x14c]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
jne 0x1009214e
jmp 0x100923bf
lea ecx, [ebp - 0x34]
call fcn.10009e44
and dword [ebp - 4], 0
cmp dword [ebp - 0x148], 5
jne 0x10092199
cmp dword [ebp - 0x144], 1
jne 0x10092199
mov ecx, dword [ebp - 0x1cc]
call fcn.10091c73
test eax, eax
je 0x1009218a
push str._xpx64_
lea ecx, [ebp - 0x34]
call fcn.10020c69
jmp 0x10092197
push str._xp_
lea ecx, [ebp - 0x34]
call fcn.10020c69
jmp 0x100921e0
cmp dword [ebp - 0x148], 6
jb 0x100921cf
mov ecx, dword [ebp - 0x1cc]
call fcn.10091c73
test eax, eax
je 0x100921c0
push str._win7x64_
lea ecx, [ebp - 0x34]
call fcn.10020c69
jmp 0x100921cd
push str._win7_
lea ecx, [ebp - 0x34]
call fcn.10020c69
jmp 0x100921e0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.100014b1
jmp 0x100923bf
lea ecx, [ebp - 0x160]
call fcn.100014d7
mov byte [ebp - 4], 1
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x1cc]
add ecx, 4
call fcn.10013c9c
lea eax, [ebp - 0x1a4]
push eax
mov ecx, dword [ebp - 0x1cc]
add ecx, 4
call fcn.10013cbf
push eax
lea ecx, [ebp - 0x14]
call fcn.100404ee
movzx eax, al
test eax, eax
je 0x10092330
lea ecx, [ebp - 0x14]
call fcn.10017123
push eax
lea ecx, [ebp - 0x198]
call fcn.10001479
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x14]
call fcn.10017123
add eax, 0x1c
push eax
lea ecx, [ebp - 0x17c]
call fcn.10001479
mov byte [ebp - 4], 3
push 0
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x198]
call fcn.10043051
cmp eax, 0xffffffff
je 0x10092305
push 0
push 0x5b
lea ecx, [ebp - 0x198]
call fcn.10004d8c
mov dword [ebp - 0x19c], eax
cmp dword [ebp - 0x19c], 0
je 0x10092305
push dword [ebp - 0x19c]
push 0
lea eax, [ebp - 0x198]
push eax
lea ecx, [ebp - 0x1c0]
call fcn.10042fd0
mov dword [ebp - 0x1d0], eax
mov eax, dword [ebp - 0x1d0]
mov dword [ebp - 0x1d4], eax
mov byte [ebp - 4], 4
push dword [ebp - 0x1d4]
lea ecx, [ebp - 0x198]
call fcn.10004d22
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x1c0]
call fcn.100014b1
lea eax, [ebp - 0x17c]
push eax
lea eax, [ebp - 0x198]
push eax
lea ecx, [ebp - 0x160]
call fcn.100430a5
mov ecx, eax
call fcn.10004d22
lea ecx, [ebp - 0x14]
call fcn.1003e2d5
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x17c]
call fcn.100014b1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x198]
call fcn.100014b1
jmp 0x10092201
lea eax, [ebp - 0x154]
push eax
lea ecx, [ebp - 0x160]
call fcn.10013c9c
lea eax, [ebp - 0x1c8]
push eax
lea ecx, [ebp - 0x160]
call fcn.10013cbf
push eax
lea ecx, [ebp - 0x154]
call fcn.100404ee
movzx eax, al
test eax, eax
je 0x100923a4
lea ecx, [ebp - 0x154]
call fcn.10017123
add eax, 0x1c
push eax
lea ecx, [ebp - 0x154]
call fcn.10017123
push eax
mov ecx, dword [ebp - 0x1cc]
add ecx, 4
call fcn.100430a5
mov ecx, eax
call fcn.10004d22
lea ecx, [ebp - 0x154]
call fcn.1003e2d5
jmp 0x10092342
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x160]
call fcn.1003d85b
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.100014b1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.1006ef11
leave
ret