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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43f500
mov eax, dword fs:[0]
push eax
sub esp, 0x244
mov eax, dword [0x456014]
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 0x40f520
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40f502
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.00403270
push 0x11
push str.CreativeCloudACC
mov ecx, esi
call fcn.00401fa0
cmp dword [esi + 0x14], 8
mov edx, esi
jb 0x40f538
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 + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40f560
sub ecx, ebx
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x234]
call fcn.00402120
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 0x40f5dc
mov edx, dword [ebp - 0x234]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40f5d2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f897
push ecx
push edx
call fcn.0041cdfe
add esp, 8
test bl, bl
je 0x40f68c
cmp dword [esi + 0x14], 8
mov edx, esi
jb 0x40f5ee
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 0x40f611
sub ecx, ebx
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x234]
call fcn.00402120
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 0x40f68c
mov edx, dword [ebp - 0x234]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40f682
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f89c
push ecx
push edx
call fcn.0041cdfe
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.00402120
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 0x40f71d
mov edx, dword [ebp - 0x234]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40f713
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f8a1
push ecx
push edx
call fcn.0041cdfe
add esp, 8
test bl, bl
jne 0x40f873
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.00402120
lea edx, [ebp - 0x24c]
mov dword [ebp - 4], 0
mov ecx, esi
call fcn.00414390
mov dword [ebp - 4], 0xffffffff
mov bl, al
mov ecx, dword [ebp - 0x238]
cmp ecx, 8
jb 0x40f7b2
mov edx, dword [ebp - 0x24c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40f7a8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f8a6
push ecx
push edx
call fcn.0041cdfe
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 0x40f873
mov eax, dword [edi + 0x68]
lea ebx, [edi + 0x68]
test eax, eax
je 0x40f7ee
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebx], 0
cmp dword [esi + 0x14], 8
mov dword [ebp - 0x21c], 0
jb 0x40f800
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 0x40f810
sub edx, esi
lea ecx, [edi + 0x34]
sar edx, 1
push edx
push eax
call fcn.00403270
cmp byte [edi + 0x6d], 0
mov eax, dword [edi]
mov esi, dword [eax]
mov ecx, esi
je 0x40f845
push ebx
call dword [0x44123c]
mov ecx, edi
call esi
mov byte [edi + 0x6c], al
jmp 0x40f879
lea eax, [ebp - 0x21c]
push eax
call dword [0x44123c]
mov ecx, edi
call esi
mov byte [edi + 0x6c], al
test al, al
je 0x40f86e
mov eax, dword [ebp - 0x21c]
test eax, eax
je 0x40f86e
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, byte [edi + 0x6c]
jmp 0x40f879
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.0041cdc0
mov esp, ebp
pop ebp
ret 8
call fcn.0042200f
call fcn.0042200f
call fcn.0042200f
call fcn.0042200f
int3