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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4394f0
mov eax, dword fs:[0]
push eax
sub esp, 0x244
mov eax, dword [0x44f014]
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]
lea esi, [edi + 0x4c]
test eax, eax
je 0x40e5a0
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40e582
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.0040a120
push str.CreativeCloudACC
mov ecx, esi
call fcn.00401e50
cmp dword [esi + 0x14], 8
mov edx, esi
jb 0x40e5b6
mov edx, dword [esi]
mov ecx, edx
mov dword [ebp - 0x234], 0
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x220], 0
lea ebx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40e5e0
sub ecx, ebx
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x234]
call fcn.00402040
cmp dword [ebp - 0x220], 8
lea eax, [ebp - 0x234]
cmovae eax, dword [ebp - 0x234]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
mov ecx, dword [ebp - 0x220]
test eax, eax
sete bl
cmp ecx, 8
jb 0x40e65c
mov edx, dword [ebp - 0x234]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40e652
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40e917
push ecx
push edx
call fcn.00417151
add esp, 8
test bl, bl
je 0x40e70c
cmp dword [esi + 0x14], 8
mov edx, esi
jb 0x40e66e
mov edx, dword [esi]
mov ecx, edx
mov dword [ebp - 0x234], 0
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x220], 0
lea ebx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40e691
sub ecx, ebx
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x234]
call fcn.00402040
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]
mov ecx, dword [ebp - 0x220]
cmp ecx, 8
jb 0x40e70c
mov edx, dword [ebp - 0x234]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40e702
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40e91c
push ecx
push edx
call fcn.00417151
add esp, 8
push 7
push str.ACC.log
lea ecx, [ebp - 0x234]
mov dword [ebp - 0x234], 0
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x220], 0
call fcn.00402040
cmp dword [ebp - 0x220], 8
lea eax, [ebp - 0x234]
cmovae eax, dword [ebp - 0x234]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsFileSpecW]
mov ecx, dword [ebp - 0x220]
cmp eax, 1
setne bl
cmp ecx, 8
jb 0x40e79d
mov edx, dword [ebp - 0x234]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40e793
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40e921
push ecx
push edx
call fcn.00417151
add esp, 8
test bl, bl
jne 0x40e8f3
push 7
push str.ACC.log
lea ecx, [ebp - 0x24c]
mov dword [ebp - 0x24c], 0
mov dword [ebp - 0x23c], 0
mov dword [ebp - 0x238], 0
call fcn.00402040
lea edx, [ebp - 0x24c]
mov dword [ebp - 4], 0
mov ecx, esi
call fcn.004106e0
mov dword [ebp - 4], 0xffffffff
mov bl, al
mov ecx, dword [ebp - 0x238]
cmp ecx, 8
jb 0x40e832
mov edx, dword [ebp - 0x24c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40e828
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40e926
push ecx
push edx
call fcn.00417151
add esp, 8
xor eax, eax
mov dword [ebp - 0x23c], 0
mov dword [ebp - 0x238], 7
mov word [ebp - 0x24c], ax
test bl, bl
je 0x40e8f3
mov eax, dword [edi + 0x68]
lea ebx, [edi + 0x68]
test eax, eax
je 0x40e86e
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebx], 0
cmp dword [esi + 0x14], 8
mov dword [ebp - 0x21c], 0
jb 0x40e880
mov esi, dword [esi]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
mov edx, eax
lea esi, [edx + 2]
nop dword [eax]
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x40e890
sub edx, esi
lea ecx, [edi + 0x34]
sar edx, 1
push edx
push eax
call fcn.0040a120
cmp byte [edi + 0x6d], 0
mov eax, dword [edi]
mov esi, dword [eax]
mov ecx, esi
je 0x40e8c5
push ebx
call dword [0x43b228]
mov ecx, edi
call esi
mov byte [edi + 0x6c], al
jmp 0x40e8f9
lea eax, [ebp - 0x21c]
push eax
call dword [0x43b228]
mov ecx, edi
call esi
mov byte [edi + 0x6c], al
test al, al
je 0x40e8ee
mov eax, dword [ebp - 0x21c]
test eax, eax
je 0x40e8ee
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, byte [edi + 0x6c]
jmp 0x40e8f9
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.00416ec0
mov esp, ebp
pop ebp
ret 8
call fcn.0041c06f
call fcn.0041c06f
call fcn.0041c06f
call fcn.0041c06f
int3