Function at 0x45bad0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57b980
mov eax, dword fs:[0]
push eax
sub esp, 0x6a8
mov eax, dword [0x5fb61c]
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 + 0x18]
mov edx, dword [ebp + 0x1c]
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x14]
mov dword [ebp - 0x6b0], eax
mov dword [ebp - 0x6b4], ecx
mov dword [ebp - 0x6ac], edx
xor esi, esi
lea ecx, [ebp - 0x6a4]
mov dword [ebp - 4], esi
call fcn.00436d20
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x6a4]
mov byte [ebp - 4], 1
call fcn.00436850
test eax, eax
je 0x45c07f
xor ecx, ecx
push 0x206
push ecx
lea edx, [ebp - 0x216]
push edx
mov word [ebp - 0x218], cx
call fcn.005336c0
add esp, 0xc
push esi
push 0x23
lea eax, [ebp - 0x218]
push eax
push esi
mov esi, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
call esi
xor ecx, ecx
push 0x206
push ecx
lea edx, [ebp - 0x41e]
push edx
mov word [ebp - 0x420], cx
call fcn.005336c0
add esp, 0xc
push 0
push 0x1c
lea eax, [ebp - 0x420]
push eax
push 0
call esi
xor ecx, ecx
push 0x206
push ecx
lea edx, [ebp - 0x626]
push edx
mov word [ebp - 0x628], cx
call fcn.005336c0
push 0x104
lea eax, [ebp - 0x628]
push eax
push 0x1a
call fcn.0046e6d0
add esp, 0x18
push 0
push str.packet_fileitem
lea ecx, [ebp - 0x6a4]
call fcn.00437350
test eax, eax
je 0x45bca4
push 8
call fcn.0042bfa0
mov esi, eax
add esp, 4
mov dword [ebp - 0x6a8], esi
mov byte [ebp - 4], 2
test esi, esi
je 0x45bc3e
mov edx, dword [0x5fcb00]
mov eax, dword [edx + 0xc]
mov ecx, 0x5fcb00
call eax
add eax, 0x10
mov dword [esi], eax
mov edx, dword [0x5fcb00]
mov eax, dword [edx + 0xc]
mov ecx, 0x5fcb00
mov byte [ebp - 4], 3
call eax
add eax, 0x10
mov dword [esi + 4], eax
jmp 0x45bc40
xor esi, esi
push esi
push str.path
lea ecx, [ebp - 0x6a4]
mov byte [ebp - 4], 1
mov dword [ebp - 0x6a8], esi
call fcn.00437230
mov esi, dword [edi]
mov edx, dword [esi + 4]
lea ecx, [ebp - 0x6a8]
push ecx
push edx
push esi
mov ecx, edi
call fcn.00479700
mov ecx, dword [edi + 4]
mov edx, 0x3ffffffe
sub edx, ecx
cmp edx, 1
jb 0x45bd09
inc ecx
mov dword [edi + 4], ecx
mov dword [esi + 4], eax
mov ecx, dword [eax + 4]
mov dword [ecx], eax
push 0
lea ecx, [ebp - 0x6a4]
call fcn.004368f0
test eax, eax
jne 0x45bbf3
push 0
push str.packetuserfileitem
lea ecx, [ebp - 0x6a4]
call fcn.00437350
test eax, eax
je 0x45bdb2
mov edi, edi
push 8
call fcn.0042bfa0
mov esi, eax
add esp, 4
mov dword [ebp - 0x6a8], esi
mov byte [ebp - 4], 4
test esi, esi
je 0x45bd13
mov eax, dword [0x5fcb00]
mov edx, dword [eax + 0xc]
mov ecx, 0x5fcb00
call edx
add eax, 0x10
mov dword [esi], eax
mov eax, dword [0x5fcb00]
mov edx, dword [eax + 0xc]
mov ecx, 0x5fcb00
mov byte [ebp - 4], 5
call edx
add eax, 0x10
mov dword [esi + 4], eax
jmp 0x45bd15
push str.list_T__too_long
call fcn.00555f48
xor esi, esi
push esi
push str.path
lea ecx, [ebp - 0x6a4]
mov byte [ebp - 4], 1
mov dword [ebp - 0x6a8], esi
call fcn.00437230
lea eax, [ebp - 0x218]
push eax
push str._allusersprofile_
mov ecx, esi
call fcn.0045b6e0
lea ecx, [ebp - 0x628]
push ecx
push str._appdata_
mov ecx, esi
call fcn.0045b6e0
lea edx, [ebp - 0x420]
push edx
push str._localappdata_
mov ecx, esi
call fcn.0045b6e0
mov esi, dword [ebx]
mov ecx, dword [esi + 4]
lea eax, [ebp - 0x6a8]
push eax
push ecx
push esi
mov ecx, ebx
call fcn.00479700
mov ecx, dword [ebx + 4]
mov edx, 0x3ffffffe
sub edx, ecx
cmp edx, 1
jb 0x45bd09
inc ecx
mov dword [ebx + 4], ecx
mov dword [esi + 4], eax
mov ecx, dword [eax + 4]
mov dword [ecx], eax
push 0
lea ecx, [ebp - 0x6a4]
call fcn.004368f0
test eax, eax
jne 0x45bcc0
push 0
push str.packetuserfileWhenWithoutKeepitem
lea ecx, [ebp - 0x6a4]
call fcn.00437350
test eax, eax
je 0x45be97
mov bl, 7
mov edi, edi
push 8
call fcn.0042bfa0
mov esi, eax
add esp, 4
mov dword [ebp - 0x6a8], esi
mov byte [ebp - 4], 6
test esi, esi
je 0x45be18
mov eax, dword [0x5fcb00]
mov edx, dword [eax + 0xc]
mov ecx, 0x5fcb00
call edx
add eax, 0x10
mov dword [esi], eax
mov eax, dword [0x5fcb00]
mov edx, dword [eax + 0xc]
mov ecx, 0x5fcb00
mov byte [ebp - 4], bl
call edx
add eax, 0x10
mov dword [esi + 4], eax
jmp 0x45be1a
xor esi, esi
push esi
push str.path
lea ecx, [ebp - 0x6a4]
mov byte [ebp - 4], 1
mov dword [ebp - 0x6a8], esi
call fcn.00437230
lea eax, [ebp - 0x218]
push eax
push str._allusersprofile_
mov ecx, esi
call fcn.0045b6e0
mov edi, dword [ebp - 0x6ac]
mov esi, dword [edi]
mov edx, dword [esi + 4]
lea ecx, [ebp - 0x6a8]
push ecx
push edx
push esi
mov ecx, edi
call fcn.00479700
mov ecx, dword [edi + 4]
mov edx, 0x3ffffffe
sub edx, ecx
cmp edx, 1
jb 0x45bd09
inc ecx
mov dword [edi + 4], ecx
mov dword [esi + 4], eax
mov ecx, dword [eax + 4]
mov dword [ecx], eax
push 0
lea ecx, [ebp - 0x6a4]
call fcn.004368f0
test eax, eax
jne 0x45bdd0
push 0
push str.packetdiritem
lea ecx, [ebp - 0x6a4]
call fcn.00437350
test eax, eax
je 0x45bf6c
mov bl, 9
push 8
call fcn.0042bfa0
mov esi, eax
add esp, 4
mov dword [ebp - 0x6ac], esi
mov byte [ebp - 4], 8
test esi, esi
je 0x45befd
mov eax, dword [0x5fcb00]
mov edx, dword [eax + 0xc]
mov ecx, 0x5fcb00
call edx
add eax, 0x10
mov dword [esi], eax
mov eax, dword [0x5fcb00]
mov edx, dword [eax + 0xc]
mov ecx, 0x5fcb00
mov byte [ebp - 4], bl
call edx
add eax, 0x10
mov dword [esi + 4], eax
mov eax, esi
jmp 0x45beff
xor eax, eax
mov dword [ebp - 0x6a8], eax
add eax, 4
push eax
push str.path
lea ecx, [ebp - 0x6a4]
mov byte [ebp - 4], 1
call fcn.00437230
mov edi, dword [ebp - 0x6b0]
mov esi, dword [edi]
mov ecx, dword [esi + 4]
lea eax, [ebp - 0x6a8]
push eax
push ecx
push esi
mov ecx, edi
call fcn.00479700
mov ecx, dword [edi + 4]
mov edx, 0x3ffffffe
sub edx, ecx
cmp edx, 1
jb 0x45bd09
inc ecx
mov dword [edi + 4], ecx
mov dword [esi + 4], eax
mov ecx, dword [eax + 4]
mov dword [ecx], eax
push 0
lea ecx, [ebp - 0x6a4]
call fcn.004368f0
test eax, eax
jne 0x45beb3
push 0
push str.packetuserDataDiritem
lea ecx, [ebp - 0x6a4]
call fcn.00437350
test eax, eax
je 0x45c07a
mov bl, 0xb
push 8
call fcn.0042bfa0
mov esi, eax
add esp, 4
mov dword [ebp - 0x6b0], esi
mov byte [ebp - 4], 0xa
test esi, esi
je 0x45bfd2
mov eax, dword [0x5fcb00]
mov edx, dword [eax + 0xc]
mov ecx, 0x5fcb00
call edx
add eax, 0x10
mov dword [esi], eax
mov eax, dword [0x5fcb00]
mov edx, dword [eax + 0xc]
mov ecx, 0x5fcb00
mov byte [ebp - 4], bl
call edx
add eax, 0x10
mov dword [esi + 4], eax
mov eax, esi
jmp 0x45bfd4
xor eax, eax
lea esi, [eax + 4]
push esi
push str.path
lea ecx, [ebp - 0x6a4]
mov byte [ebp - 4], 1
mov dword [ebp - 0x6a8], eax
call fcn.00437230
lea eax, [ebp - 0x218]
push eax
push str._allusersprofile_
mov ecx, esi
call fcn.0045b6e0
lea ecx, [ebp - 0x628]
push ecx
push str._appdata_
mov ecx, esi
call fcn.0045b6e0
lea edx, [ebp - 0x420]
push edx
push str._localappdata_
mov ecx, esi
call fcn.0045b6e0
mov edi, dword [ebp - 0x6b4]
mov esi, dword [edi]
mov ecx, dword [esi + 4]
lea eax, [ebp - 0x6a8]
push eax
push ecx
push esi
mov ecx, edi
call fcn.00479700
mov ecx, dword [edi + 4]
mov edx, 0x3ffffffe
sub edx, ecx
cmp edx, 1
jb 0x45bd09
inc ecx
mov dword [edi + 4], ecx
mov dword [esi + 4], eax
mov ecx, dword [eax + 4]
mov dword [ecx], eax
push 0
lea ecx, [ebp - 0x6a4]
call fcn.004368f0
test eax, eax
jne 0x45bf88
mov esi, 1
push esi
push str.KUninstall::ParseProductFiles_return:_d
push 0x5ff5f8
call fcn.00477930
add esp, 0xc
cmp dword [ebp - 0x644], 0x10
mov byte [ebp - 4], 0
mov dword [ebp - method.TiXmlDocument.virtual_0], vtable.TiXmlDocument.0
jb 0x45c0b8
mov eax, dword [ebp - 0x658]
push eax
call int.0042bfd0
add esp, 4
lea ecx, [ebp - 0x6a4]
mov dword [ebp - 0x644], 0xf
mov dword [ebp - 0x648], 0
mov byte [ebp - 0x658], 0
call fcn.004306e0
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45c104
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
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.005332ca
mov esp, ebp
pop ebp
ret