Function at 0x477200
Capabilities:
Acquire debug privileges
Terminate process

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c7bbb
mov eax, dword fs:[0]
push eax
push ecx
push ebx
sub esp, 0xa0
mov eax, dword [0x511a40]
xor eax, ebp
mov dword [ebp - 0x24], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x28], 0
xor esi, esi
mov dword [ebp - 0x28], esi
mov dword [ebp - 4], esi
xor edi, edi
lea eax, [ebp - 0x50]
push eax
push 8
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x4772f3
mov esi, dword [ebp - 0x50]
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x30], 4
lea eax, [ebp - 0x30]
push eax
push 4
lea eax, [ebp - 0x34]
push eax
push 0x14
push esi
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
je 0x4772a5
xor eax, eax
cmp dword [ebp - 0x34], eax
setne al
mov dword [ebp - 0x54], eax
mov edi, eax
mov eax, esi
mov dword [ebp - 4], 0xffffffff
test eax, eax
je 0x4772b9
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
jne 0x4772f7
lea ecx, [ebp - 0x90]
call fcn.0047a9c0
mov dword [ebp - 4], 1
mov ecx, eax
call fcn.00483b50
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x90]
call fcn.00448c30
push 0x65e
call dword [sym.imp.KERNEL32.dll_ExitProcess]
xor eax, eax
jmp 0x4772a7
mov ecx, 0x4fd67c
call fcn.00485c20
mov ecx, str.SeImpersonatePrivilege
call fcn.00485c20
lea ecx, [ebp - 0xac]
call fcn.004811a0
push eax
mov dword [ebp - 4], 2
mov dword [ebp - 0x58], 0x4f35e6a
mov dword [ebp - 0x54], 0x2b07ff08
mov ecx, dword [ebp - 0x58]
mov edx, dword [ebp - 0x54]
mov dword [ebp - 0x70], ecx
mov dword [ebp - 0x6c], edx
mov dword [ebp - 0x58], 0x12ceadd0
mov dword [ebp - 0x54], 0x8ac72a4d
mov eax, dword [ebp - 0x58]
mov ecx, dword [ebp - 0x54]
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x64], ecx
mov dword [ebp - 0x58], 0x299e3327
mov dword [ebp - 0x54], 0x2b07ff08
mov eax, dword [ebp - 0x58]
mov ecx, dword [ebp - 0x54]
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x8c], ecx
mov dword [ebp - 0x58], 0x12ceadd0
mov dword [ebp - 0x54], 0x8ac72a4d
mov eax, dword [ebp - 0x58]
mov ecx, dword [ebp - 0x54]
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x84], ecx
movaps xmm1, xmmword [ebp - 0x70]
xorps xmm1, xmmword [ebp - 0x90]
movaps xmmword [ebp - 0x70], xmm1
lea edx, [ebp - 0x70]
lea ecx, [ebp - 0x4c]
call fcn.00477c50
add esp, 4
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xac]
call fcn.00449f00
lea eax, [ebp - 0x4c]
cmp dword [ebp - 0x38], 0xf
cmova eax, dword [ebp - 0x4c]
push eax
push 0
push 0x1f0001
call dword [sym.imp.KERNEL32.dll_OpenMutexA]
test eax, eax
je 0x4773e6
push 0xb7
call dword [sym.imp.KERNEL32.dll_ExitProcess]
lea eax, [ebp - 0x4c]
cmp dword [ebp - 0x38], 0xf
cmova eax, dword [ebp - 0x4c]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov esi, eax
mov dword [ebp - 0x28], esi
lea ecx, [ebp - 0x29]
call fcn.00472680
call fcn.0047ab60
test al, al
jne 0x47741d
push 0x675
call dword [sym.imp.KERNEL32.dll_ExitProcess]
call fcn.00481410
mov byte [ebp - 4], 5
call fcn.004444c0
mov dword [ebp - 4], 4
jmp 0x47744a
call fcn.00445490
call fcn.00445a80
call fcn.00446890
call fcn.00443a10
call fcn.00464140
call fcn.004666e0
call fcn.0043ac00
call fcn.00442040
call fcn.00440410
call fcn.00477e20
call fcn.00443010
call fcn.0043e8e0
call fcn.0043c4a0
call fcn.0043eba0
mov byte [ebp - 4], 7
call fcn.0047e300
mov dword [ebp - 4], 4
jmp 0x4774b8
call fcn.00476950
test esi, esi
je 0x4774cf
push esi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [0x511cf0], 0
je 0x4774dd
call fcn.00477510
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4c]
call fcn.00449f00
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x24]
xor ecx, ebp
call fcn.004a7b9d
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x10