Function at 0x10072190
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, 0x101a157e
call fcn.10138266
push 0x10197ea8
push 0
push 0
push 5
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
test eax, eax
js 0x100723d7
lea eax, [ebp - 0x48]
mov ecx, 0x10187268
push eax
call fcn.1004c340
cmp dword [ebp - 0x34], 0xf
lea esi, [ebp - 0x48]
mov ecx, 0x10197ea8
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 0x10072210
sub ecx, edx
push ecx
push 0x10197ea8
lea ecx, [ebp - 0x30]
call fcn.10048ae0
mov ecx, esi
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10072230
sub ecx, edx
push ecx
push esi
lea ecx, [ebp - 0x30]
call fcn.10048090
mov ecx, 0x10193ea4
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.1001b490
movaps xmm0, xmmword [ebp - 0x70]
mov ecx, dword [ebp - 0x1c]
movups xmmword [0x10193ea4], xmm0
movq xmm0, qword [ebp - 0x60]
movq qword [0x10193eb4], xmm0
cmp ecx, 0xf
jbe 0x100722bd
mov edx, dword [ebp - 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100722b3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100722b3
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100e023a
add esp, 8
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0xf
mov byte [ebp - 0x30], 0
call fcn.1001b490
lea eax, [ebp - 0x48]
mov ecx, 0x10186788
push eax
call fcn.1004c6b0
cmp dword [ebp - 0x34], 0xf
lea esi, [ebp - 0x48]
mov ecx, 0x10197ea8
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 0x10072310
sub ecx, edx
push ecx
push 0x10197ea8
lea ecx, [ebp - 0x30]
call fcn.10048ae0
mov ecx, esi
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10072330
sub ecx, edx
push ecx
push esi
lea ecx, [ebp - 0x30]
call fcn.10048090
mov ecx, 0x10193ebc
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.1001b490
movaps xmm0, xmmword [ebp - 0x70]
mov ecx, dword [ebp - 0x1c]
movups xmmword [0x10193ebc], xmm0
movq xmm0, qword [ebp - 0x60]
movq qword [0x10193ecc], xmm0
cmp ecx, 0xf
jbe 0x100723bd
mov edx, dword [ebp - 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100723b3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100723b3
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100e023a
add esp, 8
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0xf
mov byte [ebp - 0x30], 0
call fcn.1001b490
cmp dword [0x10193eb8], 0xf
mov eax, 0x10193ea4
cmova eax, dword [0x10193ea4]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xffffffff
jne 0x10072403
call esi
cmp eax, 2
jmp 0x10072405
test al, 0x10
jne 0x10072423
cmp dword [0x10193eb8], 0xf
mov eax, 0x10193ea4
push 0
cmova eax, dword [0x10193ea4]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
cmp dword [0x10193ed0], 0xf
mov eax, 0x10193ebc
cmova eax, dword [0x10193ebc]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x10072449
call esi
cmp eax, 2
jmp 0x1007244b
test al, 0x10
jne 0x10072469
cmp dword [0x10193ed0], 0xf
mov eax, 0x10193ebc
push 0
cmova eax, dword [0x10193ebc]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.100dfe28
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret