Function at 0x10074910
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x101acdb8
push 0x100ecb90
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, 0x4a44
call fcn.100b4660
mov eax, dword [0x101c0618]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov eax, dword [ebp + 8]
mov dword [ebp - 0x4a3c], eax
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x4a40], ecx
test eax, eax
je 0x10074c57
mov esi, eax
lea edx, [esi + 2]
nop
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x10074970
sub esi, edx
sar esi, 1
mov dword [ebp - 0x4a34], esi
cmp esi, 4
jl 0x10074c57
cmp esi, 0x104
jg 0x10074c57
test ecx, ecx
je 0x100749a4
mov dword [ecx], 0
xor edi, edi
mov dword [ebp - 0x4a38], edi
mov dword [ebp - 0x4a28], edi
mov dword [ebp - 4], edi
call fcn.10074380
mov dword [ebp - 4], 0xfffffffe
jmp 0x100749e5
mov edi, dword [ebp - 0x4a3c]
push 0x800
push 0
lea eax, [ebp - 0xa24]
push eax
call fcn.100ec480
mov dword [ebp - 0x4a30], 0
push 0x4000
push 0
lea eax, [ebp - 0x4a24]
push eax
call fcn.100ec480
add esp, 0x18
lea eax, [ebp - 0x4a30]
push eax
push 0x1000
lea eax, [ebp - 0x4a24]
push eax
call sub.PSAPI.DLL_EnumProcesses
test eax, eax
je 0x10074c57
lea eax, [ebp - 0x4a30]
push eax
push dword [ebp - 0x4a30]
lea eax, [ebp - 0x4a24]
push eax
call sub.PSAPI.DLL_EnumProcesses
test eax, eax
je 0x10074c57
push 0x104
push edi
lea eax, [ebp - 0x224]
push eax
call fcn.1010b4c8
lea eax, [ebp - 0x224]
push eax
call fcn.1010b3f4
add esp, 0x10
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [ebp - 0x4a2c], eax
or edi, 0xffffffff
xorps xmm0, xmm0
movups xmmword [ebp - 0x4a5c], xmm0
movq qword [ebp - 0x4a4c], xmm0
push str.ntdll.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 0x4a34], eax
test eax, eax
jne 0x10074ac4
or ecx, 0xffffffff
mov dword [ebp - 0x4a28], ecx
jmp 0x10074b62
push str.NtQueryInformationProcess
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x4a28], eax
test eax, eax
jne 0x10074af1
push dword [ebp - 0x4a34]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
or ecx, 0xffffffff
mov dword [ebp - 0x4a28], ecx
jmp 0x10074b62
push dword [ebp - 0x4a2c]
push 0
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x4a44], eax
test eax, eax
jne 0x10074b25
push dword [ebp - 0x4a34]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
or ecx, 0xffffffff
mov dword [ebp - 0x4a28], ecx
jmp 0x10074b62
push 0
push 0x18
lea ecx, [ebp - 0x4a5c]
push ecx
push 0
push eax
call dword [ebp - 0x4a28]
test eax, eax
cmove edi, dword [ebp - 0x4a48]
mov dword [ebp - 0x4a28], edi
push dword [ebp - 0x4a44]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x4a34]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, edi
xor edi, edi
cmp dword [ebp - 0x4a30], edi
jbe 0x10074c45
mov edx, dword [ebp - 0x4a2c]
nop word [eax + eax]
mov eax, dword [ebp + edi*4 - 0x4a24]
cmp edx, eax
je 0x10074c32
cmp ecx, eax
je 0x10074c32
push 0x400
lea ecx, [ebp - 0xa24]
push ecx
push eax
call fcn.100744b0
add esp, 0xc
test eax, eax
je 0x10074c2c
lea eax, [ebp - 0xa24]
push eax
call fcn.1010b3f4
push esi
lea eax, [ebp - 0xa24]
push eax
lea eax, [ebp - 0x224]
push eax
call fcn.10121429
add esp, 0x10
test eax, eax
jne 0x10074c2c
lea eax, [ebp - 0xa24]
push eax
push dword [ebp - 0x4a3c]
call fcn.100745d0
add esp, 8
test eax, eax
je 0x10074c06
lea eax, [ebp - 0xa24]
push eax
push str.Ignore_process_:__s
call fcn.1004a190
add esp, 8
jmp 0x10074c2c
push dword [ebp + edi*4 - 0x4a24]
call fcn.10075160
lea eax, [ebp - 0xa24]
push eax
push str.Kill_process:__s
call fcn.1004a190
add esp, 8
inc dword [ebp - 0x4a38]
mov edx, dword [ebp - 0x4a2c]
inc edi
cmp edi, dword [ebp - 0x4a30]
mov ecx, dword [ebp - 0x4a28]
jb 0x10074b80
mov ecx, dword [ebp - 0x4a40]
test ecx, ecx
je 0x10074c57
mov eax, dword [ebp - 0x4a38]
mov dword [ecx], eax
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.100b4568
mov esp, ebp
pop ebp
ret 8