Function at 0x435420
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x527b88
push 0x4712e0
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, 0x2c50
call fcn.00445b50
mov eax, dword [0x536204]
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.00422a00
add esp, 4
test edi, edi
je 0x4357ed
mov esi, edi
lea ecx, [esi + 2]
nop dword [eax]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x435490
sub esi, ecx
sar esi, 1
mov dword [ebp - 0x2c50], esi
cmp esi, 4
jl 0x4357ed
cmp esi, 0x104
jg 0x4357ed
mov eax, dword [ebp - 0x2c44]
test eax, eax
je 0x4354ca
mov dword [eax], 0
xor eax, eax
mov dword [ebp - 0x2c3c], eax
mov dword [ebp - 0x2c34], eax
mov dword [ebp - 4], eax
call fcn.00434f40
mov dword [ebp - 4], 0xfffffffe
jmp 0x43551e
push 0x800
push 0
lea eax, [ebp - 0xc2c]
push eax
call fcn.004701b0
mov dword [ebp - 0x2c40], 0
push 0x2000
push 0
lea eax, [ebp - 0x2c2c]
push eax
call fcn.004701b0
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 0x435586
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.EnumProcesses_fail_dwError___lu
call fcn.00422a00
add esp, 8
jmp 0x4357ed
push 0x104
push edi
lea eax, [ebp - 0x42c]
push eax
call fcn.00499d8d
lea eax, [ebp - 0x42c]
push eax
call fcn.00498e60
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 0x4fd9b8
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
test edi, edi
jne 0x4355e4
or ecx, 0xffffffff
mov dword [ebp - 0x2c38], ecx
jmp 0x43567c
push str.NtQueryInformationProcess
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x2c34], eax
test eax, eax
jne 0x43560c
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
or ecx, 0xffffffff
mov dword [ebp - 0x2c38], ecx
jmp 0x43567c
push dword [ebp - 0x2c30]
push 0
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x2c48], eax
test eax, eax
jne 0x43563b
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
or ecx, 0xffffffff
mov dword [ebp - 0x2c38], ecx
jmp 0x43567c
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 0x4357ce
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 0x4357a9
cmp ecx, eax
je 0x4357a9
push 0x400
lea ecx, [ebp - 0xc2c]
push ecx
push eax
call fcn.00435080
add esp, 0xc
test eax, eax
je 0x4357a3
lea eax, [ebp - 0xc2c]
push eax
call fcn.00498e60
push esi
lea eax, [ebp - 0xc2c]
push eax
lea eax, [ebp - 0x42c]
push eax
call fcn.0049f180
add esp, 0x10
test eax, eax
jne 0x4357a3
xor esi, esi
nop dword [eax]
mov edi, dword [esi + 0x5361a0]
test edi, edi
je 0x435774
push 0x208
push 0
lea eax, [ebp - 0x224]
push eax
call fcn.004701b0
push dword [ebp - 0x2c4c]
push 0x104
lea eax, [ebp - 0x224]
push eax
call fcn.0049cfcc
push edi
push 0x104
lea eax, [ebp - 0x224]
push eax
call fcn.0049cfcc
lea eax, [ebp - 0xc2c]
push eax
lea eax, [ebp - 0x224]
push eax
call fcn.0049900c
add esp, 0x2c
test eax, eax
je 0x43580d
add esi, 4
cmp esi, 4
jb 0x435710
mov eax, dword [ebp - 0x2c48]
push dword [eax]
call fcn.00435c40
lea eax, [ebp - 0xc2c]
push eax
push str.Kill_process:__s
call fcn.00422a00
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 0x4356a0
mov ecx, dword [ebp - 0x2c44]
test ecx, ecx
je 0x4357e0
mov eax, dword [ebp - 0x2c3c]
mov dword [ecx], eax
push str.end_KillMultiProcesses
call fcn.00422a00
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.00445b3a
mov esp, ebp
pop ebp
ret 8
lea eax, [ebp - 0xc2c]
push eax
push str.Ignore_process_:__s
call fcn.00422a00
add esp, 8
jmp 0x4357a3