Function at 0x412a5e
Capabilities:
Link many functions at runtime

Disassembly:
sub esp, 0x28
mov eax, dword [0x494244]
xor eax, esp
mov dword [esp + 0x24], eax
push edi
push str.advapi32.dll
call fcn.00419642
mov edi, eax
pop ecx
test edi, edi
jne 0x412a90
push str.failed_in_IsUserInAdminGroup__:_JRE_System_LoadLibrary_advapi32.dll_
call fcn.004198f9
pop ecx
xor eax, eax
jmp 0x412c65
push ebx
push ebp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.AllocateAndInitializeSid
push edi
call esi
push str.OpenProcessToken
push edi
mov dword [esp + 0x28], eax
call esi
push str.GetTokenInformation
push edi
mov dword [esp + 0x30], eax
call esi
push str.EqualSid
mov ebx, eax
push edi
mov dword [esp + 0x1c], ebx
call esi
push str.FreeSid
push edi
mov dword [esp + 0x2c], eax
call esi
mov ebp, eax
mov eax, dword [esp + 0x20]
test eax, eax
je 0x412c4e
mov esi, dword [esp + 0x28]
test esi, esi
je 0x412c4e
test ebx, ebx
je 0x412c4e
cmp dword [esp + 0x24], 0
je 0x412c4e
test ebp, ebp
je 0x412c4e
xor ebx, ebx
mov word [esp + 0x30], 0x500
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], ebx
push ecx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x220
push 0x20
push 2
lea ecx, [esp + 0x54]
mov dword [esp + 0x38], ebx
push ecx
call eax
test eax, eax
jne 0x412b42
push str.failed_in_IsUserInAdminGroup__:_lpfnAllocateAndInitializeSid__
jmp 0x412c53
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], ebx
push eax
push 8
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call esi
test eax, eax
jne 0x412b70
push str.failed_in_IsUserInAdminGroup__:_lpfnOpenProcessToken__
call fcn.004198f9
pop ecx
push dword [esp + 0x10]
call ebp
jmp 0x412c59
lea eax, [esp + 0x18]
mov dword [esp + 0x18], ebx
push eax
push ebx
push ebx
push 2
push dword [esp + 0x2c]
call dword [esp + 0x28]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
je 0x412b97
push str.failed_in_IsUserInAdminGroup__:_GetLastError_____ERROR_INSUFFICIENT_BUFFER
jmp 0x412b5f
push dword [esp + 0x18]
call fcn.00446754
mov esi, eax
pop ecx
test esi, esi
jne 0x412bae
push str.failed_in_IsUserInAdminGroup__:__TOKEN_GROUPS__malloc_cb_
jmp 0x412b5f
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x1c]
push esi
push 2
push dword [esp + 0x2c]
call dword [esp + 0x28]
test eax, eax
jne 0x412be7
push str.failed_in_IsUserInAdminGroup__:_lpfnGetTokenInformation__
call fcn.004198f9
pop ecx
push dword [esp + 0x10]
call ebp
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push esi
call fcn.00446739
pop ecx
jmp 0x412c60
mov dword [esp + 0x14], ebx
cmp dword [esi], ebx
jbe 0x412c1c
lea eax, [esi + 4]
mov dword [esp + 0x20], eax
push dword [eax]
push dword [esp + 0x14]
call dword [esp + 0x2c]
test eax, eax
jne 0x412c49
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x20]
inc ecx
add eax, 8
mov dword [esp + 0x14], ecx
mov dword [esp + 0x20], eax
cmp ecx, dword [esi]
jb 0x412bf6
push str.IsUserInAdminGroup__:_user_not_found_in_Admin_group
call fcn.004198f9
pop ecx
push esi
call fcn.00446739
pop ecx
push dword [esp + 0x1c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [esp + 0x10]
call ebp
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, ebx
jmp 0x412c62
xor ebx, ebx
inc ebx
jmp 0x412c27
push str.failed_in_IsUserInAdminGroup__:_GetProcAddress__
call fcn.004198f9
pop ecx
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
xor eax, eax
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x28]
pop edi
xor ecx, esp
call fcn.00440ce3
add esp, 0x28
ret