Function at 0x4202fc
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff860
mov eax, 0x4c6084
push ebx
push esi
push edi
call fcn.00479eb8
push str.psapi.dll
call sub.KERNEL32.DLL_LoadLibraryA
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0
jne 0x420336
mov edx, dword [ebp - 0x40]
mov dword fs:[0], edx
mov eax, edx
jmp 0x42069f
lea ecx, [ebp - 0x48]
lea eax, [ebp - 0x69c]
push ecx
push 0x640
push eax
call sub.PSAPI.DLL_EnumProcesses
test eax, eax
jne 0x420360
mov edx, dword [ebp - 0x40]
mov dword fs:[0], edx
mov eax, edx
jmp 0x42069f
mov ecx, dword [ebp - 0x48]
shr ecx, 2
mov dword [ebp - 0x4c], ecx
xor ebx, ebx
jmp 0x420382
mov edx, ebx
mov eax, dword [0x4c5b88]
mov ecx, dword [eax]
call dword [ecx + 0x18]
test eax, eax
je 0x420381
mov byte [eax + 4], 0
inc ebx
mov eax, dword [0x4c5b88]
mov edx, dword [eax]
call dword [edx + 0x14]
cmp ebx, eax
jl 0x42036d
xor ecx, ecx
mov dword [ebp - 0x50], ecx
lea esi, [ebp - 0x69c]
mov eax, dword [ebp - 0x50]
cmp eax, dword [ebp - 0x4c]
jae 0x42064f
mov edx, dword [esi]
push edx
push 0
push 0x1f0fff
call sub.KERNEL32.DLL_OpenProcess
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 0
je 0x420634
push esi
lea edi, [ebp - 0x7a0]
mov esi, 0x4c5d9c
mov ecx, 0x41
rep movsd dword es:[edi], dword [esi]
pop esi
lea eax, [ebp - 0x5c]
push eax
lea edx, [ebp - 0x58]
push 4
push edx
mov ecx, dword [ebp - 0x54]
push ecx
call sub.PSAPI.DLL_EnumProcessModules
test eax, eax
je 0x420634
push 0x104
lea eax, [ebp - 0x7a0]
push eax
mov edx, dword [ebp - 0x58]
push edx
mov ecx, dword [ebp - 0x54]
push ecx
call sub.PSAPI.DLL_GetModuleFileNameExA
mov word [ebp - 0x30], 8
lea edx, [ebp - 0x7a0]
lea eax, [ebp - 4]
call fcn.00488be4
inc dword [ebp - 0x24]
mov eax, dword [eax]
xor edx, edx
mov dword [ebp - 8], edx
lea edx, [ebp - 8]
inc dword [ebp - 0x24]
call fcn.004336e0
lea eax, [ebp - 8]
xor ecx, ecx
mov dword [ebp - 0xc], ecx
lea edx, [ebp - 0xc]
inc dword [ebp - 0x24]
call fcn.0048901c
lea eax, [ebp - 0xc]
push eax
mov edx, str.IEXPLORE.EXE
lea eax, [ebp - 0x10]
call fcn.00488be4
inc dword [ebp - 0x24]
lea edx, [ebp - 0x10]
pop eax
call fcn.00488eb4
push eax
dec dword [ebp - 0x24]
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.00488dd0
dec dword [ebp - 0x24]
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.00488dd0
dec dword [ebp - 0x24]
lea eax, [ebp - 8]
mov edx, 2
call fcn.00488dd0
dec dword [ebp - 0x24]
lea eax, [ebp - 4]
mov edx, 2
call fcn.00488dd0
pop ecx
test cl, cl
je 0x420634
mov word [ebp - 0x30], 0x14
lea eax, [ebp - 0x14]
mov edx, dword [esi]
call fcn.00488d44
inc dword [ebp - 0x24]
mov edx, dword [eax]
mov eax, dword [0x4c5b88]
mov ecx, dword [eax]
call dword [ecx + 0x54]
test eax, eax
mov ebx, eax
setge dl
and edx, 1
lea eax, [ebp - 0x14]
push edx
mov edx, 2
dec dword [ebp - 0x24]
call fcn.00488dd0
pop ecx
test cl, cl
je 0x42050a
mov edx, ebx
mov eax, dword [0x4c5b88]
mov ecx, dword [eax]
call dword [ecx + 0x18]
test eax, eax
je 0x420634
mov byte [eax + 4], 1
jmp 0x420634
xor eax, eax
xor edx, edx
mov dword [0x4c5b98], eax
mov dword [0x4c5b94], edx
xor ebx, ebx
mov edi, esi
mov eax, dword [0x4e9de4]
mov eax, dword [eax]
call fcn.00464e6c
mov edx, dword [edi]
push edx
call fcn.00420220
pop ecx
mov dword [0x4c5b98], eax
cmp dword [0x4c5b98], 0
jne 0x420550
push 0x3e8
call sub.KERNEL32.DLL_Sleep
inc ebx
cmp ebx, 0xa
jl 0x42051d
xor ebx, ebx
mov eax, dword [0x4e9de4]
mov eax, dword [eax]
call fcn.00464e6c
mov edx, dword [0x4c5b98]
push edx
call fcn.00420248
pop ecx
cmp dword [0x4c5b94], 0
jne 0x420584
push 0x3e8
call sub.KERNEL32.DLL_Sleep
inc ebx
cmp ebx, 0xa
jl 0x420552
push 8
call fcn.00477a88
pop ecx
mov ebx, eax
push 8
push 0
push ebx
call fcn.004798f8
mov eax, dword [esi]
add esp, 0xc
mov dword [ebx], eax
lea eax, [ebp - 0x18]
mov byte [ebx + 4], 1
mov word [ebp - 0x30], 0x20
mov edx, dword [esi]
call fcn.00488d44
inc dword [ebp - 0x24]
mov ecx, ebx
mov edx, dword [eax]
mov eax, dword [0x4c5b88]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
dec dword [ebp - 0x24]
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.00488dd0
push 0x104
call fcn.00477a88
pop ecx
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x42061a
mov word [ebp - 0x30], 0x38
cmp dword [0x4ea090], 0
je 0x4205fd
mov edx, dword [0x4ea090]
jmp 0x420602
mov edx, 0x4c5f50
push edx
mov eax, dword [ebp - 0x1c]
push eax
call fcn.00420b1c
add esp, 8
mov word [ebp - 0x30], 0x2c
mov ebx, dword [ebp - 0x1c]
jmp 0x42061d
mov ebx, dword [ebp - 0x1c]
mov eax, dword [esi]
push eax
push ebx
call fcn.00420c0c
add esp, 8
push 3
push ebx
call fcn.00420b60
add esp, 8
mov edx, dword [ebp - 0x54]
push edx
call sub.KERNEL32.DLL_CloseHandle
inc dword [ebp - 0x50]
add esi, 4
mov ecx, dword [ebp - 0x50]
cmp ecx, dword [ebp - 0x4c]
jb 0x4203a7
xor ebx, ebx
jmp 0x42067f
mov edx, ebx
mov eax, dword [0x4c5b88]
mov ecx, dword [eax]
call dword [ecx + 0x18]
test eax, eax
je 0x42067e
cmp byte [eax + 4], 0
jne 0x42067e
push eax
call fcn.00477a54
mov eax, dword [0x4c5b88]
pop ecx
mov edx, ebx
mov ecx, dword [eax]
call dword [ecx + 0x48]
jmp 0x42067f
inc ebx
mov eax, dword [0x4c5b88]
mov edx, dword [eax]
call dword [edx + 0x14]
cmp ebx, eax
jl 0x420653
mov ecx, dword [ebp - 0x44]
push ecx
call sub.KERNEL32.DLL_FreeLibrary
mov eax, dword [ebp - 0x40]
mov dword fs:[0], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret