Function at 0x103c082
Capabilities:
Get token membership

Disassembly:
push 0xb4
mov eax, 0x10cd858
call fcn.010b53c2
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edi, 0x10024b4
mov dword [ebp - 0xa0], edi
mov dword [ebp - 0x9c], eax
or dword [ebp - 0x6c], 0xffffffff
xor esi, esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x70], edi
or dword [ebp - 0x74], 0xffffffff
mov dword [ebp - 0x78], edi
lea ecx, [ebp - 0x6c]
push ecx
push 0x2000a
push eax
mov byte [ebp - 4], 2
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
cmp eax, esi
jne 0x103c16e
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
push 7
lea ecx, [ebp - 0x68]
mov edi, eax
call fcn.01033bfc
push 0x10042d8
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 3
call fcn.01033c5d
push edi
lea eax, [ebp - 0xc0]
push eax
call fcn.0103e9b9
push eax
lea eax, [ebp - 0x98]
push 0x10042b0
push eax
mov byte [ebp - 4], 4
call fcn.01033a74
add esp, 0xc
push eax
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 5
call fcn.01033bb7
push esi
push 1
lea ecx, [ebp - 0x98]
call fcn.01032f16
push esi
mov byte [ebp - 4], 3
push 1
lea ecx, [ebp - 0xc0]
call fcn.01032f16
lea eax, [ebp - 0x68]
push eax
lea ecx, [ebp - 0x90]
call fcn.010907af
push 0x10de07c
lea eax, [ebp - 0x90]
push eax
call fcn.010b4e4c
lea eax, [ebp - 0x74]
push eax
push 2
push dword [ebp - 0x6c]
call dword [sym.imp.ADVAPI32.dll_DuplicateToken]
cmp eax, esi
jne 0x103c1f8
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
push 7
lea ecx, [ebp - 0x68]
mov edi, eax
call fcn.01033bfc
push 0x1004200
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 6
call fcn.01033c5d
push edi
lea eax, [ebp - 0x98]
push eax
call fcn.0103e9b9
push eax
lea eax, [ebp - 0xc0]
push 0x10041dc
push eax
mov byte [ebp - 4], 7
call fcn.01033a74
add esp, 0xc
push eax
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 8
call fcn.01033bb7
push esi
push 1
lea ecx, [ebp - 0xc0]
call fcn.01032f16
mov byte [ebp - 4], 6
push esi
push 1
lea ecx, [ebp - 0x98]
jmp 0x103c149
lea eax, [ebp - 0xa4]
push eax
lea eax, [ebp - 0x54]
push eax
push esi
push 0x1a
mov dword [ebp - 0xa4], 0x44
call dword [sym.imp.ADVAPI32.dll_CreateWellKnownSid]
cmp eax, esi
jne 0x103c288
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
push 7
lea ecx, [ebp - 0x68]
mov edi, eax
call fcn.01033bfc
push 0x1004200
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 9
call fcn.01033c5d
push edi
lea eax, [ebp - 0x98]
push eax
call fcn.0103e9b9
push eax
lea eax, [ebp - 0xc0]
push 0x10041b4
push eax
mov byte [ebp - 4], 0xa
call fcn.01033a74
add esp, 0xc
push eax
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0xb
call fcn.01033bb7
push esi
push 1
lea ecx, [ebp - 0xc0]
call fcn.01032f16
mov byte [ebp - 4], 9
jmp 0x103c1ea
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x54]
push eax
push dword [ebp - 0x74]
mov dword [ebp - 0x7c], esi
call dword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
cmp eax, esi
jne 0x103c30e
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
push 7
lea ecx, [ebp - 0x68]
mov edi, eax
call fcn.01033bfc
push 0x1004200
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 0xc
call fcn.01033c5d
push edi
lea eax, [ebp - 0x98]
push eax
call fcn.0103e9b9
push eax
lea eax, [ebp - 0xc0]
push 0x1004188
push eax
mov byte [ebp - 4], 0xd
call fcn.01033a74
add esp, 0xc
push eax
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0xe
call fcn.01033bb7
push esi
push 1
lea ecx, [ebp - 0xc0]
call fcn.01032f16
mov byte [ebp - 4], 0xc
jmp 0x103c1ea
cmp dword [ebp - 0x7c], esi
jne 0x103c341
push esi
push 0xb
lea ecx, [ebp - 0x90]
call fcn.01033bfc
lea eax, [ebp - 0x90]
push eax
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 0xf
call fcn.010907af
push 0x10de07c
lea eax, [ebp - 0x68]
jmp 0x103c168
lea ecx, [ebp - 0x78]
mov dword [ebp - 0x78], edi
call fcn.010350c3
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x70], edi
call fcn.010350c3
lea ecx, [ebp - 0xa0]
mov dword [ebp - 0xa0], edi
call fcn.010350c3
call fcn.010b5454
ret