Function at 0x40e0a0
Capabilities:
Link many functions at runtime

Disassembly:
sub esp, 0x28
mov eax, dword [0x46f7c0]
xor eax, esp
mov dword [esp + 0x24], eax
push ebx
push edi
push 0x45b0cc
call fcn.00415de0
mov edi, eax
xor ebx, ebx
add esp, 4
cmp edi, ebx
jne 0x40e0e5
push str.failed_in_IsUserInAdminGroup__:_JRE_System_LoadLibrary_advapi32.dll_
call fcn.004160d0
add esp, 4
pop edi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.0043b8c7
add esp, 0x28
ret
push ebp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.AllocateAndInitializeSid
push edi
call esi
push 0x45b140
push edi
mov ebp, eax
call esi
push 0x45b154
push edi
mov dword [esp + 0x20], eax
call esi
push str.EqualSid
push edi
mov dword [esp + 0x24], eax
call esi
push str.FreeSid
push edi
mov dword [esp + 0x30], eax
call esi
mov esi, eax
mov dword [esp + 0x24], esi
cmp ebp, ebx
je 0x40e2f0
cmp dword [esp + 0x18], ebx
je 0x40e2f0
cmp dword [esp + 0x1c], ebx
je 0x40e2f0
cmp dword [esp + 0x28], ebx
je 0x40e2f0
cmp esi, ebx
je 0x40e2f0
lea eax, [esp + 0x10]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x220
push 0x20
push 2
lea ecx, [esp + 0x54]
push ecx
mov dword [esp + 0x58], ebx
mov word [esp + 0x5c], 0x500
mov dword [esp + 0x3c], ebx
call ebp
test eax, eax
jne 0x40e18f
push str.failed_in_IsUserInAdminGroup__:_lpfnAllocateAndInitializeSid__
jmp 0x40e2f5
lea edx, [esp + 0x14]
push edx
push 8
mov dword [esp + 0x1c], ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [esp + 0x24]
test eax, eax
jne 0x40e1c2
push str.failed_in_IsUserInAdminGroup__:_lpfnOpenProcessToken__
call fcn.004160d0
mov eax, dword [esp + 0x14]
add esp, 4
push eax
call esi
jmp 0x40e2fd
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x20]
push ecx
push ebx
push ebx
push 2
push edx
mov dword [esp + 0x34], ebx
call dword [esp + 0x30]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
je 0x40e1fc
push str.failed_in_IsUserInAdminGroup__:_GetLastError_____ERROR_INSUFFICIENT_BUFFER
call fcn.004160d0
mov eax, dword [esp + 0x14]
add esp, 4
push eax
call esi
jmp 0x40e2fd
mov ebp, dword [esp + 0x20]
push ebp
call fcn.0043bf06
mov esi, eax
add esp, 4
cmp esi, ebx
jne 0x40e22a
push str.failed_in_IsUserInAdminGroup__:__TOKEN_GROUPS__malloc_cb_
call fcn.004160d0
mov ecx, dword [esp + 0x14]
add esp, 4
push ecx
call dword [esp + 0x28]
jmp 0x40e2fd
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x20]
push edx
push ebp
push esi
push 2
push eax
call dword [esp + 0x30]
test eax, eax
jne 0x40e27b
push str.failed_in_IsUserInAdminGroup__:_lpfnGetTokenInformation__
call fcn.004160d0
mov ecx, dword [esp + 0x14]
add esp, 4
push ecx
call dword [esp + 0x28]
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push esi
call fcn.0043bf9a
add esp, 4
pop esi
pop ebp
pop edi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.0043b8c7
add esp, 0x28
ret
mov dword [esp + 0x18], ebx
cmp dword [esi], ebx
jbe 0x40e29f
lea ebp, [esi + 4]
mov edx, dword [ebp]
mov eax, dword [esp + 0x10]
push edx
push eax
call dword [esp + 0x30]
test eax, eax
jne 0x40e2e9
inc ebx
add ebp, 8
cmp ebx, dword [esi]
jb 0x40e286
push str.IsUserInAdminGroup__:_user_not_found_in_Admin_group
call fcn.004160d0
mov ebx, dword [esp + 0x1c]
add esp, 4
push esi
call fcn.0043bf9a
mov ecx, dword [esp + 0x18]
add esp, 4
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [esp + 0x10]
push edx
call dword [esp + 0x28]
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop esi
pop ebp
pop edi
mov eax, ebx
pop ebx
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.0043b8c7
add esp, 0x28
ret
mov ebx, 1
jmp 0x40e2b0
push str.failed_in_IsUserInAdminGroup__:_GetProcAddress__
call fcn.004160d0
add esp, 4
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [esp + 0x34]
pop esi
pop ebp
pop edi
pop ebx
xor ecx, esp
xor eax, eax
call fcn.0043b8c7
add esp, 0x28
ret