Function at 0x418810
Capabilities:
Enumerate process modules
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4698dd
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.004170f0
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 0x418880
sub ecx, edx
sar ecx, 1
inc ecx
cmp ecx, 0x3fffffff
jg 0x4188cc
lea edi, [ecx + ecx]
mov eax, edi
call fcn.00468f90
mov esi, esp
test esi, esi
je 0x4188cc
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 0x4188ce
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 0x418900
test dl, dl
je 0x4188fc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x418900
add eax, 2
add ecx, 2
test dl, dl
jne 0x4188e0
xor eax, eax
jmp 0x418905
sbb eax, eax
or eax, 1
test eax, eax
je 0x41896a
lea eax, [ebp - 0x26c]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x418870
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x14]
cmp ecx, 0xf
jbe 0x418956
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x41894c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41899d
push ecx
push edx
call fcn.00468169
add esp, 8
mov eax, dword [ebp - 0x10]
mov esi, 1
mov dword [eax + 8], 0
jmp 0x418b59
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x14]
mov esi, dword [ebp - 0x264]
cmp ecx, 0xf
jbe 0x4189ad
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4189a3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4189a3
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00468169
add esp, 8
mov ebx, dword [ebp - 0x10]
mov dword [ebx + 8], esi
test esi, esi
jne 0x4189c1
mov esi, 1
jmp 0x418b59
push esi
push 1
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebx + 4], eax
test eax, eax
jne 0x4189de
lea esi, [eax + 2]
jmp 0x418b59
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x40]
call fcn.004170f0
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 0x418a20
sub ecx, edx
sar ecx, 1
inc ecx
cmp ecx, 0x3fffffff
jg 0x418a6c
lea edi, [ecx + ecx]
mov eax, edi
call fcn.00468f90
mov esi, esp
test esi, esi
je 0x418a6c
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 0x418a6e
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 0x418aa0
test dl, dl
je 0x418a9c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x418aa0
add eax, 2
add ecx, 2
test dl, dl
jne 0x418a80
xor eax, eax
jmp 0x418aa5
sbb eax, eax
or eax, 1
test eax, eax
je 0x418afb
lea eax, [ebp - 0x694]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Module32NextW]
test eax, eax
jne 0x418a10
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
call eax
mov ecx, dword [ebp - 0x2c]
cmp ecx, 0xf
jbe 0x418af7
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x418aed
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x418b2f
push ecx
push edx
call fcn.00468169
add esp, 8
xor esi, esi
jmp 0x418b3f
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 0x418b3f
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x418b35
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x418b35
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00468169
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 0x418b54
lea esi, [eax + 3]
jmp 0x418b59
mov byte [ecx], 1
xor esi, esi
mov ecx, dword [ebp + 0x1c]
cmp ecx, 0xf
jbe 0x418b8f
mov edx, dword [ebp + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x418b85
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x418b85
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00468169
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