Function at 0x42c5c0
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45ad68
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push esi
push edi
mov eax, dword [0x47e3d8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp byte [0x480914], 0
jne 0x42c7f9
push 0xc
xor eax, eax
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
lea ecx, [ebp - 0x24]
push str.Advapi32.dll
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 7
mov word [ebp - 0x24], ax
call fcn.004040d0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x24]
push eax
call fcn.00408840
mov ecx, eax
call fcn.00408900
mov edi, eax
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x10]
cmp edx, 8
jb 0x42c67f
mov ecx, dword [ebp - 0x24]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42c675
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42c8bc
push edx
push ecx
call fcn.00441618
add esp, 8
xor eax, eax
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 7
mov word [ebp - 0x24], ax
test edi, edi
je 0x42c8a9
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x471858
push edi
call esi
push 0x471888
push edi
mov dword [0x480930], eax
call esi
push 0x47187c
push edi
mov dword [0x48091c], eax
call esi
push str.GetSecurityInfo
push edi
mov dword [0x48092c], eax
call esi
push str.InitializeAcl
push edi
mov dword [0x4808f8], eax
call esi
push str.GetAclInformation
push edi
mov dword [0x480918], eax
call esi
push str.GetAce
push edi
mov dword [0x480924], eax
call esi
push str.AddAce
push edi
mov dword [0x4808fc], eax
call esi
push str.DeleteAce
push edi
mov dword [0x48090c], eax
call esi
push str.SetSecurityInfo
push edi
mov dword [0x480928], eax
call esi
push str.OpenProcessToken
push edi
mov dword [0x480910], eax
call esi
push str.GetTokenInformation
push edi
mov dword [0x4808f4], eax
call esi
push str.CopySid
push edi
mov dword [0x480904], eax
call esi
push str.GetLengthSid
push edi
mov dword [0x480900], eax
call esi
push str.EqualSid
push edi
mov dword [0x480908], eax
call esi
cmp dword [0x480930], 0
mov dword [0x480920], eax
je 0x42c80c
cmp dword [0x48091c], 0
je 0x42c80c
cmp dword [0x48092c], 0
je 0x42c80c
cmp dword [0x4808f8], 0
je 0x42c80c
cmp dword [0x480918], 0
je 0x42c80c
cmp dword [0x480924], 0
je 0x42c80c
cmp dword [0x4808fc], 0
je 0x42c80c
cmp dword [0x48090c], 0
je 0x42c80c
cmp dword [0x480928], 0
je 0x42c80c
cmp dword [0x480910], 0
je 0x42c80c
cmp dword [0x4808f4], 0
je 0x42c80c
cmp dword [0x480904], 0
je 0x42c80c
cmp dword [0x480900], 0
je 0x42c80c
cmp dword [0x480908], 0
je 0x42c80c
test eax, eax
je 0x42c80c
mov byte [0x480914], 1
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov byte [0x480914], 0
mov dword [0x480930], 0
mov dword [0x48091c], 0
mov dword [0x48092c], 0
mov dword [0x4808f8], 0
mov dword [0x480918], 0
mov dword [0x480924], 0
mov dword [0x4808fc], 0
mov dword [0x48090c], 0
mov dword [0x480928], 0
mov dword [0x480910], 0
mov dword [0x4808f4], 0
mov dword [0x480904], 0
mov dword [0x480900], 0
mov dword [0x480908], 0
mov dword [0x480920], 0
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
call fcn.00445b29
int3