Function at 0x45f280
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5987fa
mov eax, dword fs:[0]
push eax
sub esp, 0x6ac
mov eax, dword [0x62819c]
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 eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x14]
mov ebx, dword [ebp + 0x1c]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x6b4], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x6ac], ecx
mov dword [ebp - 0x6b8], eax
mov dword [ebp - 0x6b0], ebx
lea ecx, [ebp - 0x69c]
mov dword [ebp - 4], 0
xor esi, esi
call fcn.00437160
push dword [ebp + 8]
lea ecx, [ebp - 0x69c]
mov byte [ebp - 4], 1
call fcn.00437840
test eax, eax
je 0x45f872
push 0x208
lea eax, [ebp - 0x218]
push esi
push eax
call fcn.0054b380
add esp, 0xc
lea eax, [ebp - 0x218]
push esi
push 0x23
push eax
push esi
mov esi, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
call esi
push 0x208
lea eax, [ebp - 0x628]
push 0
push eax
call fcn.0054b380
add esp, 0xc
lea eax, [ebp - 0x628]
push 0
push 0x1c
push eax
push 0
call esi
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.0054b380
push 0x104
lea eax, [ebp - 0x420]
push eax
push 0x1a
call fcn.00477420
add esp, 0x18
lea ecx, [ebp - 0x69c]
push 0
push str.packet_fileitem
call fcn.004377b0
test eax, eax
je 0x45f45a
push 8
call fcn.00546014
mov esi, eax
add esp, 4
mov dword [ebp - 0x6a8], esi
test esi, esi
je 0x45f3de
call fcn.00428a90
mov ecx, eax
test ecx, ecx
je 0x45f8e4
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
call fcn.00428a90
mov ecx, eax
test ecx, ecx
je 0x45f8e4
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi + 4], eax
jmp 0x45f3e0
xor esi, esi
push esi
push str.path
lea ecx, [ebp - 0x69c]
call fcn.00437900
cmp dword [edi + 4], 0x15555555
mov ebx, dword [edi]
je 0x45f8da
mov dword [ebp - 0x6a4], edi
push 0xc
mov byte [ebp - 4], 2
mov dword [ebp - 0x6a0], 0
call fcn.00546014
add esp, 4
mov byte [ebp - 4], 1
mov dword [ebp - 0x6a0], 0
mov dword [eax + 8], esi
inc dword [edi + 4]
mov ecx, dword [ebx + 4]
mov dword [eax], ebx
mov dword [eax + 4], ecx
mov dword [ebx + 4], eax
mov dword [ecx], eax
lea ecx, [ebp - 0x69c]
push 0
call fcn.00437770
test eax, eax
jne 0x45f393
mov ebx, dword [ebp - 0x6b0]
push 0
push str.packetuserfileitem
lea ecx, [ebp - 0x69c]
call fcn.004377b0
test eax, eax
je 0x45f57a
push 8
call fcn.00546014
mov esi, eax
add esp, 4
mov dword [ebp - 0x6a8], esi
test esi, esi
je 0x45f4bf
call fcn.00428a90
mov ecx, eax
test ecx, ecx
je 0x45f8e4
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
call fcn.00428a90
mov ecx, eax
test ecx, ecx
je 0x45f8e4
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi + 4], eax
jmp 0x45f4c1
xor esi, esi
push esi
push str.path
lea ecx, [ebp - 0x69c]
call fcn.00437900
lea eax, [ebp - 0x218]
mov ecx, esi
push eax
push str._allusersprofile_
call fcn.0045f8f0
lea eax, [ebp - 0x420]
mov ecx, esi
push eax
push str._appdata_
call fcn.0045f8f0
lea eax, [ebp - 0x628]
mov ecx, esi
push eax
push str._localappdata_
call fcn.0045f8f0
mov eax, dword [ebp - 0x6ac]
cmp dword [eax + 4], 0x15555555
mov edi, dword [eax]
je 0x45f8da
mov dword [ebp - 0x6a4], eax
push 0xc
mov byte [ebp - 4], 3
mov dword [ebp - 0x6a0], 0
call fcn.00546014
mov ecx, dword [ebp - 0x6ac]
add esp, 4
mov byte [ebp - 4], 1
mov dword [ebp - 0x6a0], 0
mov dword [eax + 8], esi
inc dword [ecx + 4]
mov ecx, dword [edi + 4]
mov dword [eax], edi
mov dword [eax + 4], ecx
mov dword [edi + 4], eax
mov dword [ecx], eax
lea ecx, [ebp - 0x69c]
push 0
call fcn.00437770
test eax, eax
jne 0x45f474
push 0
push str.packetuserfileWhenWithoutKeepitem
lea ecx, [ebp - 0x69c]
call fcn.004377b0
test eax, eax
je 0x45f668
push 8
call fcn.00546014
mov esi, eax
add esp, 4
mov dword [ebp - 0x6a8], esi
test esi, esi
je 0x45f5df
call fcn.00428a90
mov ecx, eax
test ecx, ecx
je 0x45f8e4
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
call fcn.00428a90
mov ecx, eax
test ecx, ecx
je 0x45f8e4
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi + 4], eax
jmp 0x45f5e1
xor esi, esi
push esi
push str.path
lea ecx, [ebp - 0x69c]
call fcn.00437900
lea eax, [ebp - 0x218]
mov ecx, esi
push eax
push str._allusersprofile_
call fcn.0045f8f0
cmp dword [ebx + 4], 0x15555555
mov edi, dword [ebx]
je 0x45f8da
mov dword [ebp - 0x6a4], ebx
push 0xc
mov byte [ebp - 4], 4
mov dword [ebp - 0x6a0], 0
call fcn.00546014
add esp, 4
mov byte [ebp - 4], 1
mov dword [ebp - 0x6a0], 0
mov dword [eax + 8], esi
inc dword [ebx + 4]
mov ecx, dword [edi + 4]
mov dword [eax], edi
mov dword [eax + 4], ecx
mov dword [edi + 4], eax
mov dword [ecx], eax
lea ecx, [ebp - 0x69c]
push 0
call fcn.00437770
test eax, eax
jne 0x45f594
push 0
push str.packetdiritem
lea ecx, [ebp - 0x69c]
call fcn.004377b0
test eax, eax
je 0x45f74c
mov ebx, dword [ebp - 0x6b4]
push 8
call fcn.00546014
mov esi, eax
add esp, 4
mov dword [ebp - 0x6a8], esi
test esi, esi
je 0x45f6d3
call fcn.00428a90
mov ecx, eax
test ecx, ecx
je 0x45f8e4
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
call fcn.00428a90
mov ecx, eax
test ecx, ecx
je 0x45f8e4
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi + 4], eax
jmp 0x45f6d5
xor esi, esi
lea eax, [esi + 4]
push eax
push str.path
lea ecx, [ebp - 0x69c]
call fcn.00437900
cmp dword [ebx + 4], 0x15555555
mov edi, dword [ebx]
je 0x45f8da
mov dword [ebp - 0x6a4], ebx
push 0xc
mov byte [ebp - 4], 5
mov dword [ebp - 0x6a0], 0
call fcn.00546014
add esp, 4
mov byte [ebp - 4], 1
mov dword [ebp - 0x6a0], 0
mov dword [eax + 8], esi
inc dword [ebx + 4]
mov ecx, dword [edi + 4]
mov dword [eax], edi
mov dword [eax + 4], ecx
mov dword [edi + 4], eax
mov dword [ecx], eax
lea ecx, [ebp - 0x69c]
push 0
call fcn.00437770
test eax, eax
jne 0x45f688
push 0
push str.packetuserDataDiritem
lea ecx, [ebp - 0x69c]
call fcn.004377b0
test eax, eax
je 0x45f86d
mov ebx, dword [ebp - 0x6b8]
lea esp, [esp]
push 8
call fcn.00546014
mov edi, eax
add esp, 4
mov dword [ebp - 0x6a8], edi
test edi, edi
je 0x45f7bb
call fcn.00428a90
mov ecx, eax
test ecx, ecx
je 0x45f8e4
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [edi], eax
call fcn.00428a90
mov ecx, eax
test ecx, ecx
je 0x45f8e4
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [edi + 4], eax
jmp 0x45f7bd
xor edi, edi
lea esi, [edi + 4]
push esi
push str.path
lea ecx, [ebp - 0x69c]
call fcn.00437900
lea eax, [ebp - 0x218]
mov ecx, esi
push eax
push str._allusersprofile_
call fcn.0045f8f0
lea eax, [ebp - 0x420]
mov ecx, esi
push eax
push str._appdata_
call fcn.0045f8f0
lea eax, [ebp - 0x628]
mov ecx, esi
push eax
push str._localappdata_
call fcn.0045f8f0
cmp dword [ebx + 4], 0x15555555
mov esi, dword [ebx]
je 0x45f8da
mov dword [ebp - 0x6a4], ebx
push 0xc
mov byte [ebp - 4], 6
mov dword [ebp - 0x6a0], 0
call fcn.00546014
add esp, 4
mov byte [ebp - 4], 1
mov dword [ebp - 0x6a0], 0
mov dword [eax + 8], edi
inc dword [ebx + 4]
mov ecx, dword [esi + 4]
mov dword [eax], esi
mov dword [eax + 4], ecx
mov dword [esi + 4], eax
mov dword [ecx], eax
lea ecx, [ebp - 0x69c]
push 0
call fcn.00437770
test eax, eax
jne 0x45f770
mov esi, 1
push esi
push str.99_tProductFiles::ParseProductFiles_tKUninstall::ParseProductFiles_return:_d
push str.H:_rc_v11_i18n_20230711_branchCoding_support_newsetup_srccommonapponlyonekproductfiles.cpp
push str._INFO_
push 0x631888
call fcn.004677c0
add esp, 0x14
lea ecx, [ebp - 0x69c]
call fcn.00437270
mov edi, dword [ebp + 8]
or eax, 0xffffffff
mov dword [ebp - 4], 0xffffffff
add edi, 0xfffffff0
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x45f8bc
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, esi
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.00545ec7
mov esp, ebp
pop ebp
ret
push str.list_too_long
call fcn.005479d1
push 0x80004005
call fcn.004293d0
int3