Function at 0x1002c9d0
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1002fc0b
mov eax, dword fs:[0]
push eax
sub esp, 0x25c
mov eax, dword [0x1003900c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x264], edi
mov ax, word [0x10035c9c]
movq xmm0, qword [str._unknown_]
push 0xfa
mov word [ebp - 0x10c], ax
lea eax, [ebp - 0x10a]
push 0
push eax
movq qword [ebp - 0x114], xmm0
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
push edi
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ebx, eax
mov dword [ebp - 0x250], ebx
test ebx, ebx
je 0x1002cc8a
lea eax, [ebp - 0x268]
push eax
push 4
lea eax, [ebp - 0x254]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_K32EnumProcessModules]
test eax, eax
je 0x1002cc8a
push 0x104
lea eax, [ebp - 0x114]
push eax
push dword [ebp - 0x254]
push ebx
call dword [sym.imp.KERNEL32.dll_K32GetModuleBaseNameA]
push 0x104
lea eax, [ebp - 0x218]
push eax
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_K32GetModuleFileNameExA]
push ecx
lea ecx, [ebp - 0x248]
call fcn.1002d090
push ecx
lea ecx, [ebp - 0x230]
mov dword [ebp - 4], 0
call fcn.1002d090
cmp dword [ebp - 0x21c], 0x10
lea ecx, [ebp - 0x230]
mov edx, dword [ebp - 0x230]
lea eax, [ebp - 0x248]
mov ebx, dword [ebp - 0x248]
cmovae ecx, edx
cmp dword [ebp - 0x234], 0x10
mov esi, dword [ebp - 0x220]
cmovae eax, ebx
mov dword [ebp - 0x258], ecx
mov dword [ebp - 0x24c], eax
mov eax, dword [ebp - 0x238]
cmp esi, eax
ja 0x1002cc14
test esi, esi
je 0x1002cbec
mov edx, dword [ebp - 0x24c]
sub eax, esi
movsx ecx, byte [ecx]
inc eax
add eax, edx
mov dword [ebp - 0x260], ecx
mov dword [ebp - 0x25c], eax
sub eax, edx
push eax
push ecx
push edx
call sub.VCRUNTIME140.dll_memchr
mov edi, eax
add esp, 0xc
test edi, edi
je 0x1002cc0e
nop dword [eax + eax]
mov edx, dword [ebp - 0x258]
mov ecx, edi
sub esi, 4
jb 0x1002cb71
nop dword [eax]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x1002cb76
add ecx, 4
add edx, 4
sub esi, 4
jae 0x1002cb60
cmp esi, 0xfffffffc
je 0x1002cbaa
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x1002cba3
cmp esi, 0xfffffffd
je 0x1002cbaa
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x1002cba3
cmp esi, 0xfffffffe
je 0x1002cbaa
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x1002cba3
cmp esi, 0xffffffff
je 0x1002cbaa
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
je 0x1002cbaa
sbb eax, eax
or eax, 1
jmp 0x1002cbac
xor eax, eax
test eax, eax
je 0x1002cbdb
mov eax, dword [ebp - 0x25c]
inc edi
sub eax, edi
push eax
push dword [ebp - 0x260]
push edi
call sub.VCRUNTIME140.dll_memchr
mov esi, dword [ebp - 0x220]
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x1002cb50
jmp 0x1002cc0e
sub edi, dword [ebp - 0x24c]
cmp edi, 0xffffffff
je 0x1002cc0e
mov edi, dword [ebp - 0x264]
lea eax, [ebp - 0x218]
mov dword [0x10054ee8], edi
push eax
push edi
lea eax, [ebp - 0x114]
push eax
push str._s___PID:__u__Path_:__s_n
call fcn.10028280
add esp, 0x10
mov edx, dword [ebp - 0x230]
mov eax, dword [ebp - 0x21c]
cmp eax, 0x10
jb 0x1002cc4c
lea ecx, [eax + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x1002cc42
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1002cc42
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1002da9e
add esp, 8
mov eax, dword [ebp - 0x234]
cmp eax, 0x10
jb 0x1002cc84
lea ecx, [eax + 1]
mov eax, ebx
cmp ecx, 0x1000
jb 0x1002cc7a
mov ebx, dword [ebx - 4]
add ecx, 0x23
sub eax, ebx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1002cc7a
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push ebx
call fcn.1002da9e
add esp, 8
mov ebx, dword [ebp - 0x250]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1002d3bc
mov esp, ebp
pop ebp
ret