Function at 0x445210
Capabilities:
Acquire debug privileges
Enumerate processes
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x483b68
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x9c4
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
xor ebx, ebx
push str.system
push eax
mov dword [ebp - 4], ebx
call fcn.0047fde0
add esp, 8
test eax, eax
jne 0x445274
mov edi, 0x49ea2c
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, dword [ebp + 0xc]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
jmp 0x445554
lea eax, [ebp - 0x7d0]
push 0x80
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea ecx, [ebp - 0x750]
push 0x80
push ecx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
mov edi, 0x49ea24
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea eax, [ebp - 0x18]
mov edx, ecx
mov esi, edi
mov edi, dword [ebp + 0xc]
push eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push 0x20
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x445313
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x28], 1
push ecx
push str.SeDebugPrivilege
push ebx
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
mov eax, dword [ebp - 0x18]
push ebx
push ebx
lea edx, [ebp - 0x28]
push 0x10
push edx
push ebx
push eax
mov dword [ebp - 0x1c], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x18]
push ecx
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 - 0x14c]
mov dword [ebp - 0x150], 0x128
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x150]
mov byte [ebp - 4], 1
push eax
push edx
call sub.KERNEL32.dll_Process32First
cmp eax, ebx
je 0x4454f1
cmp dword [ebp - 0x148], ebx
jne 0x445390
mov edx, dword [ebp - 0x14]
lea ecx, [ebp - 0x150]
push ecx
push edx
call sub.KERNEL32.dll_Process32Next
cmp eax, ebx
je 0x4454f1
cmp dword [ebp - 0x148], ebx
jne 0x445390
lea eax, [ebp - 0x150]
lea ecx, [ebp - 0x14]
push eax
call fcn.00404a00
cmp eax, ebx
je 0x4454f1
mov edx, dword [ebp - 0x148]
lea ecx, [ebp - 0x2d0]
push ecx
push edx
mov byte [ebp - 0x2d0], bl
call fcn.004047b0
lea edi, [ebp - 0x2d0]
or ecx, 0xffffffff
xor eax, eax
add esp, 8
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 7
jl 0x44558e
lea edi, [ebp - 0x2d0]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [ebp - 0x4d0]
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 - 0x4d0]
push ecx
push str.SystemRootSystem32_smss.exe
call fcn.0047fde0
add esp, 8
test eax, eax
je 0x44558e
lea edi, [ebp - 0x4d0]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp eax, ecx
jge 0x445443
mov edx, ecx
sub edx, eax
mov dl, byte [ebp + edx - 0x4d0]
cmp dl, 0x5c
mov byte [ebp + eax - 0x6d0], dl
jne 0x445440
cmp eax, 2
jge 0x445443
inc eax
jmp 0x445420
sub ecx, eax
xor edx, edx
mov edi, ecx
cmp edx, edi
jge 0x44545e
mov cl, byte [ebp + edx - 0x4d0]
mov byte [ebp + edx - 0x9d0], cl
inc edx
jmp 0x445449
mov byte [ebp + edi - 0x9d0], bl
xor esi, esi
cmp esi, eax
jge 0x44548d
lea edx, [esi + edi]
mov dl, byte [ebp + edx - 0x4cf]
cmp dl, 0x5c
je 0x445483
mov byte [ebp + esi - 0x6d0], dl
jne 0x44548a
mov byte [ebp + esi - 0x6d0], bl
inc esi
jmp 0x445467
mov ecx, dword [ebp + 8]
mov byte [ebp + eax - 0x6d0], bl
lea eax, [ebp - 0x6d0]
push eax
push ecx
call fcn.0047fde0
add esp, 8
test eax, eax
jne 0x44558e
lea edx, [ebp - 0x1d0]
lea eax, [ebp - 0x4d0]
push edx
push eax
call fcn.004290e0
add esp, 8
cmp ax, bx
jne 0x44556a
mov edi, 0x491b90
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, dword [ebp + 0xc]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [ebp + 0xc]
push ecx
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x445545
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 + 0xc]
push ebx
push ebx
lea eax, [ebp - 0x28]
push 0x10
push eax
push ebx
push ecx
mov dword [ebp - 0x1c], ebx
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x14]
cmp eax, 0xffffffff
je 0x445554
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
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
lea edi, [ebp - 0x1d0]
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
jmp 0x4454ec
mov edx, dword [ebp - 0x14]
lea ecx, [ebp - 0x150]
push ecx
push edx
call sub.KERNEL32.dll_Process32Next
cmp eax, ebx
je 0x4454f1
cmp dword [ebp - 0x148], ebx
jne 0x445390
jmp 0x445381