Function at 0x18083364
Capabilities:
Get token membership

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xac
mov eax, dword [0x181c700c]
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.1812d590
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 0x180833c6
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 0x180833c6
cmp dword [ebp - 0x5c], ebx
jne 0x180833ff
lea ecx, [ebp - 0x60]
call fcn.1801c421
test eax, eax
jns 0x180833ff
lea ecx, [ebp - 0xa9]
mov byte [ebp - 0xa9], bl
call fcn.1800eb08
test eax, eax
js 0x180833f7
cmp byte [ebp - 0xa9], bl
je 0x180833f7
xor edi, edi
inc edi
jmp 0x180835b3
push 8
pop edi
jmp 0x180835b3
cmp dword [ebp - 0x60], ebx
jne 0x1808340d
mov dword [ebp - 0x5c], 1
jmp 0x1808342f
push dword [ebp - 0x60]
call dword [sym.imp.ADVAPI32.dll_ImpersonateLoggedOnUser]
test eax, eax
je 0x1808341f
mov dword [ebp - 0x5c], ebx
jmp 0x1808342f
call fcn.1801ba7c
mov dword [ebp - 0x5c], eax
test eax, eax
js 0x1808359d
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 0x18083590
lea ecx, [esi - 0x10]
call fcn.1800a175
add eax, 0x10
push str.MicrosoftEdgeUser_DataFirst_Run
mov dword [ebp - 0x58], eax
call fcn.181315f0
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.181315f0
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 0x18083503
test al, al
jne 0x18083503
mov dword [ebp - 0x54], 4
jmp 0x1808357d
cmp byte [ebp - 0xa9], 0
jne 0x18083522
test al, al
je 0x18083519
mov dword [ebp - 0x54], 3
jmp 0x1808357d
mov dword [ebp - 0x54], 2
jmp 0x1808357d
mov ecx, dword [ebp - 0x7c]
xor eax, eax
cmp ecx, 0x7fffffff
jbe 0x18083535
mov ebx, eax
mov ecx, eax
jmp 0x18083538
mov ebx, dword [ebp - 0x80]
mov edx, dword [ebp - 0xa0]
cmp edx, 0x7fffffff
jbe 0x1808354a
mov edx, eax
jmp 0x18083550
mov eax, dword [ebp - 0xa4]
cmp ecx, edx
jg 0x1808356d
jl 0x1808355a
cmp ebx, eax
jae 0x18083563
mov dword [ebp - 0x54], 6
jmp 0x1808357d
cmp ecx, edx
jl 0x18083576
jg 0x1808356d
cmp ebx, eax
jbe 0x18083576
mov dword [ebp - 0x54], 5
jmp 0x1808357d
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 0x180835a9
mov dword [ebp - 0x54], ebx
mov ecx, eax
cmp eax, 0x80004005
je 0x180835b0
push ecx
call fcn.180265c0
pop ecx
mov edi, dword [ebp - 0x54]
cmp dword [ebp - 0x60], 0
je 0x180835c2
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.181188e8
leave
ret