Function at 0x49a1f0
Capabilities:
Check if file exists
Copy file
Create directory
Delete file
Get file attributes
Set file attributes
Timestomp file

Disassembly:
push 0xffffffffffffffff
push 0x6098e8
mov eax, dword fs:[0]
push eax
sub esp, 0x894
mov eax, dword [0x6687b8]
xor eax, esp
mov dword [esp + 0x890], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6687b8]
xor eax, esp
push eax
lea eax, [esp + 0x8a8]
mov dword fs:[0], eax
mov eax, dword [esp + 0x8b8]
mov ebp, dword [esp + 0x8bc]
xor ebx, ebx
mov dword [esp + 0x34], eax
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], ebx
call fcn.0049ad10
lea edx, [esp + 0x14]
push edx
mov ecx, eax
call fcn.00409dd0
mov dword [esp + 0x8b0], ebx
mov eax, dword [esp + 0x14]
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push eax
call edi
test eax, eax
je 0x49a28c
mov eax, dword [esp + 0x14]
push eax
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
and eax, 0xfffffffe
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test ebp, ebp
je 0x49a2ae
lea ecx, [esp + 0x20]
push ecx
mov ecx, ebp
call fcn.00409dd0
mov edx, dword [eax]
cmp dword [edx - 0xc], 0
mov ebx, 1
mov byte [esp + 0x1b], 0
jne 0x49a2b3
mov byte [esp + 0x1b], 1
test bl, 1
je 0x49a2dc
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
or ebx, 0xffffffff
lea ecx, [eax + 0xc]
mov edx, ebx
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x49a2df
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x49a2df
or ebx, 0xffffffff
cmp byte [esp + 0x1b], 0
je 0x49a3ac
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
call fcn.004062c0
mov esi, dword [0x678ec4]
push str.10000000_0000_0000_0000_000000000001
mov edx, str.SkinGUID
mov ecx, str.SOFTWARETencentQQPinyin
mov dword [0x678ec0], 1
call fcn.004798b0
add esp, 4
push 0x6244e0
mov edx, str.SkinFileName
mov ecx, str.SOFTWARETencentQQPinyin
call fcn.004798b0
add esp, 4
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov edx, dword [esp + 0x28]
test edx, edx
je 0x49a37e
mov ecx, str.10000000_0000_0000_0000_000000000001
call fcn.004991e0
mov esi, eax
mov dword [esp + 0x8b0], ebx
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
lock xadd dword [edx], ebx
dec ebx
test ebx, ebx
jg 0x49a377
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
jmp 0x49a7ab
mov dword [esp + 0x8b0], ebx
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], ebx
dec ebx
test ebx, ebx
jg 0x49a3a2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
jmp 0x49a7ab
push ebp
call edi
test eax, eax
jne 0x49a3d0
mov dword [esp + 0x8b0], ebx
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], ebx
dec ebx
test ebx, ebx
jmp 0x49a79d
lea esi, [esp + 0x54]
call fcn.00498dc0
push 1
mov ecx, esi
push ecx
mov ecx, dword [esp + 0x1c]
call fcn.0049a050
test eax, eax
mov ebp, dword [sym.imp.KERNEL32.dll_CopyFileW]
je 0x49a5d8
lea edi, [esp + 0x1c]
call fcn.0047ac70
mov edx, edi
push edx
lea eax, [esp + 0x24]
push eax
mov ebx, str.Skin2.0_
mov byte [esp + 0x8b8], 1
call fcn.0040aab0
mov eax, dword [eax]
add esp, 8
push 0
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x49a448
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [0x677600]
mov eax, dword [edx + 0xc]
mov ecx, 0x677600
call eax
add eax, 0x10
mov dword [esp + 0x20], eax
mov byte [esp + 0x8b0], 2
call fcn.0048aa70
push eax
lea ecx, [esp + 0x24]
lea edx, [esp + 0x58]
call fcn.0049b0c0
test eax, eax
mov edi, dword [esp + 0x20]
je 0x49a48c
cmp dword [edi - 0xc], 0
jne 0x49a58c
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esp + 0x58]
call fcn.00409dd0
mov esi, eax
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x30]
push eax
mov ebx, str.Skin2.0_
mov byte [esp + 0x8b8], 3
call fcn.0040aab0
lea ecx, [esp + 0x38]
push esi
push ecx
mov ebx, eax
mov byte [esp + 0x8c0], 4
call fcn.0041eb50
push eax
lea edx, [esp + 0x4c]
push edx
mov ebx, str..skn
mov byte [esp + 0x8c8], 5
call fcn.0040aab0
mov eax, dword [eax]
add esp, 0x18
push 0
push eax
mov eax, dword [esp + 0x1c]
push eax
call ebp
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x49a514
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x8b0], 4
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x49a53c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x8b0], 3
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x49a564
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x8b0], 2
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x49a58c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [edi - 0x10]
mov byte [esp + 0x8b0], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x49a5b0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x8b0], 0
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x49a5d8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
call fcn.004062c0
mov ecx, dword [esp + 0x14]
mov ebx, dword [esp + 0x3c]
mov edi, dword [0x678ec4]
push 0
push ecx
push ebx
mov dword [0x678ec0], 1
call ebp
test eax, eax
je 0x49a77e
mov edx, dword [esp + 0x14]
push 0
push 0
push 3
push 0
push 1
push 0x100
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x49a656
lea eax, [esp + 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
lea ecx, [esp + 0x3c]
push ecx
lea edx, [esp + 0x48]
push edx
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
lea eax, [esp + 0x3c]
push eax
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_SetFileTime]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
lea esi, [esp + 0x54]
call fcn.00498dc0
push 1
mov ecx, esi
push ecx
mov ecx, dword [esp + 0x1c]
call fcn.0049a050
test eax, eax
je 0x49a682
mov edx, dword [esp + 0x34]
push edx
call fcn.004992e0
lea eax, [esp + 0x54]
push eax
mov edx, str.SkinGUID
mov ecx, str.SOFTWARETencentQQPinyin
call fcn.004798b0
add esp, 4
lea ecx, [esp + 0x1c]
push ecx
mov ecx, ebx
call fcn.00409dd0
mov bl, 6
mov byte [esp + 0x8b0], bl
mov edx, dword [esp + 0x1c]
push 0x5c
push edx
call fcn.005d37a2
add esp, 8
test eax, eax
jne 0x49a6c6
or eax, 0xffffffff
jmp 0x49a6cc
sub eax, dword [esp + 0x1c]
sar eax, 1
lea ecx, [eax + 1]
lea esi, [esp + 0x24]
lea edx, [esp + 0x1c]
call fcn.00409f40
mov byte [esp + 0x8b0], 7
mov eax, dword [eax]
push eax
mov edx, str.SkinFileName
mov ecx, str.SOFTWARETencentQQPinyin
call fcn.004798b0
mov byte [esp + 0x8b4], bl
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
add esp, 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x49a720
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebx, dword [esp + 0x28]
test ebx, ebx
je 0x49a732
lea ecx, [esp + 0x54]
push ecx
call fcn.00498eb0
mov byte [esp + 0x8b0], 0
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x49a75a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x8b0], 0xffffffff
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x49a396
mov dword [esp + 0x8b0], 0xffffffff
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x49a7a9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x8a8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x890]
xor ecx, esp
call fcn.005d28b3
add esp, 0x8a0
ret 8