Function at 0x4e5f20
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x595560
mov eax, dword fs:[0]
push eax
sub esp, 0xa8
mov eax, dword [0x62f018]
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, dword [ebp + 8]
mov ecx, 0x6355a1
mov esi, dword [ebp + 0xc]
mov dword [ebp - 4], 0
mov dword [ebp - 0x9c], ebx
mov dword [ebp - 0xa8], esi
mov dword [ebp - 0x98], 0
call fcn.00561ea5
mov dword [ebx], 0xffffffff
mov dword [ebx + 4], 0xffffffff
mov dword [ebp - 4], 0
push dword [esi + 4]
mov dword [ebp - 0x98], 1
push 0
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x9c], eax
test eax, eax
jne 0x4e5fbe
mov dword [ebx], 0xa80356
jmp 0x4e6124
lea eax, [esi + 0x74]
mov dword [ebp - 0x94], vtable.RC::DM::ISerialization.0
push eax
lea ecx, [ebp - 0x90]
mov dword [ebp - 0x94], vtable.RC::DM::RCProcessToken.0
call fcn.004e7d10
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x84]
mov eax, dword [esi + 0x7c]
mov dword [ebp - 0x88], eax
lea eax, [esi + 0x80]
push eax
call fcn.004e5e90
mov byte [ebp - 4], 2
mov eax, dword [esi + 0xd8]
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x90]
mov dword [ebp - 4], 3
push eax
lea ecx, [ebp - 0xa4]
call fcn.004e7d10
mov dword [ebp - 0x98], 3
mov byte [ebp - 4], 4
mov esi, dword [ebp - 0xa4]
mov esi, dword [esi]
mov byte [ebp - 4], 4
mov edi, dword [ebp - 0xa4]
cmp esi, edi
je 0x4e60a2
nop dword [eax]
lea eax, [esi + 0xc]
push eax
lea ecx, [ebp - 0x28]
call fcn.00404010
or dword [ebp - 0x98], 4
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
mov edx, dword [ebp - 0x18]
cmovae ecx, dword [ebp - 0x28]
push 0x10
push str.SeDebugPrivilege
call fcn.004123a0
add esp, 8
mov byte [ebp - 4], 0xb
test eax, eax
je 0x4e6144
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 4
call fcn.00403de0
mov esi, dword [esi]
cmp esi, edi
jne 0x4e6050
mov dword [ebx], 0xa8035a
push dword [ebp - 0x9c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 0xf
call fcn.004d6d60
mov byte [ebp - 4], 0x11
mov eax, dword [ebp - 0xa4]
push 0x28
push eax
mov byte [ebp - 4], 0x17
call fcn.0052f594
add esp, 8
mov dword [ebp - 4], 0x1a
lea ecx, [ebp - 0x84]
mov dword [ebp - 0x94], vtable.RC::DM::RCProcessToken.0
call fcn.004fe460
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 0x1b
call fcn.004d6d60
mov byte [ebp - 4], 0x1d
mov eax, dword [ebp - 0x90]
push 0x28
push eax
mov byte [ebp - 4], 0x23
call fcn.0052f594
add esp, 8
mov byte [ebp - 4], 0
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.0052f553
mov esp, ebp
pop ebp
ret 8
push 0
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0xac], esp
push str.SeDebugPrivilege
call fcn.00403ed0
mov edx, dword [ebp - 0xa8]
lea ecx, [ebp - 0xb4]
mov byte [ebp - 4], 0xd
mov byte [ebp - 4], 0xb
call fcn.004e3ae0
add esp, 0x1c
mov byte [ebp - 4], 0xe
mov ecx, dword [eax]
mov dword [ebx], ecx
lea ecx, [ebp - 0x28]
mov eax, dword [eax + 4]
mov dword [ebx + 4], eax
mov byte [ebp - 4], 0xb
mov dword [ebx], 0
mov byte [ebp - 4], 4
call fcn.00403de0
jmp 0x4e60a8