Function at 0x48e2e0
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57e915
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x732480]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [0x7379d4], 0
mov ebx, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
jle 0x48e5fa
mov eax, dword [0x737a0c]
cmp eax, 0xfffffffe
jle 0x48e32d
call fcn.0048f620
lea eax, [ebp - 0x44]
mov ecx, ebx
push eax
call fcn.00480ad0
lea eax, [ebp - 0x4c]
mov dword [ebp - 4], 0
push eax
push 0
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x5c], 0
push eax
lea eax, [ebp - 0x48]
mov dword [ebp - 0x48], 0
push eax
lea eax, [ebp - 0x5c]
push eax
push 7
push 1
lea ecx, [ebp - 0x44]
call fcn.0042f930
push eax
call dword [sym.imp.ADVAPI32.dll_GetNamedSecurityInfoW]
test eax, eax
jne 0x48e5d4
test dword [ebp + 0x10], 0x700
mov edi, dword [sym.imp.ADVAPI32.dll_GetEffectiveRightsFromAclW]
je 0x48e4e9
mov eax, dword [esi]
or eax, 0x700
cmp dword [0x737a08], 0
mov dword [esi], eax
je 0x48e4ab
mov ebx, dword [sym.imp.ADVAPI32.dll_MapGenericMask]
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x38]
mov dword [ebp - 0x20], 0x120089
push eax
mov dword [ebp - 0x1c], 0x120116
mov dword [ebp - 0x18], 0x1200a0
mov dword [ebp - 0x14], 0x1f01ff
mov dword [ebp - 0x38], 0x80000000
call ebx
lea eax, [ebp - 0x54]
mov dword [ebp - 0x50], 0x14
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0x38]
push dword [0x737a08]
push dword [ebp - 0x4c]
call dword [sym.imp.ADVAPI32.dll_AccessCheck]
test eax, eax
je 0x48e414
cmp dword [ebp - 0x54], 0
je 0x48e414
or dword [esi + 4], 0x400
lea eax, [ebp - 0x20]
mov dword [ebp - 0x50], 0x14
push eax
lea eax, [ebp - 0x38]
mov dword [ebp - 0x38], 0x40000000
push eax
call ebx
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0x38]
push dword [0x737a08]
push dword [ebp - 0x4c]
call dword [sym.imp.ADVAPI32.dll_AccessCheck]
test eax, eax
je 0x48e463
cmp dword [ebp - 0x54], 0
je 0x48e463
or dword [esi + 4], 0x200
lea eax, [ebp - 0x20]
mov dword [ebp - 0x50], 0x14
push eax
lea eax, [ebp - 0x38]
mov dword [ebp - 0x38], 0x20000000
push eax
call ebx
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0x38]
push dword [0x737a08]
push dword [ebp - 0x4c]
call dword [sym.imp.ADVAPI32.dll_AccessCheck]
test eax, eax
je 0x48e4e9
cmp dword [ebp - 0x54], 0
jmp 0x48e4e0
lea eax, [ebp - 0x40]
push eax
push 0x7379d8
push dword [ebp - 0x3c]
call edi
test eax, eax
je 0x48e4c5
or eax, 0xffffffff
mov dword [ebp - 0x40], eax
jmp 0x48e4c8
mov eax, dword [ebp - 0x40]
test al, 1
je 0x48e4d3
or dword [esi + 4], 0x400
test al, 2
je 0x48e4de
or dword [esi + 4], 0x200
test al, 0x20
je 0x48e4e9
or dword [esi + 4], 0x100
test dword [ebp + 0x10], 0x7000
mov ebx, dword [sym.imp.ADVAPI32.dll_BuildTrusteeWithSidW]
je 0x48e544
push dword [ebp - 0x5c]
or dword [esi], 0x7000
lea eax, [ebp - 0x70]
push eax
call ebx
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x70]
push eax
push dword [ebp - 0x3c]
call edi
test eax, eax
je 0x48e520
or eax, 0xffffffff
mov dword [ebp - 0x40], eax
jmp 0x48e523
mov eax, dword [ebp - 0x40]
test al, 1
je 0x48e52e
or dword [esi + 4], 0x4000
test al, 2
je 0x48e539
or dword [esi + 4], 0x2000
test al, 0x20
je 0x48e544
or dword [esi + 4], 0x1000
test byte [ebp + 0x10], 0x70
je 0x48e58a
push dword [ebp - 0x48]
or dword [esi], 0x70
lea eax, [ebp - 0x70]
push eax
call ebx
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x70]
push eax
push dword [ebp - 0x3c]
call edi
test eax, eax
je 0x48e56f
or eax, 0xffffffff
mov dword [ebp - 0x40], eax
jmp 0x48e572
mov eax, dword [ebp - 0x40]
test al, 1
je 0x48e57a
or dword [esi + 4], 0x40
test al, 2
je 0x48e582
or dword [esi + 4], 0x20
test al, 0x20
je 0x48e58a
or dword [esi + 4], 0x10
test byte [ebp + 0x10], 7
je 0x48e5cb
or dword [esi], 7
lea eax, [ebp - 0x40]
push eax
push 0x7379ec
push dword [ebp - 0x3c]
call edi
test eax, eax
je 0x48e5ad
or eax, 0xffffffff
mov dword [ebp - 0x40], eax
jmp 0x48e5b0
mov eax, dword [ebp - 0x40]
test al, 1
je 0x48e5b8
or dword [esi + 4], 4
test al, 2
je 0x48e5c0
or dword [esi + 4], 2
test al, 0x20
je 0x48e5cb
or dword [esi + 4], 0x1000
push dword [ebp - 0x4c]
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [ebp - 0x44]
mov eax, dword [eax]
test eax, eax
je 0x48e817
cmp eax, 0xffffffff
je 0x48e826
mov eax, dword [ebp - 0x44]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
jmp 0x48e810
mov eax, dword [esi + 4]
or eax, 0x4044
mov dword [esi + 4], eax
test byte [esi + 0x10], 1
jne 0x48e613
or eax, 0x2022
mov dword [esi + 4], eax
lea eax, [ebp - 0x44]
mov ecx, ebx
push eax
call fcn.00480600
push 4
lea eax, [ebp - 0x4c]
mov dword [ebp - 4], 1
push eax
lea ecx, [ebp - 0x44]
call fcn.0042db90
push eax
lea eax, [ebp - 0x38]
mov byte [ebp - 4], 2
push eax
call fcn.0042ec20
add esp, 8
mov eax, dword [ebp - 0x4c]
or edi, 0xffffffff
mov byte [ebp - 4], 4
mov eax, dword [eax]
test eax, eax
je 0x48e669
cmp eax, edi
je 0x48e678
mov eax, dword [ebp - 0x4c]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
setne al
test al, al
jne 0x48e678
push 4
push 2
push dword [ebp - 0x4c]
call fcn.00425140
add esp, 0xc
test dword [esi + 4], 0x40000
jne 0x48e6e0
push str..exe
push 4
lea ecx, [ebp - 0x38]
call fcn.00427c30
test al, al
jne 0x48e6e0
push str..com
push 4
lea ecx, [ebp - 0x38]
call fcn.00427c30
test al, al
jne 0x48e6e0
push str..bat
push 4
lea ecx, [ebp - 0x38]
call fcn.00427c30
test al, al
jne 0x48e6e0
push str..pif
push 4
lea ecx, [ebp - 0x38]
call fcn.00427c30
test al, al
jne 0x48e6e0
push str..cmd
push 4
lea ecx, [ebp - 0x38]
call fcn.00427c30
test al, al
je 0x48e6e7
or dword [esi + 4], 0x1111
or dword [esi], 0x7177
mov eax, dword [ebp + 0x10]
test eax, 0x400
je 0x48e763
lea eax, [ebp - 0x3c]
mov ecx, ebx
push eax
call fcn.00480ad0
push 4
mov ecx, eax
mov byte [ebp - 4], 5
call fcn.0042f930
push eax
call fcn.0055fd10
mov ecx, dword [ebp - 0x3c]
add esp, 8
mov dword [ebp - 0x48], eax
mov byte [ebp - 4], 4
mov ecx, dword [ecx]
test ecx, ecx
je 0x48e73e
cmp ecx, 0xffffffff
je 0x48e74d
mov eax, dword [ebp - 0x3c]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
setne al
test al, al
jne 0x48e74d
push 4
push 2
push dword [ebp - 0x3c]
call fcn.00425140
add esp, 0xc
cmp dword [ebp - 0x48], 0
jne 0x48e75a
or dword [esi + 4], 0x400
or dword [esi], 0x400
mov eax, dword [ebp + 0x10]
test eax, 0x200
je 0x48e7cc
lea eax, [ebp - 0x3c]
mov ecx, ebx
push eax
call fcn.00480ad0
push 2
mov ecx, eax
mov byte [ebp - 4], 6
call fcn.0042f930
push eax
call fcn.0055fd10
mov ecx, dword [ebp - 0x3c]
add esp, 8
mov ebx, eax
mov ecx, dword [ecx]
test ecx, ecx
je 0x48e7ac
cmp ecx, 0xffffffff
je 0x48e7bb
mov eax, dword [ebp - 0x3c]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
setne al
test al, al
jne 0x48e7bb
push 4
push 2
push dword [ebp - 0x3c]
call fcn.00425140
add esp, 0xc
test ebx, ebx
jne 0x48e7c6
or dword [esi + 4], 0x200
or dword [esi], 0x200
mov eax, dword [ebp - 0x38]
mov eax, dword [eax]
test eax, eax
je 0x48e7eb
cmp eax, 0xffffffff
je 0x48e7fa
mov eax, dword [ebp - 0x38]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
setne al
test al, al
jne 0x48e7fa
push 4
push 2
push dword [ebp - 0x38]
call fcn.00425140
add esp, 0xc
mov eax, dword [ebp - 0x44]
mov eax, dword [eax]
test eax, eax
je 0x48e817
cmp eax, 0xffffffff
je 0x48e826
mov eax, dword [ebp - 0x44]
lock xadd dword [eax], edi
dec edi
setne al
test al, al
jne 0x48e826
push 4
push 2
push dword [ebp - 0x44]
call fcn.00425140
add esp, 0xc
mov ecx, dword [esi]
and ecx, dword [ebp + 0x10]
cmp ecx, dword [ebp + 0x10]
sete al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00553392
mov esp, ebp
pop ebp
ret