Function at 0x466730
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x53
push 0
push 0
dec ecx
jne 0x466738
push ebx
push esi
push edi
lea edi, [ebp - 0x22c]
xor edx, edx
push ebp
push 0x466b48
push dword fs:[edx]
mov dword fs:[edx], esp
mov byte [ebp - 5], 0
mov dword [edi], 0x224
push eax
push 8
call sub.kernel32.dll_CreateToolhelp32Snapshot
mov esi, eax
push edi
push esi
call sub.kernel32.dll_Module32First
cmp eax, 1
sbb ebx, ebx
inc ebx
jmp 0x466b14
cmp byte [0x48ebb8], 0
je 0x46698e
lea eax, [ebp - 0x234]
lea edx, [edi + 0x20]
mov ecx, pe_nt_image_headers32
call fcn.00405638
mov eax, dword [ebp - 0x234]
lea edx, [ebp - 0x230]
call fcn.004095e0
mov eax, dword [ebp - 0x230]
mov edx, 0x466b64
call fcn.004057f0
je 0x4668d9
lea eax, [ebp - 0x23c]
lea edx, [edi + 0x20]
mov ecx, pe_nt_image_headers32
call fcn.00405638
mov eax, dword [ebp - 0x23c]
lea edx, [ebp - 0x238]
call fcn.004095e0
mov eax, dword [ebp - 0x238]
mov edx, 0x466b78
call fcn.004057f0
je 0x4668d9
lea eax, [ebp - 0x244]
lea edx, [edi + 0x20]
mov ecx, pe_nt_image_headers32
call fcn.00405638
mov eax, dword [ebp - 0x244]
lea edx, [ebp - 0x240]
call fcn.004095e0
mov eax, dword [ebp - 0x240]
mov edx, 0x466b8c
call fcn.004057f0
je 0x4668d9
lea eax, [ebp - 0x24c]
lea edx, [edi + 0x20]
mov ecx, pe_nt_image_headers32
call fcn.00405638
mov eax, dword [ebp - 0x24c]
lea edx, [ebp - 0x248]
call fcn.004095e0
mov eax, dword [ebp - 0x248]
mov edx, 0x466ba0
call fcn.004057f0
je 0x4668d9
lea eax, [ebp - 0x254]
lea edx, [edi + 0x20]
mov ecx, pe_nt_image_headers32
call fcn.00405638
mov eax, dword [ebp - 0x254]
lea edx, [ebp - 0x250]
call fcn.004095e0
mov eax, dword [ebp - 0x250]
mov edx, 0x466bb4
call fcn.004057f0
je 0x4668d9
lea eax, [ebp - 0x25c]
lea edx, [edi + 0x20]
mov ecx, pe_nt_image_headers32
call fcn.00405638
mov eax, dword [ebp - 0x25c]
lea edx, [ebp - 0x258]
call fcn.004095e0
mov eax, dword [ebp - 0x258]
mov edx, 0x466bc8
call fcn.004057f0
jne 0x4668e2
mov byte [ebp - 5], 1
jmp 0x466b1c
lea eax, [ebp - 0x264]
lea edx, [edi + 0x120]
mov ecx, 0x104
call fcn.00405638
mov eax, dword [ebp - 0x264]
lea edx, [ebp - 0x260]
call fcn.0040a268
mov edx, dword [ebp - 0x260]
lea eax, [ebp - 4]
mov ecx, 0x466bdc
call fcn.004056e0
mov eax, dword [ebp - 4]
call fcn.00405858
mov edx, eax
lea eax, [ebp - 0x268]
call fcn.004055c0
mov eax, dword [ebp - 0x268]
call fcn.00409f68
test al, al
je 0x46698e
lea edx, [ebp - 0x26c]
mov eax, dword [ebp - 4]
call fcn.00466670
mov edx, dword [ebp - 0x26c]
lea eax, [ebp - 4]
call fcn.00405460
cmp dword [ebp - 4], 0
je 0x46698e
lea eax, [ebp - 0x270]
lea edx, [edi + 0x20]
mov ecx, pe_nt_image_headers32
call fcn.00405638
mov edx, dword [ebp - 0x270]
mov eax, dword [ebp - 4]
call fcn.004057f0
jne 0x46698e
mov byte [ebp - 5], 1
jmp 0x466b1c
cmp dword [0x63b021], 0
jle 0x4669c2
lea eax, [ebp - 0x274]
lea edx, [edi + 0x20]
mov ecx, pe_nt_image_headers32
call fcn.00405638
mov eax, dword [ebp - 0x274]
call fcn.00466178
test al, al
je 0x4669c2
mov byte [ebp - 5], 1
jmp 0x466b1c
cmp byte [0x48ebac], 0
jne 0x4669d8
cmp byte [0x48eba8], 0
je 0x466a84
lea eax, [ebp - 0x27c]
lea edx, [edi + 0x120]
mov ecx, 0x104
call fcn.00405638
mov eax, dword [ebp - 0x27c]
lea edx, [ebp - 0x278]
call fcn.0040a268
mov edx, dword [ebp - 0x278]
lea eax, [ebp - 4]
mov ecx, 0x466bf0
call fcn.004056e0
mov eax, dword [ebp - 4]
call fcn.00405858
mov edx, eax
lea eax, [ebp - 0x280]
call fcn.004055c0
mov eax, dword [ebp - 0x280]
call fcn.00409f68
test al, al
je 0x466a84
lea edx, [ebp - 0x284]
mov eax, dword [ebp - 4]
call fcn.00466670
mov edx, dword [ebp - 0x284]
lea eax, [ebp - 4]
call fcn.00405460
cmp dword [ebp - 4], 0
je 0x466a84
lea eax, [ebp - 0x288]
lea edx, [edi + 0x20]
mov ecx, pe_nt_image_headers32
call fcn.00405638
mov edx, dword [ebp - 0x288]
mov eax, dword [ebp - 4]
call fcn.004057f0
jne 0x466a84
mov byte [ebp - 5], 1
jmp 0x466b1c
cmp byte [0x48ebb0], 0
je 0x466b07
lea eax, [ebp - 0x294]
lea edx, [edi + 0x120]
mov ecx, 0x104
call fcn.00405638
mov eax, dword [ebp - 0x294]
lea edx, [ebp - 0x290]
call fcn.0046385c
mov eax, dword [ebp - 0x290]
lea edx, [ebp - 0x28c]
call fcn.004095e0
mov eax, dword [ebp - 0x28c]
mov edx, 0x466c04
call fcn.004057f0
jne 0x466b07
lea eax, [ebp - 0x298]
lea edx, [edi + 0x120]
mov ecx, 0x104
call fcn.00405638
mov eax, dword [ebp - 0x298]
mov edx, 0x466c10
call fcn.00463490
test al, al
je 0x466b07
mov byte [ebp - 5], 1
jmp 0x466b1c
push edi
push esi
call sub.kernel32.dll_Module32Next
cmp eax, 1
sbb ebx, ebx
inc ebx
test bl, bl
jne 0x46677c
push esi
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x466b4f
lea eax, [ebp - 0x298]
mov edx, 0x1b
call fcn.004053ec
lea eax, [ebp - 4]
call fcn.004053c8
ret