Function at 0x4524e0
Capabilities:
Check if file exists
Create directory
Create thread
Delete file
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x15c
mov eax, dword [0x58f860]
xor eax, ebp
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x158], ecx
push 0
push 0
mov ecx, dword [ebp - 0x158]
call fcn.004cdeda
cmp dword [0x591024], 0
jne 0x45252d
push str.Wow64DisableWow64FsRedirection
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x591024], eax
cmp dword [0x591028], 0
jne 0x452552
push str.Wow64RevertWow64FsRedirection
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x591028], eax
cmp dword [0x591020], 0
je 0x452577
push str.NtQuerySystemInformation
push str.ntdll.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x591020], eax
lea ecx, [ebp - 0x40]
call fcn.0042e670
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 0x40]
call fcn.0042e6b0
lea ecx, [ebp - 0xc]
push ecx
mov ecx, 0x591300
call fcn.0041c8e0
lea ecx, [ebp - 0x24]
call fcn.0042e050
push 1
push ecx
mov ecx, esp
push 0x55a860
call fcn.0041c8a0
push SysReAllocString
lea ecx, [ebp - 0x24]
call fcn.0042e1a0
push 0
push ecx
mov ecx, esp
push str.pleisure
call fcn.0041c8a0
lea ecx, [ebp - 0x24]
call fcn.0042ef30
test eax, eax
setne dl
mov byte [0x591077], dl
push 0
push ecx
mov ecx, esp
push str.pnet
call fcn.0041c8a0
lea ecx, [ebp - 0x24]
call fcn.0042ef30
test eax, eax
setne al
mov byte [0x591076], al
push 0
push ecx
mov ecx, esp
push str.pmytimeweb
call fcn.0041c8a0
lea ecx, [ebp - 0x24]
call fcn.0042ef30
test eax, eax
setne cl
mov byte [0x591075], cl
push 0
push ecx
mov ecx, esp
push str.ins_runtip
call fcn.0041c8a0
lea ecx, [ebp - 0x24]
call fcn.0042ef30
test eax, eax
setne dl
mov byte [0x591078], dl
push 0
push ecx
mov ecx, esp
push str.ins_upmytime
call fcn.0041c8a0
lea ecx, [ebp - 0x24]
call fcn.0042ef30
test eax, eax
setne al
mov byte [0x591079], al
push ecx
mov ecx, esp
push 0x591300
call fcn.0041c880
push ecx
mov ecx, esp
push str.Install_Dir
call fcn.0041c8a0
lea ecx, [ebp - 0x24]
call fcn.00452f50
mov ecx, dword [ebp - 0x158]
mov edx, dword [ecx + 4]
mov dword [0x5912f8], edx
mov ecx, dword [ebp - 0x158]
call fcn.004572e0
mov dword [0x5912fc], eax
mov ecx, 0x591304
call fcn.0041cc40
movzx eax, al
test eax, eax
jne 0x4526f6
mov ecx, 0x591308
call fcn.0041cc40
movzx ecx, al
test ecx, ecx
jne 0x4526f6
mov ecx, 0x591304
call fcn.0041cb20
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4526f6
mov ecx, 0x591308
call fcn.0041cb20
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4528b2
push 0x55a7d4
push str.mytime.txt
lea edx, [ebp - 0xc]
push edx
lea eax, [ebp - 0xbc]
push eax
call fcn.0041ca60
add esp, 0xc
mov ecx, eax
call fcn.0041cb20
push eax
call fcn.005186cc
add esp, 8
mov dword [ebp - 0x44], eax
lea ecx, [ebp - 0xbc]
call fcn.0040f740
cmp dword [ebp - 0x44], 0
je 0x4527f6
mov ecx, dword [ebp - 0x44]
push ecx
call fcn.00512a79
add esp, 4
push str.mytime.txt
lea edx, [ebp - 0xc]
push edx
lea eax, [ebp - 0xc0]
push eax
call fcn.0041ca60
add esp, 0xc
mov ecx, eax
call fcn.0041cb20
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0xc0]
call fcn.0040f740
push ecx
mov ecx, esp
push str.configmytime
call fcn.0041c8a0
push ecx
mov ecx, esp
lea edx, [ebp - 0xc]
push edx
call fcn.0041c880
lea eax, [ebp - 0xcc]
push eax
lea ecx, [ebp - 0x40]
call fcn.0042e910
push eax
mov ecx, 0x591304
call fcn.0041c8e0
lea ecx, [ebp - 0xcc]
call fcn.0040f740
push ecx
mov ecx, esp
push str.plugins
call fcn.0041c8a0
push ecx
mov ecx, esp
lea edx, [ebp - 0xc]
push edx
call fcn.0041c880
lea eax, [ebp - 0xd8]
push eax
lea ecx, [ebp - 0x40]
call fcn.0042e910
push eax
mov ecx, 0x591308
call fcn.0041c8e0
lea ecx, [ebp - 0xd8]
call fcn.0040f740
jmp 0x45286e
push ecx
mov ecx, esp
push str.pcmasterconfigmytime
call fcn.0041c8a0
push ecx
push esp
lea ecx, [ebp - 0x40]
call fcn.0042f0c0
lea ecx, [ebp - 0xe4]
push ecx
lea ecx, [ebp - 0x40]
call fcn.0042e910
push eax
mov ecx, 0x591304
call fcn.0041c8e0
lea ecx, [ebp - 0xe4]
call fcn.0040f740
push ecx
mov ecx, esp
push str.pcmasterplugins
call fcn.0041c8a0
push ecx
push esp
lea ecx, [ebp - 0x40]
call fcn.0042f0c0
lea edx, [ebp - 0xf0]
push edx
lea ecx, [ebp - 0x40]
call fcn.0042e910
push eax
mov ecx, 0x591308
call fcn.0041c8e0
lea ecx, [ebp - 0xf0]
call fcn.0040f740
push ecx
mov ecx, esp
push 0x591304
call fcn.0041c880
push ecx
mov ecx, esp
push str.ConfigPathNew
call fcn.0041c8a0
lea ecx, [ebp - 0x24]
call fcn.00452f50
push ecx
mov ecx, esp
push 0x591308
call fcn.0041c880
push ecx
mov ecx, esp
push 0x55a708
call fcn.0041c8a0
lea ecx, [ebp - 0x24]
call fcn.00452f50
lea ecx, [ebp - 0x24]
call fcn.0042e170
push ecx
mov ecx, esp
push str.sound
call fcn.0041c8a0
push ecx
mov ecx, esp
push 0x591308
call fcn.0041c880
lea eax, [ebp - 4]
push eax
lea ecx, [ebp - 0x40]
call fcn.0042e910
push ecx
mov ecx, esp
push str.weathericon
call fcn.0041c8a0
push ecx
mov ecx, esp
push 0x591308
call fcn.0041c880
lea ecx, [ebp - 8]
push ecx
lea ecx, [ebp - 0x40]
call fcn.0042e910
push ecx
mov ecx, esp
push str.pcmasterupgrade
call fcn.0041c8a0
push ecx
push esp
lea ecx, [ebp - 0x40]
call fcn.0042f0c0
lea edx, [ebp - 0x11c]
push edx
lea ecx, [ebp - 0x40]
call fcn.0042e910
push eax
mov ecx, 0x59130c
call fcn.0041c8e0
lea ecx, [ebp - 0x11c]
call fcn.0040f740
push 0
mov ecx, 0x591304
call fcn.0041cb20
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
push 0
mov ecx, 0x591308
call fcn.0041cb20
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
push 0
mov ecx, 0x59130c
call fcn.0041cb20
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
push 0
lea ecx, [ebp - 4]
call fcn.0041cb20
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
push 0
lea ecx, [ebp - 8]
call fcn.0041cb20
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
mov ecx, dword [ebp - 0x158]
call fcn.00456ad0
mov ecx, dword [ebp - 0x158]
call fcn.0045ac50
mov ecx, dword [ebp - 0x158]
call fcn.00458d80
mov ecx, dword [ebp - 0x158]
call fcn.004571b0
mov eax, dword [ebp - 0x158]
cmp dword [eax + 0x480], 0
jne 0x452ab2
push 0x18f
push 0x192
push 0
push 0
lea ecx, [ebp - 0x58]
call fcn.00441340
push 0x300
call fcn.00512067
add esp, 4
mov dword [ebp - 0x120], eax
cmp dword [ebp - 0x120], 0
je 0x452a2b
mov ecx, dword [ebp - 0x120]
call fcn.00453190
mov dword [ebp - 0x15c], eax
jmp 0x452a35
mov dword [ebp - 0x15c], 0
mov ecx, dword [ebp - 0x158]
mov edx, dword [ebp - 0x15c]
mov dword [ecx + 0x480], edx
mov eax, dword [ebp - 0x158]
cmp dword [eax + 0x480], 0
je 0x452ab2
push 0
push SysReAllocString
push SysReAllocString
push 0
push 0
push 0x88
push SysReAllocString
push 0x55a6b4
push 0
mov ecx, dword [ebp - 0x158]
mov ecx, dword [ecx + 0x480]
call fcn.004ce96a
push 0
push 0
mov edx, dword [ebp - 0x158]
mov ecx, dword [edx + 0x480]
call fcn.004cdeda
mov eax, dword [ebp - 0x158]
mov ecx, dword [eax + 0x480]
mov edx, dword [ecx + 4]
mov dword [0x5912f4], edx
mov ecx, dword [ebp - 0x158]
add ecx, 0x3e0
call fcn.00491470
mov ecx, dword [ebp - 0x158]
add ecx, 0x2d8
call fcn.0048dec0
push 0
push str._PCMaster6
call dword [sym.imp.USER32.dll_FindWindowW]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
je 0x452afd
push 1
push 2
push 0x709
mov eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
push 0
push 0x3e8
push 0x1f7
mov ecx, dword [ebp - 0x158]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.USER32.dll_SetTimer]
push 0
push 0x1b7740
push 0x1ff
mov eax, dword [ebp - 0x158]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_SetTimer]
push 0
push 0x2710
push 0x203
mov edx, dword [ebp - 0x158]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.USER32.dll_SetTimer]
push 0
push 0x1b7740
push 0x209
mov ecx, dword [ebp - 0x158]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.USER32.dll_SetTimer]
push 0
push 0
push 0x45e040
call fcn.0051af0d
add esp, 0xc
mov eax, dword [ebp - 0x158]
movzx ecx, byte [eax + 0x4ac]
test ecx, ecx
jne 0x452cc2
lea ecx, [ebp - 0x5c]
call fcn.0040ee90
push 0x104
push 0x105
lea ecx, [ebp - 0x5c]
call fcn.00453160
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea ecx, [ebp - 0x98]
call fcn.0042e050
push 1
push ecx
mov ecx, esp
push str.SoftwareMicrosoftWindowsCurrentVersionRun
call fcn.0041c8a0
push SysReAllocString
lea ecx, [ebp - 0x98]
call fcn.0042e1a0
push ecx
mov ecx, esp
push str.MagicTray
call fcn.0041c8a0
lea ecx, [ebp - 0x98]
call fcn.00452e00
push ecx
mov ecx, esp
lea edx, [ebp - 0x5c]
push edx
call fcn.0041c880
push ecx
mov ecx, esp
push str.mytime
call fcn.0041c8a0
lea ecx, [ebp - 0x98]
call fcn.00452f50
mov byte [0x591034], 1
lea ecx, [ebp - 0x7c]
call fcn.0042e050
push 1
push ecx
mov ecx, esp
push str.SoftwareRuanMeiPCMaster
call fcn.0041c8a0
push SysReAllocString
lea ecx, [ebp - 0x7c]
call fcn.0042e1a0
push 0xffffffffffffffff
push ecx
mov ecx, esp
push str.appstart
call fcn.0041c8a0
lea ecx, [ebp - 0x7c]
call fcn.00452ea0
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x80], 1
mov dword [ebp - 0x60], 2
movzx eax, byte [0x591034]
test eax, eax
je 0x452c85
mov ecx, dword [ebp - 0x64]
or ecx, 1
mov dword [ebp - 0x64], ecx
jmp 0x452c8e
mov edx, dword [ebp - 0x64]
and edx, 0xfffffffe
mov dword [ebp - 0x64], edx
mov eax, dword [ebp - 0x64]
push eax
push ecx
mov ecx, esp
push str.appstart
call fcn.0041c8a0
lea ecx, [ebp - 0x7c]
call fcn.004530b0
lea ecx, [ebp - 0x7c]
call fcn.0042e110
lea ecx, [ebp - 0x98]
call fcn.0042e110
lea ecx, [ebp - 0x5c]
call fcn.0040f740
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
push 0x423310
push 0xe
call dword [sym.imp.USER32.dll_SetWindowsHookExW]
mov dword [0x591590], eax
push 0
push 0
push 0
mov ecx, dword [ebp - 0x158]
add ecx, 0x2e0
call fcn.0048f760
push 0
push 0x55a5c8
mov ecx, 0x591348
call fcn.0047e090
test eax, eax
jl 0x452d27
push 1
push ecx
mov ecx, esp
push 0x55a5b0
call fcn.0041c8a0
mov ecx, dword [ebp - 0x158]
call fcn.00456fc0
jmp 0x452d41
push 0
push ecx
mov ecx, esp
push 0x55a5b0
call fcn.0041c8a0
mov ecx, dword [ebp - 0x158]
call fcn.00456fc0
push 0
push ecx
mov ecx, esp
push str.notepad.dll
call fcn.0041c8a0
mov ecx, dword [ebp - 0x158]
call fcn.00456fc0
push 0
push ecx
mov ecx, esp
push str.net.dll
call fcn.0041c8a0
mov ecx, dword [ebp - 0x158]
call fcn.00456fc0
push 0
push ecx
mov ecx, esp
push 0x55a570
call fcn.0041c8a0
mov ecx, dword [ebp - 0x158]
call fcn.00456fc0
push 0
push ecx
mov ecx, esp
push 0x55a554
call fcn.0041c8a0
mov ecx, dword [ebp - 0x158]
call fcn.00456fc0
push 0
push 0
push 0x540
mov ecx, dword [ebp - 0x158]
call fcn.004ce2b2
lea ecx, [ebp - 8]
call fcn.0040f740
lea ecx, [ebp - 4]
call fcn.0040f740
lea ecx, [ebp - 0x24]
call fcn.0042e110
lea ecx, [ebp - 0xc]
call fcn.0040f740
lea ecx, [ebp - 0x40]
call fcn.0042e690
mov ecx, dword [ebp - 0x48]
xor ecx, ebp
call fcn.00512610
mov esp, ebp
pop ebp
ret