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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x492e35
mov eax, dword fs:[0]
push eax
sub esp, 0x220
mov eax, dword [0x4c21d0]
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 0x41b93b
push 0
call eax
xor eax, eax
push 0x208
push eax
lea ecx, [ebp - 0x21a]
push ecx
mov word [ebp - 0x21c], ax
call fcn.0046ff60
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.0040d750
mov esi, dword [ebp - 0x22c]
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x41b9bb
test al, 0x10
je 0x41b9c5
cmp dword [ebp + 8], 0
je 0x41bbd7
push ecx
mov ecx, esp
mov dword [ebp - 0x224], esp
push str._f__im__funshion.scr_
call fcn.00401bb0
push str.taskkill.exe
call fcn.0040b700
lea ecx, [ebp - 0x228]
call fcn.0040e6e0
push eax
lea edx, [ebp - 0x224]
push edx
mov ebx, str.FunScr_funshion.scr
mov byte [ebp - 4], 1
call fcn.004065a0
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 0x41ba32
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 0x41ba59
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x4a3f10
lea ecx, [ebp - 0x220]
call fcn.00401bb0
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.00415dc0
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 0x41bab8
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.00415dc0
add esp, 0x10
test byte [sym.Install.exe____B_1__get_instance___singleton_VCFpFunshionIni___serialization_boost__CAAAVCFpFunshionIni__XZ_51], 1
jne 0x41bb01
or dword [sym.Install.exe____B_1__get_instance___singleton_VCFpFunshionIni___serialization_boost__CAAAVCFpFunshionIni__XZ_51], 1
mov byte [ebp - 4], 3
call fcn.00416790
push 0x49a270
call fcn.0046c718
add esp, 4
mov byte [ebp - 4], bl
xor ecx, ecx
cmp ecx, 0x4cd07c
je 0x41bbd7
push 0x4a3f10
lea ecx, [ebp - 0x224]
call fcn.00401bb0
mov bl, 4
push str.funscreen
lea ecx, [ebp - 0x228]
mov byte [ebp - 4], bl
call fcn.00401bb0
push str.Install_Fun_Screen
lea ecx, [ebp - 0x220]
mov byte [ebp - 4], 5
call fcn.00401bb0
mov edx, dword [0x4cd07c]
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 0x41bb8c
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 0x41bbb1
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 0x41bbd7
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 0x41bbe2
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 0x41bc05
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.0046c455
mov esp, ebp
pop ebp
ret 8