Function at 0x459bd8
Capabilities:
Check for time delay via gettickcount
Create process on windows
Get common file path
Manipulate boot configuration
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
sub esp, 0x360
lea ebp, [esp - 4]
mov eax, dword [0x4f2be0]
xor eax, ebp
mov dword [ebp + 0x360], eax
push 0x44
mov eax, 0x4b1ae8
call fcn.00475a5f
xor edi, edi
push edi
push edi
push 0xb5
mov esi, ecx
mov dword [ebp - 0x1c], edi
call fcn.00402f1e
mov ecx, eax
call fcn.00402faf
mov ecx, esi
call fcn.00459a56
cmp dword [esi + 4], edi
je 0x45a48d
cmp dword [esi + 8], edi
je 0x45a48d
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x30]
push eax
mov dword [ebp - 0x28], edi
call fcn.00470e31
mov ecx, eax
call fcn.00470e0a
mov ecx, dword [esi + 8]
mov dword [ebp - 4], edi
call fcn.0045e3d5
neg eax
sbb eax, eax
inc eax
push eax
push dword [ebp - 0x28]
push dword [ebp - 0x30]
push str.old_homepage__s__bLock_d__new_setup_d
call fcn.00404dac
add esp, 0x10
cmp dword [ebp - 0x28], 1
jne 0x459c89
mov ecx, dword [esi + 8]
call fcn.0045e3d5
test eax, eax
je 0x459c89
push str.homepage_locked_or_non_new_setup_so_dont_set_homepage
call fcn.00404dac
pop ecx
jmp 0x459d05
mov ecx, dword [esi + 8]
call fcn.0045e466
mov ebx, eax
mov ecx, ebx
call fcn.0043cb67
push eax
lea ecx, [ebp - 0x10]
call fcn.00403cb4
mov eax, dword [ebp - 0x10]
mov byte [ebp - 4], 1
cmp dword [eax - 0xc], edi
je 0x459cf6
push str.Youqianlianmeng_
lea ecx, [ebp - 0x14]
call fcn.00402675
mov ecx, ebx
mov byte [ebp - 4], 2
call fcn.0043caf5
push eax
lea ecx, [ebp - 0x14]
call fcn.00403c9c
lea ecx, [ebp - 0x10]
call fcn.0040c171
push dword [ebp - 0x14]
lea eax, [ebp - 0x10]
push eax
call fcn.00470e31
mov ecx, eax
call fcn.00470ea3
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.004029d4
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov byte [ebp - 4], 0
call fcn.004029d4
push str.Start_SetLowConfigurationPCFlag
call fcn.00404dac
pop ecx
mov ecx, esi
call fcn.004588c6
push str.End_SetLowConfigurationPCFlag
call fcn.00404dac
mov dword [esp], str.Start_ClearOldSkin
call fcn.00404dac
pop ecx
mov ecx, esi
call fcn.004593ce
push str.End_ClearOldSkin
call fcn.00404dac
pop ecx
mov ecx, dword [esi + 8]
call fcn.0045ff1d
test eax, eax
jne 0x459d66
mov ecx, dword [esi + 8]
call fcn.0045e466
mov ecx, eax
call fcn.0043cae2
test eax, eax
jne 0x459d66
mov ecx, esi
call fcn.0045948d
push str.Start_CheckHomePageForOldVer
call fcn.00404dac
pop ecx
mov ecx, esi
call fcn.00458b36
push str.End_CheckHomePageForOldVer
call fcn.00404dac
lea eax, [ebp]
push eax
mov dword [ebp], 0x114
call fcn.00403d56
pop ecx
pop ecx
test eax, eax
je 0x459f09
cmp dword [ebp + 4], 6
jne 0x459da8
cmp dword [ebp + 8], 4
je 0x459dbb
cmp dword [ebp + 4], 0xa
jne 0x459f09
cmp dword [ebp + 8], edi
jne 0x459f09
call fcn.0045885b
test eax, eax
jne 0x459f09
lea eax, [ebp - 0x14]
push eax
push 0x2001f
push edi
push str.SOFTWARE360SafeCoop
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x14], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x459f09
push 4
pop ebx
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x10]
push eax
push edi
push str.Bcdedit
push dword [ebp - 0x14]
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x24], ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp dword [ebp - 0x10], ebx
jne 0x459e23
cmp dword [ebp - 0x18], 1
je 0x459f00
xor eax, eax
push 0x206
mov word [ebp + 0x114], ax
lea eax, [ebp + 0x116]
push edi
push eax
call fcn.00474a10
add esp, 0xc
push 0x104
lea eax, [ebp + 0x114]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea eax, [ebp + 0x114]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
mov ebx, dword [sym.imp.SHLWAPI.dll_PathAppendW]
push str.Sysnative
lea eax, [ebp + 0x114]
push eax
call ebx
lea eax, [ebp + 0x114]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x459e97
push 0x104
lea eax, [ebp + 0x114]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push str.bcdedit.exe
lea eax, [ebp + 0x114]
push eax
call ebx
mov ebx, dword [sym.imp.SHELL32.dll_ShellExecuteW]
push edi
push edi
push str._set_bootmgr_flightsigning_on
lea eax, [ebp + 0x114]
push eax
push str.open
push edi
call ebx
cmp eax, 0x20
jbe 0x459f00
push edi
push edi
push str._set_flightsigning_on
lea eax, [ebp + 0x114]
push eax
push str.open
push edi
call ebx
push 4
lea eax, [ebp - 0x1c]
push eax
push 4
push str.Bcdedit
push str.SOFTWARE360SafeCoop
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x1c], 1
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push str.Start_SetHomePage
call fcn.00404dac
pop ecx
mov ecx, dword [esi + 8]
call fcn.0045e466
mov ecx, dword [esi + 8]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x18], edi
call fcn.0045e3d5
test eax, eax
jne 0x459fa9
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x14]
push eax
call fcn.00458ea8
xor ebx, ebx
inc ebx
push str.TRUE
mov ecx, eax
mov byte [ebp - 4], 3
mov dword [ebp - 0x1c], ebx
call fcn.004103e2
test eax, eax
jne 0x459f6e
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x24]
push eax
call fcn.00458ec6
mov eax, dword [eax]
cmp dword [eax - 0xc], edi
push 3
pop ebx
mov byte [ebp - 0x1d], 1
jg 0x459f72
mov byte [ebp - 0x1d], 0
test bl, 2
je 0x459f85
mov ecx, dword [ebp - 0x24]
add ecx, 0xfffffff0
and ebx, 0xfffffffd
call fcn.004029d4
mov dword [ebp - 4], edi
test bl, 1
je 0x459f98
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.004029d4
cmp byte [ebp - 0x1d], 0
je 0x459fa9
xor eax, eax
inc eax
mov dword [ebp - 0x18], eax
mov dword [0x4f6ba0], eax
cmp dword [0x4f6ba0], edi
jne 0x45a035
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x1c]
push eax
call fcn.0043cbcb
mov eax, dword [eax]
cmp dword [eax - 0xc], edi
mov ecx, dword [ebp - 0x1c]
setne bl
add ecx, 0xfffffff0
call fcn.004029d4
test bl, bl
je 0x45a017
mov ecx, dword [ebp - 0x10]
cmp dword [ecx + 0xb8], edi
je 0x45a029
lea eax, [ebp - 0x1c]
push eax
call fcn.00458ea8
push str.TRUE
mov ecx, eax
mov byte [ebp - 4], 4
call fcn.004103e2
mov ecx, dword [ebp - 0x1c]
mov ebx, eax
neg ebx
sbb bl, bl
add ecx, 0xfffffff0
inc bl
mov byte [ebp - 4], 0
call fcn.004029d4
test bl, bl
jmp 0x45a01d
cmp dword [0x4f6b48], edi
je 0x45a029
mov dword [0x4f6ba0], 1
cmp dword [0x4f6ba0], edi
je 0x45a0db
cmp dword [ebp - 0x18], edi
je 0x45a099
push 0x4f8ce0
lea ecx, [ebp - 0x14]
call fcn.004029af
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x1c]
push eax
mov byte [ebp - 4], 5
call fcn.00458ec6
push dword [eax]
lea eax, [ebp - 0x14]
push str.https:__hao.360.com__srclmls_s
push eax
mov byte [ebp - 4], 6
call fcn.00403b7e
mov ecx, dword [ebp - 0x1c]
add esp, 0xc
add ecx, 0xfffffff0
mov byte [ebp - 4], 5
call fcn.004029d4
push 1
lea eax, [ebp - 0x14]
push 0x4c085c
push eax
call fcn.00470e31
mov ecx, eax
call fcn.00471000
mov ecx, dword [ebp - 0x14]
jmp 0x45a0cf
push str.A766C3B3_3BC3_4ea6_A5A3_FFDB3F4974AE:setuppok_n
call fcn.00404dac
lea ecx, [ebp - 0x18]
mov dword [esp], str.https:__hao.360.com__safe
call fcn.00402675
push edi
lea eax, [ebp - 0x18]
push 0x4c085c
push eax
mov byte [ebp - 4], 7
call fcn.00470e31
mov ecx, eax
call fcn.00471000
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
mov byte [ebp - 4], 0
call fcn.004029d4
push str.End_SetHomePage
call fcn.00404dac
pop ecx
mov ecx, dword [esi + 8]
mov dword [ebp - 0x2c], edi
call fcn.0045e3d5
test eax, eax
jne 0x45a0fe
mov dword [ebp - 0x2c], 1
jmp 0x45a168
mov ecx, dword [esi + 8]
call fcn.0045e3e9
push eax
lea ecx, [ebp - 0x1c]
call fcn.00403cb4
xor eax, eax
lea edi, [ebp + 0x354]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
mov edi, dword [ebp - 0x1c]
lea eax, [ebp + 0x35a]
push eax
lea eax, [ebp + 0x358]
push eax
lea eax, [ebp + 0x356]
push eax
lea eax, [ebp + 0x354]
push eax
push str._d._d._d._d
push edi
call fcn.00479efc
add esp, 0x18
cmp eax, 4
jne 0x45a15e
cmp word [ebp + 0x354], 0xb
jae 0x45a15e
mov dword [ebp - 0x2c], 1
lea ecx, [edi - 0x10]
call fcn.004029d4
xor edi, edi
push 0x4f8ce0
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], edi
call fcn.004029af
lea eax, [ebp - 0x34]
push eax
push 0xf013f
push edi
push str.SoftwareMicrosoftWindows_NTCurrentVersion
mov ebx, reloc.OLEAUT32.dll_SysReAllocString
push ebx
mov byte [ebp - 4], 8
mov dword [ebp - 0x44], 0x40c
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x45a23a
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x38]
push eax
push edi
push edi
push str.InstallDate
push dword [ebp - 0x34]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x45a23a
push dword [ebp - 0x38]
lea eax, [ebp - 0x10]
push 0x4c0728
push eax
call fcn.00403b7e
add esp, 0xc
push str.WinInstallDate
lea ecx, [ebp - 0x18]
call fcn.00441277
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x1c]
push eax
mov byte [ebp - 4], 9
call fcn.0043296c
add esp, 0xc
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 0xa
call fcn.00401df2
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.004029d4
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
mov byte [ebp - 4], 8
call fcn.004029d4
push dword [ebp - 0x10]
push edi
push 0xa1
call fcn.00402f1e
mov ecx, eax
call fcn.00402faf
push 4
lea eax, [ebp - 0x2c]
push eax
push 4
push str.360Preview
push str.Software360Safe_safemon
push ebx
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
push edi
push edi
push 0xd1
call fcn.00402f1e
mov ecx, eax
call fcn.00402faf
mov ecx, dword [esi + 8]
call fcn.0045e466
mov ecx, dword [esi + 8]
mov edi, eax
call fcn.0045e3d5
mov ecx, edi
mov dword [ebp - 0x24], eax
call fcn.0043caed
push 4
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x24]
push eax
push 4
push str.setuptype
mov edi, str.SOFTWARE360Safe_stat
push edi
mov ebx, reloc.OLEAUT32.dll_SysReAllocString
push ebx
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
push 4
lea eax, [ebp - 0x14]
push eax
push 4
push str.setup_updatemode
push edi
push ebx
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov ecx, dword [esi + 8]
call fcn.0045e3d5
test eax, eax
jne 0x45a364
and dword [ebp - 0x18], eax
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x48]
push eax
push str.setup_time
push edi
push ebx
mov dword [ebp - 0x40], 4
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x45a2f5
cmp dword [ebp - 0x18], eax
jne 0x45a364
lea eax, [ebp + 0x350]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
push 0x32
lea eax, [ebp + 0x31c]
push 0
push eax
call fcn.00474a10
movzx eax, word [ebp + 0x356]
push eax
movzx eax, word [ebp + 0x352]
push eax
movzx eax, word [ebp + 0x350]
push eax
push str._.4d_.2d_.2d
lea eax, [ebp + 0x31c]
push 9
push eax
call fcn.0047b0ab
lea eax, [ebp + 0x31c]
push eax
call fcn.0047b023
add esp, 0x28
push 4
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x3c]
push eax
push 4
push str.setup_time
push edi
push ebx
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebx
mov ecx, dword [esi + 8]
mov edi, eax
call fcn.0045e560
mov ecx, edi
sub ecx, eax
cmp edi, eax
ja 0x45a37f
dec ecx
push ecx
push str.ElapseTickCount__BeforeCallPlugin___StartExtract___u
call fcn.00404dac
pop ecx
pop ecx
mov ecx, dword [esi + 8]
call fcn.0045e466
mov ecx, eax
call fcn.0043cb0d
mov dword [0x4f6af4], eax
mov ecx, dword [esi + 8]
call fcn.0045e3ff
test eax, eax
je 0x45a3b2
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
call ebx
cmp eax, edi
jbe 0x45a3bc
sub eax, edi
jmp 0x45a3bf
sub eax, edi
dec eax
push eax
push str.ElapseTickCount__AfterCallPlugin___BeforeCallPlugin___u
call fcn.00404dac
pop ecx
pop ecx
call fcn.0040a544
cmp eax, 1
je 0x45a408
cmp eax, 0x41
je 0x45a408
cmp eax, 0x71
je 0x45a408
cmp eax, 0x51
je 0x45a408
cmp eax, 0x61
je 0x45a408
cmp eax, 7
je 0x45a408
cmp eax, 0x47
je 0x45a408
cmp eax, 8
je 0x45a408
cmp eax, 0x48
je 0x45a408
cmp eax, 3
je 0x45a408
cmp eax, 0x43
jne 0x45a40f
mov ecx, esi
call fcn.00458c1c
push dword [esi + 0xc]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x45a42e
push 0
push 0
push 0x3448
push dword [esi + 0xc]
call dword [sym.imp.USER32.dll_PostMessageW]
mov ecx, dword [esi + 8]
call fcn.0045e466
mov ecx, eax
call fcn.0043caed
mov ecx, dword [esi + 8]
call fcn.0045e466
mov ecx, eax
call fcn.0043cae9
lea eax, [ebp - 0x50]
push eax
mov ecx, 0x4f6b58
call fcn.0046993b
push 0
push dword [ebp - 0x50]
push 0xa5
call fcn.00402f1e
mov ecx, eax
call fcn.00402faf
mov ecx, esi
call fcn.004589ba
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.004029d4
mov ecx, dword [ebp - 0x30]
add ecx, 0xfffffff0
call fcn.004029d4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x360]
xor ecx, ebp
call fcn.00474a8a
add ebp, 0x364
leave
ret