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

Disassembly:
push 0xffffffffffffffff
push 0x4a4fd1
mov eax, dword fs:[0]
push eax
sub esp, 0x274
mov eax, dword [0x4d62b0]
xor eax, esp
mov dword [esp + 0x270], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4d62b0]
xor eax, esp
push eax
lea eax, [esp + 0x288]
mov dword fs:[0], eax
mov eax, dword [esp + 0x298]
xor ebp, ebp
push 0x206
mov dword [esp + 0x18], edx
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x2a0]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x2a4]
lea edx, [esp + 0x82]
push ebp
push edx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], ecx
mov word [esp + 0x88], bp
call int.0048bd10
push 0x104
lea eax, [esp + 0x8c]
push ebp
push eax
call int.0048bd10
add esp, 0x18
push 1
push 0x17
lea ecx, [esp + 0x84]
push ecx
push ebp
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x4675dd
mov edi, 7
lea eax, [esp + 0x7c]
mov dword [esp + 0x40], edi
mov dword [esp + 0x3c], ebp
mov word [esp + 0x2c], bp
lea edx, [eax + 2]
jmp 0x467520
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x467520
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0x80]
push edx
lea esi, [esp + 0x30]
call fcn.0043d0d0
mov eax, esi
push eax
mov ebx, 0x4bde84
lea esi, [esp + 0x48]
mov dword [esp + 0x294], ebp
call fcn.0044fe70
add esp, 4
mov esi, 8
mov byte [esp + 0x290], 2
cmp dword [esp + 0x40], esi
jb 0x46757c
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.00487c06
add esp, 4
cmp dword [esp + 0x5c], esi
mov eax, dword [esp + 0x48]
mov dword [esp + 0x40], edi
mov dword [esp + 0x3c], ebp
mov word [esp + 0x2c], bp
jae 0x467597
lea eax, [esp + 0x48]
mov esi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push eax
call esi
cmp eax, 0xffffffff
mov ebx, dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
je 0x4675af
test al, 0x10
jne 0x46760a
mov eax, dword [esp + 0x48]
mov edi, 8
cmp dword [esp + 0x5c], edi
jae 0x4675c2
lea eax, [esp + 0x48]
push ebp
push eax
call ebx
test eax, eax
jne 0x46760f
cmp dword [esp + 0x5c], edi
jb 0x4675dd
mov edx, dword [esp + 0x48]
push edx
call fcn.00487c06
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0x288]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x270]
xor ecx, esp
call fcn.00488fa3
add esp, 0x280
ret
mov edi, 8
push 1
push 0x4b72a4
lea ecx, [esp + 0x4c]
call fcn.0043cf20
mov eax, 0x4b9cfc
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x467627
sub eax, edx
sar eax, 1
push eax
push 0x4b9cfc
lea ecx, [esp + 0x4c]
call fcn.0043cf20
cmp dword [esp + 0x5c], edi
mov eax, dword [esp + 0x48]
jae 0x467653
lea eax, [esp + 0x48]
push eax
call esi
cmp eax, 0xffffffff
je 0x46765f
test al, 0x10
jne 0x467683
cmp dword [esp + 0x5c], edi
mov eax, dword [esp + 0x48]
jae 0x46766d
lea eax, [esp + 0x48]
push ebp
push eax
call ebx
test eax, eax
jne 0x467683
lea ecx, [esp + 0x44]
call fcn.0040bac0
jmp 0x4675dd
lea eax, [esp + 0x44]
push eax
mov ebx, 0x4b72a4
lea esi, [esp + 0x64]
call fcn.0044fe70
add esp, 4
mov esi, dword [esp + 0x18]
mov eax, esi
mov byte [esp + 0x290], 3
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x4676b0
sub eax, edx
sar eax, 1
push eax
push esi
lea ecx, [esp + 0x68]
call fcn.0043cf20
cmp dword [esp + 0x78], edi
mov eax, dword [esp + 0x64]
jae 0x4676d8
lea eax, [esp + 0x64]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4676f8
cmp dword [esp + 0x78], edi
mov eax, dword [esp + 0x64]
jae 0x4676f1
lea eax, [esp + 0x64]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [esp + 0x78], edi
mov eax, dword [esp + 0x64]
jae 0x467706
lea eax, [esp + 0x64]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov edi, dword [esp + 0x1c]
push ecx
push eax
mov eax, dword [esp + 0x1c]
push edx
call fcn.00467120
mov edi, 8
add esp, 0xc
cmp dword [esp + 0x78], edi
mov esi, eax
jb 0x46773b
mov eax, dword [esp + 0x64]
push eax
call fcn.00487c06
add esp, 4
cmp dword [esp + 0x5c], edi
mov dword [esp + 0x78], 7
mov dword [esp + 0x74], ebp
mov word [esp + 0x64], bp
jb 0x46775f
mov ecx, dword [esp + 0x48]
push ecx
call fcn.00487c06
add esp, 4
mov eax, esi
jmp 0x4675e2