Function at 0x41b5c0
Capabilities:
Check if file exists
Delete file
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x485fe8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push edi
mov eax, dword [0x4b81d0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, edi
call fcn.0040b7a0
test eax, eax
je 0x41b6e3
mov edx, edi
call fcn.0041ba70
test eax, eax
jne 0x41b61b
mov eax, 0x80004005
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 4
push edi
lea eax, [ebp - 0x28]
push eax
call fcn.0041bb80
push eax
lea ecx, [ebp - 0x24]
push ecx
mov ebx, 0x496048
mov dword [ebp - 4], 0
call fcn.00406660
mov byte [ebp - 4], 1
mov edx, dword [ebp + 8]
push edx
lea ecx, [ebp - 0x10]
push ecx
mov ebx, eax
call fcn.00407820
add esp, 0x10
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41b674
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov bl, 4
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41b698
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0x10]
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push ecx
call edi
test eax, eax
jne 0x41b6fb
mov edx, dword [ebp - 0x10]
push edx
push eax
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
mov eax, dword [ebp - 0x10]
push eax
call edi
test eax, eax
jne 0x41b6fb
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41b6e3
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 ebx
mov esp, ebp
pop ebp
ret 4
lea eax, [ebp - 0x10]
mov edi, esi
call fcn.00404e70
lea ecx, [ebp + 8]
push ecx
call fcn.0041b390
mov edi, 0x4c3258
mov byte [ebp - 4], 5
call fcn.00404e70
mov byte [ebp - 4], bl
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41b73e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x2c]
call fcn.0040d1f0
push eax
lea ecx, [ebp - 0x20]
push ecx
mov ebx, str.Funshion_skin1
mov byte [ebp - 4], 6
call fcn.00406660
add esp, 8
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x2c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41b77f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0x20]
mov edi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push ecx
call edi
cmp eax, 0xffffffff
jne 0x41b7e0
lea edx, [ebp + 8]
push esi
push edx
mov ebx, str._skin1
call fcn.00406660
add esp, 8
mov byte [ebp - 4], 9
mov eax, dword [ebp + 8]
push eax
call edi
cmp eax, 0xffffffff
je 0x41b7bd
lea ecx, [ebp + 8]
push ecx
call fcn.0040d4b0
add esp, 4
mov byte [ebp - 4], 8
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41b7e0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x10]
push ecx
push 0x4c3258
call fcn.0040a3c0
add esp, 8
test eax, eax
jne 0x41b890
mov edx, dword [0x4c3258]
push edx
call edi
cmp eax, 0xffffffff
je 0x41b890
lea eax, [ebp + 8]
push 0x496048
push eax
mov ecx, 0x4c3260
call fcn.0040bab0
lea ecx, [ebp + 8]
push ecx
lea edx, [ebp - 0x1c]
push edx
mov ebx, 0x4c3258
mov byte [ebp - 4], 0xa
call fcn.00407820
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x18]
push ecx
lea ebx, [ebp - 0x10]
mov byte [ebp - 4], 0xb
call fcn.00407820
mov byte [ebp - 4], 0xc
mov eax, dword [ebp - 0x18]
add esp, 0x14
add eax, 0xfffffff0
mov dword [ebp - 0x30], esp
mov edi, esp
push eax
call fcn.004015d0
lea edx, [ebp - 0x1c]
add esp, 4
add eax, 0x10
push edx
mov dword [edi], eax
call fcn.0040dc10
add esp, 8
lea ecx, [ebp - 0x18]
call fcn.00401670
lea ecx, [ebp - 0x1c]
call fcn.00401670
lea ecx, [ebp + 8]
mov byte [ebp - 4], 8
call fcn.00401670
call fcn.0041d2b0
call sym.Install.exe_private:_static_class_CFpFunshionIni____cdecl_boost::serialization::singleton_class_CFpFunshionIni_::get_instance_void_
lea ecx, [ebp - 0x10]
push ecx
push 0x4c3264
mov ecx, 0x4c3254
mov edi, eax
call fcn.00410f80
mov eax, dword [ebp - 0x10]
push ecx
add eax, 0xfffffff0
mov dword [ebp + 8], esp
mov edi, esp
push eax
call fcn.004015d0
add esp, 4
lea edx, [ebp - 0x14]
add eax, 0x10
push edx
mov dword [edi], eax
call fcn.0041c920
mov byte [ebp - 4], 0xd
mov eax, dword [ebp - 0x14]
cmp dword [eax - 4], 1
jle 0x41b8ee
mov eax, dword [eax - 0xc]
push eax
lea ecx, [ebp - 0x14]
call fcn.00401970
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax - 8]
push ecx
push eax
call fcn.00464275
add esp, 8
test eax, eax
js 0x41b9e2
mov ecx, dword [ebp - 0x14]
cmp eax, dword [ecx - 8]
jg 0x41b9e2
mov dword [ecx - 0xc], eax
mov edx, dword [ebp - 0x14]
xor ecx, ecx
mov word [edx + eax*2], cx
lea eax, [ebp + 8]
push 0x4c3268
push eax
lea ebx, [ebp - 0x14]
call fcn.00407820
mov eax, dword [eax]
add esp, 8
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41b961
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41b984
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41b9a7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41b9cd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0x80070057
call fcn.00401af0
int3