Function at 0x41211a
Capabilities:
Link many functions at runtime

Disassembly:
sub esp, 0x28
mov eax, dword [0x494284]
xor eax, esp
mov dword [esp + 0x24], eax
push edi
push str.advapi32.dll
call fcn.00418f91
mov edi, eax
pop ecx
test edi, edi
jne 0x41214c
push str.failed_in_IsUserInAdminGroup__:_JRE_System_LoadLibrary_advapi32.dll_
call fcn.00419218
pop ecx
xor eax, eax
jmp 0x412321
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 0x41230a
mov esi, dword [esp + 0x28]
test esi, esi
je 0x41230a
test ebx, ebx
je 0x41230a
cmp dword [esp + 0x24], 0
je 0x41230a
test ebp, ebp
je 0x41230a
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 0x4121fe
push str.failed_in_IsUserInAdminGroup__:_lpfnAllocateAndInitializeSid__
jmp 0x41230f
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 0x41222c
push str.failed_in_IsUserInAdminGroup__:_lpfnOpenProcessToken__
call fcn.00419218
pop ecx
push dword [esp + 0x10]
call ebp
jmp 0x412315
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 0x412253
push str.failed_in_IsUserInAdminGroup__:_GetLastError_____ERROR_INSUFFICIENT_BUFFER
jmp 0x41221b
push dword [esp + 0x18]
call fcn.004455e4
mov esi, eax
pop ecx
test esi, esi
jne 0x41226a
push str.failed_in_IsUserInAdminGroup__:__TOKEN_GROUPS__malloc_cb_
jmp 0x41221b
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 0x4122a3
push str.failed_in_IsUserInAdminGroup__:_lpfnGetTokenInformation__
call fcn.00419218
pop ecx
push dword [esp + 0x10]
call ebp
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push esi
call fcn.004455c9
pop ecx
jmp 0x41231c
mov dword [esp + 0x14], ebx
cmp dword [esi], ebx
jbe 0x4122d8
lea eax, [esi + 4]
mov dword [esp + 0x20], eax
push dword [eax]
push dword [esp + 0x14]
call dword [esp + 0x2c]
test eax, eax
jne 0x412305
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 0x4122b2
push str.IsUserInAdminGroup__:_user_not_found_in_Admin_group
call fcn.00419218
pop ecx
push esi
call fcn.004455c9
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 0x41231e
xor ebx, ebx
inc ebx
jmp 0x4122e3
push str.failed_in_IsUserInAdminGroup__:_GetProcAddress__
call fcn.00419218
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.0043f9b7
add esp, 0x28
ret