Function at 0x401e10
Capabilities:
Enumerate process modules

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x427ef6
push eax
mov eax, 0x1140
mov dword fs:[0], esp
call fcn.0040bf50
push ebx
push ebp
push esi
lea eax, [esp + 0x3c]
push edi
push eax
lea ecx, [esp + 0x154]
xor esi, esi
push 0x1000
push ecx
mov dword [esp + 0x24], esi
call sub.PSAPI.DLL_EnumProcesses
test eax, eax
jne 0x401eaf
mov ebx, dword [esp + 0x1160]
mov dl, byte [esp + 0x13]
push esi
mov ecx, ebx
mov byte [ebx], dl
call fcn.00402db0
mov edi, 0x438960
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebp, ecx
mov ecx, ebx
push ebp
call fcn.004032a0
test al, al
je 0x401ea8
mov edi, dword [ebx + 4]
mov ecx, ebp
mov eax, ecx
mov esi, 0x438960
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, ebx
call fcn.00403280
mov eax, ebx
jmp 0x4020e7
mov edi, dword [esp + 0x40]
mov dword [esp + 0x1c], esi
shr edi, 2
mov dword [esp + 0x18], edi
je 0x40208e
lea ecx, [esp + 0x150]
mov dword [esp + 0x14], ecx
mov edx, dword [esp + 0x14]
mov eax, dword [edx]
cmp eax, esi
je 0x402072
push eax
push esi
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ebx, eax
cmp ebx, esi
je 0x402072
lea eax, [esp + 0x48]
lea ecx, [esp + 0x44]
push eax
push 4
push ecx
push ebx
call sub.PSAPI.DLL_EnumProcessModules
test eax, eax
je 0x40206b
mov eax, dword [esp + 0x44]
lea edx, [esp + 0x4c]
push 0x104
push edx
push eax
push ebx
call sub.PSAPI.DLL_GetModuleFileNameExA
test eax, eax
je 0x40206b
mov cl, byte [esp + 0x13]
push esi
mov byte [esp + 0x24], cl
lea ecx, [esp + 0x24]
call fcn.00402db0
lea edi, [esp + 0x4c]
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebp, ecx
lea ecx, [esp + 0x24]
push ebp
call fcn.004032a0
test al, al
je 0x401f81
mov edi, dword [esp + 0x24]
mov ecx, ebp
mov edx, ecx
lea esi, [esp + 0x4c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x24]
call fcn.00403280
xor esi, esi
mov edi, 0x4344b4
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [0x4297a4]
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x1158], esi
push ecx
push edx
push 0x4344b4
lea ecx, [esp + 0x2c]
call fcn.00402d40
mov ecx, dword [0x4297a4]
inc eax
push ecx
lea edx, [esp + 0x34]
push eax
push edx
lea ecx, [esp + 0x2c]
call fcn.004027d0
mov eax, dword [esp + 0x1164]
mov byte [esp + 0x1158], 1
mov ecx, dword [eax + 8]
mov eax, dword [eax + 4]
cmp eax, esi
jne 0x401fe2
mov eax, 0x4297a8
push ecx
push eax
mov eax, dword [esp + 0x40]
lea ecx, [esp + 0x38]
push eax
push esi
call fcn.00403c10
cmp eax, esi
je 0x402100
mov eax, dword [esp + 0x34]
cmp eax, esi
je 0x402020
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x402017
cmp al, 0xff
je 0x402017
dec al
mov byte [ecx], al
jmp 0x402020
push ecx
call fcn.0041cc9c
add esp, 4
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x34], esi
cmp ecx, esi
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], esi
mov dword [esp + 0x1158], 0xffffffff
je 0x40205b
mov al, byte [ecx - 1]
test al, al
je 0x402051
cmp al, 0xff
je 0x402051
dec al
mov byte [ecx - 1], al
jmp 0x40205b
dec ecx
push ecx
call fcn.0041cc9c
add esp, 4
mov edi, dword [esp + 0x18]
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], esi
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
inc eax
add edx, 4
cmp eax, edi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x14], edx
jb 0x401ecf
mov ebp, dword [esp + 0x1160]
mov al, byte [esp + 0x13]
push esi
mov ecx, ebp
mov byte [ebp], al
call fcn.00402db0
mov edi, 0x438960
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebx, ecx
mov ecx, ebp
push ebx
call fcn.004032a0
test al, al
je 0x4020e5
mov edi, dword [ebp + 4]
mov ecx, ebx
mov edx, ecx
mov esi, 0x438960
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebp + 4]
mov dword [ebp + 8], ebx
mov byte [ebx + eax], 0
mov eax, ebp
mov ecx, dword [esp + 0x1150]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x114c
ret
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebp, dword [esp + 0x1160]
mov cl, byte [esp + 0x13]
push esi
mov byte [ebp], cl
mov ecx, ebp
call fcn.00402db0
lea edi, [esp + 0x4c]
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebx, ecx
mov ecx, ebp
push ebx
call fcn.004032a0
test al, al
je 0x40215a
mov edi, dword [ebp + 4]
mov ecx, ebx
mov edx, ecx
lea esi, [esp + 0x4c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, ebp
call fcn.00403280
push 1
lea ecx, [esp + 0x34]
mov byte [esp + 0x115c], 0
call fcn.00402db0
push 1
lea ecx, [esp + 0x24]
mov dword [esp + 0x115c], 0xffffffff
call fcn.00402db0
jmp 0x4020e5