Function at 0x4e0fa0
Capabilities:
Accept command line arguments
Copy file

Disassembly:
push 0x4f4
mov eax, 0x664c31
call fcn.006098ec
mov dword [ebp - 0x4f4], ecx
or esi, 0xffffffff
mov dword [ebp - 0x4d8], esi
xor ebx, ebx
inc ebx
lea eax, [ebp - 0x4d8]
push eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov edi, eax
mov dword [ebp - 0x500], edi
cmp dword [ebp - 0x4d8], ebx
jle 0x4e18ce
push dword [edi + 4]
lea ecx, [ebp - 0x4b8]
call fcn.004177e7
mov eax, dword [ebp - 0x4b8]
add eax, 0xfffffff0
push eax
call fcn.00418dea
pop ecx
add eax, 0x10
mov dword [ebp - 0x4cc], eax
mov eax, dword [ebp - 0x4b8]
cmp dword [eax - 0xc], 0
je 0x4e1033
lea ecx, [ebp - 0x4b8]
call fcn.004b2aeb
push eax
lea ecx, [ebp - 0x4b8]
call fcn.00418bac
push str._backuppdb
lea ecx, [ebp - 0x4b8]
call fcn.004334a5
test eax, eax
jne 0x4e13ef
lea ecx, [ebp - 0x4f0]
call fcn.00417833
call fcn.00418f81
push eax
lea ecx, [ebp - 0x4c8]
call fcn.0041775d
call fcn.00418f81
push eax
lea ecx, [ebp - 0x4d4]
call fcn.0041775d
push ecx
mov ecx, esp
push str.mytime.exe
call fcn.004177e7
push ecx
mov esi, esp
push ecx
push esp
lea ecx, [ebp - 0x4f0]
call fcn.00418c45
push esi
lea ecx, [ebp - 0x4f0]
call fcn.00419083
lea eax, [ebp - 0x4bc]
push eax
lea ecx, [ebp - 0x4f0]
call fcn.0041934b
push eax
lea ecx, [ebp - 0x4c8]
call fcn.00418bac
mov ecx, dword [ebp - 0x4bc]
add ecx, 0xfffffff0
call fcn.00419521
push ecx
mov ecx, esp
push str.mytime.pdb
call fcn.004177e7
push ecx
mov esi, esp
push ecx
push esp
lea ecx, [ebp - 0x4f0]
call fcn.00418c45
push esi
lea ecx, [ebp - 0x4f0]
call fcn.00419083
lea eax, [ebp - 0x4bc]
push eax
lea ecx, [ebp - 0x4f0]
call fcn.0041934b
push eax
lea ecx, [ebp - 0x4d4]
call fcn.00418bac
mov ecx, dword [ebp - 0x4bc]
lea ecx, [ecx - 0x10]
call fcn.00419521
xor ebx, ebx
push ebx
push 0x20
push 3
push ebx
push ebx
push SysReAllocString
mov edi, dword [ebp - 0x4c8]
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x4bc], eax
or esi, 0xffffffff
cmp eax, esi
je 0x4e13bb
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
lea ecx, [ebp - 0x1c]
push ecx
push ebx
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileTime]
push dword [ebp - 0x4bc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x4fc]
call fcn.00440d33
call fcn.00418f81
push eax
lea ecx, [ebp - 0x4c8]
call fcn.0041775d
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x4fc]
call fcn.004805f0
test eax, eax
je 0x4e11ac
mov eax, dword [eax + 4]
mov dword [ebp - 0x4d0], eax
jmp 0x4e11b2
mov dword [ebp - 0x4d0], esi
lea eax, [ebp - 0x6c]
push eax
lea ecx, [ebp - 0x4fc]
call fcn.004805f0
test eax, eax
je 0x4e11c8
mov esi, dword [eax + 8]
lea eax, [ebp - 0x90]
push eax
lea ecx, [ebp - 0x4fc]
call fcn.004805f0
test eax, eax
je 0x4e11e9
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x4c0], eax
jmp 0x4e11ef
mov dword [ebp - 0x4c0], ebx
lea eax, [ebp - 0xb4]
push eax
lea ecx, [ebp - 0x4fc]
call fcn.004805f0
test eax, eax
je 0x4e120b
mov eax, dword [eax + 0x10]
inc eax
jmp 0x4e120d
mov eax, ebx
push dword [ebp - 0x4d0]
push esi
push dword [ebp - 0x4c0]
push eax
lea ecx, [ebp - 0x4fc]
call fcn.0049dd56
push eax
push str._04d__02d__02d__02d__02d
lea eax, [ebp - 0x4c8]
push eax
call fcn.0041a1e9
push ebx
lea eax, [ebp - 0x4bc]
push eax
call fcn.00484cc2
add esp, 0x20
push esp
lea ecx, [ebp - 0x4f0]
call fcn.00418c45
lea eax, [ebp - 0x4c0]
push eax
lea ecx, [ebp - 0x4f0]
call fcn.00419083
push ecx
mov esi, esp
lea eax, [ebp - 0x4c8]
push eax
push 0x683cc4
lea eax, [ebp - 0x4bc]
push eax
lea eax, [ebp - 0x4c4]
push eax
call fcn.004227e4
add esp, 0xc
push eax
push esi
call fcn.004227ad
pop ecx
pop ecx
mov eax, esp
push str.ErrorLog_
lea ecx, [ebp - 0x4c0]
push ecx
push eax
call fcn.004227e4
add esp, 0xc
lea eax, [ebp - 0x4d0]
push eax
lea ecx, [ebp - 0x4f0]
call fcn.0041934b
mov ecx, dword [ebp - 0x4c0]
lea ecx, [ecx - 0x10]
call fcn.00419521
mov ecx, dword [ebp - 0x4c4]
lea ecx, [ecx - 0x10]
call fcn.00419521
lea eax, [ebp - 0x4d0]
push eax
mov ecx, dword [ebp - 0x4f4]
call fcn.0045f6f7
push ebx
push ecx
mov ecx, esp
push str.mytime.exe
call fcn.004177e7
push ecx
mov esi, esp
mov eax, dword [ebp - 0x4d0]
add eax, 0xfffffff0
mov dword [ebp - 0x4c0], eax
push eax
call fcn.00418dea
pop ecx
add eax, 0x10
mov dword [esi], eax
lea eax, [ebp - 0x4c4]
push eax
lea ecx, [ebp - 0x4f0]
call fcn.0041934b
push dword [eax]
push edi
mov ebx, dword [sym.imp.KERNEL32.dll_CopyFileW]
call ebx
mov ecx, dword [ebp - 0x4c4]
add ecx, 0xfffffff0
call fcn.00419521
push 0
push ecx
mov ecx, esp
push str.mytime.pdb
call fcn.004177e7
push ecx
mov esi, esp
push dword [ebp - 0x4c0]
call fcn.00418dea
pop ecx
add eax, 0x10
mov dword [esi], eax
lea eax, [ebp - 0x4c4]
push eax
lea ecx, [ebp - 0x4f0]
call fcn.0041934b
push dword [eax]
mov esi, dword [ebp - 0x4d4]
push esi
call ebx
mov ecx, dword [ebp - 0x4c4]
lea ecx, [ecx - 0x10]
call fcn.00419521
mov ecx, dword [ebp - 0x4c0]
call fcn.00419521
mov ecx, dword [ebp - 0x4bc]
lea ecx, [ecx - 0x10]
call fcn.00419521
mov ecx, dword [ebp - 0x4c8]
lea ecx, [ecx - 0x10]
call fcn.00419521
xor ebx, ebx
jmp 0x4e13c1
mov esi, dword [ebp - 0x4d4]
lea ecx, [esi - 0x10]
call fcn.00419521
lea ecx, [edi - 0x10]
call fcn.00419521
lea ecx, [ebp - 0x4f0]
call fcn.00418dd0
mov ecx, dword [ebp - 0x4e0]
lea ecx, [ecx - 0x10]
call fcn.00419521
jmp 0x4e18ac
push str._send_install_info
lea ecx, [ebp - 0x4b8]
call fcn.004334a5
test eax, eax
jne 0x4e1410
and dword [ebp - 4], eax
push eax
push eax
jmp 0x4e142d
push str._send_uninstall_info
lea ecx, [ebp - 0x4b8]
call fcn.004334a5
test eax, eax
jne 0x4e1445
mov dword [ebp - 4], 2
push eax
push ebx
call fcn.004ef9b3
pop ecx
pop ecx
mov dword [ebp - 4], esi
jmp 0x4e14a5
push str._postdata
lea ecx, [ebp - 0x4b8]
call fcn.004334a5
test eax, eax
jne 0x4e14ac
mov byte [ebp - 0x4bc], al
cmp dword [ebp - 0x4d8], 2
jle 0x4e1496
push ebx
sub esp, 0x18
mov ecx, esp
push str._autostartup
call fcn.0043e15d
sub esp, 0x18
mov ecx, esp
push dword [edi + 8]
call fcn.0043e15d
call fcn.0050f7a8
add esp, 0x34
test eax, eax
setne byte [ebp - 0x4bc]
push dword [ebp - 0x4bc]
push 2
call fcn.004ef9b3
pop ecx
pop ecx
xor ebx, ebx
jmp 0x4e18ac
push str._checktime
lea ecx, [ebp - 0x4b8]
call fcn.004334a5
test eax, eax
jne 0x4e14d1
mov eax, dword [ebp - 0x4f4]
mov byte [eax + 0x198], bl
jmp 0x4e18ac
xor ebx, ebx
push ebx
mov esi, 0x6bdb54
push esi
lea ecx, [ebp - 0x4b8]
call fcn.004713d7
push ebx
lea ecx, [ebp - 0x4b8]
test eax, eax
js 0x4e171c
push esi
call fcn.004713d7
mov ecx, eax
lea eax, [ecx + 3]
push eax
push ecx
lea ecx, [ebp - 0x4b8]
call fcn.00460c27
push ebx
mov edi, 0x68c4fc
push edi
lea ecx, [ebp - 0x4b8]
call fcn.004713d7
mov esi, eax
push ecx
mov eax, esp
push esi
push eax
lea ecx, [ebp - 0x4b8]
call fcn.00419299
call fcn.004b57d7
pop ecx
mov word [ebp - 0x24], ax
lea eax, [esi + 1]
push eax
push ebx
lea ecx, [ebp - 0x4b8]
call fcn.00460c27
push ebx
push edi
lea ecx, [ebp - 0x4b8]
call fcn.004713d7
mov esi, eax
push ecx
mov eax, esp
push esi
push eax
lea ecx, [ebp - 0x4b8]
call fcn.00419299
call fcn.004b57d7
pop ecx
mov word [ebp - 0x22], ax
lea eax, [esi + 1]
push eax
push ebx
lea ecx, [ebp - 0x4b8]
call fcn.00460c27
push ebx
push edi
lea ecx, [ebp - 0x4b8]
call fcn.004713d7
mov esi, eax
push ecx
mov eax, esp
push esi
push eax
lea ecx, [ebp - 0x4b8]
call fcn.00419299
call fcn.004b57d7
pop ecx
mov word [ebp - 0x20], ax
lea eax, [esi + 1]
push eax
push ebx
lea ecx, [ebp - 0x4b8]
call fcn.00460c27
push ebx
push edi
lea ecx, [ebp - 0x4b8]
call fcn.004713d7
mov esi, eax
push ecx
mov eax, esp
push esi
push eax
lea ecx, [ebp - 0x4b8]
call fcn.00419299
call fcn.004b57d7
pop ecx
mov word [ebp - 0x1e], ax
lea eax, [esi + 1]
push eax
push ebx
lea ecx, [ebp - 0x4b8]
call fcn.00460c27
push ebx
push edi
lea ecx, [ebp - 0x4b8]
call fcn.004713d7
mov esi, eax
push ecx
mov eax, esp
push esi
push eax
lea ecx, [ebp - 0x4b8]
call fcn.00419299
call fcn.004b57d7
pop ecx
mov word [ebp - 0x1c], ax
lea eax, [esi + 1]
push eax
push ebx
lea ecx, [ebp - 0x4b8]
call fcn.00460c27
push ebx
push edi
lea ecx, [ebp - 0x4b8]
call fcn.004713d7
mov esi, eax
push ecx
mov eax, esp
push esi
push eax
lea ecx, [ebp - 0x4b8]
call fcn.00419299
call fcn.004b57d7
pop ecx
mov word [ebp - 0x1a], ax
lea eax, [esi + 1]
push eax
push ebx
lea ecx, [ebp - 0x4b8]
call fcn.00460c27
push ebx
push edi
lea ecx, [ebp - 0x4b8]
call fcn.004713d7
mov esi, eax
push ecx
mov eax, esp
push esi
push eax
lea ecx, [ebp - 0x4b8]
call fcn.00419299
call fcn.004b57d7
pop ecx
mov word [ebp - 0x18], ax
lea eax, [esi + 1]
push eax
push ebx
lea ecx, [ebp - 0x4b8]
call fcn.00460c27
push ebx
push edi
lea ecx, [ebp - 0x4b8]
call fcn.004713d7
mov esi, eax
push ecx
mov eax, esp
push esi
push eax
lea ecx, [ebp - 0x4b8]
call fcn.00419299
call fcn.004b57d7
pop ecx
mov word [ebp - 0x16], ax
lea eax, [esi + 1]
push eax
push ebx
lea ecx, [ebp - 0x4b8]
call fcn.00460c27
push ebx
push str._Pcmaster_LunarCalendar
call dword [sym.imp.USER32.dll_FindWindowW]
mov esi, eax
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_SetLocalTime]
test eax, eax
je 0x4e1711
test esi, esi
je 0x4e18a9
push 1
push ebx
push 0x53e
push esi
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x4e18a9
test esi, esi
je 0x4e18a9
push ebx
jmp 0x4e16ff
push str._pcmastersvc
call fcn.004713d7
test eax, eax
js 0x4e1807
lea ecx, [ebp - 0x4f0]
call fcn.00417833
push ecx
mov ecx, esp
push str.pcmastersvc.exe
call fcn.004177e7
push ecx
mov esi, esp
push ecx
push esp
lea ecx, [ebp - 0x4f0]
call fcn.00418c45
push esi
lea ecx, [ebp - 0x4f0]
call fcn.00419083
lea eax, [ebp - 0x4c4]
push eax
lea ecx, [ebp - 0x4f0]
call fcn.0041934b
push ecx
mov ecx, esp
push 0x6bdb60
call fcn.004177e7
push ecx
mov ecx, esp
push str.UIGroup
call fcn.004177e7
push 2
push ecx
mov esi, esp
mov edi, dword [ebp - 0x4c4]
add edi, 0xfffffff0
push edi
call fcn.00418dea
add eax, 0x10
mov dword [esi], eax
mov ecx, esp
push str.PCMaster_Service
call fcn.004177e7
push ecx
mov ecx, esp
push str.pcmastersvc
call fcn.004177e7
call fcn.004a820a
add esp, 0x18
push ebx
push str._Pcmaster_LunarCalendar
call dword [sym.imp.USER32.dll_FindWindowW]
push ebx
push ebx
push 0x55d
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
mov ecx, edi
call fcn.00419521
lea ecx, [ebp - 0x4f0]
call fcn.00418dd0
mov ecx, dword [ebp - 0x4e0]
lea ecx, [ecx - 0x10]
call fcn.00419521
jmp 0x4e18a9
push ebx
push str.yunrili:__
lea ecx, [ebp - 0x4b8]
call fcn.004713d7
test eax, eax
js 0x4e18a9
mov eax, 0x68b728
push eax
push eax
lea ecx, [ebp - 0x4cc]
call fcn.00505c74
mov ecx, eax
call fcn.00505b8f
push eax
lea ecx, [ebp - 0x4cc]
call fcn.00418bac
push ebx
push str._Pcmaster_LunarCalendar
call dword [sym.imp.USER32.dll_FindWindowW]
mov esi, eax
test esi, esi
je 0x4e1898
push dword [ebp - 0x4cc]
push 0x200
lea eax, [ebp - 0x4b4]
push eax
call fcn.0063d6aa
add esp, 0xc
mov dword [ebp - 0x20], 5
lea eax, [ebp - 0x4b4]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], 0x400
lea eax, [ebp - 0x20]
push eax
push ebx
push 0x4a
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x4e18a9
lea eax, [ebp - 0x4cc]
push eax
mov ecx, 0x735e98
call fcn.00418bac
xor ebx, ebx
inc ebx
mov ecx, dword [ebp - 0x4cc]
lea ecx, [ecx - 0x10]
call fcn.00419521
mov ecx, dword [ebp - 0x4b8]
add ecx, 0xfffffff0
call fcn.00419521
mov edi, dword [ebp - 0x500]
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, ebx
call fcn.00609839
ret