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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc8
mov eax, dword [0x10062698]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x10063f30]
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 0x100114b5
or eax, 1
mov dword [0x10063f30], eax
call fcn.100018f0
mov ecx, eax
test ecx, ecx
je 0x100118d1
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov ecx, 0x10063f2c
push 0x1004ce50
mov dword [0x10063f2c], eax
call fcn.10003bf0
test al, al
jne 0x100114a3
push 3
push 0x1004ce50
mov ecx, 0x10063f2c
call fcn.10005170
push 0x10048550
call fcn.1001b499
mov eax, dword [0x10063f30]
add esp, 4
test al, 2
jne 0x100114da
or eax, 2
push 0
push 0x10063f34
mov dword [0x10063f30], eax
call fcn.10018350
push 0x10048530
call fcn.1001b499
add esp, 0xc
mov eax, dword [0x10063f34]
mov ecx, dword [eax - 0xc]
test ecx, ecx
je 0x10011520
push ecx
mov esi, dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
push eax
call esi
test eax, eax
je 0x100118cc
mov dword [edi], eax
mov eax, dword [0x10063f2c]
push dword [eax - 0xc]
push eax
call esi
test eax, eax
je 0x100118cc
mov ecx, dword [ebp - 4]
pop edi
pop esi
mov dword [ebx], eax
xor ecx, ebp
pop ebx
call fcn.1001b4ae
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0xb4]
push 1
push eax
call fcn.10018350
add esp, 8
mov ecx, 0x10063f34
push eax
call fcn.100036f0
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 0x1001155c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [0x10063f34]
cmp dword [eax - 0xc], 0
jne 0x1001159e
lea eax, [ebp - 0xb4]
push 2
push eax
call fcn.10018350
add esp, 8
mov ecx, 0x10063f34
push eax
call fcn.100036f0
mov edx, dword [ebp - 0xb4]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x1001159e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 4
push str.mid2
mov ecx, 0x10063f2c
call fcn.10005170
mov eax, dword [0x10063f34]
cmp dword [eax - 0xc], 0
je 0x100118bf
cmp dword [0x100615d8], 0
je 0x10011669
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 0x10011659
push str.RtlGetNtVersionNumbers
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10011635
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 0x10011659
mov eax, dword [0x10063f28]
mov ecx, 1
cmp dword [ebp - 0xb8], 6
cmovae eax, ecx
mov dword [0x10063f28], eax
mov edi, dword [ebp - 0xc4]
mov dword [0x100615d8], 0
cmp dword [0x10063f28], 0
je 0x100118bf
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 0x100116f4
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 0x100118bf
lea eax, [ebp - 0xb4]
mov dword [ebp - 0xb4], 0
push eax
push 0x201
push 0
push dword [0x10063f34]
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10011850
mov esi, dword [ebp - 0xb4]
push 0x64
push eax
lea eax, [ebp - 0xa8]
push eax
call fcn.10023e50
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 0x1004ce50
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x100117a1
mov eax, dword [ebp - 0xc4]
cmp eax, 1
je 0x1001177e
cmp eax, 2
jne 0x100117a1
mov eax, dword [ebp - 0xb8]
test eax, eax
je 0x1001182b
test al, 1
jne 0x100117a1
shr eax, 1
cmp word [ebp + eax*2 - 0xaa], 0
je 0x10011834
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
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x100117e0
sub edx, ecx
lea eax, [ebp - 0x24]
sar edx, 1
mov ecx, 0x10063f34
push edx
push eax
call fcn.10005170
push 2
push 0x1004ca24
mov ecx, 0x10063f2c
call fcn.10005170
test esi, esi
je 0x100118bf
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [0x10063f34]
push dword [eax - 0xc]
jmp 0x100114e7
xor eax, eax
mov word [ebp - 0xa8], ax
test esi, esi
je 0x100118bf
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [0x10063f34]
push dword [eax - 0xc]
jmp 0x100114e7
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 0x10011890
sub ecx, edx
lea eax, [ebp - 0x44]
sar ecx, 1
push ecx
push eax
mov ecx, 0x10063f34
call fcn.10005170
push 2
push 0x1004ca24
mov ecx, 0x10063f2c
call fcn.10005170
mov eax, dword [0x10063f34]
push dword [eax - 0xc]
jmp 0x100114e7
call fcn.10001d70
push 0x80004005
call fcn.10001ab0
int3