Function at 0x1008d5e0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2b4
mov eax, dword [0x10100230]
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.1008e630
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 [0x10106efc], 4
mov edi, eax
jne 0x1008d6a6
cmp edi, 0xffffffff
jne 0x1008d6af
inc esi
mov eax, esi
sub eax, 1
jne 0x1008d890
push dword [ebp - 0x2ac]
push ebx
call fcn.1008de90
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 [0x10106efc], 4
mov edi, eax
je 0x1008d650
cmp edi, 0xffffffff
je 0x1008d890
push 0x98
lea eax, [ebp - 0x2a4]
push 0
push eax
call fcn.100942c0
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 0x1008d76b
cmp dword [ebp - 0x2b0], 0
jbe 0x1008d76b
push 0x100db2f4
push 0x100db1c0
lea eax, [ebp - 0x108]
push 0x104
push eax
call fcn.1008e630
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 0x1008d890
push dword [ebp - 0x2b0]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 1
jmp 0x1008d887
cmp dword [ebp - 0x2a4], 6
jb 0x1008d787
jne 0x1008d890
cmp dword [ebp - 0x2a0], 1
ja 0x1008d890
push str.nisdrv
push 0x100db1c0
lea eax, [ebp - 0x108]
mov dword [ebp - 0x2ac], 0
push 0x104
push eax
call fcn.1008e630
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 0x1008d80c
push str.360netmon
call fcn.1008e0e0
add esp, 4
test al, al
jne 0x1008d814
push str.symnets
call fcn.1008e0e0
add esp, 4
test al, al
jne 0x1008d814
lea eax, [ebp - 0x2ac]
push eax
push ebx
push 0
call fcn.1008daa0
add esp, 0xc
jmp 0x1008d83e
push dword [ebp - 0x2b0]
call esi
lea eax, [ebp - 0x2ac]
push eax
push ebx
push 1
call fcn.1008daa0
add esp, 0xc
test al, al
je 0x1008d83e
cmp dword [ebp - 0x2ac], 0
jne 0x1008d83e
push 0
push ebx
call fcn.1008e280
add esp, 8
push str.aswstm
push 0x100db1c0
lea eax, [ebp - 0x108]
push 0x104
push eax
call fcn.1008e630
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 0x1008d890
push dword [ebp - 0x2b0]
call esi
push 0
push ebx
call fcn.1008e160
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.10091bd4
mov esp, ebp
pop ebp
ret