Function at 0x443fd5
Capabilities:
Get common file path

Disassembly:
push 0x424
mov eax, 0x5beebb
call fcn.0058f9ee
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x430], eax
mov dword [ebp - 0x42c], ebx
test byte [0x667540], 1
mov dword [ebp - 4], ebx
mov esi, 0x66753c
jne 0x444025
or dword [0x667540], 1
call fcn.00496dcd
push eax
mov ecx, esi
call fcn.0040141e
push 0x5d222a
call fcn.00592134
pop ecx
cmp byte [0x667538], bl
jne 0x444064
lea eax, [ebp - 0x42c]
push str._y__m__d__H__M
push eax
call fcn.00443dc3
pop ecx
pop ecx
push eax
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.0040227d
mov ecx, dword [ebp - 0x42c]
add ecx, 0xfffffff0
mov byte [ebp - 4], bl
call fcn.00401019
mov byte [0x667538], 1
push dword [0x66753c]
lea eax, [ebp - 0x42c]
push str.DATE_TIME
push dword [ebp + 0xc]
push eax
call fcn.00416c75
add esp, 0x10
push eax
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 2
call fcn.0040227d
mov ecx, dword [ebp - 0x42c]
add ecx, 0xfffffff0
mov byte [ebp - 4], bl
call fcn.00401019
xor eax, eax
mov edi, 0x206
push edi
mov word [ebp - 0x220], ax
lea eax, [ebp - 0x21e]
push ebx
push eax
call fcn.0058fa90
add esp, 0xc
lea eax, [ebp - 0x220]
push eax
mov esi, 0x104
push esi
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
jne 0x4440fe
push 0x5c
push dword [0x659928]
call fcn.00590039
mov ecx, dword [str.C:ROXIO_SETUP.LOG]
sub eax, ecx
sar eax, 1
push eax
push ecx
lea eax, [ebp - 0x220]
push esi
push eax
call fcn.005921ff
add esp, 0x18
lea eax, [ebp - 0x220]
push eax
call fcn.0058f15d
cmp word [ebp + eax*2 - 0x222], 0x5c
pop ecx
jne 0x44412d
lea eax, [ebp - 0x220]
push eax
call fcn.0058f15d
pop ecx
xor ecx, ecx
mov word [ebp + eax*2 - 0x222], cx
lea eax, [ebp - 0x220]
push eax
push str.TEMP_FOLDER
push dword [ebp + 0xc]
lea eax, [ebp - 0x42c]
push eax
call fcn.00416c75
add esp, 0x10
push eax
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 3
call fcn.0040227d
mov ecx, dword [ebp - 0x42c]
add ecx, 0xfffffff0
mov byte [ebp - 4], bl
call fcn.00401019
xor eax, eax
push edi
mov word [ebp - 0x428], ax
lea eax, [ebp - 0x426]
push ebx
push eax
call fcn.0058fa90
add esp, 0xc
lea eax, [ebp - 0x428]
push eax
push ebx
push ebx
push 0x23
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jge 0x4441c2
push 0x5c
push dword [0x659928]
call fcn.00590039
mov ecx, dword [str.C:ROXIO_SETUP.LOG]
sub eax, ecx
sar eax, 1
push eax
push ecx
lea eax, [ebp - 0x428]
push esi
push eax
call fcn.005921ff
add esp, 0x18
lea eax, [ebp - 0x220]
push eax
call fcn.0058f15d
cmp word [ebp + eax*2 - 0x42a], 0x5c
pop ecx
jne 0x4441f1
lea eax, [ebp - 0x220]
push eax
call fcn.0058f15d
pop ecx
xor ecx, ecx
mov word [ebp + eax*2 - 0x42a], cx
lea eax, [ebp - 0x428]
push eax
push str.APPDATA_FOLDER
push dword [ebp + 0xc]
lea eax, [ebp - 0x42c]
push eax
call fcn.00416c75
add esp, 0x10
push eax
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 4
call fcn.0040227d
mov ecx, dword [ebp - 0x42c]
add ecx, 0xfffffff0
mov byte [ebp - 4], bl
call fcn.00401019
push ebx
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp + 0xc]
call fcn.00401d2f
cmp eax, ebx
je 0x44426f
push eax
lea eax, [ebp - 0x42c]
push eax
lea ecx, [ebp + 0xc]
call fcn.00402192
push eax
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 5
call fcn.0040227d
mov ecx, dword [ebp - 0x42c]
add ecx, 0xfffffff0
mov byte [ebp - 4], bl
call fcn.00401019
push ebx
lea eax, [ebp - 0x428]
push eax
lea ecx, [ebp + 0xc]
call fcn.00401d2f
cmp eax, ebx
je 0x4442b1
push eax
lea eax, [ebp - 0x42c]
push eax
lea ecx, [ebp + 0xc]
call fcn.00402192
push eax
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 6
call fcn.0040227d
mov ecx, dword [ebp - 0x42c]
add ecx, 0xfffffff0
mov byte [ebp - 4], bl
call fcn.00401019
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 3
lea eax, [ebp - 0x18]
push eax
push dword [ebp + 0xc]
call fcn.00590065
lea eax, [ebp - 0x18]
push eax
call fcn.0058f15d
add esp, 0x28
cmp eax, 1
jae 0x44430c
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0x42c]
push 0x5ec558
push eax
call fcn.00402219
add esp, 0xc
push eax
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 7
call fcn.0040227d
mov ecx, dword [ebp - 0x42c]
add ecx, 0xfffffff0
mov byte [ebp - 4], bl
call fcn.00401019
push 0x2e
lea ecx, [ebp + 0xc]
call fcn.00403913
mov ecx, dword [ebp + 0xc]
mov ecx, dword [ecx - 0xc]
sub ecx, 4
cmp eax, ecx
je 0x44434f
push 0x5c
lea ecx, [ebp + 0xc]
call fcn.00403913
mov ecx, dword [ebp + 0xc]
mov ecx, dword [ecx - 0xc]
dec ecx
cmp eax, ecx
je 0x444342
push 0x5c
lea ecx, [ebp + 0xc]
call fcn.00415dad
push str.ROX_ProductID.log
lea ecx, [ebp + 0xc]
call fcn.004022ca
mov ecx, dword [ebp - 0x430]
lea eax, [ebp + 0xc]
push eax
call fcn.00401db5
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.00401019
mov eax, dword [ebp - 0x430]
call fcn.0058fa71
ret