Function at 0x40dbc0
Capabilities:
Get common file path

Disassembly:
mov eax, 0x1044
call fcn.004ac5b0
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x1040], eax
push ebx
push ebp
push esi
push edi
push 0x2780
push dword [0x4e6030]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, eax
xor eax, eax
push 0x7fe
push eax
mov word [esp + 0x58], ax
lea eax, [esp + 0x5a]
push eax
call fcn.0048fb10
mov ebx, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
lea eax, [esp + 0x1c]
add esp, 0xc
push eax
push 0x24
push 0
call ebx
mov ebp, dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
jne 0x40dcc2
lea eax, [esp + 0x50]
push eax
push dword [esp + 0x14]
call ebp
push 0
push 0
push 0x1004
push esi
call edi
mov dword [0x4d68f8], eax
lea eax, [esp + 0x50]
push str.Logs
push eax
mov dword [0x4d6910], 0
call dword [sym.imp.SHLWAPI.dll_StrCatW]
push 0x4d68f4
push 0
push 0x104d
lea eax, [esp + 0x5c]
push esi
mov dword [0x4d6908], eax
call edi
lea eax, [esp + 0x14]
mov dword [esp + 0x1c], 1
push eax
push dword [0x4d68f8]
mov dword [esp + 0x30], str._Windows_Logs
push 0x1074
push esi
call edi
lea eax, [esp + 0x14]
mov dword [esp + 0x1c], 2
push eax
push dword [0x4d68f8]
mov dword [esp + 0x30], 0x4b3320
push 0x1074
push esi
call edi
lea eax, [esp + 0x10]
push eax
push 0x25
push 0
call ebx
test eax, eax
jne 0x40dd69
lea eax, [esp + 0x50]
push eax
push dword [esp + 0x14]
call ebp
push 0
push 0
push 0x1004
push esi
call edi
mov dword [0x4d68f8], eax
lea eax, [esp + 0x50]
push str.WDILogFiles
push eax
mov dword [0x4d6910], 0
call dword [sym.imp.SHLWAPI.dll_StrCatW]
push 0x4d68f4
push 0
push 0x104d
lea eax, [esp + 0x5c]
push esi
mov dword [0x4d6908], eax
call edi
lea eax, [esp + 0x14]
mov dword [esp + 0x1c], 1
push eax
push dword [0x4d68f8]
mov dword [esp + 0x30], str._WDI_Log_Files
push 0x1074
push esi
call edi
lea eax, [esp + 0x14]
mov dword [esp + 0x1c], 2
push eax
push dword [0x4d68f8]
mov dword [esp + 0x30], 0x4b3320
push 0x1074
push esi
call edi
lea eax, [esp + 0x10]
push eax
push 0x1c
push 0
call ebx
test eax, eax
jne 0x40de10
lea eax, [esp + 0x50]
push eax
push dword [esp + 0x14]
call ebp
push 0
push 0
push 0x1004
push esi
call edi
mov dword [0x4d68f8], eax
lea eax, [esp + 0x50]
push str.MicrosoftOneDrive_setuplogs
push eax
mov dword [0x4d6910], 0
call dword [sym.imp.SHLWAPI.dll_StrCatW]
push 0x4d68f4
push 0
push 0x104d
lea eax, [esp + 0x5c]
push esi
mov dword [0x4d6908], eax
call edi
lea eax, [esp + 0x14]
mov dword [esp + 0x1c], 1
push eax
push dword [0x4d68f8]
mov dword [esp + 0x30], str._OneDrive_Logs
push 0x1074
push esi
call edi
lea eax, [esp + 0x14]
mov dword [esp + 0x1c], 2
push eax
push dword [0x4d68f8]
mov dword [esp + 0x30], 0x4b3320
push 0x1074
push esi
call edi
lea eax, [esp + 0x10]
push eax
push 0x1c
push 0
call ebx
test eax, eax
jne 0x40deb7
lea eax, [esp + 0x50]
push eax
push dword [esp + 0x14]
call ebp
push 0
push 0
push 0x1004
push esi
call edi
mov dword [0x4d68f8], eax
lea eax, [esp + 0x50]
push str.MicrosoftWindowsWebCache
push eax
mov dword [0x4d6910], 0
call dword [sym.imp.SHLWAPI.dll_StrCatW]
push 0x4d68f4
push 0
push 0x104d
lea eax, [esp + 0x5c]
push esi
mov dword [0x4d6908], eax
call edi
lea eax, [esp + 0x14]
mov dword [esp + 0x1c], 1
push eax
push dword [0x4d68f8]
mov dword [esp + 0x30], str._Web_Cache
push 0x1074
push esi
call edi
lea eax, [esp + 0x14]
mov dword [esp + 0x1c], 2
push eax
push dword [0x4d68f8]
mov dword [esp + 0x30], 0x4b3320
push 0x1074
push esi
call edi
lea eax, [esp + 0x50]
push eax
push 0x400
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x40df6c
push 0x400
lea eax, [esp + 0x54]
push eax
push eax
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
test eax, eax
je 0x40df6c
push 0
push 0
push 0x1004
push esi
call edi
push 0x4d68f4
push 0
mov dword [0x4d68f8], eax
lea eax, [esp + 0x58]
push 0x104d
push esi
mov dword [0x4d6910], 0
mov dword [0x4d6908], eax
call edi
mov edx, 0x4b3e50
mov dword [esp + 0x1c], 1
mov ecx, str.FILE
call fcn.00478640
mov dword [esp + 0x28], eax
lea eax, [esp + 0x14]
push eax
push dword [0x4d68f8]
push 0x1074
push esi
call edi
lea eax, [esp + 0x14]
mov dword [esp + 0x1c], 2
push eax
push dword [0x4d68f8]
mov dword [esp + 0x30], 0x4b3320
push 0x1074
push esi
call edi
push 0x400
lea eax, [esp + 0x54]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
test eax, eax
je 0x40e0c5
lea eax, [esp + 0x50]
push eax
lea eax, [esp + 0x854]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCpyW]
push str.Temp
lea eax, [esp + 0x54]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCatW]
push str.Prefetch
lea eax, [esp + 0x854]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCatW]
push 0
push 0
push 0x1004
push esi
call edi
push 0x4d68f4
push 0
mov dword [0x4d68f8], eax
lea eax, [esp + 0x58]
push 0x104d
push esi
mov dword [0x4d6910], 0
mov dword [0x4d6908], eax
call edi
mov edx, 0x4b3e58
mov dword [esp + 0x1c], 1
mov ecx, str.FILE
call fcn.00478640
mov dword [esp + 0x28], eax
lea eax, [esp + 0x14]
push eax
push dword [0x4d68f8]
push 0x1074
push esi
call edi
lea eax, [esp + 0x14]
mov dword [esp + 0x1c], 2
push eax
push dword [0x4d68f8]
mov dword [esp + 0x30], 0x4b3320
push 0x1074
push esi
call edi
push 0
push 0
push 0x1004
push esi
call edi
push 0x4d68f4
push 0
mov dword [0x4d68f8], eax
lea eax, [esp + 0x858]
push 0x104d
push esi
mov dword [0x4d6910], 0
mov dword [0x4d6908], eax
call edi
mov edx, 0x4b3e60
mov dword [esp + 0x1c], 1
mov ecx, str.FILE
call fcn.00478640
mov dword [esp + 0x28], eax
lea eax, [esp + 0x14]
push eax
push dword [0x4d68f8]
push 0x1074
push esi
call edi
lea eax, [esp + 0x14]
mov dword [esp + 0x1c], 2
push eax
push dword [0x4d68f8]
mov dword [esp + 0x30], 0x4b3320
push 0x1074
push esi
call edi
lea eax, [esp + 0x10]
push eax
push 0x21
push 0
call ebx
test eax, eax
jne 0x40e167
lea eax, [esp + 0x50]
push eax
push dword [esp + 0x14]
call ebp
push 0
push 0
push 0x1004
push esi
call edi
push 0x4d68f4
push 0
mov dword [0x4d68f8], eax
lea eax, [esp + 0x58]
push 0x104d
push esi
mov dword [0x4d6910], 0
mov dword [0x4d6908], eax
call edi
mov edx, 0x4b3e38
mov dword [esp + 0x1c], 1
mov ecx, str.FILE
call fcn.00478640
mov dword [esp + 0x28], eax
lea eax, [esp + 0x14]
push eax
push dword [0x4d68f8]
push 0x1074
push esi
call edi
lea eax, [esp + 0x14]
mov dword [esp + 0x1c], 2
push eax
push dword [0x4d68f8]
mov dword [esp + 0x30], 0x4b3320
push 0x1074
push esi
call edi
lea eax, [esp + 0x10]
push eax
push 0x22
push 0
call ebx
test eax, eax
jne 0x40e209
lea eax, [esp + 0x50]
push eax
push dword [esp + 0x14]
call ebp
push 0
push 0
push 0x1004
push esi
call edi
push 0x4d68f4
push 0
mov dword [0x4d68f8], eax
lea eax, [esp + 0x58]
push 0x104d
push esi
mov dword [0x4d6910], 0
mov dword [0x4d6908], eax
call edi
mov edx, 0x4b3e40
mov dword [esp + 0x1c], 1
mov ecx, str.FILE
call fcn.00478640
mov dword [esp + 0x28], eax
lea eax, [esp + 0x14]
push eax
push dword [0x4d68f8]
push 0x1074
push esi
call edi
lea eax, [esp + 0x14]
mov dword [esp + 0x1c], 2
push eax
push dword [0x4d68f8]
mov dword [esp + 0x30], 0x4b3320
push 0x1074
push esi
call edi
lea eax, [esp + 0x10]
push eax
push 0x20
push 0
call ebx
test eax, eax
jne 0x40e2ab
lea eax, [esp + 0x50]
push eax
push dword [esp + 0x14]
call ebp
push 0
push 0
push 0x1004
push esi
call edi
push 0x4d68f4
push 0
mov dword [0x4d68f8], eax
lea eax, [esp + 0x58]
push 0x104d
push esi
mov dword [0x4d6910], 0
mov dword [0x4d6908], eax
call edi
mov edx, 0x4b3e48
mov dword [esp + 0x1c], 1
mov ecx, str.FILE
call fcn.00478640
mov dword [esp + 0x28], eax
lea eax, [esp + 0x14]
push eax
push dword [0x4d68f8]
push 0x1074
push esi
call edi
lea eax, [esp + 0x14]
mov dword [esp + 0x1c], 2
push eax
push dword [0x4d68f8]
mov dword [esp + 0x30], 0x4b3320
push 0x1074
push esi
call edi
lea eax, [esp + 0x10]
push eax
push 0x24
push 0
call ebx
test eax, eax
jne 0x40e357
lea eax, [esp + 0x50]
push eax
push dword [esp + 0x14]
call ebp
xor eax, eax
push eax
push eax
push 0x1004
push esi
mov word [esp + 0x62], ax
call edi
mov dword [0x4d68f8], eax
lea eax, [esp + 0x50]
push str.:_Recycle.Bin
push eax
mov dword [0x4d6910], 0
call dword [sym.imp.SHLWAPI.dll_StrCatW]
push 0x4d68f4
push 0
push 0x104d
lea eax, [esp + 0x5c]
push esi
mov dword [0x4d6908], eax
call edi
lea eax, [esp + 0x14]
mov dword [esp + 0x1c], 1
push eax
push dword [0x4d68f8]
mov dword [esp + 0x30], str._Recycle_Bin
push 0x1074
push esi
call edi
lea eax, [esp + 0x14]
mov dword [esp + 0x1c], 2
push eax
push dword [0x4d68f8]
mov dword [esp + 0x30], 0x4b3320
push 0x1074
push esi
call edi
mov ecx, dword [esp + 0x1050]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0048ea75
add esp, 0x1044
ret