Function at 0x1000e731
Capabilities:
Acquire debug privileges
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
mov eax, dword [0x10042040]
xor eax, esp
mov dword [esp + 0x18], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
movzx eax, byte [esi]
cmp eax, 0x27
ja case.0x1000e6ef.2
movzx eax, byte [eax + 0x1000e8f8]
jmp dword [eax*4 + 0x1000e8e0]
call fcn.1000e420
mov esi, eax
test esi, esi
je case.0x1000e6ef.2
push esi
call dword [sym.imp.KERNEL32.dll_LocalSize]
mov ecx, dword [edi + 8]
push eax
push esi
call fcn.1000b970
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x18]
xor ecx, esp
call fcn.10011882
mov esp, ebp
pop ebp
ret 8
lea eax, [esp + 0xc]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x1000e794
lea eax, [esp + 0x18]
mov dword [esp + 0x14], 1
push eax
push str.SeDebugPrivilege
push 0
mov dword [esp + 0x2c], 2
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
push 0
push 0
push 0x10
lea eax, [esp + 0x20]
push eax
push 0
push dword [esp + 0x20]
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [esp + 0xc]
call ebx
mov eax, dword [ebp + 0xc]
xor edi, edi
add eax, 0xffffffff
mov dword [esp + 0xc], eax
je 0x1000e7db
lea eax, [esi + 1]
mov dword [esp + 0x10], eax
nop dword [eax]
push dword [eax + edi]
push 0
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call ebx
mov eax, dword [esp + 0x10]
add edi, 4
cmp edi, dword [esp + 0xc]
jb 0x1000e7b0
lea eax, [esp + 0xc]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x1000e838
lea eax, [esp + 0x18]
mov dword [esp + 0x14], 1
push eax
push str.SeDebugPrivilege
push 0
mov dword [esp + 0x2c], 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
push 0
push 0
push 0x10
lea eax, [esp + 0x20]
push eax
push 0
push dword [esp + 0x20]
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [esp + 0xc]
call ebx
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x18]
xor ecx, esp
call fcn.10011882
mov esp, ebp
pop ebp
ret 8
push 0
push 0
push 0x10
push dword [esi + 1]
call dword [sym.imp.USER32.dll_PostMessageA]
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [esp + 0xc]
mov dword [esp + 0xc], 0
push eax
push 0x1000e920
call dword [sym.imp.USER32.dll_EnumWindows]
mov eax, dword [esp + 0xc]
mov byte [eax], 0x7e
mov esi, dword [esp + 0xc]
test esi, esi
je case.0x1000e6ef.2
push esi
call dword [sym.imp.KERNEL32.dll_LocalSize]
mov ecx, dword [edi + 8]
push eax
push esi
call fcn.1000b970
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x18]
xor ecx, esp
call fcn.10011882
mov esp, ebp
pop ebp
ret 8
push dword [esi + 5]
push dword [esi + 1]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.10011882
mov esp, ebp
pop ebp
ret 8