Function at 0x1002f927
Capabilities:
Enumerate process modules
Get process image filename

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0xa4a4
call fcn.10067670
mov eax, dword [0x100b02c0]
xor eax, esp
mov dword [esp + 0xa4a0], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov dword [esp + 0x24], eax
lea eax, [esp + 0x1c]
push eax
push 0x8000
lea eax, [esp + 0x88]
push eax
call sub.PSAPI.DLL_EnumProcesses
test eax, eax
je 0x1002fbc5
push 5
pop ecx
mov esi, str._unknown_
lea edi, [esp + 0x8098]
rep movsd dword es:[edi], dword [esi]
push 0x1f4
xor edi, edi
lea eax, [esp + 0x80b0]
push edi
push eax
call fcn.10062b80
add esp, 0xc
test dword [esp + 0x1c], 0xfffffffc
mov dword [esp + 0x10], edi
jbe 0x1002fbc5
mov ebx, 0x104
mov eax, dword [esp + 0x10]
push dword [esp + eax*4 + 0x80]
mov byte [esp + 0x13], 0
push edi
push 0x1010
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
mov dword [esp + 0x20], esi
cmp esi, edi
je 0x1002fbb0
push ebx
lea eax, [esp + 0x809c]
push eax
push esi
call sub.PSAPI.DLL_GetProcessImageFileNameW
lea eax, [esp + 0x8098]
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
cmp cx, di
jne 0x1002f9f1
sub eax, edx
sar eax, 1
cmp eax, 0xc
jbe 0x1002fb9f
lea eax, [esp + eax*2 + 0x8080]
push str.Explorer.exe
push eax
call fcn.1006136f
pop ecx
pop ecx
test eax, eax
jne 0x1002fb9f
lea eax, [esp + 0x18]
push eax
push 0x2000e
push esi
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x1002fb9f
lea eax, [esp + 0x14]
push eax
push 1
push 2
push edi
push 0xf01ff
push dword [esp + 0x2c]
call dword [sym.imp.ADVAPI32.dll_DuplicateTokenEx]
test eax, eax
je 0x1002fb95
mov esi, dword [esp + 0x14]
call fcn.1002f851
push ebx
lea eax, [esp + 0x82a4]
push eax
push dword [0x100b2774]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push str.RunDLL32__
lea eax, [esp + 0x84ac]
push ebx
push eax
call fcn.10060b10
add esp, 0xc
lea eax, [esp + 0x82a0]
push eax
lea eax, [esp + 0x84ac]
push ebx
push eax
call fcn.10060a93
add esp, 0xc
push 0x100a0aac
lea eax, [esp + 0x84ac]
push ebx
push eax
call fcn.10060a93
add esp, 0xc
push str._OCPRD1379OpenCandy4_16
lea eax, [esp + 0x84ac]
push ebx
push eax
call fcn.10060a93
add esp, 0xc
push 0x100a0ae4
lea eax, [esp + 0x84ac]
push ebx
push eax
call fcn.10060a93
add esp, 0xc
push dword [esp + 0x24]
lea eax, [esp + 0x84ac]
push ebx
push eax
call fcn.10060a93
add esp, 0xc
push 0x44
lea eax, [esp + 0x3c]
push edi
push eax
call fcn.10062b80
xor eax, eax
lea edi, [esp + 0x34]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
add esp, 0xc
push str.Advapi32.dll
stosd dword es:[edi], eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
je 0x1002fb89
push 6
pop ecx
mov esi, str.CreateProcessWithTokenW
lea edi, [esp + 0x8080]
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x8080]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1002fb89
lea ecx, [esp + 0x28]
push ecx
lea ecx, [esp + 0x3c]
push ecx
xor ecx, ecx
push ecx
push ecx
push ecx
lea edx, [esp + 0x84bc]
push edx
push ecx
push ecx
push dword [esp + 0x34]
call eax
test eax, eax
je 0x1002fb89
push dword [esp + 0x28]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [esp + 0x2c]
call esi
mov byte [esp + 0xf], 1
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor edi, edi
push dword [esp + 0x18]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [esp + 0x20]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [esp + 0xf], 0
jne 0x1002fbdd
mov eax, dword [esp + 0x1c]
inc dword [esp + 0x10]
shr eax, 2
cmp dword [esp + 0x10], eax
jb 0x1002f9ae
xor eax, eax
inc eax
mov ecx, dword [esp + 0xa4ac]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1005fc2b
mov esp, ebp
pop ebp
ret
xor eax, eax
jmp 0x1002fbc8