Function at 0x10092107
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b44b4
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.10071bc0
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 0x1009216e
jmp 0x100923df
lea ecx, [ebp - 0x34]
call fcn.10009b08
and dword [ebp - 4], 0
cmp dword [ebp - 0x148], 5
jne 0x100921b9
cmp dword [ebp - 0x144], 1
jne 0x100921b9
mov ecx, dword [ebp - 0x1cc]
call fcn.10091c93
test eax, eax
je 0x100921aa
push str._xpx64_
lea ecx, [ebp - 0x34]
call fcn.10020c5a
jmp 0x100921b7
push str._xp_
lea ecx, [ebp - 0x34]
call fcn.10020c5a
jmp 0x10092200
cmp dword [ebp - 0x148], 6
jb 0x100921ef
mov ecx, dword [ebp - 0x1cc]
call fcn.10091c93
test eax, eax
je 0x100921e0
push str._win7x64_
lea ecx, [ebp - 0x34]
call fcn.10020c5a
jmp 0x100921ed
push str._win7_
lea ecx, [ebp - 0x34]
call fcn.10020c5a
jmp 0x10092200
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.100014db
jmp 0x100923df
lea ecx, [ebp - 0x160]
call fcn.10001501
mov byte [ebp - 4], 1
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x1cc]
add ecx, 4
call fcn.1003c896
lea eax, [ebp - 0x1a4]
push eax
mov ecx, dword [ebp - 0x1cc]
add ecx, 4
call fcn.1003c8b9
push eax
lea ecx, [ebp - 0x14]
call fcn.1003f770
movzx eax, al
test eax, eax
je 0x10092350
lea ecx, [ebp - 0x14]
call fcn.10016c9c
push eax
lea ecx, [ebp - 0x198]
call fcn.100014a3
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x14]
call fcn.10016c9c
add eax, 0x1c
push eax
lea ecx, [ebp - 0x17c]
call fcn.100014a3
mov byte [ebp - 4], 3
push 0
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x198]
call fcn.1004302d
cmp eax, 0xffffffff
je 0x10092325
push 0
push 0x5b
lea ecx, [ebp - 0x198]
call fcn.10004b5f
mov dword [ebp - 0x19c], eax
cmp dword [ebp - 0x19c], 0
je 0x10092325
push dword [ebp - 0x19c]
push 0
lea eax, [ebp - 0x198]
push eax
lea ecx, [ebp - 0x1c0]
call fcn.10042fac
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.10004af5
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x1c0]
call fcn.100014db
lea eax, [ebp - 0x17c]
push eax
lea eax, [ebp - 0x198]
push eax
lea ecx, [ebp - 0x160]
call fcn.10043081
mov ecx, eax
call fcn.10004af5
lea ecx, [ebp - 0x14]
call fcn.100037cd
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x17c]
call fcn.100014db
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x198]
call fcn.100014db
jmp 0x10092221
lea eax, [ebp - 0x154]
push eax
lea ecx, [ebp - 0x160]
call fcn.1003c896
lea eax, [ebp - 0x1c8]
push eax
lea ecx, [ebp - 0x160]
call fcn.1003c8b9
push eax
lea ecx, [ebp - 0x154]
call fcn.1003f770
movzx eax, al
test eax, eax
je 0x100923c4
lea ecx, [ebp - 0x154]
call fcn.10016c9c
add eax, 0x1c
push eax
lea ecx, [ebp - 0x154]
call fcn.10016c9c
push eax
mov ecx, dword [ebp - 0x1cc]
add ecx, 4
call fcn.10043081
mov ecx, eax
call fcn.10004af5
lea ecx, [ebp - 0x154]
call fcn.100037cd
jmp 0x10092362
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x160]
call fcn.1003c6ed
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.100014db
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.1006ef21
leave
ret