Function at 0x4269f0
Capabilities:
Enumerate processes
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x49a62c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x93c
mov eax, dword [0x4bc410]
xor eax, esp
push ebx
push esi
xor ebx, ebx
mov dword [esp + 0x940], eax
mov eax, dword [esp + 0x954]
push ebx
push 2
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], ebx
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, ebx
jne 0x426a41
xor eax, eax
jmp 0x426b75
push edi
push 0x400
lea ecx, [esp + 0x148]
push ecx
mov byte [esp + 0x14c], 0
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea edi, [esp + 0x144]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x426a65
mov edx, dword [str._s_system32psapi.dll]
mov eax, dword [0x4a3f10]
mov ecx, dword [0x4a3f14]
mov dword [edi], edx
mov edx, dword [0x4a3f18]
mov dword [edi + 4], eax
mov eax, dword [0x4a3f1c]
mov dword [edi + 8], ecx
mov cx, word [0x4a3f20]
mov dword [edi + 0xc], edx
push ebp
lea edx, [esp + 0x148]
mov dword [edi + 0x10], eax
push edx
mov word [edi + 0x14], cx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ebp, eax
cmp ebp, ebx
je 0x426ac7
push str.GetModuleFileNameExA
push ebp
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esp + 0x14], eax
lea ecx, [esp + 0x10]
call dword [0x49f754]
lea eax, [esp + 0x20]
push eax
push esi
mov dword [esp + 0x95c], ebx
mov dword [esp + 0x28], 0x128
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x426b55
nop
lea ecx, [esp + 0x44]
push ecx
lea edx, [esp + 0x14]
push 0x4a0ee0
push edx
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Format]
add esp, 0xc
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::MakeLower]
push 0xb
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Right]
push str.KmLiveUpdate.exe
mov ecx, eax
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Compare]
mov ebx, eax
neg ebx
sbb bl, bl
lea ecx, [esp + 0x1c]
inc bl
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
test bl, bl
jne 0x426b9c
lea ecx, [esp + 0x20]
push ecx
push esi
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x426af0
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test ebp, ebp
je 0x426b67
push ebp
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
xor eax, eax
pop ebp
pop edi
mov ecx, dword [esp + 0x944]
pop esi
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x93c]
pop ebx
xor ecx, esp
call fcn.00496ace
add esp, 0x948
ret 4
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call edi
mov ebx, dword [esp + 0x14]
test ebx, ebx
je 0x426bf0
mov edx, dword [esp + 0x28]
push edx
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x426bf0
push 0x400
lea eax, [esp + 0x54c]
push eax
push 0
push esi
call ebx
test eax, eax
je 0x426bed
lea ecx, [esp + 0x548]
push ecx
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::operator_3]
push esi
call edi
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x10]
push edx
call dword [0x49f214]
test ebp, ebp
je 0x426c0a
push ebp
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov eax, 1
jmp 0x426b73