Function at 0x1000100f
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x16a8
call fcn.1000f7d9
push ebx
push esi
push edi
lea eax, [ebp - 0x4e4]
push dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [ebp - 0x4e4]
push 0x104
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLongPathNameA]
lea eax, [ebp - 0xb0]
mov dword [ebp - 0xb0], 0x94
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x100011ee
cmp dword [ebp - 0xa0], 2
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
je 0x10001084
cmp dword [ebp - 0xa0], 1
je 0x100011d8
jmp 0x100011ee
push str.PSAPI.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ebx, eax
test ebx, ebx
mov dword [ebp - 0x10], ebx
je 0x100011ee
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 - 8], eax
call esi
push str.GetModuleFileNameExA
mov ebx, eax
push dword [ebp - 0x10]
call esi
test edi, edi
mov dword [ebp - 0xc], eax
je 0x10001342
cmp dword [ebp - 8], 0
je 0x10001342
test ebx, ebx
je 0x10001342
test eax, eax
je 0x10001342
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x16a8]
push 0x3e8
push eax
call edi
test eax, eax
je 0x10001342
mov ebx, dword [ebp - 0x14]
mov dword [ebp - 4], 0
shr ebx, 2
je 0x100011cb
lea eax, [ebp - 0x16a8]
mov dword [ebp + 8], eax
lea eax, [ebp - 0x3e0]
push str.Unknown
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
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 0x1000116f
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x1c]
push 4
push eax
push edi
call dword [ebp - 8]
test eax, eax
je 0x1000116f
lea eax, [ebp - 0x3e0]
push 0x104
push eax
push dword [ebp - 0x1c]
push edi
call dword [ebp - 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x3e0]
push eax
lea eax, [ebp - 0x1b4]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [ebp - 0x1b4]
push 0x104
push eax
lea eax, [ebp - 0x3e0]
push eax
call dword [sym.imp.KERNEL32.dll_GetLongPathNameA]
lea eax, [ebp - 0x4e4]
push eax
lea eax, [ebp - 0x1b4]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x100011f5
inc dword [ebp - 4]
add dword [ebp + 8], 4
cmp dword [ebp - 4], ebx
jb 0x10001120
cmp dword [ebp - 0xa0], 1
jne 0x10001342
push str.Kernel32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
xor ebx, ebx
cmp edi, ebx
mov dword [ebp - 0x10], edi
jne 0x100011fd
xor eax, eax
jmp 0x1000134f
push 1
pop esi
jmp 0x10001344
push str.CreateToolhelp32Snapshot
push edi
call esi
push str.Process32First
push edi
mov dword [ebp + 8], eax
call esi
push str.Process32Next
push edi
mov dword [ebp - 8], eax
call esi
push str.Module32First
push edi
mov dword [ebp - 0xc], eax
call esi
push str.Module32Next
push edi
mov dword [ebp - 4], eax
call esi
cmp dword [ebp - 0xc], ebx
mov dword [ebp - 0x18], eax
je 0x10001342
cmp dword [ebp - 8], ebx
je 0x10001342
cmp eax, ebx
je 0x10001342
cmp dword [ebp - 4], ebx
je 0x10001342
cmp dword [ebp + 8], ebx
je 0x10001342
push ebx
push 2
call dword [ebp + 8]
mov edi, eax
cmp edi, 0xffffffff
je 0x10001342
lea eax, [ebp - 0x2dc]
mov ebx, 0x128
push eax
push edi
mov dword [ebp - 0x2dc], ebx
call dword [ebp - 8]
test eax, eax
je 0x1000133b
push dword [ebp - 0x2d4]
push 8
call dword [ebp + 8]
mov esi, eax
cmp esi, 0xffffffff
je 0x1000133b
lea eax, [ebp - 0x708]
mov dword [ebp - 0x708], 0x224
push eax
push esi
call dword [ebp - 4]
test eax, eax
je 0x1000131e
lea eax, [ebp - 0x5e8]
push eax
lea eax, [ebp - 0x1b4]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [ebp - 0x1b4]
push 0x104
push eax
lea eax, [ebp - 0x5e8]
push eax
call dword [sym.imp.KERNEL32.dll_GetLongPathNameA]
lea eax, [ebp - 0x4e4]
push eax
lea eax, [ebp - 0x1b4]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x100011f5
lea eax, [ebp - 0x708]
mov dword [ebp - 0x708], 0x224
push eax
push esi
call dword [ebp - 0x18]
jmp 0x100012ba
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x2dc]
mov dword [ebp - 0x2dc], ebx
push eax
push edi
call dword [ebp - 0xc]
jmp 0x10001287
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor esi, esi
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret