Function at 0x4053cf
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
push ebx
xor ebx, ebx
push esi
push edi
mov esi, dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
lea eax, [ebp - 0x14]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 1
lea eax, [ebp - 0x1c]
push eax
mov dword [ebp - 0x10], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0xc], ebx
mov byte [ebp - 0x1c], bl
mov byte [ebp - 0x1b], bl
mov byte [ebp - 0x1a], bl
mov byte [ebp - 0x19], bl
mov byte [ebp - 0x18], bl
mov byte [ebp - 0x17], 1
mov byte [ebp - 0x24], bl
mov byte [ebp - 0x23], bl
mov byte [ebp - 0x22], bl
mov byte [ebp - 0x21], bl
mov byte [ebp - 0x20], bl
mov byte [ebp - 0x1f], 5
call esi
test eax, eax
jne 0x40545c
push 0x100000
push 0x40
pop esi
push esi
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
push str.ISFB:_AllocateAndInitializeSid__Everyone__failed_n
mov edi, eax
push edi
call dword [sym.imp.USER32.dll_wsprintfA]
pop ecx
pop ecx
push edi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x405654
lea eax, [ebp - 8]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x220
push 0x20
push 2
pop edi
push edi
lea eax, [ebp - 0x24]
push eax
call esi
test eax, eax
jne 0x405491
push 0x100000
push 0x40
pop esi
push esi
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
push str.ISFB:_AllocateAndInitializeSid__Admin__failed_n
jmp 0x40543e
push 0x40
pop esi
push esi
lea eax, [ebp - 0x64]
push ebx
push eax
call sub.ntdll.dll_memset
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 8]
add esp, 0xc
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0xc]
push eax
push ebx
lea eax, [ebp - 0x64]
push eax
push edi
mov dword [ebp - 0x64], 0x80000000
mov dword [ebp - 0x60], edi
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x4c], 5
mov dword [ebp - 0x44], 0x10000000
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], edi
call dword [sym.imp.ADVAPI32.dll_SetEntriesInAclA]
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x405505
push 0x100000
push esi
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
push str.ISFB:_Failed_SetEntriesInAcl_n
jmp 0x405635
mov edi, dword [sym.imp.ADVAPI32.dll_SetSecurityInfo]
push ebx
push dword [ebp - 0xc]
push ebx
push ebx
push 4
push 4
push dword [ebp + 8]
call edi
cmp eax, ebx
mov dword [ebp - 4], eax
jne 0x405550
push 0x100000
push esi
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov edi, eax
push str.ISFB:_Successfully_changed_DACL_n
push edi
call dword [sym.imp.USER32.dll_wsprintfA]
pop ecx
pop ecx
push edi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x40565d
cmp eax, 5
je 0x40556b
push 0x100000
push esi
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
push str.ISFB:_First_SetNamedSecurityInfo_call_failed_n
jmp 0x405635
lea eax, [ebp - 0x10]
push eax
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x405598
push 0x100000
push esi
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
push str.ISFB:_OpenProcessToken_failed_n
jmp 0x40543e
push dword [ebp - 0x10]
xor eax, eax
inc eax
call fcn.004052ed
test eax, eax
jne 0x4055bd
push 0x100000
push esi
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
push str.ISFB:_You_must_be_logged_on_as_Administrator._n
jmp 0x40543e
push ebx
push ebx
push ebx
push dword [ebp - 8]
push 1
push 4
push dword [ebp + 8]
call edi
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x4055e6
push 0x100000
push esi
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
push str.ISFB:_Could_not_set_owner_n
jmp 0x405635
push dword [ebp - 0x10]
xor eax, eax
call fcn.004052ed
test eax, eax
jne 0x40560a
push 0x100000
push esi
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
push str.ISFB:_Failed_SetPrivilege_call_unexpectedly._n
jmp 0x40543e
push ebx
push dword [ebp - 0xc]
push ebx
push ebx
push 4
push 4
push dword [ebp + 8]
call edi
cmp eax, ebx
push 0x100000
mov dword [ebp - 4], eax
push esi
je 0x405527
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
push str.Second_SetNamedSecurityInfo_call_failed_n
mov edi, eax
push edi
call dword [sym.imp.USER32.dll_wsprintfA]
pop ecx
pop ecx
push edi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
cmp dword [ebp - 4], 0xffffffff
jne 0x40565d
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
push 0x100000
push esi
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
push dword [ebp - 4]
mov esi, eax
push str.ISFB:_LsaTakeOwnership___finished_with_status__u_n
push esi
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
cmp dword [ebp - 8], ebx
mov esi, dword [sym.imp.ADVAPI32.dll_FreeSid]
je 0x40569b
push dword [ebp - 8]
call esi
cmp dword [ebp - 0x14], ebx
je 0x4056a5
push dword [ebp - 0x14]
call esi
cmp dword [ebp - 0xc], ebx
je 0x4056b3
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_LocalFree]
cmp dword [ebp - 0x10], ebx
pop edi
pop esi
pop ebx
je 0x4056c4
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 4]
leave
ret 4