Function at 0x10002815
Capabilities:
Contain obfuscated stackstrings
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x164
mov eax, dword [0x1007b430]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
xor ebx, ebx
push edi
mov dword [ebp - 0x13c], ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea ecx, [ebp - 0x140]
push ecx
push 0xf01ff
push eax
mov dword [ebp - 0x138], eax
mov dword [ebp - 0x148], ebx
mov dword [ebp - 0x158], 0x9ca7cfc5
mov dword [ebp - 0x154], 0xb2e86822
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x10002a74
mov esi, dword [ebp - 0x140]
push 7
pop ecx
xor eax, eax
lea edi, [ebp - 0x23]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x160]
push eax
lea eax, [ebp - 0x24]
push eax
push ebx
mov byte [ebp - 0x24], 0x53
mov byte [ebp - 0x1b], 0x69
mov byte [ebp - 0x21], 0x65
mov byte [ebp - 0x17], 0x65
mov byte [ebp - 0x1a], 0x76
mov byte [ebp - 0x1d], 0x50
mov byte [ebp - 0x1f], 0x75
mov byte [ebp - 0x15], 0x65
mov byte [ebp - 0x18], 0x6c
mov byte [ebp - 0x19], 0x69
mov byte [ebp - 0x22], 0x44
mov byte [ebp - 0x16], 0x67
mov byte [ebp - 0x1e], 0x67
mov byte [ebp - 0x20], 0x62
mov byte [ebp - 0x23], 0x65
mov byte [ebp - 0x1c], 0x72
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
test eax, eax
jne 0x100028e5
mov dword [ebp - 0x14c], ebx
jmp 0x100028fb
xor eax, eax
push esi
lea ecx, [ebp - 0x160]
inc eax
call fcn.100027c5
pop ecx
mov dword [ebp - 0x14c], eax
lea eax, [ebp - 0x13c]
push eax
push ebx
push ebx
push dword [ebp - 0x138]
call sub.PSAPI.DLL_EnumProcessModules
test eax, eax
je 0x10002a22
mov esi, dword [ebp - 0x13c]
shr esi, 2
xor ecx, ecx
push 4
pop edx
mov eax, esi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.1004ac28
pop ecx
lea ecx, [ebp - 0x13c]
push ecx
mov ecx, esi
shl ecx, 2
push ecx
push eax
push dword [ebp - 0x138]
mov dword [ebp - 0x144], eax
call sub.PSAPI.DLL_EnumProcessModules
test eax, eax
je 0x10002a16
mov dword [ebp - 0x134], ebx
cmp esi, ebx
jbe 0x10002a16
mov ecx, dword [ebp - 0x134]
push 0x104
lea eax, [ebp - 0x130]
push eax
mov eax, dword [ebp - 0x144]
push dword [eax + ecx*4]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x10002a04
lea eax, [ebp - 0x130]
push eax
call fcn.1004d580
pop ecx
test eax, eax
jbe 0x100029c7
lea edi, [ebp + ebx - 0x130]
movsx eax, byte [edi]
push eax
call fcn.1004debb
mov byte [edi], al
pop ecx
lea eax, [ebp - 0x130]
push eax
inc ebx
call fcn.1004d580
pop ecx
cmp ebx, eax
jb 0x100029a2
lea eax, [ebp - 0x130]
push 0x5c
push eax
call fcn.1004e020
pop ecx
pop ecx
test eax, eax
je 0x100029e5
lea edx, [eax + 1]
call fcn.100022c5
jmp 0x100029e7
xor eax, eax
xor ecx, ecx
cmp dword [ebp + ecx*4 - 0x158], eax
jne 0x100029fc
mov dword [ebp - 0x148], 2
inc ecx
cmp ecx, 2
jl 0x100029e9
xor ebx, ebx
inc dword [ebp - 0x134]
cmp dword [ebp - 0x134], esi
jb 0x1000296c
push dword [ebp - 0x144]
call fcn.1004dbba
pop ecx
cmp dword [ebp - 0x14c], ebx
je 0x10002a55
mov esi, dword [ebp - 0x140]
lea eax, [ebp - 0x150]
push eax
lea eax, [ebp - 0x24]
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
test eax, eax
je 0x10002a55
push esi
lea ecx, [ebp - 0x150]
xor eax, eax
call fcn.100027c5
pop ecx
push 0x20
pop ecx
lea eax, [ebp - 0x24]
mov byte [eax], 0
inc eax
dec ecx
jne 0x10002a5b
push dword [ebp - 0x138]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x148]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1004b8fc
leave
ret