Function at 0x4044e4
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 4], 0
push 8
call fcn.0041fde7
add esp, 4
mov dword [ebp - 8], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 0x10
call fcn.0041fde7
add esp, 4
mov dword [ebp - 0xc], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], esp
mov eax, 0xf
call fcn.0041fdff
cmp dword [ebp - 0x14], esp
je 0x404570
push 0x58
push 0x4031974
push 6
call fcn.0041fdf9
add esp, 0xc
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], esp
lea eax, [ebp - 4]
push eax
push 0x28
push dword [ebp - 0x18]
mov eax, 0x10
call fcn.0041fdff
cmp dword [ebp - 0x1c], esp
je 0x4045a8
push 0x6b
push 0x4031974
push 6
call fcn.0041fdf9
add esp, 0xc
test eax, eax
je 0x404794
mov dword [ebp - 0x14], esp
push dword [ebp - 8]
push 0x563e85
push 0
mov eax, 0x11
call fcn.0041fdff
cmp dword [ebp - 0x14], esp
je 0x4045e6
push 0xa3
push 0x4031974
push 6
call fcn.0041fdf9
add esp, 0xc
test eax, eax
je 0x40473d
mov ebx, dword [ebp - 0xc]
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x14]
mov dword [ebx], 1
mov ebx, dword [ebp - 0xc]
add ebx, 4
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 8]
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0x18]
mov eax, dword [ebx]
mov ebx, dword [ebp - 0x14]
mov dword [ebx], eax
mov ebx, dword [ebp - 0xc]
add ebx, 8
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 8]
add ebx, 4
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0x18]
mov eax, dword [ebx]
mov ebx, dword [ebp - 0x14]
mov dword [ebx], eax
mov ebx, dword [ebp - 0xc]
add ebx, 0xc
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x14]
mov dword [ebx], 2
mov dword [ebp - 0x14], esp
push dword [ebp - 0xc]
mov eax, 0x12
call fcn.0041fdff
cmp dword [ebp - 0x14], esp
je 0x404670
push 0x22e
push 0x4031974
push 6
call fcn.0041fdf9
add esp, 0xc
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], esp
lea eax, [ebp - 0x10]
push eax
push 0
push dword [ebp - 0x18]
push dword [ebp - 0xc]
push 0
push dword [ebp - 4]
mov eax, 0x13
call fcn.0041fdff
cmp dword [ebp - 0x1c], esp
je 0x4046b3
push 0x22e
push 0x4031974
push 6
call fcn.0041fdf9
add esp, 0xc
test eax, eax
je 0x404712
mov dword [ebp - 0x14], esp
push dword [ebp - 4]
mov eax, 0x14
call fcn.0041fdff
cmp dword [ebp - 0x14], esp
je 0x4046e7
push 0x25a
push 0x4031974
push 6
call fcn.0041fdf9
add esp, 0xc
mov eax, str.EndbleDebugPriv___Win
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
call fcn.004047dd
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x404708
push ebx
call fcn.0041fded
add esp, 4
mov eax, 1
jmp 0x4047bf
mov eax, str.AdjustTokenPrivileges___Error
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
call fcn.004047dd
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x404733
push ebx
call fcn.0041fded
add esp, 4
mov eax, 0
jmp 0x4047bf
mov dword [ebp - 0x14], esp
push dword [ebp - 4]
mov eax, 0x14
call fcn.0041fdff
cmp dword [ebp - 0x14], esp
je 0x404769
push 0x30c
push 0x4031974
push 6
call fcn.0041fdf9
add esp, 0xc
mov eax, str.LookupPrivilegeValue___Error
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
call fcn.004047dd
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x40478a
push ebx
call fcn.0041fded
add esp, 4
mov eax, 0
jmp 0x4047bf
mov eax, str.OpenProcessToken___Error
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
call fcn.004047dd
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x4047b5
push ebx
call fcn.0041fded
add esp, 4
mov eax, 0
jmp 0x4047bf
push eax
mov ebx, dword [ebp - 8]
push ebx
call fcn.0041fded
add esp, 4
mov ebx, dword [ebp - 0xc]
push ebx
call fcn.0041fded
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret