Function at 0x10037390
Capabilities:
Get common file path
Get program files directory
Get startup folder
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10180ef1
mov eax, dword fs:[0]
push eax
sub esp, 0x32c
mov eax, dword [0x101e42fc]
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
call fcn.10002de0
cmp dword [edi + 0x14], 8
mov ecx, edi
jb 0x100373cf
mov ecx, dword [edi]
mov esi, dword [eax]
push ecx
push dword [ebp + 0xc]
push dword [ebp + 8]
mov esi, dword [esi + 0x54]
mov ecx, esi
push str.Inside_utilCreateARPEntry._Size:__llu_Version:_s
push 0x101a53f8
push eax
call dword [0x1018a4d4]
call esi
add esp, 0x18
lea eax, [ebp - 0x330]
xor bl, bl
mov byte [ebp - 0x329], bl
push eax
push 0xf003f
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstallAdobe_Creative_Cloud
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x10037450
lea eax, [ebp - 0x338]
push eax
lea eax, [ebp - 0x330]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstallAdobe_Creative_Cloud
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x10037798
xor eax, eax
mov dword [ebp - 0x2e8], 0
mov dword [ebp - 0x2e4], 7
mov word [ebp - 0x2f8], ax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x338]
push eax
lea eax, [ebp - 0xd8]
mov dword [ebp - 0x338], 0xc8
push eax
push 0
push 0
push str.DisplayVersion
push dword [ebp - 0x330]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x100375a4
lea ecx, [ebp - 0xd8]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100374b0
sub ecx, edx
lea eax, [ebp - 0xd8]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x2f8]
call fcn.10001c20
call fcn.10002de0
cmp dword [ebp - 0x2e4], 8
lea ecx, [ebp - 0x2f8]
cmovae ecx, dword [ebp - 0x2f8]
mov esi, dword [eax]
push ecx
push str.Inside_utilCreateARPEntry._Existing_application_version:__s
push 0x101a53f8
mov esi, dword [esi + 0x54]
mov ecx, esi
push eax
call dword [0x1018a4d4]
call esi
add esp, 0x10
cmp dword [ebp - 0x2e8], 0
je 0x100375bc
sub esp, 0x18
lea eax, [ebp - 0x2f8]
mov ecx, esp
push eax
call fcn.10004390
mov ecx, edi
call fcn.100fb360
add esp, 0x18
cmp eax, 0xffffffff
jne 0x100375bc
call fcn.10002de0
cmp dword [ebp - 0x2e4], 8
lea ecx, [ebp - 0x2f8]
mov edx, edi
cmovae ecx, dword [ebp - 0x2f8]
cmp dword [edi + 0x14], 8
jb 0x1003755d
mov edx, dword [edi]
mov esi, dword [eax]
push ecx
push edx
push str.Inside_utilCreateARPEntry._Ignoring_application_version:__s._Setting_appVersion_as__s
mov esi, dword [esi + 0x54]
mov ecx, esi
push 0x101a53f8
push eax
call dword [0x1018a4d4]
call esi
lea eax, [ebp - 0x2f8]
add esp, 0x14
cmp edi, eax
je 0x100375bc
cmp dword [ebp - 0x2e4], 8
mov ecx, edi
push dword [ebp - 0x2e8]
cmovae eax, dword [ebp - 0x2f8]
push eax
call fcn.10001c20
jmp 0x100375bc
push str.Inside_utilCreateARPEntry._Application_version_not_found
push 0x101a53f8
call fcn.10002de0
push eax
call fcn.10003d90
add esp, 0xc
xor eax, eax
mov dword [ebp - 0x318], 0
mov dword [ebp - 0x314], 7
mov word [ebp - 0x328], ax
mov dword [ebp - 0x300], eax
mov dword [ebp - 0x2fc], 7
mov word [ebp - 0x310], ax
push eax
push 0x26
lea eax, [ebp - 0x2e0]
mov byte [ebp - 4], 2
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x10037647
lea ecx, [ebp - 0x2e0]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10037613
sub ecx, edx
lea eax, [ebp - 0x2e0]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x328]
call fcn.10001c20
push 0x1b
push str.AdobeAdobe_Creative_Cloud
lea ecx, [ebp - 0x328]
call fcn.10001d30
push 1
push 0x101af36c
lea ecx, [ebp - 0x310]
call fcn.10001c20
cmp dword [ebp - 0x314], 8
lea eax, [ebp - 0x328]
push dword [ebp - 0x318]
cmovae eax, dword [ebp - 0x328]
lea ecx, [ebp - 0x310]
push eax
call fcn.10001d30
push 6
push str.Utils
lea ecx, [ebp - 0x310]
call fcn.10001d30
push 0x1f
push str.Creative_Cloud_Uninstaller.exe
lea ecx, [ebp - 0x310]
call fcn.10001d30
push 1
push 0x101af36c
lea ecx, [ebp - 0x310]
call fcn.10001d30
cmp dword [ebp - 0x2fc], 8
lea ebx, [ebp - 0x310]
mov eax, dword [ebp + 0xc]
cmovae ebx, dword [ebp - 0x310]
mov ecx, dword [ebp + 8]
shrd ecx, eax, 0xa
cmp dword [edi + 0x14], 8
mov dword [ebp - 0x334], ecx
jb 0x100376e1
mov edi, dword [edi]
call fcn.10002de0
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstallAdobe_Creative_Cloud
push str.Setting_values_for_registry_Key__s
push 0x101a53f8
mov esi, dword [eax]
push eax
mov esi, dword [esi + 0x54]
mov ecx, esi
call dword [0x1018a4d4]
call esi
mov ecx, dword [ebp - 0x330]
add esp, 0x10
test ecx, ecx
je 0x10037763
push 0x2a
push str.Adobe_Creative_Cloud
push 1
push 0
push str.DisplayName
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x100377e5
call fcn.10002de0
push str.DisplayName
push str.Adobe_Creative_Cloud
push str.Registry_set_failed_for_value___s__with_the_name___s_.
mov esi, dword [eax]
push 0x101a53f8
push eax
mov esi, dword [esi + 0x54]
mov ecx, esi
call dword [0x1018a4d4]
call esi
mov ecx, dword [ebp - 0x330]
add esp, 0x14
mov bl, byte [ebp - 0x329]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x310]
call fcn.10001bc0
lea ecx, [ebp - 0x328]
call fcn.10001bc0
lea ecx, [ebp - 0x2f8]
mov dword [ebp - 4], 0xffffffff
call fcn.10001bc0
call fcn.10002de0
mov esi, eax
mov edi, dword [esi]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
movzx ecx, bl
push ecx
push str.Inside_utilCreateARPEntry._Status:__d_Error:__d
push 0x101a53f8
push esi
mov esi, dword [edi + 0x54]
mov ecx, esi
call dword [0x1018a4d4]
call esi
add esp, 0x14
mov al, bl
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.1014d1d5
mov esp, ebp
pop ebp
ret
call fcn.10002de0
push str.DisplayName
push str.Adobe_Creative_Cloud
push str.Registry_set_successfull_for_value___s__with_the_name___s_.
mov esi, dword [eax]
push 0x101a53f8
push eax
mov esi, dword [esi + 0x54]
mov ecx, esi
call dword [0x1018a4d4]
call esi
mov ecx, dword [ebp - 0x330]
add esp, 0x14
test ecx, ecx
je 0x10037763
test ebx, ebx
je 0x10037763
mov edx, ebx
lea esi, [edx + 2]
nop dword [eax]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x10037830
sub edx, esi
sar edx, 1
lea eax, [edx*2 + 2]
push eax
push ebx
push 1
push 0
push str.UninstallString
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x1003786c
call fcn.10002de0
push str.UninstallString
push ebx
jmp 0x10037740
call fcn.10002de0
push str.UninstallString
push ebx
push str.Registry_set_successfull_for_value___s__with_the_name___s_.
mov esi, dword [eax]
push 0x101a53f8
push eax
mov esi, dword [esi + 0x54]
mov ecx, esi
call dword [0x1018a4d4]
call esi
mov ecx, dword [ebp - 0x330]
add esp, 0x14
test ecx, ecx
je 0x10037763
push 0x36
push 0x101bad78
push 1
push 0
push str.Publisher
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x100378d1
call fcn.10002de0
push str.Publisher
push 0x101bad78
jmp 0x10037740
call fcn.10002de0
push str.Publisher
push 0x101bad78
push str.Registry_set_successfull_for_value___s__with_the_name___s_.
mov esi, dword [eax]
push 0x101a53f8
push eax
mov esi, dword [esi + 0x54]
mov ecx, esi
call dword [0x1018a4d4]
call esi
mov ecx, dword [ebp - 0x330]
add esp, 0x14
test ecx, ecx
je 0x10037763
mov edx, ebx
lea esi, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x10037910
sub edx, esi
sar edx, 1
lea eax, [edx*2 + 2]
push eax
push ebx
push 1
push 0
push str.DisplayIcon
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x1003794c
call fcn.10002de0
push str.DisplayIcon
push ebx
jmp 0x10037740
call fcn.10002de0
push str.DisplayIcon
push ebx
push str.Registry_set_successfull_for_value___s__with_the_name___s_.
mov esi, dword [eax]
push 0x101a53f8
push eax
mov esi, dword [esi + 0x54]
mov ecx, esi
call dword [0x1018a4d4]
call esi
mov ecx, dword [ebp - 0x330]
add esp, 0x14
test ecx, ecx
je 0x10037763
test edi, edi
je 0x10037763
mov edx, edi
lea esi, [edx + 2]
nop
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x10037990
sub edx, esi
sar edx, 1
lea eax, [edx*2 + 2]
push eax
push edi
push 1
push 0
push str.DisplayVersion
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x100379cc
call fcn.10002de0
push str.DisplayVersion
push edi
jmp 0x10037740
call fcn.10002de0
push str.DisplayVersion
push edi
push str.Registry_set_successfull_for_value___s__with_the_name___s_.
mov esi, dword [eax]
push 0x101a53f8
push eax
mov esi, dword [esi + 0x54]
mov ecx, esi
call dword [0x1018a4d4]
call esi
mov ecx, dword [ebp - 0x330]
add esp, 0x14
mov eax, dword [ebp - 0x334]
mov dword [ebp - 0x334], eax
test ecx, ecx
je 0x10037763
test eax, eax
je 0x10037763
push 4
lea eax, [ebp - 0x334]
push eax
push 4
push 0
push str.EstimatedSize
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x10037a4d
call fcn.10002de0
push str.EstimatedSize
push dword [ebp - 0x334]
push str.Registry_set__DWORD__failed_for_value___d__with_the_name___s_.
jmp 0x10037745
call fcn.10002de0
push str.EstimatedSize
push dword [ebp - 0x334]
mov esi, dword [eax]
push str.Registry_set__DWORD__successfull_for_value___d__with_the_name___s_.
push 0x101a53f8
push eax
mov esi, dword [esi + 0x54]
mov ecx, esi
call dword [0x1018a4d4]
call esi
mov ecx, dword [ebp - 0x330]
add esp, 0x14
mov bl, 1
jmp 0x10037769