Function at 0x449460
Capabilities:
Acquire debug privileges
Enumerate processes
Get common file path
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x483c00
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xb0c
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], esp
push 1
lea ecx, [ebp - 0x70]
mov dword [ebp - 4], ebx
call fcn.00479b69
mov eax, dword [0x4853bc]
lea ecx, [ebp - 0x70]
push eax
push 8
push str.c:endpcachecreate_dangerregedit_proc.txt
mov byte [ebp - 4], 1
call fcn.00479c3d
lea ecx, [ebp - 0x1f0]
push 0x80
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea edx, [ebp - 0x618]
push 0x80
push edx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea edi, [ebp - 0x618]
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp - 0x598]
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 - 0x596], bl
push ecx
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x449557
lea edx, [ebp - 0x24]
mov dword [ebp - 0x28], 1
push edx
push str.SeDebugPrivilege
push ebx
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
mov ecx, dword [ebp - 0x18]
push ebx
push ebx
lea eax, [ebp - 0x28]
push 0x10
push eax
push ebx
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 ebx
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 - 0x314]
mov dword [ebp - 0x318], 0x128
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x318]
mov byte [ebp - 4], 2
push eax
push edx
call sub.KERNEL32.dll_Process32First
cmp eax, ebx
je 0x4498ee
cmp dword [ebp - 0x310], ebx
jne 0x4495d4
mov edx, dword [ebp - 0x14]
lea ecx, [ebp - 0x318]
push ecx
push edx
call sub.KERNEL32.dll_Process32Next
cmp eax, ebx
je 0x4498ee
cmp dword [ebp - 0x310], ebx
jne 0x4495d4
lea eax, [ebp - 0x318]
push eax
lea ecx, [ebp - 0x14]
call fcn.00404a00
cmp eax, ebx
je 0x4498ee
mov edx, dword [ebp - 0x310]
lea ecx, [ebp - 0x718]
push ecx
push edx
mov byte [ebp - 0x718], bl
call fcn.004047b0
lea edi, [ebp - 0x718]
or ecx, 0xffffffff
xor eax, eax
add esp, 8
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 7
jl 0x4498c2
lea edi, [ebp - 0x718]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [ebp - 0x518]
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [ebp - 0x170]
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 - 0x1f0]
push ecx
push str._swinlogon.exe
push edx
call fcn.0047a8f8
lea eax, [ebp - 0x518]
lea ecx, [ebp - 0x170]
push eax
push ecx
call fcn.0047fde0
add esp, 0x14
test eax, eax
je 0x4498c2
lea edx, [ebp - 0x1f0]
lea eax, [ebp - 0x170]
push edx
push str._scsrss.exe
push eax
call fcn.0047a8f8
lea ecx, [ebp - 0x518]
lea edx, [ebp - 0x170]
push ecx
push edx
call fcn.0047fde0
add esp, 0x14
test eax, eax
je 0x4498c2
lea eax, [ebp - 0x1f0]
lea ecx, [ebp - 0x170]
push eax
push str._s_services.exe
push ecx
call fcn.0047a8f8
lea edx, [ebp - 0x518]
lea eax, [ebp - 0x170]
push edx
push eax
call fcn.0047fde0
add esp, 0x14
test eax, eax
je 0x4498c2
lea ecx, [ebp - 0x1f0]
lea edx, [ebp - 0x170]
push ecx
push str._slsass.exe
push edx
call fcn.0047a8f8
lea eax, [ebp - 0x518]
lea ecx, [ebp - 0x170]
push eax
push ecx
call fcn.0047fde0
add esp, 0x14
test eax, eax
je 0x4498c2
lea edx, [ebp - 0x1f0]
lea eax, [ebp - 0x170]
push edx
push str._s_svchost.exe
push eax
call fcn.0047a8f8
lea ecx, [ebp - 0x518]
lea edx, [ebp - 0x170]
push ecx
push edx
call fcn.0047fde0
add esp, 0x14
test eax, eax
je 0x4498c2
lea eax, [ebp - 0x518]
push eax
push str.SystemRootSystem32_smss.exe
call fcn.0047fde0
add esp, 8
test eax, eax
je 0x4498c2
lea ecx, [ebp - 0x618]
lea edx, [ebp - 0x170]
push ecx
push str._sexplorer.exe
push edx
call fcn.0047a8f8
lea eax, [ebp - 0x518]
lea ecx, [ebp - 0x170]
push eax
push ecx
call fcn.0047fde0
add esp, 0x14
test eax, eax
je 0x4498c2
lea edx, [ebp - 0x598]
lea eax, [ebp - 0x170]
push edx
push str._sProgram_FilesInternet_ExplorerIEXPLORE.EXE
push eax
call fcn.0047a8f8
lea ecx, [ebp - 0x518]
lea edx, [ebp - 0x170]
push ecx
push edx
call fcn.0047fde0
add esp, 0x14
test eax, eax
je 0x4498c2
lea edi, [ebp - 0x518]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp eax, ecx
jge 0x449801
mov edx, ecx
sub edx, eax
mov dl, byte [ebp + edx - 0x518]
cmp dl, 0x5c
mov byte [ebp + eax - 0x918], dl
jne 0x4497fe
cmp eax, 2
jge 0x449801
inc eax
jmp 0x4497de
sub ecx, eax
xor edx, edx
mov edi, ecx
cmp edx, edi
jge 0x44981c
mov cl, byte [ebp + edx - 0x518]
mov byte [ebp + edx - 0xb18], cl
inc edx
jmp 0x449807
mov byte [ebp + edi - 0xb18], bl
xor esi, esi
cmp esi, eax
jge 0x44984b
lea edx, [esi + edi]
mov dl, byte [ebp + edx - 0x517]
cmp dl, 0x5c
je 0x449841
mov byte [ebp + esi - 0x918], dl
jne 0x449848
mov byte [ebp + esi - 0x918], bl
inc esi
jmp 0x449825
mov edx, dword [ebp + 8]
mov byte [ebp + eax - 0x918], bl
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
lea eax, [ebp - 0x918]
dec ecx
push eax
push edx
mov byte [ebp + ecx - 0x918], bl
call fcn.0047fde0
add esp, 8
test eax, eax
jne 0x4498c2
mov ecx, dword [ebp - 0x70]
mov edx, dword [ecx + 4]
mov eax, dword [ebp + edx - 0x6c]
cmp dword [eax + 0x30], 0xffffffff
je 0x4498b0
lea eax, [ebp - 0x518]
lea ecx, [ebp - 0x64]
push eax
call fcn.00479641
push 0xa
mov ecx, eax
call fcn.00479456
push 0x401430
mov ecx, eax
call fcn.00401410
lea ecx, [ebp - 0x518]
push 0x80
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x318]
push edx
push eax
call sub.KERNEL32.dll_Process32Next
cmp eax, ebx
je 0x4498ee
cmp dword [ebp - 0x310], ebx
jne 0x4495d4
lea ecx, [ebp - 0x318]
push ecx
jmp 0x4495cc
lea edx, [ebp + 8]
push edx
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x449942
lea eax, [ebp - 0x24]
mov dword [ebp - 0x28], 1
push eax
push str.SeDebugPrivilege
push ebx
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
mov edx, dword [ebp + 8]
push ebx
push ebx
lea ecx, [ebp - 0x28]
push 0x10
push ecx
push ebx
push edx
mov dword [ebp - 0x1c], ebx
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x70]
call fcn.00479c84
mov eax, dword [ebp - 0x14]
cmp eax, 0xffffffff
je 0x449959
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], bl
call fcn.00479c2a
lea ecx, [ebp - 0x5c]
call fcn.00479b11
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