Function at 0x10095500
Capabilities:
Get token privileges

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10140888
mov eax, dword fs:[0]
push eax
mov eax, 0x1090
call fcn.10123480
mov eax, dword [0x101ba518]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 4], 0
mov dword [ebp - 0x1088], 0
mov dword [ebp - 0x1098], esi
mov dword [ebp - 0x1084], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea ecx, [ebp - 0x1084]
push ecx
push 8
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x100955ba
push str.SECURITY::GetCurrentUserSID:_OpenProcessToken_failed_to_retrieve_process_access_token
lea ecx, [ebp - 0x28]
call fcn.100062a0
mov dword [ebp - 4], 1
sub esp, 8
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0x1078]
push 0
push 0
push eax
push 0x17
call fcn.1008dbf0
mov esi, eax
lea edi, [ebp - 0x850]
push 0x101b7cc0
lea eax, [ebp - 0x850]
mov ecx, 0x20a
rep movsd dword es:[edi], dword [esi]
push eax
call fcn.1011935b
lea eax, [ebp - 0x107c]
mov dword [ebp - 0x107c], 0
push eax
push 0
push 0
push 1
push dword [ebp - 0x1084]
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
jne 0x1009563d
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
cmp edi, 0x7a
je 0x1009563d
push str.SECURITY::GetCurrentUserSID:_Failed_to_get_tokens_user_information.
lea ecx, [ebp - 0x28]
call fcn.100062a0
mov dword [ebp - 4], 2
sub esp, 8
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0x1078]
push 0
push 0
push eax
push 0
push edi
push 0x13
call fcn.1008e2c0
mov esi, eax
lea edi, [ebp - 0x850]
push 0x101b7cc0
lea eax, [ebp - 0x850]
mov ecx, 0x20a
rep movsd dword es:[edi], dword [esi]
push eax
call fcn.1011935b
mov eax, dword [ebp - 0x107c]
mov dword [ebp - 0x1094], 0
mov dword [ebp - 0x1090], 0
mov dword [ebp - 0x108c], 0
mov dword [ebp - 4], 3
lea ecx, [ebp - 0x1094]
push eax
call fcn.1001e7a0
mov dword [ebp - 4], 4
lea eax, [ebp - 0x107c]
mov edi, dword [ebp - 0x1094]
push eax
push dword [ebp - 0x107c]
push edi
push 1
push dword [ebp - 0x1084]
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
jne 0x100956ea
push str.SECURITY::GetCurrentUserSID:_Failed_to_get_tokens_user_information.
lea ecx, [ebp - 0x28]
call fcn.100062a0
mov byte [ebp - 4], 5
sub esp, 8
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0x1078]
push 0
push 0
push eax
push 0x13
call fcn.1008dbf0
mov esi, eax
lea edi, [ebp - 0x850]
push 0x101b7cc0
lea eax, [ebp - 0x850]
mov ecx, 0x20a
rep movsd dword es:[edi], dword [esi]
push eax
call fcn.1011935b
lea eax, [ebp - 0x1080]
mov dword [ebp - 0x1080], 0
push eax
push dword [edi]
call dword [sym.imp.ADVAPI32.dll_ConvertSidToStringSidW]
test eax, eax
jne 0x10095750
push str.SECURITY::GetCurrentUserSID:_Failed_to_convert_sid_to_string_sid
lea ecx, [ebp - 0x28]
call fcn.100062a0
mov byte [ebp - 4], 6
sub esp, 8
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0x1078]
push 0
push 0
push eax
push 9
call fcn.1008dbf0
mov esi, eax
lea edi, [ebp - 0x850]
push 0x101b7cc0
lea eax, [ebp - 0x850]
mov ecx, 0x20a
rep movsd dword es:[edi], dword [esi]
push eax
call fcn.1011935b
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], ax
mov eax, dword [ebp - 0x1080]
mov dword [ebp - 0x1088], 1
test eax, eax
je 0x1009578b
push eax
mov ecx, esi
call fcn.100063c0
push dword [ebp - 0x1080]
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1094]
call fcn.1002c610
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10115289
mov esp, ebp
pop ebp
ret