Function at 0x444855
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x46c52f
mov eax, dword fs:[0]
push eax
sub esp, 0x260
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x258], eax
push ebx
push esi
push edi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x270]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [esp + 0x38], ebx
mov eax, dword [ebp + 8]
xor edi, edi
push edi
mov dword [esp + 0x20], eax
mov dword [esp + 0x2c], edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], edi
mov dword [esp + 0x14], edi
mov dword [esp + 0x1c], edi
call dword [sym.imp.ole32.dll_CoInitialize]
test eax, eax
js 0x444c75
push ebx
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov esi, eax
mov dword [esp + 0x34], esi
mov dword [esp + 0x278], edi
mov dword [esp + 0x24], edi
push ecx
push ecx
mov byte [esp + 0x280], 1
call fcn.004225b9
pop ecx
push eax
lea ecx, [esp + 0x2c]
call fcn.00445f57
mov ebx, dword [esp + 0x24]
test esi, esi
je 0x444bd0
test ebx, ebx
je 0x444bd0
xor eax, eax
push 0x208
mov word [esp + 0x58], ax
lea eax, [esp + 0x5a]
push edi
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [esp + 0x54]
push eax
push 0x40e230
push edi
push edi
push 0x8005
push edi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathAndSubDirW]
mov dword [esp + 0x14], eax
test eax, eax
js 0x444bd8
mov eax, dword [esp + 0x1c]
push dword [eax + 0x20]
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x34]
push eax
push ebx
lea eax, [esp + 0x68]
push eax
push esi
call dword [sym.imp.ScanSetting.DLL_GetDefaultProfileScan]
mov dword [esp + 0x14], eax
test eax, eax
js 0x444bd8
cmp dword [esp + 0x18], edi
je 0x444bd8
cmp dword [esp + 0x10], edi
je 0x444c15
mov ecx, dword [esp + 0x28]
test ecx, ecx
je 0x444bd8
xor eax, eax
mov dword [esp + 0x3c], 1
lea edi, [esp + 0x44]
mov dword [esp + 0x40], 7
stosd dword es:[edi], eax
lea edx, [esp + 0x20]
push edx
push ecx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, dword [ecx]
mov edi, dword [eax + 0x3c]
mov ecx, edi
call dword [0x478f64]
call edi
mov dword [esp + 0x14], eax
test eax, eax
jne 0x444bd8
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x2c]
push ecx
push 0x40edc4
push eax
mov edi, dword [eax]
mov ecx, dword [edi]
call dword [0x478f64]
call dword [edi]
mov dword [esp + 0x14], eax
test eax, eax
jne 0x444bd8
mov eax, dword [esp + 0x2c]
lea ecx, [esp + 0x44]
push ecx
lea ecx, [esp + 0x40]
push ecx
mov edi, dword [eax]
push 1
push eax
mov ecx, dword [edi + 0xc]
call dword [0x478f64]
call dword [edi + 0xc]
mov dword [esp + 0x14], eax
test eax, eax
je 0x444a36
mov dword [esp + 0x14], 0x80004005
jmp 0x444bd8
cmp word [esp + 0x44], 8
jne 0x444bc6
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x444bc6
mov dword [esp + 0x30], eax
xor edi, edi
lea eax, [esp + 0x44]
mov dword [esp + 0x4c], edi
push eax
call dword [sym.imp.ole32.dll_PropVariantClear]
cmp dword [esp + 0x18], edi
jle 0x444a97
mov esi, dword [esp + 0x30]
mov ebx, edi
push ecx
mov ecx, esp
push esi
call dword [sym.imp.MFC42u.dll_CString::CString_2]
mov ecx, dword [esp + 0x14]
xor edx, edx
inc edx
mov ecx, dword [ecx + ebx*4]
call fcn.0044eb87
inc ebx
cmp ebx, dword [esp + 0x18]
jl 0x444a6f
mov esi, dword [esp + 0x34]
mov ebx, dword [esp + 0x24]
call fcn.00416549
cmp dword [eax + 0x70c], edi
je 0x444ab3
push 1
lea ecx, [eax + 0x3a0]
call fcn.004149fd
jmp 0x444aba
mov ecx, eax
call fcn.0041abdd
push ecx
lea eax, [esp + 0x58]
mov dword [esp + 0x20], esp
mov ecx, esp
push eax
call dword [sym.imp.MFC42u.dll_CString::CString_2]
mov byte [esp + 0x27c], 2
call fcn.00416549
push dword [eax + 0x4b4]
lea ecx, [eax + 0x1b4]
call fcn.0041305a
mov ecx, eax
mov byte [esp + 0x27c], 1
call fcn.00447ec3
call fcn.00416549
push dword [eax + 0x4b4]
lea ecx, [eax + 0x1b4]
call fcn.0041305a
push 1
push edi
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_InvalidateRect]
call fcn.00416549
push dword [eax + 0x4b4]
lea ecx, [eax + 0x1b4]
call fcn.0041305a
push edi
push edi
push edi
mov ecx, dword [eax]
mov dword [esp + 0x28], eax
mov edi, dword [ecx + 0xf4]
mov ecx, edi
call dword [0x478f64]
mov ecx, dword [esp + 0x28]
call edi
call fcn.00416549
push dword [eax + 0x4b4]
lea ecx, [eax + 0x1b4]
call fcn.0041305a
mov ecx, eax
call fcn.0044b64c
mov eax, dword [esp + 0x10]
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push dword [eax]
call dword [sym.imp.MFC42u.dll_CString::CString_2]
mov byte [esp + 0x280], 3
call fcn.00416549
push dword [eax + 0x4b4]
lea ecx, [eax + 0x1b4]
call fcn.0041305a
mov ecx, eax
mov byte [esp + 0x280], 1
call fcn.0044bc8d
push dword [esp + 0x18]
mov edx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x14]
call fcn.00444ca0
xor edi, edi
mov dword [esp + 0x10], edi
jmp 0x444c06
mov dword [esp + 0x14], 0x8000ffff
jmp 0x444bd8
mov dword [esp + 0x14], 0x8007000e
cmp dword [esp + 0x10], 0
je 0x444c15
cmp dword [esp + 0x18], 0
jle 0x444bfc
xor edi, edi
mov eax, dword [esp + 0x10]
push dword [eax + edi*4]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
inc edi
cmp edi, dword [esp + 0x18]
jl 0x444be8
push dword [esp + 0x10]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov eax, dword [esp + 0x30]
test eax, eax
je 0x444c15
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov ecx, dword [esp + 0x2c]
test ecx, ecx
je 0x444c2d
mov eax, dword [ecx]
push ecx
mov edi, dword [eax + 8]
mov ecx, edi
call dword [0x478f64]
call edi
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x444c45
mov eax, dword [ecx]
push ecx
mov edi, dword [eax + 8]
mov ecx, edi
call dword [0x478f64]
call edi
mov ecx, dword [esp + 0x28]
test ecx, ecx
je 0x444c5d
mov eax, dword [ecx]
push ecx
mov edi, dword [eax + 8]
mov ecx, edi
call dword [0x478f64]
call edi
call dword [sym.imp.ole32.dll_CoUninitialize]
push ebx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
push esi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x270]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x258]
xor ecx, esp
call fcn.00468ba0
mov esp, ebp
pop ebp
ret 4