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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48a8a4
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x4b1070]
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
mov dword [ebp - 4], 0
xorps xmm0, xmm0
mov dword [ebp - 4], 0xffffffff
xor ebx, ebx
movq qword [ebp - 0x20], xmm0
xor edi, edi
mov dword [ebp - 0x20], ebx
xor eax, eax
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x18], eax
push ecx
lea ecx, [ebp - 0x38]
mov dword [ebp - 4], 1
call fcn.00417a50
push 0x49d924
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 2
call fcn.00417a50
mov byte [ebp - 4], 3
lea eax, [ebp - 0x38]
cmp dword [ebp - 0x24], 8
cmovae eax, dword [ebp - 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x42ad8e
test al, 0x10
ja 0x42af8b
sub esp, 8
mov dword [ebp - 0x14], 0x5c
lea eax, [ebp - 0x14]
lea ecx, [ebp - 0x38]
push eax
call fcn.0042b0f0
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x28]
dec ecx
mov byte [ebp - 4], 3
cmp eax, ecx
je 0x42adda
sub esp, 8
mov dword [ebp - 0x14], 0x2f
lea eax, [ebp - 0x14]
lea ecx, [ebp - 0x38]
push eax
call fcn.0042b0f0
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x28]
dec ecx
mov byte [ebp - 4], 3
cmp eax, ecx
jne 0x42ae40
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x38]
mov eax, dword [ebp - 0x28]
dec eax
mov byte [ebp - 4], 3
push eax
push 0
lea eax, [ebp - 0x6c]
push eax
call fcn.00417950
mov esi, eax
lea eax, [ebp - 0x38]
mov byte [ebp - 4], 7
cmp eax, esi
je 0x42ae34
mov eax, dword [ebp - 0x24]
cmp eax, 8
jb 0x42ae17
inc eax
lea ecx, [ebp - 0x38]
push eax
push dword [ebp - 0x38]
call fcn.00418be0
xor eax, eax
mov dword [ebp - 0x24], 7
push esi
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x28], 0
mov word [ebp - 0x38], ax
call fcn.00418b10
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 3
call fcn.00418cb0
xor esi, esi
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x28]
mov byte [ebp - 4], 3
test eax, eax
je 0x42aeec
mov ecx, dword [ebp - 0x24]
lea eax, [ebp - 0x38]
mov edx, dword [ebp - 0x38]
cmp ecx, 8
cmovae eax, edx
cmp word [eax + esi*2], 0x5c
je 0x42ae95
cmp ecx, 8
lea eax, [ebp - 0x38]
cmovae eax, edx
cmp word [eax + esi*2], 0x2f
je 0x42ae95
cmp ecx, 8
lea eax, [ebp - 0x38]
lea ecx, [ebp - 0x50]
cmovae eax, edx
movzx eax, word [eax + esi*2]
push eax
push 1
call fcn.0041c030
jmp 0x42aeb0
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x20]
call fcn.0042b020
push 1
push 0x49c32c
lea ecx, [ebp - 0x50]
call fcn.0041b660
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x28]
dec eax
mov byte [ebp - 4], 3
cmp esi, eax
jne 0x42aecc
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x20]
call fcn.0042b020
inc esi
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x28]
mov byte [ebp - 4], 3
cmp esi, eax
jb 0x42ae55
mov eax, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x20]
mov edi, dword [ebp - 0x1c]
mov dword [ebp - 0x54], eax
mov ecx, edi
mov eax, 0x2aaaaaab
sub ecx, ebx
imul ecx
sar edx, 2
mov edi, edx
shr edi, 0x1f
add edi, edx
cmp edi, 1
jbe 0x42af5a
lea esi, [ebx + 0x18]
dec edi
nop word [eax + eax]
lea eax, [ebp - 0x50]
cmp eax, esi
je 0x42af23
push 0xffffffffffffffff
push 0
push esi
mov ecx, eax
call fcn.004189e0
cmp dword [ebp - 0x3c], 8
lea eax, [ebp - 0x50]
push 0
cmovae eax, dword [ebp - 0x50]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x42af52
cmp dword [ebp - 0x3c], 8
lea eax, [ebp - 0x50]
push 0x80
cmovae eax, dword [ebp - 0x50]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
add esi, 0x18
sub edi, 1
jne 0x42af10
push dword [ebp - 0x14]
mov edx, dword [ebp - 0x1c]
push ecx
mov ecx, ebx
call fcn.0041bd50
add esp, 8
lea eax, [ebp - 0x38]
mov edi, ebx
mov dword [ebp - 0x1c], edi
cmp dword [ebp - 0x24], 8
cmovae eax, dword [ebp - 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x42af92
test al, 0x10
jbe 0x42af92
mov esi, 1
jmp 0x42af94
xor esi, esi
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 2
call fcn.00418cb0
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 1
call fcn.00418cb0
mov dword [ebp - 4], 0xffffffff
test ebx, ebx
je 0x42aff9
push dword [ebp - 0x14]
mov edx, edi
push ecx
mov ecx, ebx
call fcn.0041bd50
mov ecx, dword [ebp - 0x54]
mov eax, 0x2aaaaaab
sub ecx, ebx
add esp, 8
imul ecx
sar edx, 2
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
push ecx
push ebx
call fcn.00412920
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov eax, esi
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.0042ed56
mov esp, ebp
pop ebp
ret