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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48ab76
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x4ba1f0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov edi, dword [esi]
add esi, 4
mov eax, esi
call fcn.00405560
lea eax, [ebp - 0x18]
push eax
call fcn.004213d0
mov edi, 0x4c47c4
mov dword [ebp - 4], 0
call fcn.00405560
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x421817
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x20]
call fcn.0040edd0
push eax
lea ecx, [ebp - 0x1c]
push ecx
mov ebx, str.Funshion_skin1
mov dword [ebp - 4], 1
call fcn.00406d50
add esp, 8
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42185b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0x1c]
mov edi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push ecx
call edi
cmp eax, 0xffffffff
jne 0x4218c1
mov edx, dword [ebp + 8]
mov eax, dword [edx]
push eax
lea ecx, [ebp + 8]
push ecx
mov ebx, str._skin1
call fcn.00406d50
add esp, 8
mov byte [ebp - 4], 4
mov edx, dword [ebp + 8]
push edx
call edi
cmp eax, 0xffffffff
je 0x42189e
lea eax, [ebp + 8]
push eax
call fcn.0040f0a0
add esp, 4
mov byte [ebp - 4], 3
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 0x4218c1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push esi
push 0x4c47c4
call fcn.0040b230
add esp, 8
test eax, eax
jne 0x4219ba
mov ecx, dword [0x4c47c4]
push ecx
call edi
cmp eax, 0xffffffff
je 0x4219ba
lea edx, [ebp + 8]
push 0x49b904
push edx
mov ecx, 0x4c47cc
call fcn.0040dab0
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x18]
push ecx
mov ebx, 0x4c47c4
mov byte [ebp - 4], 5
call fcn.00408550
lea edx, [ebp + 8]
push edx
lea eax, [ebp - 0x14]
push eax
mov ebx, esi
mov byte [ebp - 4], 6
call fcn.00408550
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x14]
add esp, 0x14
add eax, 0xfffffff0
mov dword [ebp - 0x24], esp
mov edi, esp
push eax
call fcn.00401d20
lea ecx, [ebp - 0x18]
add esp, 4
add eax, 0x10
push ecx
mov dword [edi], eax
call fcn.0040f800
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
add esp, 8
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x421974
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x421997
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 3
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 0x4219ba
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
call fcn.004234b0
mov ebx, 1
test byte [sym.Install.exe____B_1__get_instance___singleton_VCFpFunshionIni___serialization_boost__CAAAVCFpFunshionIni__XZ_51], bl
jne 0x4219ec
or dword [sym.Install.exe____B_1__get_instance___singleton_VCFpFunshionIni___serialization_boost__CAAAVCFpFunshionIni__XZ_51], ebx
mov byte [ebp - 4], 8
call fcn.00414ab0
push 0x4923d0
call fcn.00465ab8
add esp, 4
mov byte [ebp - 4], 3
push str.FILE_PATH
lea ecx, [ebp + 8]
call fcn.00402390
push esi
lea ecx, [ebp + 8]
push ecx
mov ecx, 0x4c47c0
mov edi, sym.Install.exe__t__1__get_instance___singleton_VCFpFunshionIni___serialization_boost__CAAAVCFpFunshionIni__XZ_4V__singleton_wrapp
mov byte [ebp - 4], 9
call fcn.00414dd0
mov byte [ebp - 4], 3
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 0x421a34
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esi]
push ecx
sub eax, 0x10
mov dword [ebp + 8], esp
mov edi, esp
push eax
call fcn.00401d20
add esp, 4
lea ecx, [ebp - 0x10]
add eax, 0x10
push ecx
mov dword [edi], eax
call fcn.00422af0
mov byte [ebp - 4], 0xa
mov eax, dword [ebp - 0x10]
cmp dword [eax - 4], ebx
jle 0x421a71
mov edx, dword [eax - 0xc]
push edx
lea ecx, [ebp - 0x10]
call fcn.004020c0
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax - 8]
push ecx
push eax
call fcn.00467b95
add esp, 8
test eax, eax
js 0x421b41
mov ecx, dword [ebp - 0x10]
cmp eax, dword [ecx - 8]
jg 0x421b41
mov dword [ecx - 0xc], eax
mov edx, dword [ebp - 0x10]
xor ecx, ecx
mov word [edx + eax*2], cx
lea eax, [ebp + 8]
push 0x4c47d0
push eax
lea ebx, [ebp - 0x10]
call fcn.00408550
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 0x421ae4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 3
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 0x421b07
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 - 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x421b2d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0x80070057
call fcn.00402240
int3