Function at 0x45a515
Capabilities:
Check for time delay via gettickcount
Check if file exists
Create directory
Create process on windows
Delete file
Get common file path
Manipulate boot configuration
Persist via app paths registry key
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
sub esp, 0xb94
lea ebp, [esp - 4]
mov eax, dword [0x4f3bd0]
xor eax, ebp
mov dword [ebp + 0xb94], eax
push 0x40
mov eax, 0x4b262e
call fcn.00476610
xor ebx, ebx
push ebx
mov edi, ecx
push ebx
push 0xb5
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x14], ebx
call fcn.00402d9c
mov ecx, eax
call fcn.00402e2d
mov ecx, edi
call fcn.0045a393
cmp dword [edi + 4], ebx
je 0x45b012
mov ecx, dword [edi + 8]
cmp ecx, ebx
je 0x45b012
cmp dword [ecx + 0x1d0], ebx
je 0x45a585
call fcn.0045f406
mov ecx, eax
call fcn.004309f8
mov ecx, dword [edi + 8]
call fcn.0045f45e
mov esi, eax
mov ecx, esi
call fcn.0043cc9a
push eax
lea ecx, [ebp - 0x28]
call fcn.00403c96
mov eax, dword [ebp - 0x28]
mov eax, dword [eax - 0xc]
mov dword [ebp - 4], ebx
cmp eax, ebx
je 0x45a660
push str.SetupOffline_
lea ecx, [ebp - 0x18]
call fcn.00402530
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.0043cc28
push eax
lea ecx, [ebp - 0x18]
call fcn.00403c7e
lea ecx, [ebp - 0x28]
call fcn.0040c153
push ebx
push str.http:__
lea ecx, [ebp - 0x28]
call fcn.0041f376
cmp eax, 0xffffffff
jne 0x45a63f
push ebx
push str.https:__
lea ecx, [ebp - 0x28]
call fcn.0041f376
cmp eax, 0xffffffff
jne 0x45a63f
push str.https:__hao.360.com_
lea ecx, [ebp - 0x14]
call fcn.00402530
mov eax, dword [ebp - 0x28]
push dword [eax - 0xc]
lea ecx, [ebp - 0x14]
push eax
mov byte [ebp - 4], 2
call fcn.00403bfe
push dword [ebp - 0x18]
lea eax, [ebp - 0x14]
push eax
call fcn.00471976
mov ecx, eax
call fcn.004719e8
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.00402870
jmp 0x45a652
push dword [ebp - 0x18]
lea eax, [ebp - 0x28]
push eax
call fcn.00471976
mov ecx, eax
call fcn.004719e8
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
mov byte [ebp - 4], bl
call fcn.00402870
push str.Start_SetLowConfigurationPCFlag
call fcn.00404d91
pop ecx
mov ecx, edi
call fcn.00459289
push str.End_SetLowConfigurationPCFlag
call fcn.00404d91
mov dword [esp], str.Start_ClearOldSkin
call fcn.00404d91
pop ecx
mov ecx, edi
call fcn.00459d4a
push str.End_ClearOldSkin
call fcn.00404d91
mov dword [esp], str.Start_CheckHomePageForOldVer
call fcn.00404d91
pop ecx
mov ecx, edi
call fcn.004594df
push str.End_CheckHomePageForOldVer
call fcn.00404d91
lea eax, [ebp]
push eax
mov dword [ebp], 0x114
call fcn.00403d38
mov esi, dword [sym.imp.SHLWAPI.dll_SHSetValueW]
pop ecx
pop ecx
test eax, eax
je 0x45a846
cmp dword [ebp + 4], 6
jne 0x45a6e4
cmp dword [ebp + 8], 4
je 0x45a6f7
cmp dword [ebp + 4], 0xa
jne 0x45a846
cmp dword [ebp + 8], ebx
jne 0x45a846
call fcn.0045921e
test eax, eax
jne 0x45a846
lea eax, [ebp - 0x18]
push eax
push 0x2001f
push ebx
push str.SOFTWARE360SafeCoop
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x18], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x45a846
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x1c]
push eax
push ebx
push str.Bcdedit
push dword [ebp - 0x18]
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x2c], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp dword [ebp - 0x1c], 4
jne 0x45a761
cmp dword [ebp - 0x14], 1
je 0x45a83d
xor eax, eax
push 0x206
mov word [ebp + 0x944], ax
lea eax, [ebp + 0x946]
push ebx
push eax
call fcn.00475570
add esp, 0xc
push 0x104
lea eax, [ebp + 0x944]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea eax, [ebp + 0x944]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
mov edi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
push str.Sysnative
lea eax, [ebp + 0x944]
push eax
call edi
lea eax, [ebp + 0x944]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x45a7d5
push 0x104
lea eax, [ebp + 0x944]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push str.bcdedit.exe
lea eax, [ebp + 0x944]
push eax
call edi
mov edi, dword [sym.imp.SHELL32.dll_ShellExecuteW]
push ebx
push ebx
push str._set_bootmgr_flightsigning_on
lea eax, [ebp + 0x944]
push eax
push str.open
push ebx
call edi
cmp eax, 0x20
jbe 0x45a83a
push ebx
push ebx
push str._set_flightsigning_on
lea eax, [ebp + 0x944]
push eax
push str.open
push ebx
call edi
push 4
lea eax, [ebp - 0x20]
push eax
push 4
push str.Bcdedit
push str.SOFTWARE360SafeCoop
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x20], 1
call esi
mov edi, dword [ebp - 0x24]
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push str.Start_SetHomePage
call fcn.00404d91
pop ecx
mov ecx, dword [edi + 8]
call fcn.0045f45e
mov ecx, dword [edi + 8]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], ebx
call fcn.0045f3cd
test eax, eax
jne 0x45a8f0
mov ecx, dword [ebp - 0x18]
lea eax, [ebp - 0x2c]
push eax
call fcn.00459824
push str.TRUE
mov ecx, eax
mov byte [ebp - 4], 3
mov dword [ebp - 0x14], 1
call fcn.004102fa
test eax, eax
jne 0x45a8b4
mov ecx, dword [ebp - 0x18]
lea eax, [ebp - 0x20]
push eax
call fcn.00459842
mov eax, dword [eax]
cmp dword [eax - 0xc], ebx
mov dword [ebp - 0x14], 3
mov byte [ebp - 0xd], 1
jg 0x45a8b7
mov byte [ebp - 0xd], bl
test byte [ebp - 0x14], 2
je 0x45a8cc
mov ecx, dword [ebp - 0x20]
and dword [ebp - 0x14], 0xfffffffd
add ecx, 0xfffffff0
call fcn.00402870
test byte [ebp - 0x14], 1
mov dword [ebp - 4], ebx
je 0x45a8e0
mov ecx, dword [ebp - 0x2c]
add ecx, 0xfffffff0
call fcn.00402870
cmp byte [ebp - 0xd], bl
je 0x45a8f0
xor eax, eax
inc eax
mov dword [ebp - 0x1c], eax
mov dword [0x4f7ce0], eax
cmp dword [0x4f7ce0], ebx
jne 0x45a97f
mov ecx, dword [ebp - 0x18]
lea eax, [ebp - 0x20]
push eax
call fcn.0043ccfe
mov eax, dword [eax]
cmp dword [eax - 0xc], ebx
mov ecx, dword [ebp - 0x20]
setne byte [ebp - 0xd]
add ecx, 0xfffffff0
call fcn.00402870
cmp byte [ebp - 0xd], bl
je 0x45a961
mov ecx, dword [ebp - 0x18]
cmp dword [ecx + 0xb8], ebx
je 0x45a973
lea eax, [ebp - 0x20]
push eax
call fcn.00459824
push str.TRUE
mov ecx, eax
mov byte [ebp - 4], 4
call fcn.004102fa
mov ecx, dword [ebp - 0x20]
neg eax
sbb al, al
inc al
add ecx, 0xfffffff0
mov byte [ebp - 0xd], al
mov byte [ebp - 4], bl
call fcn.00402870
cmp byte [ebp - 0xd], bl
jmp 0x45a967
cmp dword [0x4f7c80], ebx
je 0x45a973
mov dword [0x4f7ce0], 1
cmp dword [0x4f7ce0], ebx
je 0x45aa24
cmp dword [ebp - 0x1c], ebx
je 0x45a9e3
push 0x4f9e18
lea ecx, [ebp - 0x14]
call fcn.0040284b
mov ecx, dword [ebp - 0x18]
lea eax, [ebp - 0x20]
push eax
mov byte [ebp - 4], 5
call fcn.00459842
push dword [eax]
lea eax, [ebp - 0x14]
push str.https:__hao.360.com__srclmls_s
push eax
mov byte [ebp - 4], 6
call fcn.00403b60
mov ecx, dword [ebp - 0x20]
add esp, 0xc
add ecx, 0xfffffff0
mov byte [ebp - 4], 5
call fcn.00402870
push 1
lea eax, [ebp - 0x14]
push 0x4c1ed4
push eax
call fcn.00471976
mov ecx, eax
call fcn.00471b45
mov ecx, dword [ebp - 0x14]
jmp 0x45aa19
push str.A766C3B3_3BC3_4ea6_A5A3_FFDB3F4974AE:setuppok_n
call fcn.00404d91
lea ecx, [ebp - 0x1c]
mov dword [esp], str.https:__hao.360.com__safe
call fcn.00402530
push ebx
lea eax, [ebp - 0x1c]
push 0x4c1ed4
push eax
mov byte [ebp - 4], 7
call fcn.00471976
mov ecx, eax
call fcn.00471b45
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
mov byte [ebp - 4], bl
call fcn.00402870
push str.End_SetHomePage
call fcn.00404d91
pop ecx
mov ecx, dword [edi + 8]
mov dword [ebp - 0x30], ebx
call fcn.0045f3cd
test eax, eax
jne 0x45aa47
mov dword [ebp - 0x30], 1
jmp 0x45aab2
mov ecx, dword [edi + 8]
call fcn.0045f3e1
push eax
lea ecx, [ebp - 0x20]
call fcn.00403c96
xor eax, eax
lea edi, [ebp + 0xb88]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
mov edi, dword [ebp - 0x20]
lea eax, [ebp + 0xb8e]
push eax
lea eax, [ebp + 0xb8c]
push eax
lea eax, [ebp + 0xb8a]
push eax
lea eax, [ebp + 0xb88]
push eax
push str._d._d._d._d
push edi
call fcn.00479b35
add esp, 0x18
cmp eax, 4
jne 0x45aaa7
cmp word [ebp + 0xb88], 0xb
jae 0x45aaa7
mov dword [ebp - 0x30], 1
lea ecx, [edi - 0x10]
call fcn.00402870
mov edi, dword [ebp - 0x24]
push 0x4f9e18
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], ebx
call fcn.0040284b
lea eax, [ebp - 0x38]
push eax
push 0xf013f
push ebx
push str.SoftwareMicrosoftWindows_NTCurrentVersion
push reloc.OLEAUT32.dll_SysReAllocString
mov byte [ebp - 4], 8
mov dword [ebp - 0x3c], 0x40c
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x45ab83
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x34]
push eax
push ebx
push ebx
push str.InstallDate
push dword [ebp - 0x38]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x45ab83
push dword [ebp - 0x34]
lea eax, [ebp - 0x18]
push 0x4c1da0
push eax
call fcn.00403b60
add esp, 0xc
push str.WinInstallDate
lea ecx, [ebp - 0x1c]
call fcn.0044139a
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x20]
push eax
mov byte [ebp - 4], 9
call fcn.00432ab7
add esp, 0xc
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0xa
call fcn.00401c8e
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.00402870
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
mov byte [ebp - 4], 8
call fcn.00402870
push dword [ebp - 0x18]
push ebx
push 0xa1
call fcn.00402d9c
mov ecx, eax
call fcn.00402e2d
push 4
lea eax, [ebp - 0x30]
push eax
push 4
push str.360Preview
push str.Software360Safe_safemon
push reloc.OLEAUT32.dll_SysReAllocString
call esi
push ebx
push ebx
push 0xd1
call fcn.00402d9c
mov ecx, eax
call fcn.00402e2d
mov ecx, dword [edi + 8]
call fcn.0045f45e
mov ecx, dword [edi + 8]
mov dword [ebp - 0x20], eax
call fcn.0045f3cd
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x2c], eax
call fcn.0043cc20
push 4
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x2c]
push eax
push 4
push str.setuptype
mov edi, str.SOFTWARE360Safe_stat
push edi
push reloc.OLEAUT32.dll_SysReAllocString
call esi
push 4
lea eax, [ebp - 0x14]
push eax
push 4
push str.setup_updatemode
push edi
push reloc.OLEAUT32.dll_SysReAllocString
call esi
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax + 8]
call fcn.0045f3cd
test eax, eax
jne 0x45acb0
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x4c]
push eax
push str.setup_time
push edi
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], 4
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x45ac42
cmp dword [ebp - 0x1c], ebx
jne 0x45acb0
lea eax, [ebp + 0xb84]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
push 0x32
lea eax, [ebp + 0xb50]
push ebx
push eax
call fcn.00475570
movzx eax, word [ebp + 0xb8a]
push eax
movzx eax, word [ebp + 0xb86]
push eax
movzx eax, word [ebp + 0xb84]
push eax
push str._.4d_.2d_.2d
lea eax, [ebp + 0xb50]
push 9
push eax
call fcn.0047bb16
lea eax, [ebp + 0xb50]
push eax
call fcn.00476cd1
add esp, 0x28
push 4
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x40]
push eax
push 4
push str.setup_time
push edi
push reloc.OLEAUT32.dll_SysReAllocString
call esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, dword [ebp - 0x24]
mov ecx, dword [edi + 8]
mov dword [ebp - 0x14], eax
call fcn.0045f558
mov ecx, dword [ebp - 0x14]
cmp ecx, eax
jbe 0x45accf
sub ecx, eax
jmp 0x45acd2
sub ecx, eax
dec ecx
push ecx
push str.ElapseTickCount__BeforeCallPlugin___StartExtract___u
call fcn.00404d91
pop ecx
pop ecx
mov ecx, dword [edi + 8]
call fcn.0045f45e
mov ecx, eax
call fcn.0043cc40
mov dword [0x4f7c2c], eax
mov ecx, dword [edi + 8]
call fcn.0045f3f7
cmp eax, ebx
je 0x45ad05
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp eax, dword [ebp - 0x14]
jbe 0x45ad15
sub eax, dword [ebp - 0x14]
jmp 0x45ad19
sub eax, dword [ebp - 0x14]
dec eax
push eax
push str.ElapseTickCount__AfterCallPlugin___BeforeCallPlugin___u
call fcn.00404d91
pop ecx
pop ecx
call fcn.0046e65d
test eax, eax
jne 0x45af54
push 0x4f9e18
lea ecx, [ebp - 0x1c]
call fcn.0040284b
xor eax, eax
mov edi, 0x208
push edi
mov word [ebp + 0x52c], ax
lea eax, [ebp + 0x52e]
push ebx
push eax
mov byte [ebp - 4], 0xb
call fcn.00475570
add esp, 0xc
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax + 8]
call fcn.00460e88
push str.UtilsSudaSetup.7z
push dword [ebp - 0x1c]
lea eax, [ebp + 0x52c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
xor eax, eax
push edi
mov word [ebp + 0x114], ax
lea eax, [ebp + 0x116]
push ebx
push eax
call fcn.00475570
xor eax, eax
push edi
mov word [ebp + 0x944], ax
lea eax, [ebp + 0x946]
push ebx
push eax
call fcn.00475570
add esp, 0x18
push 1
push 0x1a
lea eax, [ebp + 0x114]
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push str.Reader
lea eax, [ebp + 0x114]
push eax
lea eax, [ebp + 0x944]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp + 0x52c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x45af42
push ebx
lea eax, [ebp + 0x944]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push ebx
lea eax, [ebp + 0x944]
push eax
lea eax, [ebp + 0x52c]
push eax
call fcn.00473a50
add esp, 0xc
lea eax, [ebp + 0x52c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
xor eax, eax
push edi
mov word [ebp + 0x320], ax
lea eax, [ebp + 0x322]
push ebx
push eax
call fcn.00475570
xor eax, eax
push edi
mov word [ebp + 0x738], ax
lea eax, [ebp + 0x73a]
push ebx
push eax
call fcn.00475570
mov edi, dword [sym.imp.SHLWAPI.dll_PathCombineW]
add esp, 0x18
push str.ReaderTray.exe
lea eax, [ebp + 0x944]
push eax
lea eax, [ebp + 0x320]
push eax
call edi
push str.Reader.exe
lea eax, [ebp + 0x944]
push eax
lea eax, [ebp + 0x738]
push eax
call edi
lea eax, [ebp + 0x320]
push eax
call fcn.0047600e
pop ecx
add eax, eax
push eax
lea eax, [ebp + 0x320]
push eax
push 1
push ebx
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_PathsReaderTray.exe
mov edi, closesocket
push edi
call esi
lea eax, [ebp + 0x944]
push eax
call fcn.0047600e
pop ecx
add eax, eax
push eax
lea eax, [ebp + 0x944]
push eax
push 1
push 0x4d35fc
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_PathsReaderTray.exe
push edi
call esi
lea eax, [ebp + 0x738]
push eax
call fcn.0047600e
pop ecx
add eax, eax
push eax
lea eax, [ebp + 0x738]
push eax
push 1
push str.Reader
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_PathsReaderTray.exe
push edi
call esi
push str.nolnk_nomenu_nouninst_noprocess_safe
call fcn.0047600e
pop ecx
add eax, eax
push eax
push str.nolnk_nomenu_nouninst_noprocess_safe
push 1
push str.core
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_PathsReaderTray.exeConfig
push edi
call esi
lea eax, [ebp + 0x738]
push eax
call fcn.0047600e
pop ecx
add eax, eax
push eax
lea eax, [ebp + 0x738]
push eax
push 1
push ebx
push str.SOFTWARE360SoftMgr_reader
push edi
call esi
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
mov byte [ebp - 4], 8
call fcn.00402870
mov edi, dword [ebp - 0x24]
call fcn.0040a529
cmp eax, 1
je 0x45af90
cmp eax, 0x41
je 0x45af90
cmp eax, 0x71
je 0x45af90
cmp eax, 0x51
je 0x45af90
cmp eax, 0x61
je 0x45af90
cmp eax, 7
je 0x45af90
cmp eax, 0x47
je 0x45af90
cmp eax, 8
je 0x45af90
cmp eax, 0x48
je 0x45af90
cmp eax, 3
je 0x45af90
cmp eax, 0x43
jne 0x45af97
mov ecx, edi
call fcn.004595c5
push dword [edi + 0xc]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x45afb4
push ebx
push ebx
push 0x3448
push dword [edi + 0xc]
call dword [sym.imp.USER32.dll_PostMessageW]
mov ecx, dword [edi + 8]
call fcn.0045f45e
mov ecx, eax
call fcn.0043cc20
mov ecx, dword [edi + 8]
call fcn.0045f45e
mov ecx, eax
call fcn.0043cc1c
lea eax, [ebp - 0x48]
push eax
mov ecx, 0x4f7c90
call fcn.0046a31f
push ebx
push dword [ebp - 0x48]
push 0xa5
call fcn.00402d9c
mov ecx, eax
call fcn.00402e2d
mov ecx, edi
call fcn.00459387
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.00402870
mov ecx, dword [ebp - 0x28]
add ecx, 0xfffffff0
call fcn.00402870
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0xb94]
xor ecx, ebp
call fcn.004755ea
add ebp, 0xb98
leave
ret