Function at 0x40aeb0
Capabilities:
Enumerate process modules
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x446ecd
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x688
push ebx
push esi
push edi
mov dword [ebp - 0x10], ecx
lea eax, [ebp + 8]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x28]
call fcn.004092c0
push 0
push 0xf
mov dword [ebp - 0x26c], 0x22c
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov ebx, eax
lea eax, [ebp - 0x26c]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
nop dword [eax + eax]
lea ecx, [ebp - 0x248]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40af20
sub ecx, edx
sar ecx, 1
inc ecx
cmp ecx, 0x3fffffff
jg 0x40af6c
lea edi, [ecx + ecx]
mov eax, edi
call fcn.004466c0
mov esi, esp
test esi, esi
je 0x40af6c
push 0
push 0
push edi
push esi
push 0xffffffffffffffff
lea eax, [ebp - 0x248]
mov byte [esi], 0
push eax
push 0
push 3
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
neg eax
sbb eax, eax
and eax, esi
jmp 0x40af6e
xor eax, eax
cmp dword [ebp - 0x14], 0xf
lea ecx, [ebp - 0x28]
cmova ecx, dword [ebp - 0x28]
nop dword [eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x40afa0
test dl, dl
je 0x40af9c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x40afa0
add eax, 2
add ecx, 2
test dl, dl
jne 0x40af80
xor eax, eax
jmp 0x40afa5
sbb eax, eax
or eax, 1
test eax, eax
je 0x40b00a
lea eax, [ebp - 0x26c]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x40af10
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x14]
cmp ecx, 0xf
jbe 0x40aff6
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40afec
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40b03d
push ecx
push edx
call fcn.0044588f
add esp, 8
mov eax, dword [ebp - 0x10]
mov esi, 1
mov dword [eax + 8], 0
jmp 0x40b1f9
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x14]
mov esi, dword [ebp - 0x264]
cmp ecx, 0xf
jbe 0x40b04d
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40b043
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40b043
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0044588f
add esp, 8
mov ebx, dword [ebp - 0x10]
mov dword [ebx + 8], esi
test esi, esi
jne 0x40b061
mov esi, 1
jmp 0x40b1f9
push esi
push 1
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebx + 4], eax
test eax, eax
jne 0x40b07e
lea esi, [eax + 2]
jmp 0x40b1f9
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x40]
call fcn.004092c0
push dword [ebx + 8]
mov dword [ebp - 0x694], 0x428
push 8
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov ebx, eax
lea eax, [ebp - 0x694]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Module32FirstW]
nop
lea ecx, [ebp - 0x674]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40b0c0
sub ecx, edx
sar ecx, 1
inc ecx
cmp ecx, 0x3fffffff
jg 0x40b10c
lea edi, [ecx + ecx]
mov eax, edi
call fcn.004466c0
mov esi, esp
test esi, esi
je 0x40b10c
push 0
push 0
push edi
push esi
push 0xffffffffffffffff
lea eax, [ebp - 0x674]
mov byte [esi], 0
push eax
push 0
push 3
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
neg eax
sbb eax, eax
and eax, esi
jmp 0x40b10e
xor eax, eax
cmp dword [ebp - 0x2c], 0xf
lea ecx, [ebp - 0x40]
cmova ecx, dword [ebp - 0x40]
nop dword [eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x40b140
test dl, dl
je 0x40b13c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x40b140
add eax, 2
add ecx, 2
test dl, dl
jne 0x40b120
xor eax, eax
jmp 0x40b145
sbb eax, eax
or eax, 1
test eax, eax
je 0x40b19b
lea eax, [ebp - 0x694]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Module32NextW]
test eax, eax
jne 0x40b0b0
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
call eax
mov ecx, dword [ebp - 0x2c]
cmp ecx, 0xf
jbe 0x40b197
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40b18d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40b1cf
push ecx
push edx
call fcn.0044588f
add esp, 8
xor esi, esi
jmp 0x40b1df
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
call eax
mov ecx, dword [ebp - 0x2c]
mov esi, dword [ebp - 0x678]
cmp ecx, 0xf
jbe 0x40b1df
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40b1d5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40b1d5
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0044588f
add esp, 8
mov ecx, dword [ebp - 0x10]
mov eax, esi
cdq
mov dword [ecx + 0x10], eax
or eax, edx
mov dword [ecx + 0x14], edx
jne 0x40b1f4
lea esi, [eax + 3]
jmp 0x40b1f9
mov byte [ecx], 1
xor esi, esi
mov ecx, dword [ebp + 0x1c]
cmp ecx, 0xf
jbe 0x40b22f
mov edx, dword [ebp + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40b225
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40b225
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0044588f
add esp, 8
mov eax, esi
lea esp, [ebp - 0x6a0]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18