Function at 0x1008d040
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2b4
mov eax, dword [0x100ff230]
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.1008e080
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 [0x10105efc], 4
mov edi, eax
jne 0x1008d106
cmp edi, 0xffffffff
jne 0x1008d10f
inc esi
mov eax, esi
sub eax, 1
jne 0x1008d2f0
push dword [ebp - 0x2ac]
push ebx
call fcn.1008d8e0
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 [0x10105efc], 4
mov edi, eax
je 0x1008d0b0
cmp edi, 0xffffffff
je 0x1008d2f0
push 0x98
lea eax, [ebp - 0x2a4]
push 0
push eax
call fcn.10093d00
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 0x1008d1cb
cmp dword [ebp - 0x2b0], 0
jbe 0x1008d1cb
push 0x100da2f4
push 0x100da1c0
lea eax, [ebp - 0x108]
push 0x104
push eax
call fcn.1008e080
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 0x1008d2f0
push dword [ebp - 0x2b0]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 1
jmp 0x1008d2e7
cmp dword [ebp - 0x2a4], 6
jb 0x1008d1e7
jne 0x1008d2f0
cmp dword [ebp - 0x2a0], 1
ja 0x1008d2f0
push str.nisdrv
push 0x100da1c0
lea eax, [ebp - 0x108]
mov dword [ebp - 0x2ac], 0
push 0x104
push eax
call fcn.1008e080
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 0x1008d26c
push str.360netmon
call fcn.1008db30
add esp, 4
test al, al
jne 0x1008d274
push str.symnets
call fcn.1008db30
add esp, 4
test al, al
jne 0x1008d274
lea eax, [ebp - 0x2ac]
push eax
push ebx
push 0
call fcn.1008d500
add esp, 0xc
jmp 0x1008d29e
push dword [ebp - 0x2b0]
call esi
lea eax, [ebp - 0x2ac]
push eax
push ebx
push 1
call fcn.1008d500
add esp, 0xc
test al, al
je 0x1008d29e
cmp dword [ebp - 0x2ac], 0
jne 0x1008d29e
push 0
push ebx
call fcn.1008dcd0
add esp, 8
push str.aswstm
push 0x100da1c0
lea eax, [ebp - 0x108]
push 0x104
push eax
call fcn.1008e080
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 0x1008d2f0
push dword [ebp - 0x2b0]
call esi
push 0
push ebx
call fcn.1008dbb0
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.10091622
mov esp, ebp
pop ebp
ret