Function at 0x48c2cd
Capabilities:
Get token membership

Disassembly:
push 0x12c
mov eax, 0x46fcb1
call fcn.00467994
mov edi, ecx
mov dword [ebp - 0xc0], edi
xor ebx, ebx
mov dword [ebp - 0xc8], ebx
mov dword [ebp - 0xcc], ebx
call dword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoImpersonateClient]
mov dword [ebp - 0xc4], eax
lea eax, [ebp - 0xbc]
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 - 0xb8], esi
test esi, esi
jne 0x48c346
call dword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
cmp eax, 0x3f0
jne 0x48c3e3
mov dword [ebp - 0xbc], ebx
mov dword [ebp - 0xb8], 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 esi, dword [ebp - 0xd0]
lea eax, [ebp - 0xc8]
push eax
push esi
push dword [ebp - 0xbc]
call dword [sym.imp.api_ms_win_security_base_l1_1_0.dll_CheckTokenMembership]
mov edi, dword [ebp - 0xd4]
lea eax, [ebp - 0xcc]
push eax
push edi
push dword [ebp - 0xbc]
call dword [sym.imp.api_ms_win_security_base_l1_1_0.dll_CheckTokenMembership]
cmp dword [ebp - 0xbc], 0
je 0x48c3c1
push dword [ebp - 0xbc]
call dword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
test edi, edi
je 0x48c3cc
push edi
call fcn.0042c5d6
pop ecx
test esi, esi
je 0x48c3d7
push esi
call fcn.0042c5d6
pop ecx
mov edi, dword [ebp - 0xc0]
mov esi, dword [ebp - 0xb8]
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0xc4], 0
jl 0x48c3f6
call dword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoRevertToSelf]
test esi, esi
je 0x48c661
cmp dword [ebp - 0xc8], 0
jne 0x48c414
cmp dword [ebp - 0xcc], 0
je 0x48c661
lea esi, [edi + 0x2c]
add edi, 0x30
push esi
push edi
lea ecx, [ebp - 0x138]
mov dword [ebp - 0xbc], esi
call fcn.00453abd
push esi
push edi
lea ecx, [ebp - 0x118]
mov dword [ebp - 4], 2
call fcn.00453a99
push esi
push edi
lea ecx, [ebp - 0xf8]
mov byte [ebp - 4], 3
call fcn.00453a99
push ecx
push ecx
lea ecx, [ebp - 0x138]
mov byte [ebp - 4], 4
call fcn.00457f23
test eax, eax
js 0x48c5e8
push ebx
push 0x4a2f50
lea ecx, [ebp - 0xf8]
call fcn.004580ab
test eax, eax
js 0x48c5e8
push ebx
push 0x4a2f54
lea ecx, [ebp - 0x118]
call fcn.004580ab
test eax, eax
js 0x48c5e8
lea ecx, [ebp - 0x138]
call fcn.00456871
mov dword [ebp - 0xb8], eax
test eax, eax
je 0x48c4e8
mov esi, dword [ebp - 0xc0]
lea eax, [ebp - 0xb8]
push eax
lea ecx, [ebp - 0x138]
call fcn.004568bf
mov ecx, dword [eax]
add eax, 4
push eax
push ecx
mov ecx, dword [esi + 0x54]
call fcn.0045b3b2
cmp dword [ebp - 0xb8], 0
jne 0x48c4b8
mov esi, dword [ebp - 0xbc]
mov ecx, dword [ebp - 0xc0]
lea eax, [ebp - 0xf8]
push eax
call fcn.00488d0c
mov ecx, dword [ebp - 0xc0]
lea eax, [ebp - 0x118]
push eax
call fcn.00488d0c
lea ecx, [ebp - 0xb8]
call fcn.00437ff1
push edi
mov edx, 0x4a2f5c
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xc4]
call fcn.00453f61
push eax
lea ecx, [ebp - 0xb8]
mov byte [ebp - 4], 7
call fcn.0043815c
lea ecx, [ebp - 0xc4]
call fcn.00438070
mov dword [ebp - 4], 5
jmp 0x48c57c
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], 9
lea ecx, [ebp - 0xb4]
push dword [ebp - 0xb8]
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.00440148
test eax, eax
js 0x48c5d2
push dword [esi]
lea ecx, [ebp - 0xb4]
call fcn.0043fc30
lea ecx, [ebp - 0xb4]
call fcn.004233f9
lea ecx, [ebp - 0xb8]
call fcn.00438070
lea ecx, [ebp - 0xdc]
call fcn.00438070
lea ecx, [ebp - 0xe0]
call fcn.00438070
lea ecx, [ebp - 0xf8]
call fcn.0041a23b
cmp dword [ebp - 0xe4], 0
je 0x48c61f
push dword [ebp - 0xe4]
call dword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o_free]
pop ecx
lea ecx, [ebp - 0xfc]
call fcn.00438070
lea ecx, [ebp - 0x100]
call fcn.00438070
lea ecx, [ebp - 0x118]
call fcn.0041a23b
cmp dword [ebp - 0x104], 0
je 0x48c656
push dword [ebp - 0x104]
call dword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o_free]
pop ecx
lea ecx, [ebp - 0x138]
call fcn.00453b99
call fcn.004678ce
ret