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

Disassembly:
mov eax, 0x1144
call fcn.0040ec70
mov eax, dword [0x87f03c]
xor eax, esp
mov dword [esp + 0x1140], eax
push ebx
push ebp
push esi
push edi
lea eax, [esp + 0x18]
mov ebp, ecx
push eax
push 0x1000
lea eax, [esp + 0x54]
mov dword [esp + 0x34], ebp
push eax
call sub.KERNEL32.dll_K32EnumProcesses
test eax, eax
je 0x406e34
mov ebx, dword [esp + 0x18]
xor eax, eax
shr ebx, 2
mov dword [esp + 0x28], ebx
mov dword [esp + 0x14], eax
test ebx, ebx
je 0x406e34
nop word [eax + eax]
lea eax, [esp + eax*4 + 0x4c]
mov dword [esp + 0x30], eax
mov eax, dword [eax]
test eax, eax
je 0x406e23
cmp eax, dword [esp + 0x1158]
je 0x406e23
push eax
push 0
push 0x1000
call dword [sym.imp.KERNEL32.dll_OpenProcess]
test eax, eax
je 0x406e23
push 0x104
lea ecx, [esp + 0x1050]
push ecx
push eax
call sub.KERNEL32.dll_K32GetProcessImageFileNameA
test eax, eax
je 0x406e23
xorps xmm0, xmm0
mov dword [esp + 0x44], 0
lea ecx, [esp + 0x104c]
mov dword [esp + 0x48], 0
movups xmmword [esp + 0x34], xmm0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x406ce2
sub ecx, edx
lea eax, [esp + 0x104c]
push ecx
push eax
lea ecx, [esp + 0x3c]
call fcn.00401290
cmp dword [ebp + 0x2c], 0x10
lea ebx, [ebp + 0x18]
mov ebp, dword [ebx + 0x10]
jb 0x406d0b
mov ebx, dword [ebx]
cmp dword [esp + 0x48], 0x10
lea ecx, [esp + 0x34]
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x44]
cmovae ecx, edx
mov dword [esp + 0x10], edx
mov dword [esp + 0x24], ecx
cmp ebp, eax
ja 0x406de3
sub eax, ebp
test ebp, ebp
jne 0x406d3c
xor edi, edi
jmp 0x406de6
movsx edx, byte [ebx]
inc eax
add eax, ecx
mov dword [esp + 0x20], edx
mov dword [esp + 0x1c], eax
sub eax, ecx
push eax
push edx
push ecx
call sub.VCRUNTIME140.dll_memchr
mov edi, eax
add esp, 0xc
test edi, edi
je 0x406ddf
mov edx, ebp
mov esi, edi
mov eax, ebx
sub edx, 4
jb 0x406d81
nop dword [eax]
mov ecx, dword [esi]
cmp ecx, dword [eax]
jne 0x406d86
add esi, 4
add eax, 4
sub edx, 4
jae 0x406d70
cmp edx, 0xfffffffc
je 0x406dba
mov cl, byte [esi]
cmp cl, byte [eax]
jne 0x406db3
cmp edx, 0xfffffffd
je 0x406dba
mov cl, byte [esi + 1]
cmp cl, byte [eax + 1]
jne 0x406db3
cmp edx, 0xfffffffe
je 0x406dba
mov cl, byte [esi + 2]
cmp cl, byte [eax + 2]
jne 0x406db3
cmp edx, 0xffffffff
je 0x406dba
mov cl, byte [esi + 3]
cmp cl, byte [eax + 3]
je 0x406dba
sbb eax, eax
or eax, 1
jmp 0x406dbc
xor eax, eax
test eax, eax
je 0x406e51
mov eax, dword [esp + 0x1c]
inc edi
sub eax, edi
push eax
push dword [esp + 0x24]
push edi
call sub.VCRUNTIME140.dll_memchr
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x406d61
mov edx, dword [esp + 0x10]
or edi, 0xffffffff
mov eax, dword [esp + 0x48]
cmp eax, 0x10
jb 0x406e16
lea ecx, [eax + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x406e0c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406e5b
push ecx
push edx
call fcn.0040e25c
add esp, 8
cmp edi, 0xffffffff
jne 0x406e61
mov ebx, dword [esp + 0x28]
mov ebp, dword [esp + 0x2c]
mov eax, dword [esp + 0x14]
inc eax
mov dword [esp + 0x14], eax
cmp eax, ebx
jb 0x406c70
xor eax, eax
mov ecx, dword [esp + 0x1150]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0040e6c4
add esp, 0x1144
ret 4
sub edi, dword [esp + 0x24]
mov edx, dword [esp + 0x10]
jmp 0x406de6
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
mov eax, dword [esp + 0x30]
mov eax, dword [eax]
jmp 0x406e36