Function at 0x1001f824
Capabilities:
Enumerate process modules

Disassembly:
push ebp
lea ebp, [esp - 0x80c]
sub esp, 0x80c
push 0xffffffffffffffff
push 0x100ce2d2
mov eax, dword fs:[0]
push eax
mov eax, 0x1058
call fcn.10072c80
mov eax, dword [0x1011ac70]
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 0x1001fa8c
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 0x1001fa69
push 0x7ce
lea eax, [ebp + 0x3a]
push ebx
push eax
mov word [ebp + 0x38], bx
call fcn.10072750
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.100726e4
test eax, eax
pop ecx
jne 0x1001f93b
cmp dword [ebp - 0x10], ebx
jne 0x1001f90b
push str.psapi.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
cmp eax, ebx
mov dword [ebp - 0x10], eax
je 0x1001f93b
cmp dword [ebp - 0x1c], ebx
jne 0x1001f925
push str.GetProcessImageFileNameW
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
mov dword [ebp - 0x1c], eax
je 0x1001f93b
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.100726e4
cmp eax, ebx
pop ecx
jle 0x1001fa69
lea eax, [ebp + 0x38]
push eax
call fcn.10073333
lea eax, [ebp + 0x38]
push eax
call fcn.1001f4d0
test al, al
pop ecx
pop ecx
je 0x1001fa69
lea eax, [ebp + 0x38]
push eax
lea ecx, [ebp]
mov dword [ebp - 0x24], 1
call fcn.100015f0
push 0x10102f18
lea ecx, [ebp + 0x1c]
mov dword [ebp - 4], ebx
call fcn.100015f0
cmp dword [ebp - 0x20], ebx
mov byte [ebp - 4], 1
je 0x1001f9e2
lea eax, [ebp + 0x38]
push eax
lea eax, [ebp - 0x64]
push eax
call fcn.1001ec38
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 0x10102f18
lea ecx, [ebp + 0x1c]
call fcn.1000535e
test eax, eax
jne 0x1001f9f1
lea eax, [ebp + 0x38]
push eax
lea ecx, [ebp + 0x1c]
call fcn.100017c0
jmp 0x1001f9f1
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.100204a1
mov eax, dword [esi + 4]
push esi
push eax
lea ecx, [ebp - 0x38]
call fcn.100204a1
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.1001e8e5
mov eax, dword [esi + 8]
add esp, 0x18
push esi
push eax
lea ecx, [ebp - 0x40]
call fcn.100204a1
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x48]
call fcn.1003fd71
test al, al
je 0x1001fa4f
lea eax, [ebp + 0x1c]
push eax
mov ecx, esi
call fcn.100123ed
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 0x1001f89a
cmp dword [ebp - 0x10], ebx
je 0x1001fa8c
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.10071fee
add ebp, 0x80c
leave
ret