Function at 0x1000acac
Capabilities:
Acquire debug privileges
Contain obfuscated stackstrings
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x260
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push edi
mov edi, str.KERNEL32.dll
push str.OpenProcess
push edi
call esi
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.lstrlenA
push edi
mov dword [ebp - 0x28], eax
call esi
push eax
call ebx
and byte [ebp - 0xf], 0
lea eax, [ebp - 0x1c]
push eax
push edi
mov byte [ebp - 0x1c], 0x50
mov byte [ebp - 0x1b], 0x72
mov byte [ebp - 0x1a], 0x6f
mov byte [ebp - 0x19], 0x63
mov byte [ebp - 0x18], 0x65
mov byte [ebp - 0x17], 0x73
mov byte [ebp - 0x16], 0x73
mov byte [ebp - 0x15], 0x33
mov byte [ebp - 0x14], 0x32
mov byte [ebp - 0x13], 0x4e
mov byte [ebp - 0x12], 0x65
mov byte [ebp - 0x11], 0x78
mov byte [ebp - 0x10], 0x74
call esi
push eax
call ebx
and dword [ebp - 0x15c], 0
push 0x49
mov dword [ebp - 0x30], eax
pop ecx
xor eax, eax
lea edi, [ebp - 0x158]
and byte [ebp - 0x260], al
push 0x40
rep stosd dword es:[edi], eax
pop ecx
lea edi, [ebp - 0x25f]
rep stosd dword es:[edi], eax
and dword [ebp - 0x24], 0
push 1
stosw word es:[edi], ax
push str.SeDebugPrivilege
stosb byte es:[edi], al
call fcn.1000af5e
pop ecx
mov edi, str.KERNEL32.dll
pop ecx
push str.CreateToolhelp32Snapshot
push edi
call esi
push eax
call ebx
push 0
push 2
call eax
cmp eax, 0xffffffff
mov dword [ebp - 0x20], eax
jne 0x1000ad86
xor eax, eax
jmp 0x1000af59
push str.LocalAlloc
push edi
mov dword [ebp - 0x15c], 0x128
call esi
push eax
call ebx
push 0x400
push 0x40
call eax
push str.Process32First
push edi
mov dword [ebp - 4], eax
mov byte [eax], 0x80
mov dword [ebp - 8], 1
call esi
push eax
call ebx
lea ecx, [ebp - 0x15c]
push ecx
push dword [ebp - 0x20]
call eax
test eax, eax
je 0x1000af25
push dword [ebp - 0x154]
push 0
push 0x410
call dword [ebp - 0x28]
cmp dword [ebp - 0x154], 0
mov dword [ebp - 0xc], eax
je 0x1000af13
cmp dword [ebp - 0x154], 4
je 0x1000af13
cmp dword [ebp - 0x154], 8
je 0x1000af13
lea ecx, [ebp - 0x34]
push ecx
lea ecx, [ebp - 0x24]
push 4
push ecx
push eax
call fcn.10012be1
lea eax, [ebp - 0x260]
push 0x104
push eax
push dword [ebp - 0x24]
push dword [ebp - 0xc]
call fcn.10012bcf
push str.lstrlenA
push edi
call esi
push eax
call ebx
lea ecx, [ebp - 0x138]
mov dword [ebp - 0xc], eax
push ecx
call eax
mov edi, eax
lea eax, [ebp - 0x260]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea eax, [edi + eax + 6]
push str.LocalSize
push str.KERNEL32.dll
mov dword [ebp - 0x2c], eax
call esi
push eax
call ebx
mov edi, dword [ebp - 8]
mov ecx, dword [ebp - 0x2c]
push dword [ebp - 4]
add ecx, edi
mov dword [ebp - 8], ecx
call eax
cmp eax, dword [ebp - 8]
jae 0x1000ae93
push 0x42
push dword [ebp - 8]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_LocalReAlloc]
mov dword [ebp - 4], eax
lea eax, [ebp - 0x154]
push 4
push eax
mov eax, dword [ebp - 4]
add eax, edi
push eax
call sub.MSVCRT.dll_memcpy
add esp, 0xc
lea eax, [ebp - 0x138]
add edi, 4
push eax
call dword [ebp - 0xc]
inc eax
push eax
lea eax, [ebp - 0x138]
push eax
mov eax, dword [ebp - 4]
add eax, edi
push eax
call sub.MSVCRT.dll_memcpy
add esp, 0xc
lea eax, [ebp - 0x138]
push eax
call dword [ebp - 0xc]
lea edi, [edi + eax + 1]
lea eax, [ebp - 0x260]
push eax
call dword [ebp - 0xc]
inc eax
push eax
lea eax, [ebp - 0x260]
push eax
mov eax, dword [ebp - 4]
add eax, edi
push eax
call sub.MSVCRT.dll_memcpy
add esp, 0xc
lea eax, [ebp - 0x260]
push eax
call dword [ebp - 0xc]
lea eax, [edi + eax + 1]
mov edi, str.KERNEL32.dll
mov dword [ebp - 8], eax
lea eax, [ebp - 0x15c]
push eax
push dword [ebp - 0x20]
call dword [ebp - 0x30]
jmp 0x1000adc8
push 0x42
push dword [ebp - 8]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_LocalReAlloc]
push str.CloseHandle
push edi
mov dword [ebp - 4], eax
call esi
push eax
call ebx
push 0
push str.SeDebugPrivilege
mov esi, eax
call fcn.1000af5e
pop ecx
pop ecx
push dword [ebp - 0x20]
call esi
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret