Function at 0x416220
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41c33d
mov eax, dword fs:[0]
push eax
sub esp, 0x48c
mov eax, dword [0x428024]
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 esi, edx
mov edi, ecx
mov dword [ebp - 0x46c], edi
mov dword [ebp - 0x490], edi
mov dword [ebp - 0x498], 0
push 0
push 0
test esi, esi
jne 0x4162bb
lea esi, [edi + 4]
mov dword [edi], edx
mov dword [ebp - 0x46c], esi
mov dword [esi], edx
mov dword [esi + 4], edx
call fcn.004170d0
mov dword [esi], eax
mov dword [ebp - 4], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov byte [ebp - 4], 1
mov ecx, edi
push 8
mov dword [edi], 0x3f800000
call fcn.00416600
jmp 0x4164f2
mov dword [ebp - 0x48c], 0
mov dword [ebp - 0x488], 0
mov dword [ebp - 0x484], 0
call fcn.004170d0
mov dword [ebp - 0x488], eax
mov dword [ebp - 4], 2
mov dword [ebp - 0x480], 0
mov dword [ebp - 0x47c], 0
mov dword [ebp - 0x478], 0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x48c]
push 8
mov dword [ebp - 0x48c], 0x3f800000
call fcn.00416600
push esi
push 0x18
mov dword [ebp - 4], 4
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov ebx, eax
mov dword [ebp - 0x46c], ebx
cmp ebx, 0xffffffff
je 0x416491
push 0x424
lea eax, [ebp - 0x464]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x468], 0x428
lea eax, [ebp - 0x468]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Module32FirstW]
test eax, eax
je 0x416491
nop dword [eax + eax]
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
cmp word [ebp - 0x448], ax
jne 0x4163a1
xor ecx, ecx
jmp 0x4163bf
lea ecx, [ebp - 0x448]
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4163b0
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x448]
push eax
lea ecx, [ebp - 0x28]
call fcn.00403fe0
lea edx, [ebp - 0x28]
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x40]
call fcn.00415ec0
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x488]
push eax
mov ebx, dword [ecx]
push dword [ebx + 4]
push ebx
call fcn.00417100
mov edx, dword [ebp - 0x484]
mov ecx, 0x7fffffe
sub ecx, edx
mov esi, eax
cmp ecx, 1
jb 0x416510
inc edx
lea ecx, [ebp - 0x48c]
mov dword [ebp - 0x484], edx
mov dword [ebx + 4], esi
mov eax, dword [esi + 4]
mov dword [eax], esi
mov eax, dword [ebp - 0x488]
mov eax, dword [eax]
push eax
add eax, 8
push eax
lea eax, [ebp - 0x494]
push eax
call fcn.00416d60
mov eax, dword [ebp - 0x2c]
cmp eax, 8
jb 0x41644c
inc eax
push eax
push dword [ebp - 0x40]
call fcn.00402ae0
xor eax, eax
mov byte [ebp - 4], 4
mov word [ebp - 0x40], ax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
cmp eax, 8
jb 0x416476
inc eax
push eax
push dword [ebp - 0x28]
call fcn.00402ae0
lea eax, [ebp - 0x468]
push eax
push dword [ebp - 0x46c]
call dword [sym.imp.KERNEL32.dll_Module32NextW]
test eax, eax
jne 0x416380
lea eax, [ebp - 0x48c]
mov ecx, edi
push eax
call fcn.00416520
mov ecx, dword [ebp - 0x480]
test ecx, ecx
je 0x4164d9
mov eax, dword [ebp - 0x478]
sub eax, ecx
sar eax, 2
push eax
push ecx
call fcn.004056d0
mov dword [ebp - 0x480], 0
mov dword [ebp - 0x47c], 0
mov dword [ebp - 0x478], 0
lea ecx, [ebp - 0x488]
call fcn.00412b50
push dword [ebp - 0x488]
call fcn.0041957b
add esp, 4
mov eax, edi
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.00419532
mov esp, ebp
pop ebp
ret
push str.list_T__too_long
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const__]
int3