Function at 0x46a640
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d6bf9
mov eax, dword fs:[0]
push eax
mov eax, 0x1300
call fcn.0059f1e0
mov eax, dword [0x651da0]
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 dword [ebp - 4], 0
mov ecx, 0x67b5d0
call fcn.0059f048
mov dword [ebp - 0x14], 0
lea ecx, [ebp + 8]
call fcn.0040e960
movzx eax, al
test eax, eax
je 0x46a6bc
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x1254], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00404fb0
mov eax, dword [ebp - 0x1254]
jmp 0x46a8fc
push 0x1000
push 0
lea eax, [ebp - 0x1014]
push eax
call fcn.005a41c0
add esp, 0xc
mov dword [ebp - 0x1018], 0
mov eax, dword [str._add]
push eax
lea ecx, [ebp - 0x1030]
call fcn.00404ad0
mov byte [ebp - 4], 1
lea eax, [ebp - 0x1018]
push eax
push 0x1000
lea ecx, [ebp - 0x1014]
push ecx
call sub.KERNEL32.dll_K32EnumProcesses
test eax, eax
je 0x46a8cf
mov eax, dword [ebp - 0x1018]
shr eax, 2
mov dword [ebp - 0x1034], eax
mov dword [ebp - 0x1038], 0
jmp 0x46a73b
mov eax, dword [ebp - 0x1038]
add eax, 1
mov dword [ebp - 0x1038], eax
mov eax, dword [ebp - 0x1038]
cmp eax, dword [ebp - 0x1034]
jae 0x46a8cf
push 0
mov eax, dword [ebp - 0x1038]
mov ecx, dword [ebp + eax*4 - 0x1014]
push ecx
lea edx, [ebp - 0x1050]
push edx
call fcn.004580c0
add esp, 0xc
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1050]
call fcn.0040e960
movzx eax, al
test eax, eax
jne 0x46a8bb
lea eax, [ebp - 0x1030]
push eax
lea ecx, [ebp - 0x1050]
push ecx
lea edx, [ebp - 0x126c]
push edx
call fcn.00436940
add esp, 0xc
mov dword [ebp - 0x1308], eax
mov eax, dword [ebp - 0x1308]
mov dword [ebp - 0x130c], eax
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x130c]
push ecx
lea ecx, [ebp - 0x1050]
call fcn.00409dd0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x126c]
call fcn.00404fb0
push fcn.005b2932
lea eax, [ebp - 0x1270]
push eax
lea ecx, [ebp - 0x1050]
call fcn.00475350
mov ecx, dword [eax]
push ecx
lea edx, [ebp - 0x1274]
push edx
lea ecx, [ebp - 0x1050]
call fcn.00477790
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x1278]
push ecx
lea ecx, [ebp - 0x1050]
call fcn.00475350
mov edx, dword [eax]
push edx
lea eax, [ebp - 0x127c]
push eax
call fcn.0043c790
add esp, 0x14
lea eax, [ebp - 0x1300]
push eax
lea ecx, [ebp - 0x1050]
push ecx
lea ecx, [ebp - 0x12e8]
call fcn.00428d00
mov ecx, eax
call fcn.00429a10
mov dword [ebp - 0x1308], eax
mov edx, dword [ebp - 0x1308]
mov dword [ebp - 0x130c], edx
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x130c]
push eax
lea ecx, [ebp - 0x1050]
call fcn.00409dd0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1300]
call fcn.00404fb0
lea ecx, [ebp - 0x1050]
call fcn.0040d5e0
push eax
lea ecx, [ebp + 8]
call fcn.0040d5e0
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIA]
test eax, eax
je 0x46a8bb
mov dword [ebp - 0x14], 1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1050]
call fcn.00404fb0
jmp 0x46a8cf
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1050]
call fcn.00404fb0
jmp 0x46a72c
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x1304], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1030]
call fcn.00404fb0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00404fb0
mov eax, dword [ebp - 0x1304]
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.0059f07a
mov esp, ebp
pop ebp
ret