Function at 0x411d40
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44081e
mov eax, dword fs:[0]
push eax
sub esp, 0x444
mov eax, dword [0x44fb90]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
mov edi, ecx
mov dword [ebp - 0x450], ebx
mov dword [ebp - 4], ebx
mov eax, dword [section..data]
mov edx, dword [eax + 0xc]
mov ecx, section..data
call edx
add eax, 0x10
mov dword [ebp - 0x440], eax
mov byte [ebp - 4], 1
push 0x445b68
lea eax, [ebp - 0x440]
push eax
mov dword [ebp - 0x44c], ebx
mov dword [ebp - 0x448], ebx
mov dword [ebp - 0x444], ebx
call fcn.00407550
mov byte [ebp - 4], 2
test edi, edi
jne 0x411e16
mov eax, dword [ebp - 0x444]
mov edi, dword [ebp - 0x440]
mov ecx, dword [ebp - 0x44c]
mov edx, dword [ebp - 0x448]
mov dword [esi + 8], eax
add edi, 0xfffffff0
mov eax, edi
mov dword [esi], ecx
mov dword [esi + 4], edx
call fcn.004023d0
add eax, 0x10
mov dword [esi + 0xc], eax
mov byte [ebp - 4], bl
lea ecx, [edi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x411f50
mov ecx, dword [edi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push edi
call edx
jmp 0x411f50
push edi
push 8
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x411e7b
mov eax, dword [ebp - 0x444]
mov edi, dword [ebp - 0x440]
mov ecx, dword [ebp - 0x44c]
mov edx, dword [ebp - 0x448]
mov dword [esi + 8], eax
add edi, 0xfffffff0
mov eax, edi
mov dword [esi], ecx
mov dword [esi + 4], edx
call fcn.004023d0
add eax, 0x10
mov dword [esi + 0xc], eax
mov byte [ebp - 4], 0
lea ecx, [edi + 0xc]
or edx, ebx
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x411f50
mov ecx, dword [edi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push edi
call edx
jmp 0x411f50
lea ecx, [ebp - 0x43c]
push ecx
push ebx
mov dword [ebp - 0x43c], 0x428
call dword [sym.imp.KERNEL32.dll_Module32FirstW]
test eax, eax
je 0x411efc
mov edi, dword [sym.imp.KERNEL32.dll_Module32NextW]
lea ecx, [ecx]
mov eax, dword [ebp + 8]
lea edx, [ebp - 0x41c]
push edx
push eax
call fcn.0042a3c5
add esp, 8
test eax, eax
je 0x411ec7
lea ecx, [ebp - 0x43c]
push ecx
push ebx
call edi
test eax, eax
jne 0x411ea0
jmp 0x411efc
mov edx, dword [ebp - 0x428]
mov eax, dword [ebp - 0x424]
mov ecx, dword [ebp - 0x420]
mov dword [ebp - 0x44c], edx
lea edx, [ebp - 0x21c]
lea edi, [ebp - 0x440]
mov dword [ebp - 0x448], eax
mov dword [ebp - 0x444], ecx
call fcn.00407600
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x448]
mov edi, dword [ebp - 0x440]
mov edx, dword [ebp - 0x44c]
mov ecx, dword [ebp - 0x444]
mov dword [esi + 4], eax
add edi, 0xfffffff0
mov eax, edi
mov dword [esi], edx
mov dword [esi + 8], ecx
call fcn.004023d0
add eax, 0x10
mov dword [esi + 0xc], eax
mov byte [ebp - 4], 0
lea edx, [edi + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x411f50
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x411f76
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0042918e
mov esp, ebp
pop ebp
ret