Function at 0x432730
Capabilities:
Acquire debug privileges
Delete file
Enumerate processes
Get common file path
Set file attributes
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x483968
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xbc4
push ebx
push esi
push edi
lea eax, [ebp - 0x1a8]
mov dword [ebp - 0x10], esp
push 0x80
push eax
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea ecx, [ebp - 0x5d0]
push 0x80
push ecx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea edi, [ebp - 0x5d0]
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp - 0x550]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [ebp - 0x18]
mov byte [ebp - 0x54e], 0
push ecx
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x43280b
lea edx, [ebp - 0x24]
mov dword [ebp - 0x28], 1
push edx
push str.SeDebugPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
mov ecx, dword [ebp - 0x18]
push 0
push 0
lea eax, [ebp - 0x28]
push 0x10
push eax
push 0
push ecx
mov dword [ebp - 0x1c], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push 2
mov dword [ebp - 0x14], 0xffffffff
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edx, eax
mov dword [ebp - 0x14], edx
mov ecx, 0x49
xor eax, eax
lea edi, [ebp - 0x4cc]
mov dword [ebp - 0x4d0], 0x128
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x4d0]
mov byte [ebp - 4], 1
push eax
push edx
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x432885
mov ecx, dword [ebp - 0x4c8]
test ecx, ecx
jne 0x432885
mov edx, dword [ebp - 0x14]
lea ecx, [ebp - 0x4d0]
push ecx
push edx
call sub.KERNEL32.dll_Process32Next
test eax, eax
je 0x432885
mov ecx, dword [ebp - 0x4c8]
test ecx, ecx
jne 0x432885
lea eax, [ebp - 0x4d0]
lea ecx, [ebp - 0x14]
push eax
call fcn.00404a00
mov edi, dword [ebp + 8]
mov edx, eax
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, dword [ebp + 0xc]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
test edx, edx
je 0x432d72
mov ebx, dword [ebp - 0x4c8]
lea ecx, [ebp - 0x6d0]
push ecx
push ebx
mov byte [ebp - 0x6d0], 0
mov byte [ebp - 0x3a8], 0
call fcn.004047b0
lea edi, [ebp - 0x6d0]
or ecx, 0xffffffff
xor eax, eax
add esp, 8
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 7
jl 0x432d24
lea edi, [ebp - 0x6d0]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [ebp - 0x3a8]
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [ebp - 0x128]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [ebp - 0x1a8]
push ecx
push str._swinlogon.exe
push edx
call fcn.0047a8f8
lea eax, [ebp - 0x3a8]
lea ecx, [ebp - 0x128]
push eax
push ecx
call fcn.0047fde0
add esp, 0x14
test eax, eax
je 0x432d24
lea edx, [ebp - 0x1a8]
lea eax, [ebp - 0x128]
push edx
push str._scsrss.exe
push eax
call fcn.0047a8f8
lea ecx, [ebp - 0x3a8]
lea edx, [ebp - 0x128]
push ecx
push edx
call fcn.0047fde0
add esp, 0x14
test eax, eax
je 0x432d24
lea eax, [ebp - 0x1a8]
lea ecx, [ebp - 0x128]
push eax
push str._s_services.exe
push ecx
call fcn.0047a8f8
lea edx, [ebp - 0x3a8]
lea eax, [ebp - 0x128]
push edx
push eax
call fcn.0047fde0
add esp, 0x14
test eax, eax
je 0x432d24
lea ecx, [ebp - 0x1a8]
lea edx, [ebp - 0x128]
push ecx
push str._slsass.exe
push edx
call fcn.0047a8f8
lea eax, [ebp - 0x3a8]
lea ecx, [ebp - 0x128]
push eax
push ecx
call fcn.0047fde0
add esp, 0x14
test eax, eax
je 0x432d24
lea edx, [ebp - 0x1a8]
lea eax, [ebp - 0x128]
push edx
push str._s_svchost.exe
push eax
call fcn.0047a8f8
lea ecx, [ebp - 0x3a8]
lea edx, [ebp - 0x128]
push ecx
push edx
call fcn.0047fde0
add esp, 0x14
test eax, eax
je 0x432d24
lea eax, [ebp - 0x3a8]
push eax
push str.SystemRootSystem32_smss.exe
call fcn.0047fde0
add esp, 8
test eax, eax
je 0x432d24
lea ecx, [ebp - 0x5d0]
lea edx, [ebp - 0x128]
push ecx
push str._sexplorer.exe
push edx
call fcn.0047a8f8
lea eax, [ebp - 0x3a8]
lea ecx, [ebp - 0x128]
push eax
push ecx
call fcn.0047fde0
add esp, 0x14
test eax, eax
je 0x432d24
lea edx, [ebp - 0x550]
lea eax, [ebp - 0x128]
push edx
push str._sProgram_FilesInternet_ExplorerIEXPLORE.EXE
push eax
call fcn.0047a8f8
lea ecx, [ebp - 0x3a8]
lea edx, [ebp - 0x128]
push ecx
push edx
call fcn.0047fde0
add esp, 0x14
test eax, eax
je 0x432d24
lea eax, [ebp - 0x3a8]
push eax
push str.c:endpcacheprocCheck.exe
call fcn.0047fde0
add esp, 8
test eax, eax
je 0x432d24
lea ecx, [ebp - 0x3a8]
push ecx
push str.c:endpcacheprocService.exe
call fcn.0047fde0
add esp, 8
test eax, eax
je 0x432d24
lea edx, [ebp - 0x3a8]
push edx
push str.c:endpcache_fileService.exe
call fcn.0047fde0
add esp, 8
test eax, eax
je 0x432d24
lea eax, [ebp - 0x3a8]
push eax
push str.c:endpcache_fileSecurity.exe
call fcn.0047fde0
add esp, 8
test eax, eax
je 0x432d24
lea ecx, [ebp - 0x3a8]
push ecx
push str.c:endpcache_regService.exe
call fcn.0047fde0
add esp, 8
test eax, eax
je 0x432d24
lea edx, [ebp - 0x3a8]
push edx
push str.c:endpcache_regSecurity.exe
call fcn.0047fde0
add esp, 8
test eax, eax
je 0x432d24
lea edi, [ebp - 0x3a8]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp eax, ecx
jge 0x432b85
mov edx, ecx
sub edx, eax
mov dl, byte [ebp + edx - 0x3a8]
cmp dl, 0x5c
mov byte [ebp + eax - 0x9d0], dl
jne 0x432b82
cmp eax, 2
jge 0x432b85
inc eax
jmp 0x432b62
sub ecx, eax
xor edx, edx
mov edi, ecx
cmp edx, edi
jge 0x432ba0
mov cl, byte [ebp + edx - 0x3a8]
mov byte [ebp + edx - 0xbd0], cl
inc edx
jmp 0x432b8b
mov byte [ebp + edi - 0xbd0], 0
xor esi, esi
cmp esi, eax
jge 0x432bd1
lea edx, [esi + edi]
mov dl, byte [ebp + edx - 0x3a7]
cmp dl, 0x5c
je 0x432bc6
mov byte [ebp + esi - 0x9d0], dl
jne 0x432bce
mov byte [ebp + esi - 0x9d0], 0
inc esi
jmp 0x432baa
mov edx, dword [ebp + 8]
mov byte [ebp + eax - 0x9d0], 0
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov byte [ebp + ecx - 0x9d0], al
lea eax, [ebp - 0x9d0]
push eax
push edx
call fcn.0047fde0
add esp, 8
test eax, eax
jne 0x432d24
lea edi, [ebp - 0x6d0]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x7d9
mov edx, ecx
mov esi, edi
mov edi, dword [ebp + 0xc]
mov byte [ebp - 0x7d0], al
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebx
and ecx, 3
push str.c:endpcacheccmanager_killpid.exe
lea eax, [ebp - 0x7d0]
push str._s__d__d
rep movsb byte es:[edi], byte [esi]
push eax
call fcn.0047a8f8
lea ecx, [ebp - 0x7d0]
push ecx
call fcn.0047bf40
add esp, 0x18
lea edx, [ebp - 0x3a8]
push 0x80
push edx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push ebx
push 0
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x432d24
push 0x64
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 0x3a8]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [ebp + 8]
push ecx
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x432d03
lea edx, [ebp - 0x24]
mov dword [ebp - 0x28], 1
push edx
push str.SeDebugPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
mov ecx, dword [ebp + 8]
push 0
push 0
lea eax, [ebp - 0x28]
push 0x10
push eax
push 0
push ecx
mov dword [ebp - 0x1c], 0
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [ebp + 8]
push edx
call esi
mov eax, dword [ebp - 0x14]
cmp eax, 0xffffffff
je 0x432d0e
push eax
call esi
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x4d0]
push eax
push ecx
call sub.KERNEL32.dll_Process32Next
test eax, eax
je 0x432d51
mov ecx, dword [ebp - 0x4c8]
test ecx, ecx
jne 0x432d51
lea edx, [ebp - 0x4d0]
lea ecx, [ebp - 0x14]
push edx
call fcn.00404a00
mov edx, eax
jmp 0x4328a8
lea eax, [ebp + 8]
push eax
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x432dce
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x28], 1
push ecx
push str.SeDebugPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
mov eax, dword [ebp + 8]
push 0
push 0
lea edx, [ebp - 0x28]
push 0x10
push edx
push 0
push eax
mov dword [ebp - 0x1c], 0
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x14]
cmp eax, 0xffffffff
je 0x432ddd
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov eax, 0xfffffffe
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret