Function at 0x411039
Capabilities:
Link many functions at runtime

Disassembly:
sub esp, 0x28
mov eax, dword [0x48b068]
xor eax, esp
mov dword [esp + 0x24], eax
push edi
call main
mov edi, eax
test edi, edi
jne 0x411064
mov ecx, str.failed_in_IsUserInAdminGroup__:_JRE_System_LoadLibrary_advapi32.dll_
call fcn.0041781b
xor eax, eax
jmp 0x411235
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 0x41121f
mov esi, dword [esp + 0x28]
test esi, esi
je 0x41121f
test ebx, ebx
je 0x41121f
cmp dword [esp + 0x24], 0
je 0x41121f
test ebp, ebp
je 0x41121f
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 0x411116
mov ecx, str.failed_in_IsUserInAdminGroup__:_lpfnAllocateAndInitializeSid__
jmp 0x411224
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 0x411143
mov ecx, str.failed_in_IsUserInAdminGroup__:_lpfnOpenProcessToken__
call fcn.0041781b
push dword [esp + 0x10]
call ebp
jmp 0x411229
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 0x41116a
mov ecx, str.failed_in_IsUserInAdminGroup__:_GetLastError_____ERROR_INSUFFICIENT_BUFFER
jmp 0x411133
push dword [esp + 0x18]
call main
mov esi, eax
pop ecx
test esi, esi
jne 0x411181
mov ecx, str.failed_in_IsUserInAdminGroup__:__TOKEN_GROUPS__malloc_cb_
jmp 0x411133
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 0x4111b9
mov ecx, str.failed_in_IsUserInAdminGroup__:_lpfnGetTokenInformation__
call fcn.0041781b
push dword [esp + 0x10]
call ebp
push edi
call dword [sym.imp.kernel32.dll_FreeLibrary]
push esi
call main
pop ecx
jmp 0x411230
mov dword [esp + 0x14], ebx
cmp dword [esi], ebx
jbe 0x4111ee
lea eax, [esi + 4]
mov dword [esp + 0x20], eax
push dword [eax]
push dword [esp + 0x14]
call dword [esp + 0x2c]
test eax, eax
jne 0x41121a
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 0x4111c8
mov ecx, str.IsUserInAdminGroup__:_user_not_found_in_Admin_group
call fcn.0041781b
push esi
call main
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 0x411232
xor ebx, ebx
inc ebx
jmp 0x4111f8
mov ecx, str.failed_in_IsUserInAdminGroup__:_GetProcAddress__
call fcn.0041781b
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.00439b80
add esp, 0x28
ret