Function at 0x10020868
Capabilities:
Enumerate process modules

Disassembly:
push ebp
lea ebp, [esp - 0x80c]
sub esp, 0x80c
push 0xffffffffffffffff
push 0x1016c037
mov eax, dword fs:[0]
push eax
mov eax, 0x1058
call fcn.10076ab0
mov eax, dword [0x101f1dd0]
xor eax, ebp
mov dword [ebp + 0x808], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 0x814]
lea eax, [ebp - 0x28]
push eax
push 0x1000
lea eax, [ebp - 0x1064]
push eax
call sub.PSAPI.DLL_EnumProcesses
mov edi, dword [ebp - 0x28]
shr edi, 2
push 0
pop ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x14], ebx
je 0x10020ad0
mov eax, dword [ebp - 0x14]
push dword [ebp + eax*4 - 0x1064]
push ebx
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
cmp eax, ebx
mov dword [ebp - 0x18], eax
je 0x10020aad
push 0x7ce
lea eax, [ebp + 0x3a]
push ebx
push eax
mov word [ebp + 0x38], bx
call fcn.10076580
add esp, 0xc
push 0x7d0
lea eax, [ebp + 0x38]
push eax
push ebx
push dword [ebp - 0x18]
mov dword [ebp - 0x20], ebx
call sub.PSAPI.DLL_GetModuleFileNameExW
lea eax, [ebp + 0x38]
push eax
call fcn.10076514
test eax, eax
pop ecx
jne 0x1002097f
cmp dword [ebp - 0x10], ebx
jne 0x1002094f
push str.psapi.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
cmp eax, ebx
mov dword [ebp - 0x10], eax
je 0x1002097f
cmp dword [ebp - 0x1c], ebx
jne 0x10020969
push str.GetProcessImageFileNameW
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
mov dword [ebp - 0x1c], eax
je 0x1002097f
push 0x104
lea eax, [ebp + 0x38]
push eax
push dword [ebp - 0x18]
call dword [ebp - 0x1c]
mov dword [ebp - 0x20], 1
lea eax, [ebp + 0x38]
push eax
call fcn.10076514
cmp eax, ebx
pop ecx
jle 0x10020aad
lea eax, [ebp + 0x38]
push eax
call fcn.10077163
lea eax, [ebp + 0x38]
push eax
call fcn.1002052f
test al, al
pop ecx
pop ecx
je 0x10020aad
lea eax, [ebp + 0x38]
push eax
lea ecx, [ebp]
mov dword [ebp - 0x24], 1
call fcn.100015f0
push 0x101d87ec
lea ecx, [ebp + 0x1c]
mov dword [ebp - 4], ebx
call fcn.100015f0
cmp dword [ebp - 0x20], ebx
mov byte [ebp - 4], 1
je 0x10020a26
lea eax, [ebp + 0x38]
push eax
lea eax, [ebp - 0x64]
push eax
call fcn.1001fc2a
pop ecx
pop ecx
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp + 0x1c]
mov byte [ebp - 4], 2
call fcn.10001d60
push ebx
push 1
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 1
call fcn.100017f0
push 0x101d87ec
lea ecx, [ebp + 0x1c]
call fcn.100053e4
test eax, eax
jne 0x10020a35
lea eax, [ebp + 0x38]
push eax
lea ecx, [ebp + 0x1c]
call fcn.100017c0
jmp 0x10020a35
push 0xffffffffffffffff
push ebx
lea eax, [ebp]
push eax
lea ecx, [ebp + 0x1c]
call fcn.10001d60
mov eax, dword [esi + 8]
push esi
push eax
lea ecx, [ebp - 0x30]
call fcn.1000d1b5
mov eax, dword [esi + 4]
push esi
push eax
lea ecx, [ebp - 0x38]
call fcn.1000d1b5
lea eax, [ebp + 0x1c]
push eax
push dword [ebp - 0x2c]
lea eax, [ebp - 0x48]
push dword [ebp - 0x30]
push dword [ebp - 0x34]
push dword [ebp - 0x38]
push eax
call fcn.1001f83c
mov eax, dword [esi + 8]
add esp, 0x18
push esi
push eax
lea ecx, [ebp - 0x40]
call fcn.1000d1b5
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x48]
call fcn.10004bce
test al, al
je 0x10020a93
lea eax, [ebp + 0x1c]
push eax
mov ecx, esi
call fcn.10012b23
push ebx
push 1
lea ecx, [ebp + 0x1c]
call fcn.100017f0
or dword [ebp - 4], 0xffffffff
push ebx
push 1
lea ecx, [ebp]
call fcn.100017f0
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], edi
jb 0x100208de
cmp dword [ebp - 0x10], ebx
je 0x10020ad0
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x808]
xor ecx, ebp
call fcn.10075e13
add ebp, 0x80c
leave
ret