Function at 0x41b900
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x78
push ebx
push esi
push edi
lea edi, [ebp - 0x78]
mov ecx, 0x1e
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov esi, esp
push str.advapi32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
cmp esi, esp
call fcn.0041fa50
mov dword [ebp - 4], eax
mov esi, esp
push str.AllocateAndInitializeSid
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp esi, esp
call fcn.0041fa50
mov dword [ebp - 8], eax
mov esi, esp
push str.OpenProcessToken
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp esi, esp
call fcn.0041fa50
mov dword [ebp - 0xc], eax
mov esi, esp
push str.GetTokenInformation
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp esi, esp
call fcn.0041fa50
mov dword [ebp - 0x10], eax
mov esi, esp
push str.EqualSid
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp esi, esp
call fcn.0041fa50
mov dword [ebp - 0x14], eax
mov esi, esp
push str.FreeSid
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp esi, esp
call fcn.0041fa50
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x24], 0
mov byte [ebp - 0x23], 0
mov byte [ebp - 0x22], 0
mov byte [ebp - 0x21], 0
mov byte [ebp - 0x20], 0
mov byte [ebp - 0x1f], 5
mov dword [ebp - 0x28], 0
mov esi, esp
lea edx, [ebp - 0x28]
push edx
push 0
push 0
push 0
push 0
push 0
push 0
push 0x220
push 0x20
push 2
lea eax, [ebp - 0x24]
push eax
call dword [ebp - 8]
cmp esi, esp
call fcn.0041fa50
mov dword [ebp - 0x2c], 0
mov esi, esp
lea ecx, [ebp - 0x2c]
push ecx
push 8
mov edi, esp
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
cmp edi, esp
call fcn.0041fa50
push eax
call dword [ebp - 0xc]
cmp esi, esp
call fcn.0041fa50
mov dword [ebp - 0x30], 0
mov esi, esp
lea edx, [ebp - 0x30]
push edx
push 0
push 0
push 2
mov eax, dword [ebp - 0x2c]
push eax
call dword [ebp - 0x10]
cmp esi, esp
call fcn.0041fa50
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.00421a80
add esp, 4
mov dword [ebp - 0x34], eax
mov esi, esp
lea edx, [ebp - 0x30]
push edx
mov eax, dword [ebp - 0x30]
push eax
mov ecx, dword [ebp - 0x34]
push ecx
push 2
mov edx, dword [ebp - 0x2c]
push edx
call dword [ebp - 0x10]
cmp esi, esp
call fcn.0041fa50
mov dword [ebp - 0x38], 0
jmp 0x41ba8e
mov eax, dword [ebp - 0x38]
add eax, 1
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x34]
mov edx, dword [ebp - 0x38]
cmp edx, dword [ecx]
jae 0x41babb
mov esi, esp
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x34]
mov edx, dword [ecx + eax*8 + 4]
push edx
mov eax, dword [ebp - 0x28]
push eax
call dword [ebp - 0x14]
cmp esi, esp
call fcn.0041fa50
test eax, eax
je 0x41bab9
jmp 0x41babb
jmp 0x41ba85
mov ecx, dword [ebp - 0x34]
mov edx, dword [ebp - 0x38]
xor eax, eax
cmp edx, dword [ecx]
setne al
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x34]
push ecx
call fcn.004224f0
add esp, 4
mov esi, esp
mov edx, dword [ebp - 0x2c]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, esp
call fcn.0041fa50
mov esi, esp
mov eax, dword [ebp - 0x28]
push eax
call dword [ebp - 0x18]
cmp esi, esp
call fcn.0041fa50
mov eax, dword [ebp - 0x1c]
pop edi
pop esi
pop ebx
add esp, 0x78
cmp ebp, esp
call fcn.0041fa50
mov esp, ebp
pop ebp
ret