Function at 0x100786a0
Capabilities:
Check os version
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c4
mov eax, dword [0x1010f16c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
xor esi, esi
mov dword [ebp - 0x21c], 0x2a5b282f
push edi
mov dword [ebp - 0x218], 0x160b0c34
xor ecx, ecx
mov dword [ebp - 0x214], 0x39141937
mov dword [ebp - 0x210], 0x100e410
mov al, cl
add al, 0x73
xor byte [ebp + ecx - 0x21c], al
inc ecx
cmp ecx, 0xe
jb 0x100786e5
push ebx
lea eax, [ebp - 0x21c]
mov byte [ebp - 0x20d], 0
push eax
push 0x100e47a4
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.100791b0
add esp, 0x14
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 [0x10112904], 4
mov ecx, eax
mov dword [ebp - 0x2bc], ecx
jne 0x100787a9
cmp edi, 0xffffffff
jne 0x100787b2
inc esi
mov eax, esi
sub eax, 1
jne 0x10078967
push eax
push ebx
call fcn.10078a30
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 [0x10112904], 4
mov ecx, eax
mov dword [ebp - 0x2bc], ecx
je 0x10078756
cmp edi, 0xffffffff
je 0x10078967
push 0x98
lea eax, [ebp - 0x2b4]
push 0
push eax
call fcn.100a8dc0
add esp, 0xc
mov dword [ebp - 0x2b8], 0x9c
lea eax, [ebp - 0x2b8]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
push 0
lea eax, [ebp - 0x2c0]
mov dword [ebp - 0x2c4], 0
push eax
push 4
lea eax, [ebp - 0x2c4]
push eax
push 0
push 0
push 0x22019c
push edi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x1007886e
cmp dword [ebp - 0x2c0], 0
jbe 0x1007886e
push str.aswstm
push str.SYSTEMCurrentControlSetServices_s
lea eax, [ebp - 0x108]
push 0x104
push eax
call fcn.100791b0
add esp, 0x10
lea eax, [ebp - 0x2c0]
push eax
push 1
push 0
lea eax, [ebp - 0x108]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x10078961
push dword [ebp - 0x2c0]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 1
jmp 0x10078958
cmp dword [ebp - 0x2b4], 6
jb 0x1007888a
jne 0x10078961
cmp dword [ebp - 0x2b0], 1
ja 0x10078961
push str.nisdrv
push str.SYSTEMCurrentControlSetServices_s
lea eax, [ebp - 0x108]
mov dword [ebp - 0x2c4], 0
push 0x104
push eax
call fcn.100791b0
add esp, 0x10
lea eax, [ebp - 0x2c0]
push eax
push 1
push 0
lea eax, [ebp - 0x108]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x10078981
push dword [ebp - 0x2c0]
call esi
lea eax, [ebp - 0x2c4]
push eax
push ebx
push 1
call fcn.100783d0
add esp, 0xc
test al, al
je 0x1007890f
cmp dword [ebp - 0x2c4], 0
jne 0x1007890f
push 0
push ebx
call fcn.10078e00
add esp, 8
push str.aswstm
push str.SYSTEMCurrentControlSetServices_s
lea eax, [ebp - 0x108]
push 0x104
push eax
call fcn.100791b0
add esp, 0x10
lea eax, [ebp - 0x2c0]
push eax
push 1
push 0
lea eax, [ebp - 0x108]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x10078961
push dword [ebp - 0x2c0]
call esi
push 0
push ebx
call fcn.10078cd0
add esp, 8
mov ecx, dword [ebp - 0x2bc]
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.100908e7
mov esp, ebp
pop ebp
ret
push str.360netmon
call fcn.10078c50
add esp, 4
test al, al
jne 0x100788e5
push str.symnets
call fcn.10078c50
add esp, 4
test al, al
jne 0x100788e5
lea eax, [ebp - 0x2c4]
push eax
push ebx
push 0
call fcn.100783d0
add esp, 0xc
jmp 0x1007890f