Function at 0x48acb0
Capabilities:
Check if file exists
Create directory
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48f652
mov eax, dword fs:[0]
push eax
sub esp, 0xd4
mov eax, dword [0x4d01d4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x68]
push eax
call fcn.0043dfe0
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x50]
call fcn.004033f0
mov byte [ebp - 4], 1
mov eax, 0x4a0314
lea ecx, [ebp - 0x2c]
call fcn.004033f0
mov byte [ebp - 4], 2
lea eax, [ebp - 0x50]
call fcn.004042d0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0xffffffff
je 0x48ad65
mov ecx, dword [ebp - 0x34]
and ecx, 0x10
jbe 0x48ad65
mov dword [ebp - 0x6c], 1
mov byte [ebp - 4], 1
lea esi, [ebp - 0x2c]
call fcn.0042db60
mov byte [ebp - 4], 0
lea esi, [ebp - 0x50]
call fcn.0042db60
mov dword [ebp - 4], 0xffffffff
lea edx, [ebp - 0x68]
push edx
call fcn.0042d350
mov eax, dword [ebp - 0x6c]
jmp 0x48afbb
push 0x5c
mov ecx, dword [0x4a1258]
lea ebx, [ebp - 0x50]
call fcn.0045f500
mov esi, eax
lea eax, [ebp - 0x50]
call fcn.00404220
sub eax, 1
cmp esi, eax
je 0x48ada7
push 0x2f
mov ecx, dword [0x4a1258]
lea ebx, [ebp - 0x50]
call fcn.0045f500
mov esi, eax
lea eax, [ebp - 0x50]
call fcn.00404220
sub eax, 1
cmp esi, eax
jne 0x48adf9
lea eax, [ebp - 0x50]
call fcn.00404220
sub eax, 1
lea ecx, [ebp - 0x88]
push ecx
lea edx, [ebp - 0x50]
push edx
mov ecx, eax
xor edx, edx
call fcn.0040f2b0
mov dword [ebp - 0xdc], eax
mov eax, dword [ebp - 0xdc]
mov dword [ebp - 0xe0], eax
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0xe0]
lea ecx, [ebp - 0x50]
call fcn.0040f230
mov byte [ebp - 4], 2
lea esi, [ebp - 0x88]
call fcn.0042db60
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x30], 0
jmp 0x48ae12
mov ecx, dword [ebp - 0x30]
add ecx, 1
mov dword [ebp - 0x30], ecx
lea eax, [ebp - 0x50]
call fcn.00404220
cmp dword [ebp - 0x30], eax
jae 0x48ae98
mov edi, dword [ebp - 0x30]
lea eax, [ebp - 0x50]
call fcn.0040f240
movzx edx, word [eax]
cmp edx, 0x5c
je 0x48ae5d
mov edi, dword [ebp - 0x30]
lea eax, [ebp - 0x50]
call fcn.0040f240
movzx eax, word [eax]
cmp eax, 0x2f
je 0x48ae5d
mov edi, dword [ebp - 0x30]
lea eax, [ebp - 0x50]
call fcn.0040f240
mov ax, word [eax]
lea edi, [ebp - 0x2c]
call fcn.004034c0
jmp 0x48ae77
lea ecx, [ebp - 0x2c]
push ecx
lea ebx, [ebp - 0x68]
call fcn.0042d430
lea edx, [ebp - 0x2c]
push edx
mov edx, 0x4a0318
call fcn.00403490
lea eax, [ebp - 0x50]
call fcn.00404220
sub eax, 1
cmp dword [ebp - 0x30], eax
jne 0x48ae93
lea eax, [ebp - 0x2c]
push eax
lea ebx, [ebp - 0x68]
call fcn.0042d430
jmp 0x48ae09
mov dword [ebp - 0x30], 1
jmp 0x48aeaa
mov ecx, dword [ebp - 0x30]
add ecx, 1
mov dword [ebp - 0x30], ecx
lea eax, [ebp - 0x68]
call fcn.0042d3d0
cmp dword [ebp - 0x30], eax
jae 0x48aef5
mov edi, dword [ebp - 0x30]
lea esi, [ebp - 0x68]
call fcn.0042d3f0
lea ecx, [ebp - 0x2c]
call fcn.0040f230
push 0
lea eax, [ebp - 0x2c]
call fcn.004042d0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x48aef3
push 0x80
lea eax, [ebp - 0x2c]
call fcn.004042d0
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
jmp 0x48aea1
lea ecx, [ebp - 0x68]
call fcn.00470310
lea eax, [ebp - 0x50]
call fcn.004042d0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0xffffffff
je 0x48af59
mov edx, dword [ebp - 0x34]
and edx, 0x10
jbe 0x48af59
mov dword [ebp - 0x8c], 1
mov byte [ebp - 4], 1
lea esi, [ebp - 0x2c]
call fcn.0042db60
mov byte [ebp - 4], 0
lea esi, [ebp - 0x50]
call fcn.0042db60
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x68]
push eax
call fcn.0042d350
mov eax, dword [ebp - 0x8c]
jmp 0x48afbb
mov dword [ebp - 0x90], 0
mov byte [ebp - 4], 1
lea esi, [ebp - 0x2c]
call fcn.0042db60
mov byte [ebp - 4], 0
lea esi, [ebp - 0x50]
call fcn.0042db60
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x68]
push ecx
call fcn.0042d350
mov eax, dword [ebp - 0x90]
jmp 0x48afbb
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00470f4c
mov esp, ebp
pop ebp
ret