Function at 0x4deac0
Capabilities:
Check if file exists
Create directory
Delete file
Get common file path
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53859a
mov eax, dword fs:[0]
push eax
sub esp, 0x264
mov eax, dword [0x59a0a0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov dword [ebp - 0x270], ecx
mov eax, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x26c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x268], eax
mov eax, dword [ebp + 0x14]
push 0x208
mov dword [ebp - 0x264], eax
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.0049e130
add esp, 0xc
lea eax, [ebp - 0x218]
push 1
push 0x17
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x4deda1
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x260]
call fcn.00404170
push str.Tencent_SoftWare
mov edx, eax
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x230]
call fcn.00404750
add esp, 4
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x24c]
cmp eax, 8
jb 0x4deb94
inc eax
lea ecx, [ebp - 0x260]
push eax
push dword [ebp - 0x260]
call fcn.00403010
xor eax, eax
mov dword [ebp - 0x24c], 7
cmp dword [ebp - 0x21c], 8
mov word [ebp - 0x260], ax
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push eax
mov dword [ebp - 0x250], 0
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4debd5
test al, 0x10
jne 0x4debfa
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
push 0
cmovae eax, dword [ebp - 0x230]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x4ded7a
push 1
push 0x55c418
lea ecx, [ebp - 0x230]
call fcn.004043f0
cmp word [esi], 0
jne 0x4dec16
xor ecx, ecx
jmp 0x4dec2f
mov ecx, esi
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4dec20
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x230]
call fcn.004043f0
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4dec60
test al, 0x10
jne 0x4dec85
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
push 0
cmovae eax, dword [ebp - 0x230]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x4ded7a
push 0x55c41c
lea edx, [ebp - 0x230]
lea ecx, [ebp - 0x248]
call fcn.00404640
add esp, 4
mov byte [ebp - 4], 3
cmp word [ebx], 0
jne 0x4decac
xor ecx, ecx
jmp 0x4decc0
mov ecx, ebx
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4decb1
sub ecx, edx
sar ecx, 1
push ecx
push ebx
lea ecx, [ebp - 0x248]
call fcn.004043f0
cmp dword [ebp - 0x234], 8
lea eax, [ebp - 0x248]
cmovae eax, dword [ebp - 0x248]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4ded07
cmp dword [ebp - 0x234], 8
lea eax, [ebp - 0x248]
cmovae eax, dword [ebp - 0x248]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push dword [ebp - 0x264]
cmp dword [ebp - 0x234], 8
lea edx, [ebp - 0x248]
push dword [ebp - 0x268]
cmovae edx, dword [ebp - 0x248]
push dword [ebp - 0x26c]
mov ecx, dword [ebp - 0x270]
call fcn.004df350
mov ecx, dword [ebp - 0x234]
add esp, 0xc
mov esi, eax
cmp ecx, 8
jb 0x4ded5b
inc ecx
push ecx
push dword [ebp - 0x248]
lea ecx, [ebp - 0x248]
call fcn.00403010
xor eax, eax
mov dword [ebp - 0x234], 7
mov dword [ebp - 0x238], 0
mov word [ebp - 0x248], ax
jmp 0x4ded7f
mov esi, 1
mov eax, dword [ebp - 0x21c]
cmp eax, 8
jb 0x4ded9d
inc eax
lea ecx, [ebp - 0x230]
push eax
push dword [ebp - 0x230]
call fcn.00403010
mov eax, esi
jmp 0x4deda6
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0049aa22
mov esp, ebp
pop ebp
ret