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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7087c5
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x82d084]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp byte [0x853a6a], 0
jne 0x6521e6
push 0x84
call fcn.0067ba12
mov edi, eax
add esp, 4
mov dword [ebp - 0x60], edi
push 0x84
push 0
push edi
mov dword [ebp - 4], 0
call fcn.0068e800
mov dword [edi], vtable.oobe::Logger.0
xor eax, eax
add esp, 0xc
mov dword [ebp - 0x2c], edi
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 7
mov word [edi + 8], ax
mov dword [edi + 0x30], eax
mov dword [edi + 0x34], 7
mov word [edi + 0x20], ax
mov dword [edi + 0x48], eax
mov dword [edi + 0x4c], 7
mov word [edi + 0x38], ax
mov dword [edi + 0x60], eax
mov dword [edi + 0x64], 7
mov word [edi + 0x50], ax
mov dword [edi + 0x78], eax
mov dword [edi + 0x7c], 7
mov word [edi + 0x68], ax
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x44]
push 3
push 0x7dc370
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], al
call fcn.00430160
lea edx, [edi + 0x68]
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x44]
call fcn.006454e0
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x30]
cmp edx, 0x10
jb 0x651f6c
mov ecx, dword [ebp - 0x44]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x651f62
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x652201
push edx
push ecx
call fcn.0067bc93
add esp, 8
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
call fcn.00619090
mov dword [ebp - 4], 0xffffffff
push 0x110
mov dword [edi + 4], eax
mov dword [0x853a98], edi
call fcn.0067ba12
mov esi, eax
add esp, 4
mov dword [ebp - 0x2c], esi
push 0x110
push 0
push esi
mov dword [ebp - 4], 7
call fcn.0068e800
add esp, 0xc
mov ecx, esi
call fcn.0061cc50
mov byte [ebp - 4], 8
lea ecx, [esi + 0x94]
mov dword [esi], vtable.oobe::LogTargetDefault.0
call fcn.00619a20
xor eax, eax
mov dword [esi + 0xe4], 0
mov dword [esi + 0xe8], 7
mov word [esi + 0xd4], ax
mov dword [esi + 0x100], eax
mov dword [esi + 0x104], eax
mov dword [esi + 0x108], eax
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x5c]
push 3
push 0x7dc370
mov dword [esi + 0x90], eax
mov byte [esi + 0xd1], 1
mov dword [esi + 0x68], eax
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], 0xf
mov byte [ebp - 0x5c], al
call fcn.00430160
lea edx, [esi + 4]
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x5c]
call fcn.006454e0
mov byte [ebp - 4], 0xb
mov edx, dword [ebp - 0x48]
cmp edx, 0x10
jb 0x65207e
mov ecx, dword [ebp - 0x5c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x652074
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x652206
push edx
push ecx
call fcn.0067bc93
add esp, 8
mov ecx, esi
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0xf
mov byte [ebp - 0x5c], 0
call fcn.00646150
mov ecx, esi
call fcn.00646df0
mov eax, dword [0x853a98]
mov byte [esi + 0xd0], 0
mov dword [eax + 0x80], esi
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
push eax
push eax
mov dword [ebp - 4], 0xd
call dword [sym.imp.KERNEL32.DLL_GetTempPathW]
mov edi, eax
test edi, edi
je 0x652132
xor ecx, ecx
lea eax, [edi + 1]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00695088
mov esi, eax
add esp, 4
test esi, esi
je 0x652132
push esi
push edi
call dword [sym.imp.KERNEL32.DLL_GetTempPathW]
test eax, eax
je 0x652129
mov ecx, esi
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x652110
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x28]
call fcn.0042fe00
push esi
call fcn.00690e3e
add esp, 4
push 0x11
push str.CreativeCloudACC
lea ecx, [ebp - 0x28]
call fcn.0042ff20
push 1
push 0x761550
lea ecx, [ebp - 0x28]
call fcn.0042ff20
push 0xd
push str.AdobeDownload
lea ecx, [ebp - 0x28]
call fcn.0042ff20
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push 0
cmovae eax, dword [ebp - 0x28]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
test eax, eax
je 0x65218b
cmp eax, 0xb7
je 0x65218b
cmp eax, 0x50
je 0x65218b
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
mov ecx, dword [0x853a98]
cmovae eax, dword [ebp - 0x28]
push eax
push 0x7dc374
mov ecx, dword [ecx + 0x80]
call fcn.0061d130
push ecx
mov ecx, dword [0x853a98]
mov ecx, dword [ecx + 0x80]
call fcn.0061cdf0
call fcn.00619090
mov ecx, dword [0x853a98]
push dword [ecx + 0x80]
mov ecx, eax
call fcn.00619140
lea ecx, [ebp - 0x28]
mov byte [0x853a6a], 1
call fcn.0042fd70
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0067ba01
mov esp, ebp
pop ebp
ret
call fcn.00691015
call fcn.00691015
int3