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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59396b
mov eax, dword fs:[0]
push eax
sub esp, 0x240
mov eax, dword [0x612120]
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 esi, ecx
lea eax, [ebp - 0x218]
mov dword [ebp - 0x21c], 0
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x42d906
cmp word [ebp - 0x218], 0
jne 0x42d8de
xor edx, edx
jmp 0x42d8f6
lea edx, [ebp - 0x218]
lea ecx, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x42d8e7
sub edx, ecx
sar edx, 1
push edx
lea eax, [ebp - 0x218]
lea ecx, [esi + 0x4c]
push eax
call fcn.004081c0
push 0x11
push str.CreativeCloudACC
lea ecx, [esi + 0x4c]
call fcn.0040e970
cmp dword [esi + 0x60], 8
jb 0x42d920
mov edx, dword [esi + 0x4c]
jmp 0x42d923
lea edx, [esi + 0x4c]
xor eax, eax
mov dword [ebp - 0x220], 7
mov dword [ebp - 0x224], 0
mov word [ebp - 0x234], ax
cmp word [edx], ax
jne 0x42d949
xor ecx, ecx
jmp 0x42d95f
mov ecx, edx
lea ebx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42d950
sub ecx, ebx
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x234]
call fcn.004081c0
cmp dword [ebp - 0x220], 8
lea eax, [ebp - 0x234]
cmovae eax, dword [ebp - 0x234]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
setne al
test al, al
mov eax, dword [ebp - 0x220]
sete bl
cmp eax, 8
jb 0x42d9af
inc eax
lea ecx, [ebp - 0x234]
push eax
push dword [ebp - 0x234]
call fcn.00407210
test bl, bl
je 0x42da0a
cmp dword [esi + 0x60], 8
jb 0x42d9be
mov eax, dword [esi + 0x4c]
jmp 0x42d9c1
lea eax, [esi + 0x4c]
push eax
lea ecx, [ebp - 0x234]
call fcn.004080d0
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 eax, dword [ebp - 0x220]
cmp eax, 8
jb 0x42da0a
inc eax
lea ecx, [ebp - 0x234]
push eax
push dword [ebp - 0x234]
call fcn.00407210
push 7
xor eax, eax
mov dword [ebp - 0x220], 7
push str.ACC.log
lea ecx, [ebp - 0x234]
mov dword [ebp - 0x224], 0
mov word [ebp - 0x234], ax
call fcn.004081c0
cmp dword [ebp - 0x220], 8
lea eax, [ebp - 0x234]
cmovae eax, dword [ebp - 0x234]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsFileSpecW]
cmp eax, 1
mov eax, dword [ebp - 0x220]
setne bl
cmp eax, 8
jb 0x42da78
inc eax
lea ecx, [ebp - 0x234]
push eax
push dword [ebp - 0x234]
call fcn.00407210
test bl, bl
je 0x42da87
mov byte [esi + 0x6c], 0
xor al, al
jmp 0x42db80
push 7
xor eax, eax
mov dword [ebp - 0x238], 7
push str.ACC.log
lea ecx, [ebp - 0x24c]
mov dword [ebp - 0x23c], 0
mov word [ebp - 0x24c], ax
call fcn.004081c0
lea edx, [ebp - 0x24c]
mov dword [ebp - 4], 0
lea ecx, [esi + 0x4c]
call fcn.0042fcf0
mov dword [ebp - 4], 0xffffffff
mov bl, al
mov ecx, dword [ebp - 0x238]
cmp ecx, 8
jb 0x42daf2
inc ecx
push ecx
push dword [ebp - 0x24c]
lea ecx, [ebp - 0x24c]
call fcn.00407210
xor eax, eax
mov dword [ebp - 0x238], 7
mov dword [ebp - 0x23c], 0
mov word [ebp - 0x24c], ax
test bl, bl
jne 0x42db1a
mov byte [esi + 0x6c], al
xor al, al
jmp 0x42db80
mov eax, dword [esi + 0x68]
lea ebx, [esi + 0x68]
test eax, eax
je 0x42db31
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebx], 0
lea edx, [esi + 0x34]
mov dword [ebp - 0x21c], 0
lea ecx, [esi + 0x4c]
call fcn.00430180
cmp byte [esi + 0x6d], 0
mov eax, dword [esi]
mov eax, dword [eax]
je 0x42db5a
push ebx
mov ecx, esi
call eax
mov byte [esi + 0x6c], al
jmp 0x42db7d
lea ecx, [ebp - 0x21c]
push ecx
mov ecx, esi
call eax
mov byte [esi + 0x6c], al
test al, al
je 0x42db7d
mov eax, dword [ebp - 0x21c]
test eax, eax
je 0x42db7d
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, byte [esi + 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.00564ee1
mov esp, ebp
pop ebp
ret 8