Function at 0x41f2c0
Capabilities:
Get common file path
Get program files directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x599756
mov eax, dword fs:[0]
push eax
sub esp, 0x390
mov eax, dword [0x5da084]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov ecx, dword [0x5dfbe0]
test ecx, ecx
je 0x41f373
mov eax, dword [ecx]
push 3
mov eax, dword [eax + 0x10]
call eax
test al, al
je 0x41f373
push ecx
lea ecx, [ebp - 0x2ec]
call fcn.00430ce0
mov dword [ebp - 0x254], str.customhook
mov dword [ebp - 0x250], 3
mov dword [ebp - 0x24c], str.C:jenkins_slaveDailyhotfix7.1.2_metaDesktopWinmain_rebar_buildinstallerCoreSyncCustomHookwinCoreSyncCustomHook.cpp
mov dword [ebp - 0x248], 0x147
mov dword [ebp - 0x244], str.getDefaultPath
mov byte [ebp - 0x240], 1
mov edx, str.Install_path_doesnt_exist__defaulting_
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x2ec]
call fcn.00416960
lea ecx, [ebp - 0x2ec]
mov dword [ebp - 4], 0xffffffff
call fcn.00430bd0
push 0
push 0x26
lea eax, [ebp - 0x21c]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
jne 0x41f415
mov ecx, dword [0x5dfbe0]
test ecx, ecx
je 0x41f40e
mov eax, dword [ecx]
push 1
mov eax, dword [eax + 0x10]
call eax
test al, al
je 0x41f40e
lea eax, [ebp - 0x39c]
push ecx
mov ecx, eax
call fcn.00430ce0
mov dword [ebp - 0x304], str.customhook
mov dword [ebp - 0x300], 1
mov dword [ebp - 0x2fc], str.C:jenkins_slaveDailyhotfix7.1.2_metaDesktopWinmain_rebar_buildinstallerCoreSyncCustomHookwinCoreSyncCustomHook.cpp
mov dword [ebp - 0x2f8], 0x14c
mov dword [ebp - 0x2f4], str.getDefaultPath
mov byte [ebp - 0x2f0], 1
mov edx, str.Unable_to_get_Program_Files_location.
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x39c]
call fcn.00416960
lea ecx, [ebp - 0x39c]
call fcn.00430bd0
xor al, al
jmp 0x41f517
xorps xmm0, xmm0
mov dword [ebp - 0x224], 0
lea ecx, [ebp - 0x21c]
mov dword [ebp - 0x220], 0
movups xmmword [ebp - 0x234], xmm0
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41f440
sub ecx, edx
lea eax, [ebp - 0x21c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x234]
call fcn.0040b8b0
sub esp, 0x18
mov dword [ebp - 4], 2
mov ecx, esp
xorps xmm0, xmm0
push 0x11
movups xmmword [ecx], xmm0
push str.AdobeAdobe_Sync
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 0x41f4a8
mov byte [ebp - 0x235], al
jmp 0x41f4d5
lea eax, [ebp - 0x234]
cmp esi, eax
je 0x41f4ce
cmp dword [ebp - 0x220], 8
mov ecx, esi
push dword [ebp - 0x224]
cmovae eax, dword [ebp - 0x234]
push eax
call fcn.0040b270
mov byte [ebp - 0x235], 1
mov ecx, dword [ebp - 0x220]
cmp ecx, 8
jb 0x41f511
mov edx, dword [ebp - 0x234]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x41f507
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41f531
push ecx
push edx
call fcn.0056ebaf
add esp, 8
mov al, byte [ebp - 0x235]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0056eb71
mov esp, ebp
pop ebp
ret
call fcn.00578112
int3