Function at 0xb9e1f5
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0xbd8630]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push str.advapi32.dll
call fcn.00ba2356
mov edi, eax
xor ebx, ebx
pop ecx
cmp edi, ebx
jne 0xb9e22b
push str.failed_in_IsUserInAdminGroup__:_JRE_System_LoadLibrary_advapi32.dll_
call fcn.00ba262c
pop ecx
jmp 0xb9e3e2
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.AllocateAndInitializeSid
push edi
call esi
push str.OpenProcessToken
push edi
mov dword [ebp - 0x2c], eax
call esi
push str.GetTokenInformation
push edi
mov dword [ebp - 0x18], eax
call esi
push str.EqualSid
push edi
mov dword [ebp - 0x10], eax
call esi
push str.FreeSid
push edi
mov dword [ebp - 0x28], eax
call esi
mov esi, eax
mov dword [ebp - 0x24], esi
cmp dword [ebp - 0x2c], ebx
je 0xb9e3d0
cmp dword [ebp - 0x18], ebx
je 0xb9e3d0
cmp dword [ebp - 0x10], ebx
je 0xb9e3d0
cmp dword [ebp - 0x28], ebx
je 0xb9e3d0
cmp esi, ebx
je 0xb9e3d0
lea eax, [ebp - 0x14]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x220
push 0x20
push 2
lea eax, [ebp - 0xc]
push eax
mov dword [ebp - 0xc], ebx
mov word [ebp - 8], 0x500
mov dword [ebp - 0x14], ebx
call dword [ebp - 0x2c]
test eax, eax
jne 0xb9e2ca
push str.failed_in_IsUserInAdminGroup__:_lpfnAllocateAndInitializeSid__
jmp 0xb9e3d5
lea eax, [ebp - 0x1c]
push eax
push 8
mov dword [ebp - 0x1c], ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [ebp - 0x18]
test eax, eax
jne 0xb9e2f6
push str.failed_in_IsUserInAdminGroup__:_lpfnOpenProcessToken__
call fcn.00ba262c
pop ecx
push dword [ebp - 0x14]
call esi
jmp 0xb9e3db
lea eax, [ebp - 0x20]
push eax
push ebx
push ebx
push 2
push dword [ebp - 0x1c]
mov dword [ebp - 0x20], ebx
call dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
je 0xb9e319
push str.failed_in_IsUserInAdminGroup__:_GetLastError_____ERROR_INSUFFICIENT_BUFFER
jmp 0xb9e2e6
push dword [ebp - 0x20]
call fcn.00baf3db
mov esi, eax
pop ecx
cmp esi, ebx
jne 0xb9e33e
push str.failed_in_IsUserInAdminGroup__:__TOKEN_GROUPS__malloc_cb_
call fcn.00ba262c
pop ecx
push dword [ebp - 0x14]
call dword [ebp - 0x24]
jmp 0xb9e3db
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0x20]
push esi
push 2
push dword [ebp - 0x1c]
call dword [ebp - 0x10]
test eax, eax
jne 0xb9e375
push str.failed_in_IsUserInAdminGroup__:_lpfnGetTokenInformation__
call fcn.00ba262c
pop ecx
push dword [ebp - 0x14]
call dword [ebp - 0x24]
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push esi
call fcn.00baf3a1
jmp 0xb9e225
mov dword [ebp - 0x18], ebx
cmp dword [esi], ebx
jbe 0xb9e39a
lea eax, [esi + 4]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
push dword [eax]
push dword [ebp - 0x14]
call dword [ebp - 0x28]
test eax, eax
jne 0xb9e3c7
add dword [ebp - 0x10], 8
inc ebx
cmp ebx, dword [esi]
jb 0xb9e382
push str.IsUserInAdminGroup__:_user_not_found_in_Admin_group
call fcn.00ba262c
pop ecx
push esi
call fcn.00baf3a1
pop ecx
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x14]
call dword [ebp - 0x24]
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [ebp - 0x18]
jmp 0xb9e3e4
mov dword [ebp - 0x18], 1
jmp 0xb9e3a5
push str.failed_in_IsUserInAdminGroup__:_GetProcAddress__
call fcn.00ba262c
pop ecx
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00bae56d
leave
ret