Function at 0x46d910
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x100c
call fcn.004e1f60
mov eax, dword [0x55e2f4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push str.REMOVING_APPDATA
push esi
call fcn.00472170
add esp, 8
lea eax, [ebp - 0x100c]
push eax
push 0
push 0
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea ecx, [ebp - 0x100c]
add ecx, 0xfffffffe
nop word [eax + eax]
mov ax, word [ecx + 2]
lea ecx, [ecx + 2]
test ax, ax
jne 0x46d960
mov eax, dword [0x519954]
mov dword [ecx], eax
mov eax, dword [0x519958]
mov dword [ecx + 4], eax
mov eax, dword [0x51995c]
mov dword [ecx + 8], eax
mov eax, dword [0x519960]
mov dword [ecx + 0xc], eax
mov eax, dword [0x519964]
mov dword [ecx + 0x10], eax
lea eax, [ebp - 0x100c]
push str.Favorite_Volumes.xml
push eax
lea eax, [ebp - 0x808]
push str._s_s
push eax
call fcn.004054c0
add esp, 0x10
cmp dword [0x571500], 0
jne 0x46d9d1
lea eax, [ebp - 0x808]
push eax
push str.REMOVING
push esi
call fcn.004721e0
add esp, 0xc
lea eax, [ebp - 0x808]
push eax
call fcn.00420a10
push str.Default_Keyfiles.xml
lea eax, [ebp - 0x100c]
push eax
lea eax, [ebp - 0x808]
push str._s_s
push eax
call fcn.004054c0
add esp, 0x14
cmp dword [0x571500], 0
jne 0x46da1b
lea eax, [ebp - 0x808]
push eax
push str.REMOVING
push esi
call fcn.004721e0
add esp, 0xc
lea eax, [ebp - 0x808]
push eax
call fcn.00420a10
push str.History.xml
lea eax, [ebp - 0x100c]
push eax
lea eax, [ebp - 0x808]
push str._s_s
push eax
call fcn.004054c0
add esp, 0x14
cmp dword [0x571500], 0
jne 0x46da65
lea eax, [ebp - 0x808]
push eax
push str.REMOVING
push esi
call fcn.004721e0
add esp, 0xc
lea eax, [ebp - 0x808]
push eax
call fcn.00420a10
push str.Configuration.xml
lea eax, [ebp - 0x100c]
push eax
lea eax, [ebp - 0x808]
push str._s_s
push eax
call fcn.004054c0
add esp, 0x14
cmp dword [0x571500], 0
jne 0x46daaf
lea eax, [ebp - 0x808]
push eax
push str.REMOVING
push esi
call fcn.004721e0
add esp, 0xc
lea eax, [ebp - 0x808]
push eax
call fcn.00420a10
push str.System_Encryption.xml
lea eax, [ebp - 0x100c]
push eax
lea eax, [ebp - 0x808]
push str._s_s
push eax
call fcn.004054c0
add esp, 0x14
cmp dword [0x571500], 0
jne 0x46daf9
lea eax, [ebp - 0x808]
push eax
push str.REMOVING
push esi
call fcn.004721e0
add esp, 0xc
lea eax, [ebp - 0x808]
push eax
call fcn.00420a10
push 0x5209fc
lea eax, [ebp - 0x100c]
push eax
lea eax, [ebp - 0x808]
push str._s_s
push eax
call fcn.004054c0
add esp, 0x14
cmp dword [0x571500], 0
jne 0x46db43
lea eax, [ebp - 0x808]
push eax
push str.REMOVING
push esi
call fcn.004721e0
add esp, 0xc
lea eax, [ebp - 0x808]
push eax
call fcn.00420a10
add esp, 4
lea eax, [ebp - 0x100c]
push eax
push 0
push 0
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea ecx, [ebp - 0x100c]
add ecx, 0xfffffffe
mov ax, word [ecx + 2]
lea ecx, [ecx + 2]
test ax, ax
jne 0x46db70
cmp dword [0x571500], 0
mov eax, dword [0x52447c]
mov dword [ecx], eax
mov eax, dword [0x524480]
mov dword [ecx + 4], eax
mov eax, dword [0x524484]
mov dword [ecx + 8], eax
mov eax, dword [0x524488]
mov dword [ecx + 0xc], eax
mov ax, word [0x52448c]
mov word [ecx + 0x10], ax
jne 0x46dbc3
lea eax, [ebp - 0x100c]
push eax
push str.REMOVING
push esi
call fcn.004721e0
add esp, 0xc
lea eax, [ebp - 0x100c]
push eax
call fcn.00420a60
add esp, 4
test eax, eax
jne 0x46dbf0
push esi
call fcn.00417c00
add esp, 4
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e1f40
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, 1
xor ecx, ebp
pop esi
call fcn.004e1f40
mov esp, ebp
pop ebp
ret