Function at 0x464de0
Capabilities:
Check if file exists
Create directory
Get file attributes
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c7e06
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x4ff080]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x20], 0x512020
mov dword [ebp - 0x10], 0x512020
call fcn.00499d80
mov dword [ebp - 4], 0
mov dword [0x5120f8], 0x512020
mov dword [ebp - 4], 1
lea eax, [ebp - 0x1c]
push 0x12
push eax
call fcn.0048bc00
mov edi, eax
mov byte [ebp - 4], 3
mov edx, 0x23
lea ecx, [ebp - 0x10]
call fcn.00495000
push 0xd
push str.ASR9Settings
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x14], 1
call fcn.00461460
push dword [ebp - 0x10]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
call esi
mov ebx, dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x464e92
push 0
push dword [ebp - 0x10]
call ebx
mov ecx, dword [ebp - 0x10]
call fcn.00471ec0
push 3
push 0x4ea70c
lea ecx, [ebp - 0x10]
call fcn.00461460
push dword [ebp - 0x10]
call esi
test eax, eax
jne 0x464eb8
push eax
push dword [ebp - 0x10]
call ebx
mov ecx, dword [ebp - 0x10]
call fcn.00471ec0
push edi
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.00469990
add esp, 0xc
mov byte [ebp - 4], 4
mov eax, 1
mov dword [ebp - 0x14], eax
and eax, 0xfffffffe
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 5
or ebx, 0xffffffff
mov edx, dword [ebp - 0x10]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x464efc
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 7
mov eax, ebx
mov edx, dword [ebp - 0x1c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x464f1a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [ebp - 0x18]
push 0x4ea5a8
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.RtlNtStatusToDosError
push eax
mov dword [0x511f10], eax
call esi
push str.ZwQueryInformationFile
push dword [0x511f10]
mov dword [0x511cf8], eax
call esi
push str.ZwCreateFile
push dword [0x511f10]
mov dword [0x511cf4], eax
call esi
push str.RtlInitUnicodeString
push dword [0x511f10]
mov dword [0x511d04], eax
call esi
push str.ZwSetInformationFile
push dword [0x511f10]
mov dword [0x511d00], eax
call esi
push ecx
push edi
push ecx
mov edx, 0x104
mov dword [0x511cfc], eax
mov ecx, 0x511d08
call fcn.0048c600
test eax, eax
jns 0x464fa8
xor eax, eax
mov word [0x511d08], ax
jmp 0x464fcf
push 0x511d08
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x464fcf
push 0
push 0x511d08
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x464fcf
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x18]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x464feb
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov eax, 0x512020
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret