Function at 0x4a090b
Capabilities:
Check if file exists
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x654
mov eax, dword [0x7286bc]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x63c], eax
push ebx
mov edi, ecx
push str._TweakCube_LunarCalendar
mov dword [ebp - 0x62c], edi
call dword [sym.imp.USER32.dll_FindWindowW]
test eax, eax
je 0x4a094f
push ebx
push ebx
push 0x10
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
mov ecx, edi
call fcn.004e0fa0
test eax, eax
jne 0x4a0961
xor eax, eax
jmp 0x4a0bdf
push 0x455002
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov ecx, edi
call fcn.00457689
test eax, eax
je 0x4a097f
cmp byte [edi + 0x198], bl
je 0x4a095a
lea ecx, [ebp - 0x654]
call fcn.00417833
push 1
push ecx
mov ecx, esp
push str.SoftwareRuanMeiMyTime
call fcn.004177e7
push SysReAllocString
lea ecx, [ebp - 0x654]
call fcn.004f7115
push ecx
mov ecx, esp
mov esi, 0x6809b0
push esi
call fcn.004177e7
push ecx
mov ecx, esp
push str.updatepath
call fcn.004177e7
lea eax, [ebp - 0x630]
push eax
lea ecx, [ebp - 0x654]
call fcn.004e6ef3
push ecx
mov ecx, esp
push esi
call fcn.004177e7
push ecx
mov ecx, esp
push str.updateversion
call fcn.004177e7
lea eax, [ebp - 0x638]
push eax
lea ecx, [ebp - 0x654]
call fcn.004e6ef3
lea eax, [ebp - 0x634]
push ebx
push eax
call fcn.00484cc2
mov esi, dword [ebp - 0x630]
pop ecx
pop ecx
cmp dword [esi - 0xc], ebx
je 0x4a0ad6
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4a0ad6
lea eax, [ebp - 0x624]
push esi
push eax
call fcn.00484cc2
mov eax, dword [ebp - 0x634]
pop ecx
add eax, 0xfffffff0
mov edi, esp
push eax
call fcn.00418dea
add eax, 0x10
mov dword [edi], eax
mov edi, esp
mov eax, dword [ebp - 0x624]
add eax, 0xfffffff0
push eax
mov dword [ebp - 0x628], eax
call fcn.00418dea
add eax, 0x10
pop ecx
mov dword [edi], eax
call fcn.0045a0f2
pop ecx
pop ecx
test eax, eax
jle 0x4a0aad
push dword [ebp - 0x638]
lea ecx, [ebp - 0x624]
call fcn.004229b4
test eax, eax
jne 0x4a0aad
push 4
push ebx
push 0x6809b0
push esi
push ebx
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, dword [ebp - 0x628]
call fcn.00419521
jmp 0x4a0ba0
push ecx
mov ecx, esp
push str.updatepath
call fcn.004177e7
lea ecx, [ebp - 0x654]
call fcn.00461d4b
mov ecx, dword [ebp - 0x628]
call fcn.00419521
mov edi, dword [ebp - 0x62c]
push dword [ebp - 0x63c]
mov ecx, edi
call fcn.005d51ae
push ebx
push ecx
mov ecx, esp
push str.dpivalue
call fcn.004177e7
lea ecx, [ebp - 0x654]
call fcn.004e6cb9
mov esi, eax
call fcn.005ce7eb
test esi, esi
jne 0x4a0b11
push 0x60
test eax, eax
mov esi, eax
pop ecx
cmove esi, ecx
mov ecx, dword [0x73df68]
push ebx
push esi
mov eax, dword [ecx]
call dword [eax + 0x38]
push 0x618
lea eax, [ebp - 0x61c]
push ebx
push eax
call fcn.0060b7a0
push str.IDR_SKIN
mov esi, 0x104
mov dword [ebp - 0x620], ebx
lea eax, [ebp - 0x61c]
push esi
push eax
call fcn.0063d6aa
push str.SKIN
lea eax, [ebp - 0x414]
push esi
push eax
call fcn.0063d6aa
push 0x44
call fcn.00609934
add esp, 0x28
test eax, eax
je 0x4a0b76
mov ecx, eax
call fcn.005c6089
mov ebx, eax
mov eax, dword [edi]
lea esi, [ebp - 0x620]
push ebx
sub esp, 0x61c
mov ecx, 0x187
mov edi, esp
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 0x62c]
call dword [eax + 0x24]
mov esi, dword [ebp - 0x630]
xor ebx, ebx
inc ebx
mov ecx, dword [ebp - 0x634]
lea ecx, [ecx - 0x10]
call fcn.00419521
mov ecx, dword [ebp - 0x638]
lea ecx, [ecx - 0x10]
call fcn.00419521
lea ecx, [esi - 0x10]
call fcn.00419521
lea ecx, [ebp - 0x654]
call fcn.00418dd0
mov ecx, dword [ebp - 0x644]
add ecx, 0xfffffff0
call fcn.00419521
mov eax, ebx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00609802
mov esp, ebp
pop ebp
ret 4