Function at 0x4c2697
Capabilities:
Copy file
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x14]
sub esp, 0x20
push ebx
push esi
mov esi, dword [ebp + 0x10]
xor ebx, ebx
push edi
mov dword [eax], ebx
mov edi, ecx
lea ecx, [ebp + 0x14]
cmp dword [esi], 5
jne 0x4c26eb
push dword [esi + 8]
call fcn.004177e7
mov edi, dword [ebp + 0x14]
push ecx
add edi, 0xfffffff0
mov esi, esp
push edi
call fcn.00418dea
add eax, 0x10
mov dword [esi], eax
lea eax, [ebp - 0x1c]
pop ecx
push eax
call fcn.00507017
pop ecx
pop ecx
lea ecx, [ebp - 0x1c]
call fcn.00449440
mov ecx, edi
jmp 0x4c2aa2
mov esi, dword [esi + 8]
lea eax, [esi + 4]
push eax
call fcn.004177e7
lea eax, [esi + 0x8c]
push eax
lea ecx, [ebp - 4]
call fcn.004177e7
push str.sound_def
lea ecx, [ebp + 0x14]
call fcn.004334a5
test eax, eax
jne 0x4c2788
cmp dword [esi + 0x88], 2
mov eax, dword [edi + 0x4b4]
jne 0x4c27d6
test eax, eax
je 0x4c273e
push ebx
push ebx
push 0x534
push dword [eax + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
push str.default.snd
lea eax, [ebp - 8]
push 0x735a90
push eax
call fcn.004227e4
push str._sounddefault.snd
lea eax, [ebp + 0x10]
push 0x735a88
push eax
call fcn.004227e4
mov esi, dword [ebp + 0x10]
add esp, 0x18
push ebx
push esi
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
lea ecx, [esi - 0x10]
call fcn.00419521
mov ecx, dword [ebp - 8]
lea ecx, [ecx - 0x10]
jmp 0x4c28e7
push str.sound_defman
lea ecx, [ebp + 0x14]
call fcn.004334a5
test eax, eax
jne 0x4c27f2
cmp dword [esi + 0x88], 2
mov eax, dword [edi + 0x4b4]
jne 0x4c27d6
test eax, eax
je 0x4c27bc
push ebx
push ebx
push 0x534
push dword [eax + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
push str.defaultman.snd
lea eax, [ebp - 8]
push 0x735a90
push eax
call fcn.004227e4
push str._sounddefaultman.snd
jmp 0x4c2756
test eax, eax
je 0x4c2a91
push ebx
push dword [esi + 0x84]
push 0x533
push dword [eax + 4]
jmp 0x4c2a57
push str.plugin_remind
lea ecx, [ebp + 0x14]
call fcn.004334a5
test eax, eax
jne 0x4c281a
cmp dword [esi + 0x88], 2
jne 0x4c2a91
mov esi, str._remind.dll
jmp 0x4c28ac
push str.plugin_notepad
lea ecx, [ebp + 0x14]
call fcn.004334a5
test eax, eax
jne 0x4c283f
cmp dword [esi + 0x88], 2
jne 0x4c2a91
mov esi, str._notepad.dll
jmp 0x4c28ac
push str.plugin_leisure
lea ecx, [ebp + 0x14]
call fcn.004334a5
test eax, eax
jne 0x4c2864
cmp dword [esi + 0x88], 2
jne 0x4c2a91
mov esi, str.leisure.dll
jmp 0x4c28ac
push str.plugin_net
lea ecx, [ebp + 0x14]
call fcn.004334a5
test eax, eax
jne 0x4c2889
cmp dword [esi + 0x88], 2
jne 0x4c2a91
mov esi, str._net.dll
jmp 0x4c28ac
push str.plugin_mytimeweb
lea ecx, [ebp + 0x14]
call fcn.004334a5
test eax, eax
jne 0x4c28f1
cmp dword [esi + 0x88], 2
jne 0x4c2a91
mov esi, str.mytimeweb.exe
push esi
lea eax, [ebp - 8]
push 0x735a90
push eax
call fcn.004227e4
push esi
lea eax, [ebp + 0x10]
push 0x735a88
push eax
call fcn.004227e4
mov esi, dword [ebp + 0x10]
add esp, 0x18
mov edi, dword [ebp - 8]
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_CopyFileW]
lea ecx, [esi - 0x10]
call fcn.00419521
lea ecx, [edi - 0x10]
call fcn.00419521
jmp 0x4c2a91
push str.nodedll
lea ecx, [ebp + 0x14]
call fcn.004334a5
test eax, eax
jne 0x4c2a5f
cmp dword [esi + 0x88], 2
push 0x6809b0
push str._Pcmaster_LunarCalendar_DownInstall
jne 0x4c2a40
mov ebx, dword [sym.imp.USER32.dll_FindWindowW]
call ebx
test eax, eax
je 0x4c2939
push 0
push 0
push 0x534
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
lea ecx, [ebp - 0x20]
call fcn.00417833
push ecx
mov ecx, esp
push str.node.dll
call fcn.004177e7
push ecx
mov esi, esp
push ecx
mov ecx, esp
push str.MyTime
call fcn.004177e7
push ecx
push esp
lea ecx, [ebp - 0x20]
call fcn.00454cc3
push esi
lea ecx, [ebp - 0x20]
call fcn.0041934b
lea eax, [ebp + 0x10]
push eax
lea ecx, [ebp - 0x20]
call fcn.0041934b
push str._node.dll
lea eax, [ebp - 8]
push 0x735a80
push eax
call fcn.004227e4
mov esi, dword [ebp - 8]
add esp, 0xc
push 0
push esi
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
lea eax, [ebp - 8]
push 0
push eax
call fcn.00483010
pop ecx
pop ecx
push eax
lea ecx, [ebp + 0x10]
call fcn.00418bac
mov ecx, dword [ebp - 8]
lea ecx, [ecx - 0x10]
call fcn.00419521
mov edi, dword [ebp + 0x10]
push 0
mov dword [str.node.dll], edi
call fcn.00514d8a
mov dword [esp], 0x6af3ec
push str._Pcmaster_LunarCalendar_login
call ebx
test eax, eax
je 0x4c2a07
push 0
push 0
push 0x10
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0x581
push dword [0x735624]
call dword [sym.imp.USER32.dll_PostMessageW]
push 0x6809b0
push str._Pcmaster_LunarCalendar_DownInstall
call ebx
test eax, eax
je 0x4c2a20
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
lea ecx, [esi - 0x10]
call fcn.00419521
lea ecx, [edi - 0x10]
call fcn.00419521
lea ecx, [ebp - 0x20]
call fcn.00418dd0
mov ecx, dword [ebp - 0x10]
jmp 0x4c2780
call dword [sym.imp.USER32.dll_FindWindowW]
test eax, eax
je 0x4c2a91
push dword [esi + 0x84]
push ebx
push 0x533
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x4c2a91
push str.mytimesetup
lea ecx, [ebp + 0x14]
call fcn.004334a5
test eax, eax
je 0x4c2a81
push str.mytimesetup_silent
lea ecx, [ebp + 0x14]
call fcn.004334a5
test eax, eax
jne 0x4c2a91
mov ecx, dword [edi + 0x4d0]
test ecx, ecx
je 0x4c2a91
push esi
call fcn.004f556d
mov ecx, dword [ebp - 4]
lea ecx, [ecx - 0x10]
call fcn.00419521
mov ecx, dword [ebp + 0x14]
lea ecx, [ecx - 0x10]
call fcn.00419521
pop edi
xor eax, eax
pop esi
inc eax
pop ebx
mov esp, ebp
pop ebp
ret 0x10