Function at 0x48bf0e
Capabilities:
Get token membership

Disassembly:
push 0xf4
mov eax, 0x46fc24
call fcn.00467994
mov edi, ecx
mov dword [ebp - 0xc4], edi
xor ebx, ebx
mov dword [ebp - 0xcc], ebx
mov dword [ebp - 0xd8], ebx
mov dword [ebp - 0xdc], ebx
call dword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoImpersonateClient]
mov dword [ebp - 0xc8], eax
lea eax, [ebp - 0xc0]
mov dword [ebp - 4], ebx
push eax
push 1
push 8
call dword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetCurrentThread]
push eax
call dword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_OpenThreadToken]
mov esi, eax
mov dword [ebp - 0xbc], esi
test esi, esi
jne 0x48bf8d
call dword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
cmp eax, 0x3f0
jne 0x48c02a
mov dword [ebp - 0xc0], ebx
mov dword [ebp - 0xbc], 1
push 0x4a1414
push 1
push 0x4a13fc
lea ecx, [ebp - 0xd0]
call fcn.00428e62
push 0x4a142c
push 2
push 0x4a140c
lea ecx, [ebp - 0xd4]
mov byte [ebp - 4], 1
call fcn.00428e62
mov edi, dword [ebp - 0xd0]
lea eax, [ebp - 0xd8]
push eax
push edi
push dword [ebp - 0xc0]
call dword [sym.imp.api_ms_win_security_base_l1_1_0.dll_CheckTokenMembership]
mov esi, dword [ebp - 0xd4]
lea eax, [ebp - 0xdc]
push eax
push esi
push dword [ebp - 0xc0]
call dword [sym.imp.api_ms_win_security_base_l1_1_0.dll_CheckTokenMembership]
cmp dword [ebp - 0xc0], 0
je 0x48c008
push dword [ebp - 0xc0]
call dword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
test esi, esi
je 0x48c013
push esi
call fcn.0042c5d6
pop ecx
test edi, edi
je 0x48c01e
push edi
call fcn.0042c5d6
pop ecx
mov edi, dword [ebp - 0xc4]
mov esi, dword [ebp - 0xbc]
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0xc8], 0
jl 0x48c03d
call dword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoRevertToSelf]
test esi, esi
je 0x48c2a3
cmp dword [ebp - 0xd8], 0
jne 0x48c05b
cmp dword [ebp - 0xdc], 0
je 0x48c2a3
mov esi, dword [ebp - 0xc4]
lea ecx, [ebp - 0xfc]
add edi, 0x2c
add esi, 0x30
push edi
push esi
mov dword [ebp - 0xc0], edi
mov dword [ebp - 0xd0], esi
call fcn.00453a99
push 1
push 0x4a2f54
lea ecx, [ebp - 0xfc]
mov dword [ebp - 4], 2
call fcn.004580ab
test eax, eax
js 0x48c26c
push dword [ebp - 0xfc]
lea ecx, [ebp - 0xfc]
call fcn.0041a4f3
test eax, eax
je 0x48c17e
push eax
lea ecx, [ebp - 0xfc]
mov esi, eax
call fcn.0041a51e
mov dword [ebp - 0xd4], eax
lea ecx, [ebp - 0xbc]
lea eax, [esi + 0x24]
push eax
call fcn.00437fc6
mov byte [ebp - 4], 3
cmp dword [esi + 0x38], ebx
jne 0x48c11e
mov eax, dword [0x4a1ccc]
lea ecx, [ebp - 0xbc]
push dword [eax - 0xc]
lea eax, [ebp - 0xc8]
push eax
call fcn.00457d6c
push dword [0x4a1ccc]
or dword [ebp - 0xcc], 1
mov ecx, eax
call fcn.004557e5
mov byte [ebp - 0xb5], bl
test eax, eax
je 0x48c125
mov byte [ebp - 0xb5], 1
mov eax, dword [ebp - 0xcc]
test al, 1
je 0x48c143
and eax, 0xfffffffe
lea ecx, [ebp - 0xc8]
mov dword [ebp - 0xcc], eax
call fcn.00438070
cmp byte [ebp - 0xb5], 0
je 0x48c15b
lea eax, [esi + 0x24]
push eax
lea ecx, [ebp - 0xfc]
call fcn.00459ea9
lea ecx, [ebp - 0xbc]
mov byte [ebp - 4], 2
call fcn.00438070
mov eax, dword [ebp - 0xd4]
test eax, eax
jne 0x48c0ba
mov esi, dword [ebp - 0xd0]
mov ecx, dword [ebp - 0xc4]
lea eax, [ebp - 0xfc]
push eax
call fcn.00488d0c
lea ecx, [ebp - 0xbc]
call fcn.00437ff1
push esi
mov edx, 0x4a2f60
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xc8]
call fcn.00453f61
push eax
lea ecx, [ebp - 0xbc]
mov byte [ebp - 4], 6
call fcn.0043815c
lea ecx, [ebp - 0xc8]
call fcn.00438070
mov dword [ebp - 4], 4
jmp 0x48c200
lea ecx, [ebp - 0xb0]
mov dword [ebp - 0xb4], 0x401648
call fcn.004233d4
mov dword [ebp - 0xb4], 0x401620
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
push ebx
push 0x2001f
mov byte [ebp - 4], 8
lea ecx, [ebp - 0xb4]
push dword [ebp - 0xbc]
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.00440148
test eax, eax
js 0x48c256
push dword [edi]
lea ecx, [ebp - 0xb4]
call fcn.0043fc30
lea ecx, [ebp - 0xb4]
call fcn.004233f9
lea ecx, [ebp - 0xbc]
call fcn.00438070
lea ecx, [ebp - 0xe0]
call fcn.00438070
lea ecx, [ebp - 0xe4]
call fcn.00438070
lea ecx, [ebp - 0xfc]
call fcn.0041a23b
cmp dword [ebp - 0xe8], 0
je 0x48c2a3
push dword [ebp - 0xe8]
call dword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o_free]
pop ecx
call fcn.004678ce
ret