Function at 0x418a00
Capabilities:
Enumerate process modules
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46ccad
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.004172e0
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 0x418a70
sub ecx, edx
sar ecx, 1
inc ecx
cmp ecx, 0x3fffffff
jg 0x418abc
lea edi, [ecx + ecx]
mov eax, edi
call fcn.0046c340
mov esi, esp
test esi, esi
je 0x418abc
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 0x418abe
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 0x418af0
test dl, dl
je 0x418aec
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x418af0
add eax, 2
add ecx, 2
test dl, dl
jne 0x418ad0
xor eax, eax
jmp 0x418af5
sbb eax, eax
or eax, 1
test eax, eax
je 0x418b5a
lea eax, [ebp - 0x26c]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x418a60
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x14]
cmp ecx, 0xf
jbe 0x418b46
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x418b3c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x418b8d
push ecx
push edx
call fcn.0046b50d
add esp, 8
mov eax, dword [ebp - 0x10]
mov esi, 1
mov dword [eax + 8], 0
jmp 0x418d49
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x14]
mov esi, dword [ebp - 0x264]
cmp ecx, 0xf
jbe 0x418b9d
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x418b93
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x418b93
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0046b50d
add esp, 8
mov ebx, dword [ebp - 0x10]
mov dword [ebx + 8], esi
test esi, esi
jne 0x418bb1
mov esi, 1
jmp 0x418d49
push esi
push 1
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebx + 4], eax
test eax, eax
jne 0x418bce
lea esi, [eax + 2]
jmp 0x418d49
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x40]
call fcn.004172e0
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 0x418c10
sub ecx, edx
sar ecx, 1
inc ecx
cmp ecx, 0x3fffffff
jg 0x418c5c
lea edi, [ecx + ecx]
mov eax, edi
call fcn.0046c340
mov esi, esp
test esi, esi
je 0x418c5c
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 0x418c5e
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 0x418c90
test dl, dl
je 0x418c8c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x418c90
add eax, 2
add ecx, 2
test dl, dl
jne 0x418c70
xor eax, eax
jmp 0x418c95
sbb eax, eax
or eax, 1
test eax, eax
je 0x418ceb
lea eax, [ebp - 0x694]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Module32NextW]
test eax, eax
jne 0x418c00
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
call eax
mov ecx, dword [ebp - 0x2c]
cmp ecx, 0xf
jbe 0x418ce7
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x418cdd
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x418d1f
push ecx
push edx
call fcn.0046b50d
add esp, 8
xor esi, esi
jmp 0x418d2f
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 0x418d2f
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x418d25
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x418d25
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0046b50d
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 0x418d44
lea esi, [eax + 3]
jmp 0x418d49
mov byte [ecx], 1
xor esi, esi
mov ecx, dword [ebp + 0x1c]
cmp ecx, 0xf
jbe 0x418d7f
mov edx, dword [ebp + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x418d75
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x418d75
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0046b50d
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