Function at 0x459f42
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 0x3c
mov eax, 0x4b24d0
call fcn.004764b0
xor ebx, ebx
push ebx
mov edi, ecx
push ebx
push 0xb5
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x1c], ebx
call fcn.00402eb7
mov ecx, eax
call fcn.00402f48
mov ecx, edi
call fcn.00459dc0
cmp dword [edi + 4], ebx
je 0x45a94f
mov ecx, dword [edi + 8]
cmp ecx, ebx
je 0x45a94f
cmp dword [ecx + 0x1d0], ebx
je 0x459fb2
call fcn.0045e750
mov ecx, eax
call fcn.00430b52
push str.Start_SetLowConfigurationPCFlag
call fcn.00404d2e
pop ecx
mov ecx, edi
call fcn.004587a6
push str.End_SetLowConfigurationPCFlag
call fcn.00404d2e
mov dword [esp], str.Start_ClearOldSkin
call fcn.00404d2e
pop ecx
mov ecx, edi
call fcn.00459777
push str.End_ClearOldSkin
call fcn.00404d2e
mov dword [esp], str.Start_CheckHomePageForOldVer
call fcn.00404d2e
pop ecx
mov ecx, edi
call fcn.00458d20
push str.End_CheckHomePageForOldVer
call fcn.00404d2e
lea eax, [ebp]
push eax
mov dword [ebp], 0x114
call fcn.00403cd8
pop ecx
pop ecx
mov esi, reloc.OLEAUT32.dll_SysReAllocString
test eax, eax
je 0x45a193
cmp dword [ebp + 4], 6
jne 0x45a035
cmp dword [ebp + 8], 4
je 0x45a048
cmp dword [ebp + 4], 0xa
jne 0x45a193
cmp dword [ebp + 8], ebx
jne 0x45a193
call fcn.0045873b
test eax, eax
jne 0x45a193
lea eax, [ebp - 0x18]
push eax
push 0x2001f
push ebx
push str.SOFTWARE360SafeCoop
push esi
mov dword [ebp - 0x18], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x45a193
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x24]
push eax
push ebx
push str.Bcdedit
push dword [ebp - 0x18]
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp dword [ebp - 0x24], 4
jne 0x45a0ae
cmp dword [ebp - 0x1c], 1
je 0x45a18a
xor eax, eax
push 0x206
mov word [ebp + 0x944], ax
lea eax, [ebp + 0x946]
push ebx
push eax
call fcn.00475410
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 0x45a122
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 0x45a187
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 - 0x2c]
push eax
push 4
push str.Bcdedit
push str.SOFTWARE360SafeCoop
push esi
mov dword [ebp - 0x2c], 1
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov edi, dword [ebp - 0x28]
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push str.Start_SetHomePage
call fcn.00404d2e
pop ecx
mov ecx, dword [edi + 8]
call fcn.0045e7a8
mov ecx, dword [edi + 8]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x20], ebx
call fcn.0045e717
test eax, eax
jne 0x45a23d
mov ecx, dword [ebp - 0x18]
lea eax, [ebp - 0x14]
push eax
call fcn.00459065
push str.TRUE
mov ecx, eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0x1c], 1
call fcn.004103e6
test eax, eax
jne 0x45a200
mov ecx, dword [ebp - 0x18]
lea eax, [ebp - 0x2c]
push eax
call fcn.00459083
mov eax, dword [eax]
cmp dword [eax - 0xc], ebx
mov dword [ebp - 0x1c], 3
mov byte [ebp - 0xd], 1
jg 0x45a203
mov byte [ebp - 0xd], bl
test byte [ebp - 0x1c], 2
je 0x45a218
mov ecx, dword [ebp - 0x2c]
and dword [ebp - 0x1c], 0xfffffffd
add ecx, 0xfffffff0
call fcn.00402963
or dword [ebp - 4], 0xffffffff
test byte [ebp - 0x1c], 1
je 0x45a22d
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.00402963
cmp byte [ebp - 0xd], bl
je 0x45a23d
xor eax, eax
inc eax
mov dword [ebp - 0x20], eax
mov dword [0x4f7cc8], eax
cmp dword [0x4f7cc8], ebx
jne 0x45a2d0
mov ecx, dword [ebp - 0x18]
lea eax, [ebp - 0x14]
push eax
call fcn.0043ce72
mov eax, dword [eax]
cmp dword [eax - 0xc], ebx
mov ecx, dword [ebp - 0x14]
setne byte [ebp - 0xd]
add ecx, 0xfffffff0
call fcn.00402963
cmp byte [ebp - 0xd], bl
je 0x45a2b2
mov ecx, dword [ebp - 0x18]
cmp dword [ecx + 0xb8], ebx
je 0x45a2c4
lea eax, [ebp - 0x14]
push eax
call fcn.00459065
push str.TRUE
mov ecx, eax
mov dword [ebp - 4], 1
call fcn.004103e6
mov ecx, dword [ebp - 0x14]
neg eax
sbb al, al
or dword [ebp - 4], 0xffffffff
inc al
add ecx, 0xfffffff0
mov byte [ebp - 0xd], al
call fcn.00402963
cmp byte [ebp - 0xd], bl
jmp 0x45a2b8
cmp dword [0x4f7c68], ebx
je 0x45a2c4
mov dword [0x4f7cc8], 1
cmp dword [0x4f7cc8], ebx
je 0x45a37c
cmp dword [ebp - 0x20], ebx
je 0x45a337
push 0x4f9e00
lea ecx, [ebp - 0x1c]
call fcn.0040293e
mov ecx, dword [ebp - 0x18]
lea eax, [ebp - 0x14]
push eax
mov dword [ebp - 4], 2
call fcn.00459083
push dword [eax]
lea eax, [ebp - 0x1c]
push str.https:__hao.360.com__srclmls_s
push eax
mov byte [ebp - 4], 3
call fcn.00403b17
mov ecx, dword [ebp - 0x14]
add esp, 0xc
add ecx, 0xfffffff0
mov byte [ebp - 4], 2
call fcn.00402963
push 1
lea eax, [ebp - 0x1c]
push 0x4c117c
push eax
call fcn.00471980
mov ecx, eax
call fcn.004719f2
mov ecx, dword [ebp - 0x1c]
jmp 0x45a370
push str.A766C3B3_3BC3_4ea6_A5A3_FFDB3F4974AE:setuppok_n
call fcn.00404d2e
lea ecx, [ebp - 0x20]
mov dword [esp], str.https:__hao.360.com__safe
call fcn.0040260e
push ebx
lea eax, [ebp - 0x20]
push 0x4c117c
push eax
mov dword [ebp - 4], 4
call fcn.00471980
mov ecx, eax
call fcn.004719f2
mov ecx, dword [ebp - 0x20]
or dword [ebp - 4], 0xffffffff
add ecx, 0xfffffff0
call fcn.00402963
push str.End_SetHomePage
call fcn.00404d2e
pop ecx
mov ecx, dword [edi + 8]
mov dword [ebp - 0x30], ebx
call fcn.0045e717
test eax, eax
jne 0x45a39f
mov dword [ebp - 0x30], 1
jmp 0x45a40a
mov ecx, dword [edi + 8]
call fcn.0045e72b
push eax
lea ecx, [ebp - 0x14]
call fcn.00403c36
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 - 0x14]
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.0047a82c
add esp, 0x18
cmp eax, 4
jne 0x45a3ff
cmp word [ebp + 0xb88], 0xb
jae 0x45a3ff
mov dword [ebp - 0x30], 1
lea ecx, [edi - 0x10]
call fcn.00402963
mov edi, dword [ebp - 0x28]
push 0x4f9e00
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x38], ebx
call fcn.0040293e
lea eax, [ebp - 0x34]
push eax
push 0xf013f
push ebx
push str.SoftwareMicrosoftWindows_NTCurrentVersion
push esi
mov dword [ebp - 4], 5
mov dword [ebp - 0x3c], 0x40c
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x45a4da
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x38]
push eax
push ebx
push ebx
push str.InstallDate
push dword [ebp - 0x34]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x45a4da
push dword [ebp - 0x38]
lea eax, [ebp - 0x18]
push 0x4c1048
push eax
call fcn.00403b17
add esp, 0xc
push str.WinInstallDate
lea ecx, [ebp - 0x20]
call fcn.00441209
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x14]
push eax
mov byte [ebp - 4], 6
call fcn.00432c08
add esp, 0xc
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 7
call fcn.00401df2
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.00402963
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
mov byte [ebp - 4], 5
call fcn.00402963
push dword [ebp - 0x18]
push ebx
push 0xa1
call fcn.00402eb7
mov ecx, eax
call fcn.00402f48
push 4
lea eax, [ebp - 0x30]
push eax
push 4
push str.360Preview
push str.Software360Safe_safemon
push esi
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
push ebx
push ebx
push 0xd1
call fcn.00402eb7
mov ecx, eax
call fcn.00402f48
mov ecx, dword [edi + 8]
call fcn.0045e7a8
mov ecx, dword [edi + 8]
mov dword [ebp - 0x14], eax
call fcn.0045e717
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x2c], eax
call fcn.0043cdc4
push 4
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x2c]
push eax
push 4
push str.setuptype
mov edi, str.SOFTWARE360Safe_stat
push edi
push esi
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
push 4
lea eax, [ebp - 0x24]
push eax
push 4
push str.setup_updatemode
push edi
push esi
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax + 8]
call fcn.0045e717
test eax, eax
jne 0x45a603
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x40]
push eax
push str.setup_time
push edi
push esi
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x14], 4
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x45a595
cmp dword [ebp - 0x20], ebx
jne 0x45a603
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.00475410
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.0047b9ba
lea eax, [ebp + 0xb50]
push eax
call fcn.00476b71
add esp, 0x28
push 4
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
push 4
push str.setup_time
push edi
push esi
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, dword [ebp - 0x28]
mov ecx, dword [esi + 8]
mov edi, eax
call fcn.0045e8a2
mov ecx, edi
sub ecx, eax
cmp edi, eax
ja 0x45a61f
dec ecx
push ecx
push str.ElapseTickCount__BeforeCallPlugin___StartExtract___u
call fcn.00404d2e
pop ecx
pop ecx
mov ecx, dword [esi + 8]
call fcn.0045e7a8
mov ecx, eax
call fcn.0043cdeb
mov dword [0x4f7c14], eax
mov ecx, dword [esi + 8]
call fcn.0045e741
cmp eax, ebx
je 0x45a652
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp eax, edi
jbe 0x45a660
sub eax, edi
jmp 0x45a663
sub eax, edi
dec eax
push eax
push str.ElapseTickCount__AfterCallPlugin___BeforeCallPlugin___u
call fcn.00404d2e
pop ecx
pop ecx
call fcn.0046e66c
test eax, eax
jne 0x45a89c
push 0x4f9e00
lea ecx, [ebp - 0x24]
call fcn.0040293e
xor eax, eax
mov esi, 0x208
push esi
mov word [ebp + 0x52c], ax
lea eax, [ebp + 0x52e]
push ebx
push eax
mov byte [ebp - 4], 8
call fcn.00475410
add esp, 0xc
lea eax, [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax + 8]
call fcn.004600b7
mov edi, dword [sym.imp.SHLWAPI.dll_PathCombineW]
push str.UtilsSudaSetup.7z
push dword [ebp - 0x24]
lea eax, [ebp + 0x52c]
push eax
call edi
xor eax, eax
push esi
mov word [ebp + 0x114], ax
lea eax, [ebp + 0x116]
push ebx
push eax
call fcn.00475410
xor eax, eax
push esi
mov word [ebp + 0x944], ax
lea eax, [ebp + 0x946]
push ebx
push eax
call fcn.00475410
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 edi
lea eax, [ebp + 0x52c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x45a88a
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.004738da
add esp, 0xc
lea eax, [ebp + 0x52c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
xor eax, eax
push esi
mov word [ebp + 0x320], ax
lea eax, [ebp + 0x322]
push ebx
push eax
call fcn.00475410
xor eax, eax
push esi
mov word [ebp + 0x738], ax
lea eax, [ebp + 0x73a]
push ebx
push eax
call fcn.00475410
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.00475eae
mov edi, dword [sym.imp.SHLWAPI.dll_SHSetValueW]
pop ecx
add eax, eax
push eax
lea eax, [ebp + 0x320]
push eax
push 1
push ebx
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_PathsReaderTray.exe
mov esi, SysReAllocStringLen
push esi
call edi
lea eax, [ebp + 0x944]
push eax
call fcn.00475eae
pop ecx
add eax, eax
push eax
lea eax, [ebp + 0x944]
push eax
push 1
push 0x4d288c
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_PathsReaderTray.exe
push esi
call edi
lea eax, [ebp + 0x738]
push eax
call fcn.00475eae
pop ecx
add eax, eax
push eax
lea eax, [ebp + 0x738]
push eax
push 1
push str.Reader
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_PathsReaderTray.exe
push esi
call edi
push str.nolnk_nomenu_nouninst_noprocess_safe
call fcn.00475eae
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 esi
call edi
lea eax, [ebp + 0x738]
push eax
call fcn.00475eae
pop ecx
add eax, eax
push eax
lea eax, [ebp + 0x738]
push eax
push 1
push ebx
push str.SOFTWARE360SoftMgr_reader
push esi
call edi
mov ecx, dword [ebp - 0x24]
add ecx, 0xfffffff0
mov byte [ebp - 4], 5
call fcn.00402963
mov esi, dword [ebp - 0x28]
call fcn.0040a4c6
cmp eax, 1
je 0x45a8d8
cmp eax, 0x41
je 0x45a8d8
cmp eax, 0x71
je 0x45a8d8
cmp eax, 0x51
je 0x45a8d8
cmp eax, 0x61
je 0x45a8d8
cmp eax, 7
je 0x45a8d8
cmp eax, 0x47
je 0x45a8d8
cmp eax, 8
je 0x45a8d8
cmp eax, 0x48
je 0x45a8d8
cmp eax, 3
je 0x45a8d8
cmp eax, 0x43
jne 0x45a8df
mov ecx, esi
call fcn.00458e06
push dword [esi + 0xc]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x45a8fc
push ebx
push ebx
push 0x3448
push dword [esi + 0xc]
call dword [sym.imp.USER32.dll_PostMessageW]
mov ecx, dword [esi + 8]
call fcn.0045e7a8
mov ecx, eax
call fcn.0043cdc4
mov ecx, dword [esi + 8]
call fcn.0045e7a8
mov ecx, eax
call fcn.0043cdc0
lea eax, [ebp - 0x48]
push eax
mov ecx, 0x4f7c78
call fcn.0046a377
push ebx
push dword [ebp - 0x48]
push 0xa5
call fcn.00402eb7
mov ecx, eax
call fcn.00402f48
mov ecx, esi
call fcn.0045889a
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.00402963
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.0047548a
add ebp, 0xb98
leave
ret