Function at 0x10072200
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, 0x7c
mov eax, dword [0x10160380]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov ecx, 0x101a157a
call fcn.10137ff6
push 0x10197db8
push 0
push 0
push 5
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
test eax, eax
js 0x10072447
lea eax, [ebp - 0x48]
mov ecx, 0x10187180
push eax
call fcn.1004c390
cmp dword [ebp - 0x34], 0xf
lea esi, [ebp - 0x48]
mov ecx, 0x10197db8
mov dword [ebp - 0x20], 0
cmova esi, dword [ebp - 0x48]
xorps xmm0, xmm0
movaps xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0x1c], 0
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10072280
sub ecx, edx
push ecx
push 0x10197db8
lea ecx, [ebp - 0x30]
call fcn.10048b30
mov ecx, esi
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100722a0
sub ecx, edx
push ecx
push esi
lea ecx, [ebp - 0x30]
call fcn.100480e0
mov ecx, 0x10193db4
movups xmm0, xmmword [eax]
movaps xmmword [ebp - 0x70], xmm0
movq xmm0, qword [eax + 0x10]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
movq qword [ebp - 0x60], xmm0
mov byte [eax], 0
call fcn.1001b4d0
movaps xmm0, xmmword [ebp - 0x70]
mov ecx, dword [ebp - 0x1c]
movups xmmword [0x10193db4], xmm0
movq xmm0, qword [ebp - 0x60]
movq qword [0x10193dc4], xmm0
cmp ecx, 0xf
jbe 0x1007232d
mov edx, dword [ebp - 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10072323
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10072323
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100dffda
add esp, 8
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0xf
mov byte [ebp - 0x30], 0
call fcn.1001b4d0
lea eax, [ebp - 0x48]
mov ecx, 0x10186540
push eax
call fcn.1004c700
cmp dword [ebp - 0x34], 0xf
lea esi, [ebp - 0x48]
mov ecx, 0x10197db8
mov dword [ebp - 0x20], 0
cmova esi, dword [ebp - 0x48]
xorps xmm0, xmm0
movaps xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0x1c], 0
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10072380
sub ecx, edx
push ecx
push 0x10197db8
lea ecx, [ebp - 0x30]
call fcn.10048b30
mov ecx, esi
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100723a0
sub ecx, edx
push ecx
push esi
lea ecx, [ebp - 0x30]
call fcn.100480e0
mov ecx, 0x10193dcc
movups xmm0, xmmword [eax]
movaps xmmword [ebp - 0x70], xmm0
movq xmm0, qword [eax + 0x10]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
movq qword [ebp - 0x60], xmm0
mov byte [eax], 0
call fcn.1001b4d0
movaps xmm0, xmmword [ebp - 0x70]
mov ecx, dword [ebp - 0x1c]
movups xmmword [0x10193dcc], xmm0
movq xmm0, qword [ebp - 0x60]
movq qword [0x10193ddc], xmm0
cmp ecx, 0xf
jbe 0x1007242d
mov edx, dword [ebp - 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10072423
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10072423
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100dffda
add esp, 8
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0xf
mov byte [ebp - 0x30], 0
call fcn.1001b4d0
cmp dword [0x10193dc8], 0xf
mov eax, 0x10193db4
cmova eax, dword [0x10193db4]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xffffffff
jne 0x10072473
call esi
cmp eax, 2
jmp 0x10072475
test al, 0x10
jne 0x10072493
cmp dword [0x10193dc8], 0xf
mov eax, 0x10193db4
push 0
cmova eax, dword [0x10193db4]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
cmp dword [0x10193de0], 0xf
mov eax, 0x10193dcc
cmova eax, dword [0x10193dcc]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x100724b9
call esi
cmp eax, 2
jmp 0x100724bb
test al, 0x10
jne 0x100724d9
cmp dword [0x10193de0], 0xf
mov eax, 0x10193dcc
push 0
cmova eax, dword [0x10193dcc]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.100dfbc8
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret