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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x602dfc
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x40
mov eax, dword [0x70f200]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x50], edx
push 1
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
push ecx
lea ecx, [ebp - 0x20]
movq qword [ebp - 0x20], xmm0
call fcn.005dc570
push ecx
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], 0
call fcn.005da040
mov ecx, eax
call fcn.005da0a0
mov ecx, eax
call fcn.005dc3a0
mov esi, eax
cmp esi, 3
jl 0x5e11ca
push 4
push 1
push 1
push 1
push 0x624390
lea ecx, [ebp - 0x20]
call fcn.005daa70
mov dword [ebp - 0x4c], eax
test eax, eax
je 0x5e1015
cmp esi, 6
jl 0x5e11ca
jne 0x5e1015
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0x624284
lea ecx, [ebp - 0x20]
call fcn.005da780
lea ecx, [ebp - 0x20]
call fcn.005dc190
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsRootW]
mov byte [ebp - 0x45], al
jmp 0x5e11ce
lea ecx, [ebp - 0x20]
call fcn.005dc190
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x5e11b4
push eax
lea ecx, [ebp - 0x20]
call fcn.005dc190
mov edi, dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push eax
call edi
test eax, eax
jne 0x5e118b
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x5e118b
cmp dword [ebp - 0x4c], 0
mov ecx, 0x624b44
mov eax, 0x624390
mov dword [ebp - 0x24], 0
cmove eax, ecx
xorps xmm0, xmm0
push 1
push eax
lea ecx, [ebp - 0x2c]
movq qword [ebp - 0x2c], xmm0
call fcn.005dc570
push 1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
xorps xmm0, xmm0
push 0x624284
movups xmmword [ebp - 0x44], xmm0
movq qword [ebp - 0x34], xmm0
call fcn.005dc3a0
push eax
lea ecx, [ebp - 0x20]
call fcn.005dad50
mov ecx, eax
call fcn.005dc190
push eax
lea ecx, [ebp - 0x44]
call fcn.005d92a0
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 2
call fcn.005d9210
cmp eax, 2
jb 0x5e11ba
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call fcn.005d9220
push eax
lea ecx, [ebp - 0x2c]
call fcn.005dc190
push eax
lea ecx, [ebp - 0x20]
call fcn.005dc200
lea ecx, [ebp - 0x44]
mov esi, 1
call fcn.005d9210
cmp eax, esi
jbe 0x5e1177
nop dword [eax]
push esi
lea ecx, [ebp - 0x44]
call fcn.005d9220
cmp word [eax], 0
je 0x5e1147
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push esi
call fcn.005d9220
push eax
push 0x624284
lea ecx, [ebp - 0x20]
call fcn.005da780
lea ecx, [ebp - 0x20]
call fcn.005dc190
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x5e116a
push eax
lea ecx, [ebp - 0x20]
call fcn.005dc190
push eax
call edi
test eax, eax
je 0x5e11ba
lea ecx, [ebp - 0x44]
inc esi
call fcn.005d9210
cmp esi, eax
jb 0x5e1110
lea ecx, [ebp - 0x44]
call fcn.005d9280
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0
call fcn.005dc430
mov esi, dword [ebp - 0x50]
cmp esi, 0xffffffff
je 0x5e11b4
lea ecx, [ebp - 0x20]
call fcn.005dc190
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
or eax, esi
lea ecx, [ebp - 0x20]
push eax
call fcn.005dc190
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov byte [ebp - 0x45], 1
jmp 0x5e11ce
lea ecx, [ebp - 0x44]
call fcn.005d9280
lea ecx, [ebp - 0x2c]
call fcn.005dc430
mov byte [ebp - 0x45], 0
lea ecx, [ebp - 0x20]
call fcn.005dc430
mov al, byte [ebp - 0x45]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0041e1b5
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret