Function at 0x10082350
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x100ab4f8
push 0x1005c750
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, 0x2a44
call fcn.1002f5c0
mov eax, dword [0x100ad708]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov eax, dword [ebp + 8]
mov dword [ebp - 0x2a4c], eax
mov dword [ebp - 0x2a54], eax
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x2a58], ecx
test eax, eax
je 0x1008263d
mov esi, eax
lea edx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x100823b5
sub esi, edx
sar esi, 1
mov dword [ebp - 0x2a48], esi
cmp esi, 4
jl 0x1008263d
cmp esi, 0x104
jg 0x1008263d
test ecx, ecx
je 0x100823e9
mov dword [ecx], 0
xor edi, edi
mov dword [ebp - 0x2a50], edi
mov dword [ebp - 0x2a44], edi
mov dword [ebp - 4], edi
call fcn.100820b0
mov dword [ebp - 4], 0xfffffffe
mov edi, dword [ebp - 0x2a4c]
jmp 0x10082436
push 0x800
push 0
lea eax, [ebp - 0xa24]
push eax
call fcn.10059fd0
mov dword [ebp - 0x2a28], 0
push 0x2000
push 0
lea eax, [ebp - 0x2a24]
push eax
call fcn.10059fd0
add esp, 0x18
lea eax, [ebp - 0x2a28]
push eax
push 0x800
lea eax, [ebp - 0x2a24]
push eax
call sub.KERNEL32.dll_K32EnumProcesses
test eax, eax
je 0x1008263d
push 0x104
push edi
push 0x104
lea eax, [ebp - 0x224]
push eax
call fcn.10060e17
push 0x104
lea eax, [ebp - 0x224]
push eax
call fcn.100838f0
add esp, 0x18
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [ebp - 0x2a44], eax
or edi, 0xffffffff
xorps xmm0, xmm0
movups xmmword [ebp - 0x2a40], xmm0
movq qword [ebp - 0x2a30], xmm0
push str.ntdll.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 0x2a4c], eax
test eax, eax
jne 0x100824f8
or ecx, 0xffffffff
mov dword [ebp - 0x2a48], ecx
jmp 0x10082596
push str.NtQueryInformationProcess
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x2a54], eax
test eax, eax
jne 0x10082525
push dword [ebp - 0x2a4c]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
or ecx, 0xffffffff
mov dword [ebp - 0x2a48], ecx
jmp 0x10082596
push dword [ebp - 0x2a44]
push 0
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x2a5c], eax
test eax, eax
jne 0x10082559
push dword [ebp - 0x2a4c]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
or ecx, 0xffffffff
mov dword [ebp - 0x2a48], ecx
jmp 0x10082596
push 0
push 0x18
lea ecx, [ebp - 0x2a40]
push ecx
push 0
push eax
call dword [ebp - 0x2a54]
test eax, eax
cmove edi, dword [ebp - 0x2a2c]
mov dword [ebp - 0x2a48], edi
push dword [ebp - 0x2a5c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x2a4c]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, edi
xor edi, edi
cmp dword [ebp - 0x2a28], edi
jbe 0x1008262b
mov edx, dword [ebp - 0x2a44]
nop word [eax + eax]
mov eax, dword [ebp + edi*4 - 0x2a24]
cmp edx, eax
je 0x1008261c
cmp ecx, eax
je 0x1008261c
push 0x400
lea ecx, [ebp - 0xa24]
push ecx
push eax
call fcn.10082200
add esp, 0xc
test eax, eax
je 0x10082616
push 0x400
lea eax, [ebp - 0xa24]
push eax
call fcn.100838f0
push esi
lea eax, [ebp - 0xa24]
push eax
lea eax, [ebp - 0x224]
push eax
call fcn.1006ff90
add esp, 0x14
test eax, eax
jne 0x10082616
push dword [ebp + edi*4 - 0x2a24]
call fcn.100828a0
inc dword [ebp - 0x2a50]
mov edx, dword [ebp - 0x2a44]
inc edi
cmp edi, dword [ebp - 0x2a28]
mov ecx, dword [ebp - 0x2a48]
jb 0x100825b0
mov ecx, dword [ebp - 0x2a58]
test ecx, ecx
je 0x1008263d
mov eax, dword [ebp - 0x2a50]
mov dword [ecx], eax
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.1002ef19
mov esp, ebp
pop ebp
ret 8