Function at 0x1004d770
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x101395a8
push 0x10091970
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, 0x2c50
call fcn.10081560
mov eax, dword [0x1014857c]
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 edi, dword [ebp + 8]
mov dword [ebp - 0x2c4c], edi
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x2c44], eax
push str.enter_KillMultiProcesses
call fcn.10050650
add esp, 4
test edi, edi
je 0x1004db3d
mov esi, edi
lea ecx, [esi + 2]
nop dword [eax]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x1004d7e0
sub esi, ecx
sar esi, 1
mov dword [ebp - 0x2c50], esi
cmp esi, 4
jl 0x1004db3d
cmp esi, 0x104
jg 0x1004db3d
mov eax, dword [ebp - 0x2c44]
test eax, eax
je 0x1004d81a
mov dword [eax], 0
xor eax, eax
mov dword [ebp - 0x2c3c], eax
mov dword [ebp - 0x2c34], eax
mov dword [ebp - 4], eax
call fcn.1004d270
mov dword [ebp - 4], 0xfffffffe
jmp 0x1004d86e
push 0x800
push 0
lea eax, [ebp - 0xc2c]
push eax
call fcn.1008e2a0
mov dword [ebp - 0x2c40], 0
push 0x2000
push 0
lea eax, [ebp - 0x2c2c]
push eax
call fcn.1008e2a0
add esp, 0x18
lea eax, [ebp - 0x2c40]
push eax
push 0x800
lea eax, [ebp - 0x2c2c]
push eax
call sub.PSAPI.DLL_EnumProcesses
test eax, eax
jne 0x1004d8d6
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.EnumProcesses_fail_dwError___lu
call fcn.10050650
add esp, 8
jmp 0x1004db3d
push 0x104
push edi
lea eax, [ebp - 0x42c]
push eax
call fcn.100ac451
lea eax, [ebp - 0x42c]
push eax
call fcn.100acddb
add esp, 0x10
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [ebp - 0x2c30], eax
xorps xmm0, xmm0
movups xmmword [ebp - 0x2c68], xmm0
movq qword [ebp - 0x2c58], xmm0
push str.ntdll.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
test edi, edi
jne 0x1004d934
or ecx, 0xffffffff
mov dword [ebp - 0x2c38], ecx
jmp 0x1004d9cc
push str.NtQueryInformationProcess
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x2c34], eax
test eax, eax
jne 0x1004d95c
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
or ecx, 0xffffffff
mov dword [ebp - 0x2c38], ecx
jmp 0x1004d9cc
push dword [ebp - 0x2c30]
push 0
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x2c48], eax
test eax, eax
jne 0x1004d98b
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
or ecx, 0xffffffff
mov dword [ebp - 0x2c38], ecx
jmp 0x1004d9cc
push 0
push 0x18
lea ecx, [ebp - 0x2c68]
push ecx
push 0
push eax
call dword [ebp - 0x2c34]
test eax, eax
mov eax, 0xffffffff
cmove eax, dword [ebp - 0x2c54]
mov dword [ebp - 0x2c38], eax
push dword [ebp - 0x2c48]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [ebp - 0x2c38]
xor eax, eax
mov dword [ebp - 0x2c34], eax
cmp dword [ebp - 0x2c40], eax
jbe 0x1004db1e
mov edx, dword [ebp - 0x2c30]
nop word [eax + eax]
lea eax, [ebp + eax*4 - 0x2c2c]
mov dword [ebp - 0x2c48], eax
mov eax, dword [eax]
cmp edx, eax
je 0x1004daf9
cmp ecx, eax
je 0x1004daf9
push 0x400
lea ecx, [ebp - 0xc2c]
push ecx
push eax
call fcn.1004d3a0
add esp, 0xc
test eax, eax
je 0x1004daf3
lea eax, [ebp - 0xc2c]
push eax
call fcn.100acddb
push esi
lea eax, [ebp - 0xc2c]
push eax
lea eax, [ebp - 0x42c]
push eax
call fcn.100bdbcd
add esp, 0x10
test eax, eax
jne 0x1004daf3
xor esi, esi
nop dword [eax]
mov edi, dword [esi + 0x1014726c]
test edi, edi
je 0x1004dac4
push 0x208
push 0
lea eax, [ebp - 0x224]
push eax
call fcn.1008e2a0
push dword [ebp - 0x2c4c]
push 0x104
lea eax, [ebp - 0x224]
push eax
call fcn.100aba76
push edi
push 0x104
lea eax, [ebp - 0x224]
push eax
call fcn.100aba76
lea eax, [ebp - 0xc2c]
push eax
lea eax, [ebp - 0x224]
push eax
call fcn.100ab682
add esp, 0x2c
test eax, eax
je 0x1004db5d
add esi, 4
cmp esi, 4
jb 0x1004da60
mov eax, dword [ebp - 0x2c48]
push dword [eax]
call fcn.1004df20
lea eax, [ebp - 0xc2c]
push eax
push str.Kill_process:__s
call fcn.10050650
add esp, 8
inc dword [ebp - 0x2c3c]
mov edx, dword [ebp - 0x2c30]
mov eax, dword [ebp - 0x2c34]
inc eax
mov dword [ebp - 0x2c34], eax
cmp eax, dword [ebp - 0x2c40]
mov esi, dword [ebp - 0x2c50]
mov ecx, dword [ebp - 0x2c38]
jb 0x1004d9f0
mov ecx, dword [ebp - 0x2c44]
test ecx, ecx
je 0x1004db30
mov eax, dword [ebp - 0x2c3c]
mov dword [ecx], eax
push str.end_KillMultiProcesses
call fcn.10050650
add esp, 4
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.100810f8
mov esp, ebp
pop ebp
ret 8
lea eax, [ebp - 0xc2c]
push eax
push str.Ignore_process_:__s
call fcn.10050650
add esp, 8
jmp 0x1004daf3