Function at 0x4013f0
Capabilities:
Link many functions at runtime

Disassembly:
sub esp, 0x104
mov eax, dword [str.ps.dll]
mov dl, byte [0x404892]
push esi
mov esi, ecx
mov cx, word [0x404890]
push edi
mov dword [esp + 8], eax
mov word [esp + 0xc], cx
mov ecx, 0x3f
xor eax, eax
lea edi, [esp + 0xf]
mov byte [esp + 0xe], dl
rep stosd dword es:[edi], eax
stosb byte es:[edi], al
mov eax, dword [esi + 0x18c]
test eax, eax
jne 0x401c1e
lea eax, [esp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
mov dword [esi + 0x18c], eax
jne 0x401477
mov ecx, esi
call fcn.00401de0
mov ecx, esi
mov dword [esi + 0x1dc], eax
call fcn.00401de0
push eax
push str.LoadLibrary_failed_with_error_0x_lx
call fcn.00401110
add esp, 8
xor eax, eax
pop edi
pop esi
add esp, 0x104
ret
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.PsAbortRestoreTask
push eax
call edi
mov dword [esi + 4], eax
mov ecx, dword [esi + 0x18c]
push str.PsAccessControl
push ecx
call edi
mov dword [esi + 8], eax
mov edx, dword [esi + 0x18c]
push str.PsAccessProtectedDriveDirtyState
push edx
call edi
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0x18c]
push str.PsAddLog
push eax
call edi
mov dword [esi + 0x10], eax
mov ecx, dword [esi + 0x18c]
push str.PsAddScheduleTask
push ecx
call edi
mov dword [esi + 0x14], eax
mov edx, dword [esi + 0x18c]
push str.PsAddSnapshot
push edx
call edi
mov dword [esi + 0x18], eax
mov eax, dword [esi + 0x18c]
push str.PsAddSnapshotInSubOS
push eax
call edi
mov dword [esi + 0x1c], eax
mov ecx, dword [esi + 0x18c]
push str.PsAddUser
push ecx
call edi
mov dword [esi + 0x20], eax
mov edx, dword [esi + 0x18c]
push str.PsAdvancedSettings
push edx
call edi
mov dword [esi + 0x24], eax
mov eax, dword [esi + 0x18c]
push str.PsAllowRestoreTask
push eax
call edi
mov dword [esi + 0x28], eax
mov ecx, dword [esi + 0x18c]
push str.PsCalcPrivateSpace
push ecx
call edi
mov dword [esi + 0x2c], eax
mov edx, dword [esi + 0x18c]
push str.PsChangeUser
push edx
call edi
mov dword [esi + 0x30], eax
mov eax, dword [esi + 0x18c]
push str.PsCheckAutoActivate
push eax
call edi
mov dword [esi + 0x34], eax
mov ecx, dword [esi + 0x18c]
push str.PsSaveOldSetting
push ecx
call edi
mov dword [esi + 0x38], eax
mov edx, dword [esi + 0x18c]
push str.PsCheckPermission
push edx
call edi
mov dword [esi + 0x3c], eax
mov eax, dword [esi + 0x18c]
push str.PsClearWin2TsrCommand
push eax
call edi
mov dword [esi + 0x40], eax
push str.PsCloseSession
mov ecx, dword [esi + 0x18c]
push ecx
call edi
mov dword [esi + 0x44], eax
mov edx, dword [esi + 0x18c]
push str.PsSetCloneFlag
push edx
call edi
mov dword [esi + 0x50], eax
mov eax, dword [esi + 0x18c]
push str.PsClearCloneFlag
push eax
call edi
mov dword [esi + 0x4c], eax
mov ecx, dword [esi + 0x18c]
push str.PsIsCloned
push ecx
call edi
mov dword [esi + 0x48], eax
mov edx, dword [esi + 0x18c]
push str.PsDefragSilent
push edx
call edi
mov dword [esi + 0x54], eax
mov eax, dword [esi + 0x18c]
push str.PsDefragSnapshot
push eax
call edi
mov dword [esi + 0x58], eax
mov ecx, dword [esi + 0x18c]
push str.PsDefragSnapshotInSubOS
push ecx
call edi
mov dword [esi + 0x5c], eax
mov edx, dword [esi + 0x18c]
push str.PsDeleteLog
push edx
call edi
mov dword [esi + 0x60], eax
mov eax, dword [esi + 0x18c]
push str.PsDeleteUser
push eax
call edi
mov dword [esi + 0x64], eax
mov ecx, dword [esi + 0x18c]
push str.PsDemoRegistration
push ecx
call edi
mov dword [esi + 0x68], eax
mov edx, dword [esi + 0x18c]
push str.PsEnableBackgroudDefrag
push edx
call edi
mov dword [esi + 0x6c], eax
mov eax, dword [esi + 0x18c]
push str.PsEnableDiskDefragment
push eax
call edi
mov dword [esi + 0x70], eax
mov ecx, dword [esi + 0x18c]
push str.PsForceRebootWindows
push ecx
call edi
mov dword [esi + 0x74], eax
mov edx, dword [esi + 0x18c]
push str.PsGetAPTreeInfo
push edx
call edi
mov dword [esi + 0x78], eax
mov eax, dword [esi + 0x18c]
push str.PsGetAutorunFileName
push eax
call edi
mov dword [esi + 0x7c], eax
mov ecx, dword [esi + 0x18c]
push str.PsGetCurrentSnapshotIndex
push ecx
call edi
mov dword [esi + 0x80], eax
mov edx, dword [esi + 0x18c]
push str.PsGetDemoRemainDays
push edx
call edi
mov dword [esi + 0x84], eax
mov eax, dword [esi + 0x18c]
push str.PsGetDiskInfo
push eax
call edi
mov dword [esi + 0x88], eax
mov ecx, dword [esi + 0x18c]
push str.PsGetLog
push ecx
call edi
mov dword [esi + 0x8c], eax
mov edx, dword [esi + 0x18c]
push str.PsGetMountInfo
push edx
call edi
mov dword [esi + 0x90], eax
mov eax, dword [esi + 0x18c]
push str.PsGetNearestSnapshot
push eax
call edi
mov dword [esi + 0x94], eax
mov ecx, dword [esi + 0x18c]
push str.PsGetRegisterID
push ecx
call edi
mov dword [esi + 0xa8], eax
mov edx, dword [esi + 0x18c]
push str.PsGetOptimizeSpaceThreadState
push edx
call edi
mov dword [esi + 0x98], eax
mov eax, dword [esi + 0x18c]
push str.PsGetPartitionInfo
push eax
call edi
mov dword [esi + 0x9c], eax
mov ecx, dword [esi + 0x18c]
push str.PsGetProcessInfo
push ecx
call edi
mov dword [esi + 0xa0], eax
mov edx, dword [esi + 0x18c]
push str.PsGetProtectedSpaceInfo
push edx
call edi
mov dword [esi + 0xa4], eax
mov eax, dword [esi + 0x18c]
push str.PsGetScheduleTaskInfo
push eax
call edi
mov dword [esi + 0xac], eax
mov ecx, dword [esi + 0x18c]
push str.PsGetShieldSpaceState
push ecx
call edi
mov dword [esi + 0xb0], eax
mov edx, dword [esi + 0x18c]
push str.PsGetSnapshotCount
push edx
call edi
mov dword [esi + 0xb8], eax
mov eax, dword [esi + 0x18c]
push str.PsGetSnapshotInfo
push eax
call edi
mov dword [esi + 0xb4], eax
mov ecx, dword [esi + 0x18c]
push str.PsGetSyncFileInfo
push ecx
call edi
mov dword [esi + 0xbc], eax
mov edx, dword [esi + 0x18c]
push str.PsGetSystemHarddiskIndex
push edx
call edi
mov dword [esi + 0xc0], eax
mov eax, dword [esi + 0x18c]
push str.PsGetTaskCount
push eax
call edi
mov dword [esi + 0xc4], eax
mov ecx, dword [esi + 0x18c]
push str.PsGetUserCount
push ecx
call edi
mov dword [esi + 0xc8], eax
mov edx, dword [esi + 0x18c]
push str.PsGetUserInfo
push edx
call edi
mov dword [esi + 0xcc], eax
mov eax, dword [esi + 0x18c]
push str.PsGetVersion
push eax
call edi
mov dword [esi + 0xd0], eax
mov ecx, dword [esi + 0x18c]
push str.PsImportSettings
push ecx
call edi
mov dword [esi + 0xd4], eax
mov edx, dword [esi + 0x18c]
push str.PsInstall
push edx
call edi
mov dword [esi + 0xd8], eax
mov eax, dword [esi + 0x18c]
push str.PsIsActived
push eax
call edi
mov dword [esi + 0xdc], eax
mov ecx, dword [esi + 0x18c]
push str.PsIsAPInfoUpdated
push ecx
call edi
mov dword [esi + 0xe0], eax
mov edx, dword [esi + 0x18c]
push str.PsIsExpired
push edx
call edi
mov dword [esi + 0xe4], eax
mov eax, dword [esi + 0x18c]
push str.PsIsFlagWriteProtected
push eax
call edi
mov dword [esi + 0xe8], eax
mov ecx, dword [esi + 0x18c]
push str.PsIsInstalled
push ecx
call edi
mov dword [esi + 0xec], eax
mov edx, dword [esi + 0x18c]
push str.PsIsMounted
push edx
call edi
mov dword [esi + 0xf0], eax
mov eax, dword [esi + 0x18c]
push str.PsIsUninstalled
push eax
call edi
mov dword [esi + 0xf4], eax
mov ecx, dword [esi + 0x18c]
push str.PsIsWorking
push ecx
call edi
mov dword [esi + 0xf8], eax
mov edx, dword [esi + 0x18c]
push str.PsLockAllSnapshots
push edx
call edi
mov dword [esi + 0xfc], eax
mov eax, dword [esi + 0x18c]
push str.PsLockSnapshot
push eax
call edi
mov ecx, dword [esi + 0x18c]
push str.PsLogon
push ecx
mov dword [esi + 0x100], eax
call edi
mov edx, dword [esi + 0x18c]
push str.PsMountSnapshot
push edx
mov dword [esi + 0x104], eax
call edi
mov dword [esi + 0x108], eax
mov eax, dword [esi + 0x18c]
push str.PsNeedSyncFile
push eax
call edi
mov ecx, dword [esi + 0x18c]
push str.PsNetClientOperate
push ecx
mov dword [esi + 0x10c], eax
call edi
mov edx, dword [esi + 0x18c]
push str.PsNetworkSettings
push edx
mov dword [esi + 0x110], eax
call edi
mov dword [esi + 0x114], eax
mov eax, dword [esi + 0x18c]
push str.PsOptimizeThreadContrtol
push eax
call edi
mov ecx, dword [esi + 0x18c]
push str.PsRegisterOnLine
push ecx
mov dword [esi + 0x118], eax
call edi
mov edx, dword [esi + 0x18c]
push str.PsRemoveAllSnapshots
push edx
mov dword [esi + 0x11c], eax
call edi
mov dword [esi + 0x120], eax
mov eax, dword [esi + 0x18c]
push str.PsRemoveScheduleTask
push eax
call edi
mov ecx, dword [esi + 0x18c]
push str.PsRemoveSnapshots
push ecx
mov dword [esi + 0x124], eax
call edi
mov edx, dword [esi + 0x18c]
push str.PsRenameSnapshot
push edx
mov dword [esi + 0x128], eax
call edi
mov dword [esi + 0x12c], eax
mov eax, dword [esi + 0x18c]
push str.PsResetBaseline
push eax
call edi
mov ecx, dword [esi + 0x18c]
push str.PsRestoreSnapshot
push ecx
mov dword [esi + 0x130], eax
call edi
mov edx, dword [esi + 0x18c]
push str.PsRestoreSnapshotWithAutorun
push edx
mov dword [esi + 0x134], eax
call edi
mov dword [esi + 0x138], eax
mov eax, dword [esi + 0x18c]
push str.PsRestoreSnapshotWithSyncFile
push eax
call edi
mov ecx, dword [esi + 0x18c]
push str.PsSaveSyncFile
push ecx
mov dword [esi + 0x13c], eax
call edi
mov edx, dword [esi + 0x18c]
push str.PsScheduleRestore
push edx
mov dword [esi + 0x140], eax
call edi
mov dword [esi + 0x144], eax
mov eax, dword [esi + 0x18c]
push str.PsSetTaskLastRunTime
push eax
call edi
mov ecx, dword [esi + 0x18c]
push str.PsSettings
push ecx
mov dword [esi + 0x154], eax
call edi
mov edx, dword [esi + 0x18c]
push str.PsSetNotifyRoutine
push edx
mov dword [esi + 0x158], eax
call edi
mov dword [esi + 0x148], eax
mov eax, dword [esi + 0x18c]
push str.PsSetSnapshotSpaceInfo
push eax
call edi
mov ecx, dword [esi + 0x18c]
push str.PsSetSnapshotInfo
push ecx
mov dword [esi + 0x14c], eax
call edi
mov edx, dword [esi + 0x18c]
push str.PsSnapshotInScheduleTask
push edx
mov dword [esi + 0x150], eax
call edi
mov dword [esi + 0x15c], eax
mov eax, dword [esi + 0x18c]
push str.PsStartProcessMonitor
push eax
call edi
mov ecx, dword [esi + 0x18c]
push str.PsStartSession
push ecx
mov dword [esi + 0x160], eax
call edi
mov edx, dword [esi + 0x18c]
push str.PsStopProcessMonitor
push edx
mov dword [esi + 0x164], eax
call edi
mov dword [esi + 0x168], eax
mov eax, dword [esi + 0x18c]
push str.PsTerminateMount
push eax
call edi
mov ecx, dword [esi + 0x18c]
push str.PsUninstall
push ecx
mov dword [esi + 0x16c], eax
call edi
mov edx, dword [esi + 0x18c]
push str.PsUnMount
push edx
mov dword [esi + 0x170], eax
call edi
mov dword [esi + 0x174], eax
mov eax, dword [esi + 0x18c]
push str.PsUpdateBaseline
push eax
call edi
mov ecx, dword [esi + 0x18c]
push str.PsUpdateLastAccessCode
push ecx
mov dword [esi + 0x178], eax
call edi
mov dword [esi + 0x17c], eax
mov edx, dword [esi + 0x18c]
push str.PsUpdateLastAccessCode
push edx
call edi
mov dword [esi + 0x17c], eax
mov eax, dword [esi + 0x18c]
push str.PsResetDemo
push eax
call edi
mov dword [esi + 0x180], eax
push str.PsGetTsrDebugInfo
mov ecx, dword [esi + 0x18c]
push ecx
call edi
mov dword [esi + 0x184], eax
mov edx, dword [esi + 0x18c]
push str.PsSpecialRegistration
push edx
call edi
mov dword [esi + 0x188], eax
mov eax, dword [esi + 0x164]
test eax, eax
je 0x401bf1
mov eax, dword [esi + 0x44]
test eax, eax
je 0x401bf1
mov eax, dword [esi + 0xb4]
test eax, eax
jne 0x401c1e
mov ecx, esi
call fcn.00401de0
mov ecx, esi
mov dword [esi + 0x1dc], eax
call fcn.00401de0
push eax
push str.GetProcAddress_failed_with_error_0x_lx
call fcn.00401110
add esp, 8
xor eax, eax
pop edi
pop esi
add esp, 0x104
ret
mov eax, dword [esi + 0x18c]
push eax
push str.LoadDll__hSysDll___x_n
call fcn.00401150
add esp, 8
mov eax, 1
pop edi
pop esi
add esp, 0x104
ret