Function at 0x41ad80
Capabilities:
Print debug messages

Disassembly:
sub esp, 0x2c
mov eax, dword [esp + 0x30]
push ebx
xor ebx, ebx
push ebp
push ebx
push 0x2000000
push 3
push ebx
push 3
push 0x60000
mov dword [esp + 0x24], ecx
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebp, eax
cmp ebp, 0xffffffff
jne 0x41adc2
push str.CreateFile_fail
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
pop ebp
xor eax, eax
pop ebx
add esp, 0x2c
ret 0xc
mov ecx, dword [esp + 0x40]
push esi
push edi
mov edi, dword [sym.imp.MSVCRT.dll__wcsicmp]
push str.full
push ecx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x48], ebx
mov byte [esp + 0x28], bl
mov byte [esp + 0x29], bl
mov byte [esp + 0x2a], bl
mov byte [esp + 0x2b], bl
mov byte [esp + 0x2c], bl
mov byte [esp + 0x2d], 1
mov byte [esp + 0x20], bl
mov byte [esp + 0x21], bl
mov byte [esp + 0x22], bl
mov byte [esp + 0x23], bl
mov byte [esp + 0x24], bl
mov byte [esp + 0x25], 5
call edi
mov esi, eax
mov eax, dword [esp + 0x4c]
neg esi
sbb esi, esi
xor edx, edx
mov dword [esp + 0x30], edx
and esi, 0xfff2feaa
mov dword [esp + 0x34], edx
push str.Everyone
mov dword [esp + 0x3c], edx
push eax
mov dword [esp + 0x44], edx
add esi, 0x1f01ff
mov dword [esp + 0x48], edx
call edi
add esp, 0x10
test eax, eax
jne 0x41ae8b
lea ecx, [esp + 0x10]
lea edx, [esp + 0x20]
push ecx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 1
push edx
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
mov edi, eax
cmp edi, ebx
jne 0x41ae75
push str.AllocateAndInitializeSid_fail
jmp 0x41af50
mov eax, dword [esp + 0x10]
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], 5
mov dword [esp + 0x38], eax
jmp 0x41aea0
mov ecx, dword [esp + 0x44]
mov eax, 1
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], ecx
push 3
push 1
lea edx, [esp + 0x30]
push esi
mov esi, dword [esp + 0x20]
push edx
push 1
push ebp
mov ecx, esi
call fcn.0041ac10
mov edi, eax
cmp edi, ebx
je 0x41aec8
push str.Failed_to_add_ACE_to_object
jmp 0x41af50
lea eax, [esp + 0x40]
mov edi, dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x220
push 0x20
lea ecx, [esp + 0x3c]
push 2
push ecx
call edi
test eax, eax
jne 0x41af19
push str.AllocateAndInitializeSid_Error
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea edx, [esp + 0x40]
lea eax, [esp + 0x18]
push edx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x223
push 0x20
push 2
push eax
call edi
mov edi, eax
cmp edi, ebx
je 0x41af56
mov ecx, dword [esp + 0x40]
push 3
push 1
lea edx, [esp + 0x30]
push 0x1f01ff
push edx
mov dword [esp + 0x48], ecx
push 1
push ebp
mov ecx, esi
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], 2
call fcn.0041ac10
mov edi, eax
cmp edi, ebx
je 0x41af56
push str.Failed_to_add_ACE_to_object__Error
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x10]
mov esi, dword [sym.imp.ADVAPI32.dll_FreeSid]
cmp eax, ebx
je 0x41af6e
push eax
call esi
mov eax, dword [esp + 0x40]
cmp eax, ebx
je 0x41af79
push eax
call esi
xor eax, eax
cmp edi, ebx
pop edi
pop esi
pop ebp
pop ebx
sete al
add esp, 0x2c
ret 0xc