Function at 0x4a5580
Capabilities:
Get common file path
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4f3077
mov eax, dword fs:[0]
push eax
sub esp, 0x228
mov eax, dword [0x53fa2c]
xor eax, esp
mov dword [esp + 0x224], eax
push ebx
push esi
push edi
mov eax, dword [0x53fa2c]
xor eax, esp
push eax
lea eax, [esp + 0x238]
mov dword fs:[0], eax
mov esi, dword [esp + 0x248]
lea eax, [esp + 0x14]
push eax
mov dword [esp + 0x34], esi
mov dword [esp + 0x30], 0
call fcn.00465390
mov edi, 1
mov dword [esp + 0x244], edi
push str._tc_ra.exe
push eax
lea ecx, [esp + 0x34]
push ecx
call fcn.00402a60
add esp, 0x10
mov byte [esp + 0x240], 3
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc90.dll_Ordinal_601]
push 0x1ff
lea edx, [esp + 0x39]
push 0
push edx
mov byte [esp + 0x40], 0
call sub.MSVCR90.dll_memset
add esp, 0xc
push 0x200
lea eax, [esp + 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea eax, [esp + 0x34]
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x4a5636
mov ecx, dword [str._schtasks.exe]
mov edx, dword [0x51b254]
mov dword [eax], ecx
mov ecx, dword [0x51b258]
mov dword [eax + 4], edx
mov dx, word [0x51b25c]
mov dword [eax + 8], ecx
mov word [eax + 0xc], dx
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc90.dll_Ordinal_310]
mov byte [esp + 0x240], 4
push str._cmd__c_schtasks__delete__f__tn
push eax
lea ecx, [esp + 0x1c]
push ecx
call fcn.00402a60
mov byte [esp + 0x24c], 5
push str.trojancutON
push eax
lea edx, [esp + 0x38]
push edx
call fcn.00402a60
add esp, 0x18
mov byte [esp + 0x240], 7
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov byte [esp + 0x240], 8
lea ecx, [esp + 0x10]
call dword [sym.imp.mfc90.dll_Ordinal_601]
push str.trojancutON
lea ecx, [esp + 0x1c]
call dword [sym.imp.mfc90.dll_Ordinal_310]
mov byte [esp + 0x240], 9
push eax
lea eax, [esp + 0x18]
push str._delete__f__tn
push eax
call fcn.00410070
mov bl, 0xa
mov byte [esp + 0x24c], bl
push 0x502818
push eax
lea ecx, [esp + 0x24]
push ecx
call fcn.00402a60
mov byte [esp + 0x258], 0xb
mov eax, dword [eax]
push 0
push 0
push eax
push str.schtasks
push str.open
push 0
call fcn.00464ac0
add esp, 0x30
mov byte [esp + 0x240], bl
lea ecx, [esp + 0x10]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov byte [esp + 0x240], 9
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov byte [esp + 0x240], 8
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x28]
push edx
push eax
lea ecx, [esp + 0x24]
push ecx
call fcn.004931b0
add esp, 0xc
mov bl, 0xc
mov byte [esp + 0x240], bl
push str.Cannot_CreateProcessAsUser_Operation
lea ecx, [esp + 0x20]
call dword [sym.imp.mfc90.dll_Ordinal_1603]
test eax, eax
jne 0x4a5a1a
push str.trojancutON
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc90.dll_Ordinal_310]
mov byte [esp + 0x240], 0xd
push eax
lea edx, [esp + 0x14]
push str._delete__f__tn
push edx
call fcn.00410070
mov byte [esp + 0x24c], 0xe
push 0x502818
push eax
lea eax, [esp + 0x2c]
push eax
call fcn.00402a60
mov byte [esp + 0x258], 0xf
mov eax, dword [eax]
push 0
push 0
push eax
push str.schtasks
push str.open
push 0
call fcn.00464ac0
add esp, 0x30
mov byte [esp + 0x240], 0xe
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov byte [esp + 0x240], 0xd
lea ecx, [esp + 0x10]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov byte [esp + 0x240], bl
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc90.dll_Ordinal_601]
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
lea edx, [esp + 0x34]
push edx
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc90.dll_Ordinal_310]
mov byte [esp + 0x240], 0x14
push str._cmd__c_schtasks__delete__f__tn
push eax
lea eax, [esp + 0x20]
push eax
call fcn.00402a60
mov byte [esp + 0x24c], 0x15
push str.trojancutAU
push eax
lea ecx, [esp + 0x34]
push ecx
call fcn.00402a60
add esp, 0x18
mov byte [esp + 0x240], 0x16
push eax
lea ecx, [esp + 0x28]
call dword [sym.imp.mfc90.dll_Ordinal_817]
mov byte [esp + 0x240], 0x15
lea ecx, [esp + 0x20]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov byte [esp + 0x240], 0x14
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov byte [esp + 0x240], bl
lea ecx, [esp + 0x10]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x28]
push edx
push eax
lea ecx, [esp + 0x28]
push ecx
call fcn.004931b0
add esp, 0xc
mov byte [esp + 0x240], 0x17
push eax
lea ecx, [esp + 0x20]
call dword [sym.imp.mfc90.dll_Ordinal_817]
mov byte [esp + 0x240], bl
lea ecx, [esp + 0x20]
call dword [sym.imp.mfc90.dll_Ordinal_601]
push str.Cannot_CreateProcessAsUser_Operation
lea ecx, [esp + 0x20]
call dword [sym.imp.mfc90.dll_Ordinal_1603]
test eax, eax
jne 0x4a5af4
push str.trojancutAU
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc90.dll_Ordinal_310]
mov byte [esp + 0x240], 0x18
push eax
lea edx, [esp + 0x1c]
push str._delete__f__tn
push edx
call fcn.00410070
mov byte [esp + 0x24c], 0x19
push 0x502818
push eax
lea eax, [esp + 0x34]
push eax
call fcn.00402a60
mov byte [esp + 0x258], 0x1a
mov eax, dword [eax]
push 0
push 0
push eax
push str.schtasks
push str.open
push 0
call fcn.00464ac0
add esp, 0x30
mov byte [esp + 0x240], 0x19
lea ecx, [esp + 0x20]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov byte [esp + 0x240], 0x18
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov byte [esp + 0x240], bl
lea ecx, [esp + 0x10]
call dword [sym.imp.mfc90.dll_Ordinal_601]
push str.DeleteTask_OK
mov ecx, esi
call dword [sym.imp.mfc90.dll_Ordinal_310]
mov dword [esp + 0x2c], edi
mov byte [esp + 0x240], 8
lea ecx, [esp + 0x1c]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov byte [esp + 0x240], 3
lea ecx, [esp + 0x24]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov byte [esp + 0x240], 0
lea ecx, [esp + 0x28]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov eax, esi
mov ecx, dword [esp + 0x238]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x224]
xor ecx, esp
call fcn.004e0148
add esp, 0x234
ret
push 0x506ca8
lea ecx, [esp + 0x20]
call dword [sym.imp.mfc90.dll_Ordinal_1603]
test eax, eax
je 0x4a582f
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x24]
push str.Cannot_DeleteTask_RunAsInteractiveUser
push edx
call fcn.00410070
mov byte [esp + 0x24c], 0x10
push 0x51b0b8
push eax
lea eax, [esp + 0x28]
push eax
call fcn.00402a60
mov byte [esp + 0x258], 0x11
lea ecx, [esp + 0x3c]
push ecx
push eax
lea edx, [esp + 0x30]
push edx
call fcn.004029d0
mov byte [esp + 0x264], 0x12
push 0x51b0b4
push eax
lea eax, [esp + 0x44]
push eax
call fcn.00402a60
mov byte [esp + 0x270], 0x13
lea ecx, [esp + 0x4c]
push ecx
push eax
push esi
call fcn.004029d0
add esp, 0x3c
mov dword [esp + 0x2c], edi
mov byte [esp + 0x240], 0x12
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov byte [esp + 0x240], 0x11
lea ecx, [esp + 0x10]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov byte [esp + 0x240], 0x10
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov byte [esp + 0x240], bl
lea ecx, [esp + 0x20]
call dword [sym.imp.mfc90.dll_Ordinal_601]
jmp 0x4a59bb
push 0x506ca8
lea ecx, [esp + 0x20]
call dword [sym.imp.mfc90.dll_Ordinal_1603]
test eax, eax
je 0x4a59aa
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x18]
push str.Cannot_DeleteTask_RunAsInteractiveUser
push edx
call fcn.00410070
mov byte [esp + 0x24c], 0x1b
push 0x51b0b8
push eax
lea eax, [esp + 0x24]
push eax
call fcn.00402a60
mov byte [esp + 0x258], 0x1c
lea ecx, [esp + 0x3c]
push ecx
push eax
lea edx, [esp + 0x38]
push edx
call fcn.004029d0
mov byte [esp + 0x264], 0x1d
push 0x51b0b4
push eax
lea eax, [esp + 0x4c]
push eax
call fcn.00402a60
mov byte [esp + 0x270], 0x1e
lea ecx, [esp + 0x4c]
push ecx
push eax
push esi
call fcn.004029d0
add esp, 0x3c
mov dword [esp + 0x2c], edi
mov byte [esp + 0x240], 0x1d
lea ecx, [esp + 0x20]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov byte [esp + 0x240], 0x1c
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov byte [esp + 0x240], 0x1b
lea ecx, [esp + 0x10]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov byte [esp + 0x240], bl
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc90.dll_Ordinal_601]
jmp 0x4a59bb