Function at 0x100195c0
Capabilities:
Contain obfuscated stackstrings
Get token membership
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc8
mov eax, dword [0x100735cc]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x100758e0]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0xc4], edi
test al, 1
jne 0x10019645
or eax, 1
mov dword [0x100758e0], eax
call fcn.10007950
mov ecx, eax
test ecx, ecx
je 0x10019a51
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov ecx, 0x100758dc
push 0x1005b044
mov dword [0x100758dc], eax
call fcn.1000b1c0
test al, al
jne 0x10019633
push 3
push 0x1005b044
mov ecx, 0x100758dc
call fcn.10008640
push 0x100567f0
call fcn.10028407
mov eax, dword [0x100758e0]
add esp, 4
test al, 2
jne 0x1001966a
or eax, 2
push 0
push 0x100758e4
mov dword [0x100758e0], eax
call fcn.100231d0
push 0x100567d0
call fcn.10028407
add esp, 0xc
mov eax, dword [0x100758e4]
mov ecx, dword [eax - 0xc]
test ecx, ecx
je 0x100196b0
push ecx
mov esi, dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
push eax
call esi
test eax, eax
je 0x10019a4c
mov dword [edi], eax
mov eax, dword [0x100758dc]
push dword [eax - 0xc]
push eax
call esi
test eax, eax
je 0x10019a4c
mov ecx, dword [ebp - 4]
pop edi
pop esi
mov dword [ebx], eax
xor ecx, ebp
pop ebx
call fcn.10028080
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0xb4]
push 1
push eax
call fcn.100231d0
add esp, 8
mov ecx, 0x100758e4
push eax
call fcn.1000a6a0
mov edx, dword [ebp - 0xb4]
or esi, 0xffffffff
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x100196ec
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [0x100758e4]
cmp dword [eax - 0xc], 0
jne 0x1001972e
lea eax, [ebp - 0xb4]
push 2
push eax
call fcn.100231d0
add esp, 8
mov ecx, 0x100758e4
push eax
call fcn.1000a6a0
mov edx, dword [ebp - 0xb4]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x1001972e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [0x100758e4]
cmp dword [eax - 0xc], 0
je 0x10019a3f
cmp dword [0x10072450], 0
je 0x100197e8
push str.ntdll.dll
mov dword [ebp - 0xb8], 0
xor edi, edi
mov dword [ebp - 0xc8], 0
mov dword [ebp - 0xc0], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x100197d8
push str.RtlGetNtVersionNumbers
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x100197b4
lea ecx, [ebp - 0xc0]
push ecx
lea ecx, [ebp - 0xc8]
push ecx
lea ecx, [ebp - 0xb8]
push ecx
call eax
movzx eax, word [ebp - 0xc0]
mov edi, 1
mov dword [ebp - 0xc0], eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
test edi, edi
je 0x100197d8
mov eax, dword [0x100758d8]
mov ecx, 1
cmp dword [ebp - 0xb8], 6
cmovae eax, ecx
mov dword [0x100758d8], eax
mov edi, dword [ebp - 0xc4]
mov dword [0x10072450], 0
cmp dword [0x100758d8], 0
je 0x10019a3f
lea eax, [ebp - 0xb4]
mov dword [ebp - 0xb0], 0
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0x220
push 0x20
push 2
lea eax, [ebp - 0xb0]
mov word [ebp - 0xac], 0x500
push eax
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
mov dword [ebp - 0xbc], eax
test eax, eax
je 0x10019873
lea eax, [ebp - 0xbc]
push eax
push dword [ebp - 0xb4]
push 0
call dword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
push dword [ebp - 0xb4]
neg eax
sbb eax, eax
and dword [ebp - 0xbc], eax
call dword [sym.imp.ADVAPI32.dll_FreeSid]
cmp dword [ebp - 0xbc], 0
jne 0x10019a3f
lea eax, [ebp - 0xb4]
mov dword [ebp - 0xb4], 0
push eax
push 0x201
push 0
push dword [0x100758e4]
push SysStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x100199d0
mov esi, dword [ebp - 0xb4]
push 0x64
push eax
lea eax, [ebp - 0xa8]
push eax
call fcn.10030d40
add esp, 0xc
mov dword [ebp - 0xb8], 0x64
lea eax, [ebp - 0xb8]
push eax
lea eax, [ebp - 0xa8]
push eax
lea eax, [ebp - 0xc4]
push eax
push 0
push 0x1005b044
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x10019920
mov eax, dword [ebp - 0xc4]
cmp eax, 1
je 0x100198fd
cmp eax, 2
jne 0x10019920
mov eax, dword [ebp - 0xb8]
test eax, eax
je 0x100199ab
test al, 1
jne 0x10019920
shr eax, 1
cmp word [ebp + eax*2 - 0xaa], 0
je 0x100199b4
xor eax, eax
mov dword [ebp - 0x24], 0x4f0053
lea edx, [ebp - 0x24]
mov dword [ebp - 0x20], 0x540046
mov dword [ebp - 0x1c], 0x410057
lea ecx, [edx + 2]
mov dword [ebp - 0x18], 0x450052
mov dword [ebp - 0x14], 0x58005c
mov dword [ebp - 0x10], 0x410052
mov dword [ebp - 0xc], 0x32004d
mov word [ebp - 8], ax
nop dword [eax]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x10019960
sub edx, ecx
lea eax, [ebp - 0x24]
sar edx, 1
mov ecx, 0x100758e4
push edx
push eax
call fcn.10008640
push 2
push 0x1005b04c
mov ecx, 0x100758dc
call fcn.10008640
test esi, esi
je 0x10019a3f
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [0x100758e4]
push dword [eax - 0xc]
jmp 0x10019677
xor eax, eax
mov word [ebp - 0xa8], ax
test esi, esi
je 0x10019a3f
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [0x100758e4]
push dword [eax - 0xc]
jmp 0x10019677
xor eax, eax
mov dword [ebp - 0x44], 0x4f0053
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x40], 0x540046
mov dword [ebp - 0x3c], 0x410057
lea edx, [ecx + 2]
mov dword [ebp - 0x38], 0x450052
mov dword [ebp - 0x34], 0x58005c
mov dword [ebp - 0x30], 0x410052
mov dword [ebp - 0x2c], 0x32004d
mov word [ebp - 0x28], ax
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10019a10
sub ecx, edx
lea eax, [ebp - 0x44]
sar ecx, 1
push ecx
push eax
mov ecx, 0x100758e4
call fcn.10008640
push 2
push 0x1005b04c
mov ecx, 0x100758dc
call fcn.10008640
mov eax, dword [0x100758e4]
push dword [eax - 0xc]
jmp 0x10019677
call fcn.10006ae0
push 0x80004005
call fcn.10006370
int3