Function at 0x48f450
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50fc98
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x572bb0]
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
mov ebx, ecx
push str.ProcessKiller
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x5c], ebx
call fcn.00471bb0
push ecx
lea eax, [ebp - 0x38]
mov dword [ebp - 4], 0
push eax
mov ecx, ebx
call fcn.0048f310
mov byte [ebp - 4], 2
or esi, 0xffffffff
mov edx, dword [ebp - 0x38]
mov eax, esi
add edx, 0xfffffff0
lea ecx, [edx + 0xc]
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x48f4c3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.Started
lea ecx, [ebp - 0x24]
call fcn.00471c70
push str.Ctor
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 3
call fcn.00471bb0
mov byte [ebp - 4], 4
call fcn.00460220
mov ecx, eax
xor eax, eax
test ecx, ecx
setne al
test eax, eax
jne 0x48f501
push 0x80004005
call fcn.004712d0
mov eax, dword [ecx]
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [ebp - 0x2c], edi
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 5
push eax
lea edx, [ebp - 0x2c]
lea ecx, [ebp - 0x30]
call fcn.00472fc0
add esp, 4
mov byte [ebp - 4], 6
cmp dword [ebx + 8], 0
je 0x48f53c
push 0
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebx + 4]
push eax
call fcn.00473100
mov byte [ebp - 4], 5
mov ecx, esi
mov edx, dword [ebp - 0x30]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x48f55c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea edx, [edi - 0x10]
mov byte [ebp - 4], 4
lea eax, [edx + 0xc]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x48f579
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 3
mov ecx, esi
mov edx, dword [ebp - 0x28]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x48f599
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 2
mov ecx, esi
mov edx, dword [ebp - 0x24]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x48f5b9
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x34]
mov dword [ebp - 0x34], 0
push eax
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x48f929
lea eax, [ebp - 0x58]
push eax
push str.SeDebugPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
je 0x48f929
mov eax, dword [ebp - 0x58]
push 0
push 0
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x54]
push 0
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x20]
push eax
push 0
push dword [ebp - 0x34]
mov dword [ebp - 0x20], 1
mov dword [ebp - 0x14], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
je 0x48f728
push str.Successfully_changed_token_privileges
lea ecx, [ebp - 0x28]
call fcn.00471c70
push str.Ctor
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 7
call fcn.00471bb0
mov byte [ebp - 4], 8
call fcn.00460220
mov ecx, eax
xor eax, eax
test ecx, ecx
setne al
test eax, eax
jne 0x48f669
push 0x80004005
call fcn.004712d0
mov eax, dword [ecx]
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [ebp - 0x30], edi
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 9
push eax
lea edx, [ebp - 0x30]
lea ecx, [ebp - 0x2c]
call fcn.00472fc0
add esp, 4
mov byte [ebp - 4], 0xa
cmp dword [ebx + 8], 0
je 0x48f6a4
push 0
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebx + 4]
push eax
call fcn.00473100
mov byte [ebp - 4], 9
mov ecx, esi
mov edx, dword [ebp - 0x2c]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x48f6c4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea edx, [edi - 0x10]
mov byte [ebp - 4], 8
lea eax, [edx + 0xc]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x48f6e1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 7
mov ecx, esi
mov edx, dword [ebp - 0x24]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x48f701
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x28]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], esi
dec esi
test esi, esi
jg 0x48f929
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x48f929
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
test edi, edi
jle 0x48f73d
movzx edi, di
or edi, 0x80070000
push str.Error:
lea ecx, [ebp - 0x2c]
call fcn.00471c70
push str.Failed_to_change_token_privileges
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0xb
call fcn.00471c70
push str.Ctor
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0xc
call fcn.00471bb0
mov edx, edi
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x40]
call fcn.00473060
mov dword [ebp - 0x50], eax
mov byte [ebp - 4], 0xe
call fcn.00460220
mov ecx, eax
xor eax, eax
test ecx, ecx
setne al
test eax, eax
jne 0x48f79d
push 0x80004005
call fcn.004712d0
mov eax, dword [ecx]
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [ebp - 0x30], edi
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0xf
push eax
lea edx, [ebp - 0x30]
lea ecx, [ebp - 0x4c]
call fcn.00472fc0
push 0x57a1c8
mov edx, eax
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x48]
call fcn.00472fc0
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0x11
push ecx
mov edx, eax
lea ecx, [ebp - 0x44]
call fcn.00472fc0
push dword [ebp - 0x50]
mov edx, eax
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x3c]
call fcn.00472fc0
add esp, 0x10
mov byte [ebp - 4], 0x13
cmp dword [ebx + 8], 0
je 0x48f80e
push 2
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebx + 4]
push eax
call fcn.00473100
mov byte [ebp - 4], 0x12
mov ecx, esi
mov edx, dword [ebp - 0x3c]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x48f82e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x11
mov ecx, esi
mov edx, dword [ebp - 0x44]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x48f84e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x10
mov ecx, esi
mov edx, dword [ebp - 0x48]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x48f86e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0xf
mov ecx, esi
mov edx, dword [ebp - 0x4c]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x48f88e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea edx, [edi - 0x10]
mov byte [ebp - 4], 0xe
lea eax, [edx + 0xc]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x48f8ab
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0xd
mov ecx, esi
mov edx, dword [ebp - 0x40]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x48f8cb
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0xc
mov ecx, esi
mov edx, dword [ebp - 0x24]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x48f8eb
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0xb
mov ecx, esi
mov edx, dword [ebp - 0x28]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x48f90b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 2
mov edi, dword [ebp - 0x2c]
add edi, 0xfffffff0
lea eax, [edi + 0xc]
lock xadd dword [eax], esi
dec esi
test esi, esi
jg 0x48f929
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
push dword [ebp - 0x34]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
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.004e94b7
mov esp, ebp
pop ebp
ret