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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f27a0
mov eax, dword fs:[0]
push eax
sub esp, 0x240
mov eax, dword [0x521284]
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
lea eax, [ebp - 0x218]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x41ffef
lea edx, [ebp - 0x218]
lea ecx, [edx + 2]
nop
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x41ffd0
sub edx, ecx
lea eax, [ebp - 0x218]
sar edx, 1
lea ecx, [edi + 0x4c]
push edx
push eax
call fcn.00402a90
push 0x11
push str.CreativeCloudACC
lea ecx, [edi + 0x4c]
call fcn.00403260
cmp dword [edi + 0x60], 8
lea esi, [edi + 0x4c]
mov edx, esi
jb 0x42000b
mov edx, dword [esi]
mov ecx, edx
mov dword [ebp - 0x234], 0
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x220], 7
lea ebx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x420030
sub ecx, ebx
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x234]
call fcn.00402a90
cmp dword [ebp - 0x220], 8
lea eax, [ebp - 0x234]
cmovae eax, dword [ebp - 0x234]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
lea ecx, [ebp - 0x234]
test eax, eax
jne 0x4200e4
call fcn.00402a30
cmp dword [esi + 0x14], 8
mov edx, esi
jb 0x420080
mov edx, dword [esi]
mov ecx, edx
mov dword [ebp - 0x234], 0
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x220], 7
lea ebx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4200a3
sub ecx, ebx
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x234]
call fcn.00402a90
cmp dword [ebp - 0x220], 8
lea eax, [ebp - 0x234]
push 0
cmovae eax, dword [ebp - 0x234]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
lea ecx, [ebp - 0x234]
call fcn.00402a30
push 7
push str.ACC.log
lea ecx, [ebp - 0x234]
mov dword [ebp - 0x234], 0
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x220], 7
call fcn.00402a90
cmp dword [ebp - 0x220], 8
lea eax, [ebp - 0x234]
cmovae eax, dword [ebp - 0x234]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsFileSpecW]
lea ecx, [ebp - 0x234]
cmp eax, 1
je 0x42014f
call fcn.00402a30
mov byte [edi + 0x6c], 0
xor al, al
jmp 0x420261
call fcn.00402a30
push 7
xor eax, eax
mov dword [ebp - 0x24c], 0
push str.ACC.log
lea ecx, [ebp - 0x24c]
mov dword [ebp - 0x23c], 0
mov dword [ebp - 0x238], 7
mov word [ebp - 0x24c], ax
call fcn.00402a90
lea edx, [ebp - 0x24c]
mov dword [ebp - 4], 0
mov ecx, esi
call fcn.00425ad0
lea ecx, [ebp - 0x24c]
mov dword [ebp - 4], 0xffffffff
mov bl, al
call fcn.00402a30
test bl, bl
jne 0x4201c3
mov byte [edi + 0x6c], bl
xor al, al
jmp 0x420261
mov eax, dword [edi + 0x68]
lea ebx, [edi + 0x68]
test eax, eax
je 0x4201da
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebx], 0
cmp dword [esi + 0x14], 8
mov dword [ebp - 0x21c], 0
jb 0x4201ec
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 0x420200
sub edx, esi
lea ecx, [edi + 0x34]
sar edx, 1
push edx
push eax
call fcn.00402a90
cmp byte [edi + 0x6d], 0
mov eax, dword [edi]
mov esi, dword [eax]
mov ecx, esi
je 0x420235
push ebx
call dword [0x4f4350]
mov ecx, edi
call esi
mov byte [edi + 0x6c], al
jmp 0x42025e
lea eax, [ebp - 0x21c]
push eax
call dword [0x4f4350]
mov ecx, edi
call esi
mov byte [edi + 0x6c], al
test al, al
je 0x42025e
mov eax, dword [ebp - 0x21c]
test eax, eax
je 0x42025e
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, byte [edi + 0x6c]
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.004cc21a
mov esp, ebp
pop ebp
ret 8