Function at 0x41ef7e
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x15a8
call fcn.00432f80
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp eax, 1
jl 0x41f295
cmp eax, 0x104
jg 0x41f295
xor ebx, ebx
cmp eax, ebx
jle 0x41efc8
mov ecx, eax
lea edi, [ebp - 0x2e0]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
and byte [ebp + eax - 0x2e0], 0
lea eax, [ebp - 0xb4]
push eax
mov dword [ebp - 0xb4], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x41f295
cmp dword [ebp - 0xa4], 2
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
je 0x41f010
cmp dword [ebp - 0xa4], 1
je 0x41f154
jmp 0x41f295
push str.PSAPI.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ebx, eax
test ebx, ebx
mov dword [ebp + 8], ebx
je 0x41f295
push str.EnumProcesses
push ebx
call esi
push str.EnumProcessModules
push ebx
mov edi, eax
call esi
push str.GetModuleBaseNameA
push ebx
mov dword [ebp - 0xc], eax
call esi
push str.GetModuleFileNameExA
mov ebx, eax
push dword [ebp + 8]
call esi
test edi, edi
mov dword [ebp - 0x10], eax
je 0x41f13e
cmp dword [ebp - 0xc], 0
je 0x41f13e
test ebx, ebx
je 0x41f13e
test eax, eax
je 0x41f13e
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x15a8]
push 0x3e8
push eax
call edi
test eax, eax
je 0x41f13e
mov ebx, dword [ebp - 0x14]
mov dword [ebp - 4], 0
shr ebx, 2
je 0x41f12b
lea eax, [ebp - 0x15a8]
mov dword [ebp - 8], eax
push 0x103
lea eax, [ebp - 0x3e4]
push str.Unknown
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
mov eax, dword [ebp - 8]
push dword [eax]
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x41f100
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x1c]
push 4
push eax
push edi
call dword [ebp - 0xc]
test eax, eax
je 0x41f100
lea eax, [ebp - 0x3e4]
push 0x104
push eax
push dword [ebp - 0x1c]
push edi
call dword [ebp - 0x10]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x2e0]
push eax
lea eax, [ebp - 0x3e4]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x41f136
inc dword [ebp - 4]
add dword [ebp - 8], 4
cmp dword [ebp - 4], ebx
jb 0x41f0ac
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x41f145
push 1
pop esi
jmp 0x41f278
xor esi, esi
jmp 0x41f278
cmp dword [ebp - 0xa4], 1
jne 0x41f295
xor ebx, ebx
push str.Kernel32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
mov dword [ebp + 8], edi
je 0x41f295
push str.CreateToolhelp32Snapshot
push edi
call esi
push str.Process32First
push edi
mov dword [ebp - 4], eax
call esi
push str.Process32Next
push edi
mov dword [ebp - 0xc], eax
call esi
push str.Module32First
push edi
mov dword [ebp - 0x10], eax
call esi
push str.Module32Next
push edi
mov dword [ebp - 0x18], eax
call esi
cmp dword [ebp - 0x10], ebx
mov dword [ebp - 0x20], eax
je 0x41f13e
cmp dword [ebp - 0xc], ebx
je 0x41f13e
cmp eax, ebx
je 0x41f13e
cmp dword [ebp - 0x18], ebx
je 0x41f13e
cmp dword [ebp - 4], ebx
je 0x41f13e
push ebx
push 2
call dword [ebp - 4]
cmp eax, 0xffffffff
mov dword [ebp - 8], eax
je 0x41f13e
lea ecx, [ebp - 0x1dc]
mov ebx, 0x128
push ecx
push eax
mov dword [ebp - 0x1dc], ebx
call dword [ebp - 0xc]
test eax, eax
je 0x41f285
push dword [ebp - 0x1d4]
push 8
call dword [ebp - 4]
mov esi, eax
cmp esi, 0xffffffff
je 0x41f261
lea eax, [ebp - 0x608]
mov dword [ebp - 0x608], 0x224
push eax
push esi
call dword [ebp - 0x18]
test eax, eax
je 0x41f245
lea eax, [ebp - 0x2e0]
push eax
lea eax, [ebp - 0x4e8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x41f265
lea eax, [ebp - 0x608]
mov dword [ebp - 0x608], 0x224
push eax
push esi
call dword [ebp - 0x20]
jmp 0x41f212
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x1dc]
mov dword [ebp - 0x1dc], ebx
push eax
push dword [ebp - 8]
call dword [ebp - 0x10]
jmp 0x41f1e3
xor esi, esi
jmp 0x41f26f
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 1
pop esi
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, esi
jmp 0x41f297
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4