Function at 0x10007030
Capabilities:
Check os version
Get session user name
List user accounts for group

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10156f73
mov eax, dword fs:[0]
push eax
sub esp, 0x374
mov eax, dword [0x101bd00c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 0x364], eax
push 1
mov dword [ebp - 0x380], esi
mov dword [esi], eax
mov dword [ebp - 0x218], eax
call fcn.1010cc02
mov dword [ebp - 0x218], eax
push 0x118
push 0
mov byte [eax], 0
lea eax, [ebp - 0x358]
push eax
call fcn.10124cd0
add esp, 0x10
mov dword [ebp - 0x35c], 0x11c
lea eax, [ebp - 0x35c]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x100070ca
cmp dword [ebp - 0x358], 6
mov eax, dword [ebp - 0x218]
setae cl
mov byte [eax], cl
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x218]
call fcn.1007c8b0
push 0x202
lea eax, [ebp - 0x214]
xor bl, bl
push 0
push eax
call fcn.10124cd0
add esp, 0xc
mov dword [ebp - 0x220], 0x100
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
test eax, eax
je 0x10007210
cmp word [ebp - 0x214], 0
je 0x10007210
lea eax, [ebp - 0x224]
mov dword [ebp - 0x360], 0
push eax
lea eax, [ebp - 0x228]
mov dword [ebp - 0x21c], 0
push eax
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x228], 0
push eax
push 0x400
lea eax, [ebp - 0x360]
mov dword [ebp - 0x224], 0
push eax
push 1
push str.Administrators
push 0
call dword [sym.imp.NETAPI32.dll_NetLocalGroupGetMembers]
test eax, eax
je 0x1000718f
cmp eax, 0xea
jne 0x10007210
mov edi, dword [ebp - 0x21c]
test edi, edi
je 0x100071f5
mov esi, dword [ebp - 0x360]
add esi, 8
mov eax, dword [esi]
lea ecx, [ebp - 0x214]
nop word [eax + eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x100071d6
test dx, dx
je 0x100071d2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x100071d6
add eax, 4
add ecx, 4
test dx, dx
jne 0x100071b0
xor eax, eax
jmp 0x100071db
sbb eax, eax
or eax, 1
test eax, eax
movzx ebx, bl
mov eax, 1
cmove ebx, eax
add esi, 0xc
sub edi, eax
jne 0x100071a2
mov esi, dword [ebp - 0x380]
mov eax, dword [ebp - 0x360]
test eax, eax
je 0x10007210
push eax
call dword [sym.imp.NETAPI32.dll_NetApiBufferFree]
mov dword [ebp - 0x360], 0
lea ecx, [ebp - 0x218]
call fcn.1007cc20
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x218]
call fcn.1007bfe0
test bl, bl
jne 0x1000723c
mov dword [esi], 2
jmp 0x1000742a
push 0x11
xor eax, eax
mov dword [ebp - 0x36c], 0
mov dword [ebp - 0x368], 0
lea ecx, [ebp - 0x37c]
push str.2345RTProtect.exe
mov dword [ebp - 0x36c], 0
mov dword [ebp - 0x368], 7
mov word [ebp - 0x37c], ax
call fcn.10003600
mov dword [ebp - 4], 1
lea edx, [ebp - 0x37c]
lea ecx, [ebp - 0x240]
call fcn.1002d340
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x368]
cmp edx, 8
jb 0x100072db
mov ecx, dword [ebp - 0x37c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100072d1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10007448
push edx
push ecx
call fcn.1010cf95
add esp, 8
xor eax, eax
mov dword [ebp - 0x36c], 0
mov dword [ebp - 0x368], 7
mov word [ebp - 0x37c], ax
cmp dword [ebp - 0x230], eax
je 0x10007341
lea ecx, [ebp - 0x240]
call fcn.1007fb60
test al, al
je 0x10007341
push str.2345RTProtect.exe
lea ecx, [ebp - 0x37c]
call fcn.10003520
mov byte [ebp - 4], 4
mov eax, 1
lea ecx, [ebp - 0x37c]
mov dword [ebp - 0x364], eax
call fcn.100794d0
test al, al
je 0x10007341
xor bl, bl
jmp 0x10007343
mov bl, 1
mov dword [ebp - 4], 3
mov eax, dword [ebp - 0x364]
test al, 1
je 0x100073ba
and eax, 0xfffffffe
mov dword [ebp - 0x364], eax
mov edx, dword [ebp - 0x368]
cmp edx, 8
jb 0x1000739d
mov ecx, dword [ebp - 0x37c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10007393
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000744d
push edx
push ecx
call fcn.1010cf95
add esp, 8
xor eax, eax
mov dword [ebp - 0x36c], 0
mov dword [ebp - 0x368], 7
mov word [ebp - 0x37c], ax
xor eax, eax
test bl, bl
setne al
lea eax, [eax*2 + 1]
mov dword [esi], eax
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x22c]
cmp edx, 8
jb 0x1000740d
mov ecx, dword [ebp - 0x240]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10007403
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10007452
push edx
push ecx
call fcn.1010cf95
add esp, 8
xor eax, eax
mov dword [ebp - 0x230], 0
mov dword [ebp - 0x22c], 7
mov word [ebp - 0x240], ax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1010cbf1
mov esp, ebp
pop ebp
ret 4
call fcn.1012cb39
call fcn.1012cb39
call fcn.1012cb39
int3