Function at 0x404b90
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x48f708
push fcn.00424790
mov eax, dword fs:[0]
push eax
sub esp, 0x118
mov eax, dword [0x493008]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
call fcn.00402810
mov dword [0x561c80], 1
push 1
mov edx, str.SaveSettings
call fcn.00402cc0
add esp, 4
mov dword [0x5633e0], eax
mov dword [0x561c90], 1
push 1
mov edx, str.SingleClick
call fcn.00402cc0
add esp, 4
mov dword [0x5633f0], eax
mov dword [0x561c94], 1
push 1
mov edx, str.TrackSelect
call fcn.00402cc0
add esp, 4
mov dword [0x5633f4], eax
mov dword [0x561c98], 0
push 0
mov edx, str.FullRowSelect
call fcn.00402cc0
add esp, 4
mov dword [0x5633f8], eax
mov dword [0x561cb4], 0
push 0
mov edx, str.UseRecycleBin
call fcn.00402cc0
add esp, 4
mov dword [0x563414], eax
mov dword [0x561cb8], 0
push 0
mov edx, str.NoConfirmDelete
call fcn.00402cc0
add esp, 4
mov dword [0x563418], eax
mov dword [0x561c88], 1
push 1
mov edx, str.ClearReadOnly
call fcn.00402cc0
add esp, 4
mov dword [0x5633e8], eax
mov dword [0x561c8c], 0
push 0
mov edx, str.RenameOnCollision
call fcn.00402cc0
add esp, 4
mov dword [0x5633ec], eax
mov dword [0x561ca4], 1
push 1
mov edx, str.FocusEdit
call fcn.00402cc0
add esp, 4
mov dword [0x563404], eax
mov dword [0x561ca8], 0
push 0
mov edx, str.AlwaysOnTop
call fcn.00402cc0
add esp, 4
mov dword [0x563408], eax
mov dword [0x561cb0], 0
push 0
mov edx, str.MinimizeToTray
call fcn.00402cc0
add esp, 4
mov dword [0x563410], eax
mov dword [0x561cac], 0
push 0
mov edx, str.TransparentMode
call fcn.00402cc0
add esp, 4
mov dword [0x56340c], eax
mov dword [0x561ca0], 2
push 2
mov edx, str.EscFunction
mov ecx, str.Settings
call fcn.00402ad0
add esp, 4
mov esi, 2
test eax, eax
jns 0x404d65
xor eax, eax
jmp 0x404d6b
cmp eax, 2
cmovg eax, esi
mov dword [0x563400], eax
mov dword [0x561c9c], 2
push 2
mov edx, str.StartupDirectory
mov ecx, str.Settings
call fcn.00402ad0
add esp, 4
test eax, eax
jns 0x404d96
xor eax, eax
jmp 0x404d9c
cmp eax, 2
cmovg eax, esi
mov dword [0x5633fc], eax
xor eax, eax
mov word [0x5623b4], ax
push 0x104
push 0x563b14
push 0x5623b4
mov edx, str.Favorites
mov ecx, str.Settings
call fcn.004029e0
add esp, 0xc
test eax, eax
jne 0x404e0c
cmp word [0x560180], ax
sete al
test eax, eax
jne 0x404e0c
mov dword [0x5633e4], 1
push 0x104
push 0x563b14
push 0x48d420
push str.Favorites
mov edx, str.Settings
mov ecx, 0x560180
call fcn.004033b0
add esp, 0x10
xor eax, eax
cmp word [0x563b14], ax
sete al
test eax, eax
je 0x404e31
push 0x563b14
push 0
push 0
push 5
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
jmp 0x404e43
sub esp, 8
xor edx, edx
mov ecx, 0x563b14
call fcn.00415e90
add esp, 8
xor eax, eax
mov word [0x561fa4], ax
push 0x104
push 0x563704
push 0x561fa4
mov edx, str.Quikview.exe
mov ecx, str.Settings
call fcn.004029e0
add esp, 0xc
test eax, eax
jne 0x404e9d
push 0x104
push 0x563704
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push 0x563704
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
push str.ViewersQuikview.exe
push 0x563704
call dword [sym.imp.KERNEL32.dll_lstrcatW]
jmp 0x404eaf
sub esp, 8
xor edx, edx
mov ecx, 0x563704
call fcn.00415e90
add esp, 8
mov ecx, 0x563704
call fcn.004025d0
mov dword [0x563438], eax
xor eax, eax
mov word [0x5621ac], ax
push 0x104
push 0x56390c
push 0x5621ac
mov edx, str.QuikviewParams
mov ecx, str.Settings
call fcn.004029e0
add esp, 0xc
push str._USERPROFILE_Desktop
push 0x5625bc
mov edi, dword [sym.imp.KERNEL32.dll_lstrcpyW]
call edi
push 0x104
push 0x563d1c
push 0x48d420
mov edx, str.OpenWithDir
mov ecx, str.Settings
call fcn.004029e0
add esp, 0xc
test eax, eax
jne 0x404f44
push 0x104
push 0x563d1c
push 0x48d420
push str.OpenWithDir
mov edx, str.Settings
mov ecx, 0x560180
call fcn.004033b0
add esp, 0x10
xor eax, eax
cmp word [0x563d1c], ax
sete al
test eax, eax
je 0x404f67
push 1
push 0x10
push 0x563d1c
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
jmp 0x404f79
sub esp, 8
xor edx, edx
mov ecx, 0x563d1c
call fcn.00415e90
add esp, 8
mov dword [0x561d40], 0xe0
push 0xe0
mov edx, str.FillMask
mov ecx, str.Settings
call fcn.00402ad0
add esp, 4
cmp eax, 0x20
jge 0x404fa6
mov eax, 0x20
jmp 0x404fb0
mov ecx, 0xe0
cmp eax, ecx
cmovg eax, ecx
mov dword [0x5634a0], eax
mov dword [0x561d44], 2
push 2
mov edx, str.SortOptions
mov ecx, str.Settings
call fcn.00402ad0
add esp, 4
test eax, eax
jns 0x404fdb
xor eax, eax
jmp 0x404fe5
mov ecx, 3
cmp eax, ecx
cmovg eax, ecx
mov dword [0x5634a4], eax
mov dword [0x561d48], 0
push 0
mov edx, str.SortReverse
call fcn.00402cc0
add esp, 4
mov dword [0x5634a8], eax
push 0x48d9fc
push 0x5631dc
call edi
mov eax, dword [0x560170]
push 0x100
test eax, eax
jne 0x405040
push 0x56493c
push 0x5631dc
mov edx, str.FileFilter
mov ecx, str.Settings
call fcn.004029e0
add esp, 0xc
jmp 0x40506b
cmp word [eax], 0x2d
jne 0x405055
mov dword [0x56343c], 1
add eax, 2
jmp 0x40505f
mov dword [0x56343c], 0
push eax
push 0x56493c
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
mov dword [0x561cdc], 0
push 0
mov edx, str.NegativeFilter
call fcn.00402cc0
add esp, 4
mov dword [0x56343c], eax
mov dword [0x561ce0], 1
push 1
mov edx, str.DefColorNoFilter
call fcn.00402cc0
add esp, 4
mov dword [0x563440], eax
mov dword [0x561ce4], 1
push 1
mov edx, str.DefColorFilter
call fcn.00402cc0
add esp, 4
mov dword [0x563444], eax
push 8
mov esi, dword [sym.imp.USER32.dll_GetSysColor]
call esi
mov dword [0x561ce8], eax
push eax
mov edx, str.ColorNoFilter
mov ecx, str.Settings
call fcn.00402ad0
add esp, 4
xor ecx, ecx
test eax, eax
cmovs eax, ecx
mov dword [0x563448], eax
push 0xd
call esi
mov dword [0x561cec], eax
push eax
mov edx, str.ColorFilter
mov ecx, str.Settings
call fcn.00402ad0
add esp, 4
xor ecx, ecx
test eax, eax
cmovs eax, ecx
mov dword [0x56344c], eax
push str.1_2_3_4_5_0_8
push 0x5627c4
call edi
push 0x200
push 0x563f24
push 0x5627c4
mov edx, str.ToolbarButtons
mov ecx, str.Settings
call fcn.004029e0
add esp, 0xc
test eax, eax
jne 0x405158
push 0x5627c4
push 0x563f24
call edi
mov dword [0x561cbc], 1
push 1
mov edx, str.ShowToolbar
call fcn.00402cc0
add esp, 4
mov dword [0x56341c], eax
mov dword [0x561cc0], 1
push 1
mov edx, str.ShowStatusbar
call fcn.00402cc0
add esp, 4
mov dword [0x563420], eax
mov dword [0x561cc4], 1
push 1
mov edx, str.ShowDriveBox
call fcn.00402cc0
add esp, 4
mov dword [0x563424], eax
mov dword [0x561cc8], 0
push 0
mov edx, str.GotoDlgSizeX
mov ecx, str.Settings
call fcn.00402ad0
add esp, 4
xor ecx, ecx
test eax, eax
cmovs eax, ecx
mov dword [0x563428], eax
mov dword [0x561ccc], ecx
push ecx
mov edx, str.OpenWithDlgSizeX
mov ecx, str.Settings
call fcn.00402ad0
add esp, 4
xor ecx, ecx
test eax, eax
cmovs eax, ecx
mov dword [0x56342c], eax
mov dword [0x561cd0], ecx
push ecx
mov edx, str.OpenWithDlgSizeY
mov ecx, str.Settings
call fcn.00402ad0
add esp, 4
xor edx, edx
test eax, eax
cmovs eax, edx
mov dword [0x563430], eax
mov dword [0x561cd4], edx
push edx
mov edx, str.CopyMoveDlgSizeX
mov ecx, str.Settings
call fcn.00402ad0
add esp, 4
xor ecx, ecx
test eax, eax
cmovs eax, ecx
mov dword [0x563434], eax
push ecx
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
call esi
mov edi, eax
push 1
call esi
mov ebx, eax
push 0x104
push 0x564324
push 0x48d420
mov edx, str.BitmapDefault
mov ecx, str.Toolbar_Images
call fcn.004029e0
add esp, 0xc
push 0x104
push 0x56452c
push 0x48d420
mov edx, str.BitmapHot
mov ecx, str.Toolbar_Images
call fcn.004029e0
add esp, 0xc
push 0x104
push 0x564734
push 0x48d420
mov edx, str.BitmapDisabled
mov ecx, str.Toolbar_Images
call fcn.004029e0
add esp, 0xc
cmp dword [0x56017c], 0
jne 0x405387
push ebx
push edi
push str._ix_i_PosX
lea eax, [ebp - 0x60]
push eax
mov esi, dword [sym.imp.USER32.dll_wsprintfW]
call esi
push ebx
push edi
push str._ix_i_PosY
lea eax, [ebp - 0xa0]
push eax
call esi
push ebx
push edi
push str._ix_i_SizeX
lea eax, [ebp - 0xe0]
push eax
call esi
push ebx
push edi
push str._ix_i_SizeY
lea eax, [ebp - 0x120]
push eax
call esi
add esp, 0x40
push dword [0x561d30]
lea edx, [ebp - 0x60]
mov ecx, str.Window
call fcn.00402ad0
add esp, 4
mov dword [0x563490], eax
push dword [0x561d34]
lea edx, [ebp - 0xa0]
mov ecx, str.Window
call fcn.00402ad0
add esp, 4
mov dword [0x563494], eax
push dword [0x561d38]
lea edx, [ebp - 0xe0]
mov ecx, str.Window
call fcn.00402ad0
add esp, 4
mov dword [0x563498], eax
push dword [0x561d3c]
lea edx, [ebp - 0x120]
mov ecx, str.Window
call fcn.00402ad0
add esp, 4
mov dword [0x56349c], eax
xor ecx, ecx
mov dword [ebp - 0x124], ecx
cmp ecx, 0x10
jae 0x4053a5
mov eax, dword [ecx*4 + 0x561cf0]
mov dword [ecx*4 + 0x563450], eax
inc ecx
jmp 0x405389
push 0x4b
mov edx, str.OpacityLevel
mov ecx, str.Settings2
call fcn.00402ad0
add esp, 4
mov esi, 0x64
test eax, eax
jns 0x4053c6
xor eax, eax
jmp 0x4053cc
cmp eax, 0x64
cmovg eax, esi
mov dword [0x561c70], eax
push 0x64
mov edx, str.FocusLostOpacity
mov ecx, str.Settings2
call fcn.00402ad0
add esp, 4
test eax, eax
jns 0x4053ed
xor eax, eax
jmp 0x4053f3
cmp eax, 0x64
cmovg eax, esi
mov dword [0x561c74], eax
mov dword [ebp - 4], 0xfffffffe
call fcn.00405420
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.00422d0c
mov esp, ebp
pop ebp
ret