Function at 0x41e820
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x599662
mov eax, dword fs:[0]
push eax
sub esp, 0x268
mov eax, dword [0x5da084]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xorps xmm0, xmm0
mov dword [ebp - 0x224], 0
xor eax, eax
mov dword [ebp - 0x220], 7
movups xmmword [ebp - 0x234], xmm0
mov word [ebp - 0x234], ax
push 0x20a
push eax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x21c]
push eax
call fcn.00570cd0
add esp, 0xc
mov dword [ebp - 0x254], 0
lea ecx, [ebp - 0x254]
call fcn.00431e20
test al, al
je 0x41ebf5
lea eax, [ebp - 0x21c]
push eax
push 0
push dword [ebp - 0x254]
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x41ebe9
lea ecx, [ebp - 0x21c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41e8d3
sub ecx, edx
lea eax, [ebp - 0x21c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x234]
call fcn.0040b270
push dword [ebp - 0x254]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
sub esp, 0x18
xorps xmm0, xmm0
mov ecx, esp
push 0xf
movups xmmword [ecx], xmm0
push str.AdobeCoreSync
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.0040b8b0
lea ecx, [ebp - 0x234]
call fcn.00431750
add esp, 0x18
test al, al
jne 0x41e993
mov ecx, dword [0x5dfbe0]
test ecx, ecx
je 0x41ec5e
mov eax, dword [ecx]
push 1
mov eax, dword [eax + 0x10]
call eax
test al, al
je 0x41ec5e
push ecx
lea ecx, [ebp - 0xc4]
call fcn.00430ce0
mov dword [ebp - 0x2c], str.customhook
mov dword [ebp - 0x28], 1
mov dword [ebp - 0x24], str.C:jenkins_slaveDailymain_metaDesktopWinmain_rebar_buildinstallerCoreSyncCustomHookwinCoreSyncCustomHook.cpp
mov dword [ebp - 0x20], 0xdf
mov dword [ebp - 0x1c], str.deletePrefs
mov byte [ebp - 0x18], 1
mov byte [ebp - 4], 2
jmp 0x41ec43
push 1
push 0x5bd748
lea ecx, [ebp - 0x234]
call fcn.0040b580
mov ecx, dword [0x5dfbe0]
xorps xmm0, xmm0
mov dword [ebp - 0x268], 0
movlpd qword [ebp - 0x262], xmm0
mov dword [ebp - 0x25a], 0
mov dword [ebp - 0x274], 0
mov dword [ebp - 0x270], 3
test ecx, ecx
je 0x41eaaf
mov eax, dword [ecx]
push 3
mov eax, dword [eax + 0x10]
call eax
test al, al
je 0x41eaaf
lea edx, [ebp - 0x234]
lea ecx, [ebp - 0x24c]
call fcn.00430e10
mov esi, eax
push ecx
lea ecx, [ebp - 0xc4]
mov byte [ebp - 4], 3
call fcn.00430ce0
mov dword [ebp - 0x2c], str.customhook
mov dword [ebp - 0x28], 3
mov dword [ebp - 0x24], str.C:jenkins_slaveDailymain_metaDesktopWinmain_rebar_buildinstallerCoreSyncCustomHookwinCoreSyncCustomHook.cpp
mov dword [ebp - 0x20], 0xea
mov dword [ebp - 0x1c], str.deletePrefs
mov byte [ebp - 0x18], 1
mov byte [ebp - 4], 4
cmp dword [esi + 0x14], 0x10
jb 0x41ea4d
mov esi, dword [esi]
mov edx, str.Deleting
lea ecx, [ebp - 0xc4]
call fcn.00416960
mov edx, esi
mov ecx, eax
call fcn.00416960
lea ecx, [ebp - 0xc4]
call fcn.00430bd0
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x238]
cmp ecx, 0x10
jb 0x41eaaf
mov edx, dword [ebp - 0x24c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x41eaa5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41ecc2
push ecx
push edx
call fcn.0056ebaf
add esp, 8
cmp dword [ebp - 0x220], 8
lea eax, [ebp - 0x234]
cmovae eax, dword [ebp - 0x234]
mov dword [ebp - 0x26c], eax
mov eax, 0x614
mov word [ebp - 0x264], ax
lea eax, [ebp - 0x274]
push eax
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
mov edi, eax
test edi, edi
jne 0x41eafc
cmp dword [ebp - 0x262], eax
jne 0x41eafc
mov byte [ebp - 0x24d], 1
jmp 0x41ec65
mov ecx, dword [0x5dfbe0]
test ecx, ecx
je 0x41ec5e
mov eax, dword [ecx]
push 1
mov eax, dword [eax + 0x10]
call eax
test al, al
je 0x41ec5e
lea edx, [ebp - 0x234]
lea ecx, [ebp - 0x24c]
call fcn.00430e10
mov esi, eax
push ecx
lea ecx, [ebp - 0xc4]
mov byte [ebp - 4], 5
call fcn.00430ce0
mov dword [ebp - 0x2c], str.customhook
mov dword [ebp - 0x28], 1
mov dword [ebp - 0x24], str.C:jenkins_slaveDailymain_metaDesktopWinmain_rebar_buildinstallerCoreSyncCustomHookwinCoreSyncCustomHook.cpp
mov dword [ebp - 0x20], 0xf2
mov dword [ebp - 0x1c], str.deletePrefs
mov byte [ebp - 0x18], 1
mov byte [ebp - 4], 6
cmp dword [esi + 0x14], 0x10
jb 0x41eb71
mov esi, dword [esi]
push edi
mov edx, str.Failed_to_delete_folder:
lea ecx, [ebp - 0xc4]
call fcn.00416960
mov edx, esi
mov ecx, eax
call fcn.00416960
mov edx, str._Error
mov ecx, eax
call fcn.00416960
mov ecx, eax
call fcn.004240c0
lea ecx, [ebp - 0xc4]
call fcn.00430bd0
mov ecx, dword [ebp - 0x238]
cmp ecx, 0x10
jb 0x41ec5e
mov edx, dword [ebp - 0x24c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x41ebdd
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41ecc7
push ecx
push edx
call fcn.0056ebaf
add esp, 8
jmp 0x41ec5e
push dword [ebp - 0x254]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [0x5dfbe0]
test ecx, ecx
je 0x41ec5e
mov eax, dword [ecx]
push 1
mov eax, dword [eax + 0x10]
call eax
test al, al
je 0x41ec5e
push ecx
lea ecx, [ebp - 0xc4]
call fcn.00430ce0
mov dword [ebp - 0x2c], str.customhook
mov dword [ebp - 0x28], 1
mov dword [ebp - 0x24], str.C:jenkins_slaveDailymain_metaDesktopWinmain_rebar_buildinstallerCoreSyncCustomHookwinCoreSyncCustomHook.cpp
mov dword [ebp - 0x20], 0xd9
mov dword [ebp - 0x1c], str.deletePrefs
mov byte [ebp - 0x18], 1
mov byte [ebp - 4], 1
mov edx, str.Unable_to_determine_AppData_path.
lea ecx, [ebp - 0xc4]
call fcn.00416960
lea ecx, [ebp - 0xc4]
call fcn.00430bd0
mov byte [ebp - 0x24d], 0
mov ecx, dword [ebp - 0x220]
cmp ecx, 8
jb 0x41eca1
mov edx, dword [ebp - 0x234]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x41ec97
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41eccc
push ecx
push edx
call fcn.0056ebaf
add esp, 8
mov al, byte [ebp - 0x24d]
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.0056eb71
mov esp, ebp
pop ebp
ret
call fcn.00578112
call fcn.00578112
call fcn.00578112
int3