Function at 0x18083694
Capabilities:
Get token membership

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xac
mov eax, dword [0x181c900c]
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.1812da70
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 0x180836f6
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 0x180836f6
cmp dword [ebp - 0x5c], ebx
jne 0x1808372f
lea ecx, [ebp - 0x60]
call fcn.1801c421
test eax, eax
jns 0x1808372f
lea ecx, [ebp - 0xa9]
mov byte [ebp - 0xa9], bl
call fcn.1800eb08
test eax, eax
js 0x18083727
cmp byte [ebp - 0xa9], bl
je 0x18083727
xor edi, edi
inc edi
jmp 0x180838e3
push 8
pop edi
jmp 0x180838e3
cmp dword [ebp - 0x60], ebx
jne 0x1808373d
mov dword [ebp - 0x5c], 1
jmp 0x1808375f
push dword [ebp - 0x60]
call dword [sym.imp.ADVAPI32.dll_ImpersonateLoggedOnUser]
test eax, eax
je 0x1808374f
mov dword [ebp - 0x5c], ebx
jmp 0x1808375f
call fcn.1801ba7c
mov dword [ebp - 0x5c], eax
test eax, eax
js 0x180838cd
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.1800cbae
mov esi, dword [ebp - 0x58]
test eax, eax
js 0x180838c0
lea ecx, [esi - 0x10]
call fcn.1800a175
add eax, 0x10
push str.MicrosoftEdgeUser_DataFirst_Run
mov dword [ebp - 0x58], eax
call fcn.18131ac0
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.18131ac0
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 0x18083833
test al, al
jne 0x18083833
mov dword [ebp - 0x54], 4
jmp 0x180838ad
cmp byte [ebp - 0xa9], 0
jne 0x18083852
test al, al
je 0x18083849
mov dword [ebp - 0x54], 3
jmp 0x180838ad
mov dword [ebp - 0x54], 2
jmp 0x180838ad
mov ecx, dword [ebp - 0x7c]
xor eax, eax
cmp ecx, 0x7fffffff
jbe 0x18083865
mov ebx, eax
mov ecx, eax
jmp 0x18083868
mov ebx, dword [ebp - 0x80]
mov edx, dword [ebp - 0xa0]
cmp edx, 0x7fffffff
jbe 0x1808387a
mov edx, eax
jmp 0x18083880
mov eax, dword [ebp - 0xa4]
cmp ecx, edx
jg 0x1808389d
jl 0x1808388a
cmp ebx, eax
jae 0x18083893
mov dword [ebp - 0x54], 6
jmp 0x180838ad
cmp ecx, edx
jl 0x180838a6
jg 0x1808389d
cmp ebx, eax
jbe 0x180838a6
mov dword [ebp - 0x54], 5
jmp 0x180838ad
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 0x180838d9
mov dword [ebp - 0x54], ebx
mov ecx, eax
cmp eax, 0x80004005
je 0x180838e0
push ecx
call fcn.18026790
pop ecx
mov edi, dword [ebp - 0x54]
cmp dword [ebp - 0x60], 0
je 0x180838f2
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.18118dc8
leave
ret