Function at 0x100b5220
Capabilities:
Check os version
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2bc
mov eax, dword [0x10163164]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x20c]
push esi
push edi
push ebx
push str..CtrlSM
push str._s_s
push 0x104
push eax
xor esi, esi
call fcn.100b5e40
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]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
test byte [0x1017326c], 4
mov ecx, eax
mov dword [ebp - 0x2b0], ecx
jne 0x100b52e3
nop
cmp edi, 0xffffffff
jne 0x100b52ec
inc esi
mov eax, esi
sub eax, 1
jne 0x100b5517
push eax
push ebx
call fcn.100b55e0
add esp, 8
lea eax, [ebp - 0x20c]
push 0
push 0x40000000
push 3
push 0
push 0
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
test byte [0x1017326c], 4
mov ecx, eax
mov dword [ebp - 0x2b0], ecx
je 0x100b5290
cmp edi, 0xffffffff
je 0x100b5517
push 0x9c
lea eax, [ebp - 0x2a8]
push 0
push eax
call fcn.100c2fd0
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 - 0x2b4]
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 0x100b53a8
cmp dword [ebp - 0x2b4], 0
jbe 0x100b53a8
push str.aswstm
push str.SYSTEMCurrentControlSetServices_s
lea eax, [ebp - 0x108]
push 0x104
push eax
call fcn.100b5e40
add esp, 0x10
lea eax, [ebp - 0x2ac]
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 0x100b5511
push dword [ebp - 0x2ac]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 1
jmp 0x100b5508
mov eax, dword [ebp - 0x2a4]
cmp eax, 6
jb 0x100b53c6
jne 0x100b5511
cmp dword [ebp - 0x2a0], 1
ja 0x100b5511
push str.nisdrv
push str.SYSTEMCurrentControlSetServices_s
lea eax, [ebp - 0x108]
mov dword [ebp - 0x2b4], 0
push 0x104
push eax
call fcn.100b5e40
add esp, 0x10
lea eax, [ebp - 0x2ac]
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
jne 0x100b5531
push dword [ebp - 0x2ac]
call esi
push ebx
push str.SYSTEMCurrentControlSetServices_s
lea eax, [ebp - 0x108]
push 0x104
push eax
call fcn.100b5e40
add esp, 0x10
lea eax, [ebp - 0x2ac]
push eax
push 3
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 0x100b54bf
lea eax, [ebp - 0x2b8]
mov dword [ebp - 0x2b8], 4
push eax
lea eax, [ebp - 0x2b4]
push eax
lea eax, [ebp - 0x2bc]
push eax
push 0
push 0x1011db14
push dword [ebp - 0x2ac]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 0x2ac]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
sete al
test al, al
je 0x100b54b9
cmp dword [ebp - 0x2b4], 0
jne 0x100b54b9
push 0
push ebx
call fcn.100b5a80
add esp, 8
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push str.aswstm
push str.SYSTEMCurrentControlSetServices_s
lea eax, [ebp - 0x108]
push 0x104
push eax
call fcn.100b5e40
add esp, 0x10
lea eax, [ebp - 0x2b8]
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 0x100b5511
push dword [ebp - 0x2b8]
call esi
push 0
push ebx
call fcn.100b5960
add esp, 8
mov ecx, dword [ebp - 0x2b0]
push ecx
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.100b8868
mov esp, ebp
pop ebp
ret
push str.360netmon
call fcn.100b58e0
add esp, 4
test al, al
jne 0x100b5421
push str.symnets
call fcn.100b58e0
add esp, 4
test al, al
jne 0x100b5421
lea eax, [ebp - 0x2b4]
push eax
push ebx
push 0
call fcn.100b4ff0
add esp, 0xc
jmp 0x100b54bf