Function at 0x100f28d0
Capabilities:
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10183c3b
mov eax, dword fs:[0]
push eax
sub esp, 0x24c
mov eax, dword [0x101e42fc]
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 edi, ecx
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x224], eax
mov dword [ebp - 0x240], 0
mov byte [ebp - 0x21d], 0
test eax, eax
je 0x100f2927
cmp word [eax], 0
jne 0x100f2945
cmp dword [edi + 0x48], 8
lea eax, [edi + 0x34]
mov byte [ebp - 0x21d], 1
mov dword [ebp - 0x224], eax
jb 0x100f2945
mov eax, dword [eax]
mov dword [ebp - 0x224], eax
test edx, edx
je 0x100f2974
cmp word [edx], 0
je 0x100f2974
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100f2954
sub ecx, esi
lea esi, [edi + 0x4c]
sar ecx, 1
push ecx
push edx
mov ecx, esi
call fcn.10001c20
jmp 0x100f2aad
lea eax, [ebp - 0x218]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea esi, [edi + 0x4c]
test eax, eax
je 0x100f29b4
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100f2996
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.10001c20
push 0x11
push str.CreativeCloudACC
mov ecx, esi
call fcn.10001d30
cmp dword [esi + 0x14], 8
mov edx, esi
jb 0x100f29cc
mov edx, dword [esi]
mov ecx, edx
mov dword [ebp - 0x22c], 0
xor eax, eax
mov dword [ebp - 0x228], 7
mov word [ebp - 0x23c], ax
lea ebx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100f29f0
sub ecx, ebx
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x23c]
call fcn.10001c20
cmp dword [ebp - 0x228], 8
lea eax, [ebp - 0x23c]
cmovae eax, dword [ebp - 0x23c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
lea ecx, [ebp - 0x23c]
sete bl
call fcn.10001bc0
test bl, bl
je 0x100f2aad
cmp dword [esi + 0x14], 8
mov edx, esi
jb 0x100f2a45
mov edx, dword [esi]
mov ecx, edx
mov dword [ebp - 0x22c], 0
xor eax, eax
mov dword [ebp - 0x228], 7
mov word [ebp - 0x23c], ax
lea ebx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100f2a67
sub ecx, ebx
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x23c]
call fcn.10001c20
cmp dword [ebp - 0x228], 8
lea eax, [ebp - 0x23c]
push 0
cmovae eax, dword [ebp - 0x23c]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
lea ecx, [ebp - 0x23c]
call fcn.10001bc0
cmp byte [ebp - 0x21d], 0
mov ebx, dword [ebp - 0x224]
jne 0x100f2b2d
mov ecx, ebx
mov dword [ebp - 0x22c], 0
xor eax, eax
mov dword [ebp - 0x228], 7
mov word [ebp - 0x23c], ax
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100f2ae0
sub ecx, edx
sar ecx, 1
push ecx
push ebx
lea ecx, [ebp - 0x23c]
call fcn.10001c20
cmp dword [ebp - 0x228], 8
lea eax, [ebp - 0x23c]
mov dword [ebp - 0x240], 1
cmovae eax, dword [ebp - 0x23c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsFileSpecW]
mov byte [ebp - 0x21d], 1
cmp eax, 1
jne 0x100f2b34
mov byte [ebp - 0x21d], 0
test byte [ebp - 0x240], 1
je 0x100f2b48
lea ecx, [ebp - 0x23c]
call fcn.10001bc0
cmp byte [ebp - 0x21d], 0
jne 0x100f2c55
mov ecx, ebx
mov dword [ebp - 0x248], 0
xor eax, eax
mov dword [ebp - 0x244], 7
mov word [ebp - 0x258], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100f2b77
sub ecx, edx
sar ecx, 1
push ecx
push ebx
lea ecx, [ebp - 0x258]
call fcn.10001c20
lea edx, [ebp - 0x258]
mov dword [ebp - 4], 0
mov ecx, esi
call fcn.10107470
lea ecx, [ebp - 0x258]
mov dword [ebp - 4], 0xffffffff
mov bl, al
call fcn.10001bc0
test bl, bl
je 0x100f2c55
mov eax, dword [edi + 0x68]
lea ebx, [edi + 0x68]
test eax, eax
je 0x100f2bda
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebx], 0
cmp dword [esi + 0x14], 8
mov dword [ebp - 0x21c], 0
jb 0x100f2bec
mov esi, dword [esi]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
mov edx, eax
lea esi, [edx + 2]
nop dword [eax + eax]
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x100f2c00
sub edx, esi
lea ecx, [edi + 0x34]
sar edx, 1
push edx
push eax
call fcn.10001c20
cmp byte [edi + 0x6d], 0
mov eax, dword [edi]
mov eax, dword [eax]
je 0x100f2c2d
push ebx
mov ecx, edi
call eax
mov byte [edi + 0x6c], al
jmp 0x100f2c5b
lea ecx, [ebp - 0x21c]
push ecx
mov ecx, edi
call eax
mov byte [edi + 0x6c], al
test al, al
je 0x100f2c50
mov eax, dword [ebp - 0x21c]
test eax, eax
je 0x100f2c50
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, byte [edi + 0x6c]
jmp 0x100f2c5b
mov byte [edi + 0x6c], 0
xor al, al
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.1014d1d5
mov esp, ebp
pop ebp
ret 8