Function at 0x418e20
Capabilities:
Check if file exists
Get common file path
Get file attributes
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46a535
mov eax, dword fs:[0]
push eax
sub esp, 0x220
mov eax, dword [0x48d1d0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [edi + 4]
test eax, eax
je 0x418e5b
push 0
call eax
xor eax, eax
push 0x208
push eax
lea ecx, [ebp - 0x21a]
push ecx
mov word [ebp - 0x21c], ax
call fcn.0044c960
add esp, 0xc
push 0x104
lea edx, [ebp - 0x21c]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov eax, dword [section..data]
mov edx, dword [eax + 0xc]
mov ecx, section..data
call edx
add eax, 0x10
mov dword [ebp - 0x22c], eax
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x22c]
push str._sFunshion.scr
push ecx
mov dword [ebp - 4], 0
call fcn.004017e0
mov esi, dword [ebp - 0x22c]
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x418edb
test al, 0x10
je 0x418ee5
cmp dword [ebp + 8], 0
je 0x4190f7
push ecx
mov ecx, esp
mov dword [ebp - 0x224], esp
push str._f__im__funshion.scr_
call fcn.00401f10
push str.taskkill.exe
call fcn.00409b30
lea ecx, [ebp - 0x228]
call fcn.0040eb10
push eax
lea edx, [ebp - 0x224]
push edx
mov ebx, str.FunScr_funshion.scr
mov byte [ebp - 4], 1
call fcn.0040a210
mov eax, dword [eax]
add esp, 0x10
push esi
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
mov eax, dword [ebp - 0x224]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x418f52
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor bl, bl
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x228]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x418f79
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x47751c
lea ecx, [ebp - 0x220]
call fcn.00401f10
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x220]
mov ecx, dword [eax - 0xc]
add ecx, ecx
push ecx
push eax
push 1
push 0x80000001
mov edx, str.ScreenSaveActive
mov ecx, str.Control_PanelDesktop
call fcn.0040dda0
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x220]
add eax, 0xfffffff0
add esp, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x418fd8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esi - 0xc]
add eax, eax
push eax
push esi
push 1
push 0x80000001
mov edx, str.SCRNSAVE.EXE
mov ecx, str.Control_PanelDesktop
call fcn.0040dda0
add esp, 0x10
test byte [sym.Install.exe____B_1__get_instance___singleton_VCFpFunshionIni___serialization_boost__CAAAVCFpFunshionIni__XZ_51], 1
jne 0x419021
or dword [sym.Install.exe____B_1__get_instance___singleton_VCFpFunshionIni___serialization_boost__CAAAVCFpFunshionIni__XZ_51], 1
mov byte [ebp - 4], 3
call fcn.00410430
push 0x46f510
call fcn.0044919e
add esp, 4
mov byte [ebp - 4], bl
xor ecx, ecx
cmp ecx, 0x493894
je 0x4190f7
push 0x47751c
lea ecx, [ebp - 0x224]
call fcn.00401f10
mov bl, 4
push str.funscreen
lea ecx, [ebp - 0x228]
mov byte [ebp - 4], bl
call fcn.00401f10
push str.Install_Fun_Screen
lea ecx, [ebp - 0x220]
mov byte [ebp - 4], 5
call fcn.00401f10
mov edx, dword [0x493894]
mov eax, dword [ebp - 0x224]
mov ecx, dword [ebp - 0x228]
push edx
mov edx, dword [ebp - 0x220]
push eax
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov eax, dword [ebp - 0x220]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4190ac
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x228]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4190d1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x224]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4190f7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [edi + 4]
test eax, eax
je 0x419102
push 1
call eax
lea eax, [esi - 0x10]
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x419125
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00448edb
mov esp, ebp
pop ebp
ret 8