Function at 0x10090ae0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2b4
mov eax, dword [0x10105230]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push ebx
push str..CtrlSM
push str._s_s
mov dword [ebp - 0x2ac], eax
xor esi, esi
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x2b4], esi
push 0x104
push eax
call fcn.100918d0
add esp, 0x14
lea eax, [ebp - 0x20c]
push esi
push 0x40000000
push 3
push esi
push esi
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
test byte [0x1010d9ec], 4
mov edi, eax
jne 0x10090ba6
cmp edi, 0xffffffff
jne 0x10090baf
inc esi
mov eax, esi
sub eax, 1
jne 0x10090d90
push dword [ebp - 0x2ac]
push ebx
call fcn.10091180
add esp, 8
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0
push 0x40000000
push 3
push 0
push 0
mov dword [ebp - 0x2b4], eax
lea eax, [ebp - 0x20c]
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
test byte [0x1010d9ec], 4
mov edi, eax
je 0x10090b50
cmp edi, 0xffffffff
je 0x10090d90
push 0x98
lea eax, [ebp - 0x2a4]
push 0
push eax
call fcn.10097780
add esp, 0xc
mov dword [ebp - 0x2a8], 0x9c
lea eax, [ebp - 0x2a8]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
push 0
lea eax, [ebp - 0x2b0]
mov dword [ebp - 0x2ac], 0
push eax
push 4
lea eax, [ebp - 0x2ac]
push eax
push 0
push 0
push 0x22019c
push edi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x10090c6b
cmp dword [ebp - 0x2b0], 0
jbe 0x10090c6b
push 0x100df2cc
push 0x100df1e0
lea eax, [ebp - 0x108]
push 0x104
push eax
call fcn.100918d0
add esp, 0x10
lea eax, [ebp - 0x2b0]
push eax
push 1
push 0
lea eax, [ebp - 0x108]
push eax
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x10090d90
push dword [ebp - 0x2b0]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 1
jmp 0x10090d87
cmp dword [ebp - 0x2a4], 6
jb 0x10090c87
jne 0x10090d90
cmp dword [ebp - 0x2a0], 1
ja 0x10090d90
push str.nisdrv
push 0x100df1e0
lea eax, [ebp - 0x108]
mov dword [ebp - 0x2ac], 0
push 0x104
push eax
call fcn.100918d0
add esp, 0x10
lea eax, [ebp - 0x2b0]
push eax
push 1
push 0
lea eax, [ebp - 0x108]
push eax
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x10090d0c
push str.360netmon
call fcn.10091380
add esp, 4
test al, al
jne 0x10090d14
push str.symnets
call fcn.10091380
add esp, 4
test al, al
jne 0x10090d14
lea eax, [ebp - 0x2ac]
push eax
push ebx
push 0
call fcn.10090fa0
add esp, 0xc
jmp 0x10090d3e
push dword [ebp - 0x2b0]
call esi
lea eax, [ebp - 0x2ac]
push eax
push ebx
push 1
call fcn.10090fa0
add esp, 0xc
test al, al
je 0x10090d3e
cmp dword [ebp - 0x2ac], 0
jne 0x10090d3e
push 0
push ebx
call fcn.10091520
add esp, 8
push str.aswstm
push 0x100df1e0
lea eax, [ebp - 0x108]
push 0x104
push eax
call fcn.100918d0
add esp, 0x10
lea eax, [ebp - 0x2b0]
push eax
push 1
push 0
lea eax, [ebp - 0x108]
push eax
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x10090d90
push dword [ebp - 0x2b0]
call esi
push 0
push ebx
call fcn.10091400
add esp, 8
push dword [ebp - 0x2b4]
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10094e23
mov esp, ebp
pop ebp
ret