Function at 0x18082e04
Capabilities:
Get token membership

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xac
mov eax, dword [0x181c600c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x44
pop eax
push eax
xor ebx, ebx
mov dword [ebp - 0x58], eax
lea eax, [ebp - 0x50]
mov dword [ebp - 0x54], ebx
push ebx
push eax
mov dword [ebp - 0x60], ebx
call fcn.1812c700
add esp, 0xc
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x50]
push eax
push ebx
push 0xb
call dword [sym.imp.ADVAPI32.dll_CreateWellKnownSid]
test eax, eax
je 0x18082e66
lea eax, [ebp - 0x5c]
mov dword [ebp - 0x5c], ebx
push eax
lea eax, [ebp - 0x50]
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
test eax, eax
je 0x18082e66
cmp dword [ebp - 0x5c], ebx
jne 0x18082e9f
lea ecx, [ebp - 0x60]
call fcn.1801c071
test eax, eax
jns 0x18082e9f
lea ecx, [ebp - 0xa9]
mov byte [ebp - 0xa9], bl
call fcn.1800e75e
test eax, eax
js 0x18082e97
cmp byte [ebp - 0xa9], bl
je 0x18082e97
xor edi, edi
inc edi
jmp 0x18083053
push 8
pop edi
jmp 0x18083053
cmp dword [ebp - 0x60], ebx
jne 0x18082ead
mov dword [ebp - 0x5c], 1
jmp 0x18082ecf
push dword [ebp - 0x60]
call dword [sym.imp.ADVAPI32.dll_ImpersonateLoggedOnUser]
test eax, eax
je 0x18082ebf
mov dword [ebp - 0x5c], ebx
jmp 0x18082ecf
call fcn.1801b6cc
mov dword [ebp - 0x5c], eax
test eax, eax
js 0x1808303d
mov dword [ebp - 0x58], ebx
call fcn.1800703b
push eax
lea ecx, [ebp - 0x58]
call fcn.1800774f
lea edx, [ebp - 0x58]
mov ecx, 0x401c
call fcn.1800cac4
mov esi, dword [ebp - 0x58]
test eax, eax
js 0x18083030
lea ecx, [esi - 0x10]
call fcn.1800a175
add eax, 0x10
push str.MicrosoftEdgeUser_DataFirst_Run
mov dword [ebp - 0x58], eax
call fcn.18130750
pop ecx
push eax
push str.MicrosoftEdgeUser_DataFirst_Run
lea ecx, [ebp - 0x58]
call fcn.18009fef
lea ecx, [esi - 0x10]
call fcn.1800a175
add eax, 0x10
mov edi, str.GoogleChromeUser_DataFirst_Run
push edi
mov dword [ebp - 0x54], eax
call fcn.18130750
pop ecx
push eax
push edi
lea ecx, [ebp - 0x54]
call fcn.18009fef
push 9
pop ecx
xor eax, eax
lea edi, [ebp - 0x84]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x84]
push eax
push ebx
push dword [ebp - 0x58]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesExW]
mov ebx, eax
lea edi, [ebp - 0xa8]
push 9
test ebx, ebx
pop ecx
setne byte [ebp - 0xa9]
xor eax, eax
rep stosd dword es:[edi], eax
lea eax, [ebp - 0xa8]
xor edi, edi
push eax
push edi
mov edi, dword [ebp - 0x54]
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesExW]
test eax, eax
setne al
test ebx, ebx
je 0x18082fa3
test al, al
jne 0x18082fa3
mov dword [ebp - 0x54], 4
jmp 0x1808301d
cmp byte [ebp - 0xa9], 0
jne 0x18082fc2
test al, al
je 0x18082fb9
mov dword [ebp - 0x54], 3
jmp 0x1808301d
mov dword [ebp - 0x54], 2
jmp 0x1808301d
mov ecx, dword [ebp - 0x7c]
xor eax, eax
cmp ecx, 0x7fffffff
jbe 0x18082fd5
mov ebx, eax
mov ecx, eax
jmp 0x18082fd8
mov ebx, dword [ebp - 0x80]
mov edx, dword [ebp - 0xa0]
cmp edx, 0x7fffffff
jbe 0x18082fea
mov edx, eax
jmp 0x18082ff0
mov eax, dword [ebp - 0xa4]
cmp ecx, edx
jg 0x1808300d
jl 0x18082ffa
cmp ebx, eax
jae 0x18083003
mov dword [ebp - 0x54], 6
jmp 0x1808301d
cmp ecx, edx
jl 0x18083016
jg 0x1808300d
cmp ebx, eax
jbe 0x18083016
mov dword [ebp - 0x54], 5
jmp 0x1808301d
mov dword [ebp - 0x54], 7
lea ecx, [edi - 0x10]
call fcn.18007012
mov ecx, dword [ebp - 0x58]
lea ecx, [ecx - 0x10]
call fcn.18007012
lea ecx, [esi - 0x10]
call fcn.18007012
mov ecx, dword [ebp - 0x5c]
jmp 0x18083049
mov dword [ebp - 0x54], ebx
mov ecx, eax
cmp eax, 0x80004005
je 0x18083050
push ecx
call fcn.18026210
pop ecx
mov edi, dword [ebp - 0x54]
cmp dword [ebp - 0x60], 0
je 0x18083062
push dword [ebp - 0x60]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.18117a58
leave
ret