Function at 0x1009b0e2
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ca09d
mov eax, dword fs:[0]
push eax
sub esp, 0x1cc
mov eax, dword [0x100f93e0]
xor eax, ebp
mov dword [ebp - 0x18], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1d0], ecx
push 0x114
push 0
lea eax, [ebp - 0x14c]
push eax
call fcn.100771d0
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 0x1009b149
jmp 0x1009b41f
and dword [ebp - 0x164], 0
movzx eax, byte [ebp + 8]
test eax, eax
je 0x1009b169
mov ecx, dword [ebp - 0x1d0]
call fcn.1009abb7
mov dword [ebp - 0x164], eax
lea ecx, [ebp - 0x34]
call fcn.10008684
and dword [ebp - 4], 0
cmp dword [ebp - 0x148], 5
jne 0x1009b1d2
cmp dword [ebp - 0x144], 1
jne 0x1009b1d2
mov ecx, dword [ebp - 0x1d0]
call fcn.1009a4b9
test eax, eax
je 0x1009b1a5
push str._xpx64_
lea ecx, [ebp - 0x34]
call fcn.1000866e
jmp 0x1009b1d0
push str._xp_
lea ecx, [ebp - 0x34]
call fcn.1000866e
cmp dword [ebp - 0x164], 0
je 0x1009b1d0
movzx eax, byte [ebp + 8]
test eax, eax
je 0x1009b1d0
push str._xp_qd_
lea ecx, [ebp - 0x34]
call fcn.1000866e
jmp 0x1009b240
cmp dword [ebp - 0x148], 6
jne 0x1009b22f
cmp dword [ebp - 0x144], 1
jne 0x1009b22f
mov ecx, dword [ebp - 0x1d0]
call fcn.1009a4b9
test eax, eax
je 0x1009b202
push str._win7x64_
lea ecx, [ebp - 0x34]
call fcn.1000866e
jmp 0x1009b22d
push str._win7_
lea ecx, [ebp - 0x34]
call fcn.1000866e
cmp dword [ebp - 0x164], 0
je 0x1009b22d
movzx eax, byte [ebp + 8]
test eax, eax
je 0x1009b22d
push str._win7_qd_
lea ecx, [ebp - 0x34]
call fcn.1000866e
jmp 0x1009b240
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.100014d3
jmp 0x1009b41f
lea ecx, [ebp - 0x160]
call fcn.100014f9
mov byte [ebp - 4], 1
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x1d0]
add ecx, 4
call fcn.10005a1b
lea eax, [ebp - 0x1a8]
push eax
mov ecx, dword [ebp - 0x1d0]
add ecx, 4
call fcn.10005a3e
push eax
lea ecx, [ebp - 0x14]
call fcn.10043709
movzx eax, al
test eax, eax
je 0x1009b390
lea ecx, [ebp - 0x14]
call fcn.10046a11
push eax
lea ecx, [ebp - 0x19c]
call fcn.1000149b
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x14]
call fcn.10046a11
add eax, 0x1c
push eax
lea ecx, [ebp - 0x180]
call fcn.1000149b
mov byte [ebp - 4], 3
push 0
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x19c]
call fcn.1004a64b
cmp eax, 0xffffffff
je 0x1009b365
push 0
push 0x5b
lea ecx, [ebp - 0x19c]
call fcn.1000926d
mov dword [ebp - 0x1a0], eax
cmp dword [ebp - 0x1a0], 0
je 0x1009b365
push dword [ebp - 0x1a0]
push 0
lea eax, [ebp - 0x19c]
push eax
lea ecx, [ebp - 0x1c4]
call fcn.1004a5ca
mov dword [ebp - 0x1d4], eax
mov eax, dword [ebp - 0x1d4]
mov dword [ebp - 0x1d8], eax
mov byte [ebp - 4], 4
push dword [ebp - 0x1d8]
lea ecx, [ebp - 0x19c]
call fcn.100091dd
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x1c4]
call fcn.100014d3
lea eax, [ebp - 0x180]
push eax
lea eax, [ebp - 0x19c]
push eax
lea ecx, [ebp - 0x160]
call fcn.1004a69f
mov ecx, eax
call fcn.100091dd
lea ecx, [ebp - 0x14]
call fcn.100439a1
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x180]
call fcn.100014d3
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x19c]
call fcn.100014d3
jmp 0x1009b261
lea eax, [ebp - 0x154]
push eax
lea ecx, [ebp - 0x160]
call fcn.10005a1b
lea eax, [ebp - 0x1cc]
push eax
lea ecx, [ebp - 0x160]
call fcn.10005a3e
push eax
lea ecx, [ebp - 0x154]
call fcn.10043709
movzx eax, al
test eax, eax
je 0x1009b404
lea ecx, [ebp - 0x154]
call fcn.10046a11
add eax, 0x1c
push eax
lea ecx, [ebp - 0x154]
call fcn.10046a11
push eax
mov ecx, dword [ebp - 0x1d0]
add ecx, 4
call fcn.1004a69f
mov ecx, eax
call fcn.100091dd
lea ecx, [ebp - 0x154]
call fcn.100439a1
jmp 0x1009b3a2
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x160]
call fcn.10042d7b
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.100014d3
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.100771ba
leave
ret 4