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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x6c
mov eax, dword [0x10167368]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x10203250
push 0
push 0
push 5
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
test eax, eax
js 0x1007119b
lea eax, [ebp - 0x34]
mov ecx, 0x101f02f0
push eax
call fcn.10048e10
cmp dword [ebp - 0x20], 0x10
lea esi, [ebp - 0x34]
mov ecx, 0x10203250
mov dword [ebp - 0x1c], 0
cmovae esi, dword [ebp - 0x34]
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0xf
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10070f55
sub ecx, edx
push ecx
push 0x10203250
lea ecx, [ebp - 0x1c]
call fcn.10046140
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10070f71
sub ecx, edx
push ecx
push esi
lea ecx, [ebp - 0x1c]
call fcn.10046390
mov ecx, 0x101fee88
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x60], xmm0
movq xmm0, qword [eax + 0x10]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
lea eax, [ebp - 0x60]
push eax
movq qword [ebp - 0x50], xmm0
call fcn.10045980
mov edx, dword [ebp - 0x4c]
cmp edx, 0x10
jb 0x10070fe4
mov ecx, dword [ebp - 0x60]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10070fda
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1007104c
push edx
push ecx
call fcn.100e1eaa
add esp, 8
mov edx, dword [ebp - 8]
cmp edx, 0x10
jb 0x10071014
mov ecx, dword [ebp - 0x1c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1007100a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1007104c
push edx
push ecx
call fcn.100e1eaa
add esp, 8
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0xf
mov byte [ebp - 0x1c], 0
cmp edx, 0x10
jb 0x1007105c
mov ecx, dword [ebp - 0x34]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10071052
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10071052
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.100e1eaa
add esp, 8
lea eax, [ebp - 0x34]
mov ecx, 0x101eec50
push eax
call fcn.10049ae0
cmp dword [ebp - 0x20], 0x10
lea esi, [ebp - 0x34]
mov ecx, 0x10203250
mov dword [ebp - 0x1c], 0
cmovae esi, dword [ebp - 0x34]
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0xf
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10071092
sub ecx, edx
push ecx
push 0x10203250
lea ecx, [ebp - 0x1c]
call fcn.10046140
mov ecx, esi
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100710b0
sub ecx, edx
push ecx
push esi
lea ecx, [ebp - 0x1c]
call fcn.10046390
mov ecx, 0x101feea0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x60], xmm0
movq xmm0, qword [eax + 0x10]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
lea eax, [ebp - 0x60]
push eax
movq qword [ebp - 0x50], xmm0
call fcn.10045980
mov edx, dword [ebp - 0x4c]
cmp edx, 0x10
jb 0x10071123
mov ecx, dword [ebp - 0x60]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10071119
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1007118b
push edx
push ecx
call fcn.100e1eaa
add esp, 8
mov edx, dword [ebp - 8]
cmp edx, 0x10
jb 0x10071153
mov ecx, dword [ebp - 0x1c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10071149
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1007118b
push edx
push ecx
call fcn.100e1eaa
add esp, 8
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0xf
mov byte [ebp - 0x1c], 0
cmp edx, 0x10
jb 0x1007119b
mov ecx, dword [ebp - 0x34]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10071191
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10071191
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.100e1eaa
add esp, 8
cmp dword [0x101fee9c], 0x10
mov eax, 0x101fee88
cmovae eax, dword [0x101fee88]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xffffffff
jne 0x100711c7
call esi
cmp eax, 2
jmp 0x100711c9
test al, 0x10
jne 0x100711e7
cmp dword [0x101fee9c], 0x10
mov eax, 0x101fee88
push 0
cmovae eax, dword [0x101fee88]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
cmp dword [0x101feeb4], 0x10
mov eax, 0x101feea0
cmovae eax, dword [0x101feea0]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x1007120d
call esi
cmp eax, 2
jmp 0x1007120f
test al, 0x10
jne 0x1007122d
cmp dword [0x101feeb4], 0x10
mov eax, 0x101feea0
push 0
cmovae eax, dword [0x101feea0]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.100e1968
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret