Function at 0x40ab30
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x4975cf
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x234
push ebx
push ebp
push esi
push edi
call fcn.004825cb
mov ebp, dword [eax + 4]
mov al, byte [0x4c2a80]
mov byte [esp + 0x1c], al
mov ecx, 7
xor eax, eax
lea edi, [esp + 0x1d]
rep stosd dword es:[edi], eax
mov ecx, dword [0x4bfcf8]
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [esp + 0x10], ecx
push 0x4ba340
lea edx, [esp + 0x20]
push str.Name
lea eax, [esp + 0x1c]
push edx
push eax
mov ecx, ebp
mov dword [esp + 0x25c], 0
call fcn.0048285a
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x250], 1
call fcn.0047381e
lea ecx, [esp + 0x14]
mov byte [esp + 0x24c], 0
call fcn.004736e5
mov edi, dword [esp + 0x10]
or ecx, 0xffffffff
xor eax, eax
mov ebx, dword [esp + 0x254]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [ebx + 0x84]
mov eax, ecx
mov esi, edi
mov edi, edx
push 0x4ba340
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push str.Company
and ecx, 3
lea edx, [esp + 0x1c]
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x24]
push ecx
push edx
mov ecx, ebp
call fcn.0048285a
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x250], 2
call fcn.0047381e
lea ecx, [esp + 0x14]
mov byte [esp + 0x24c], 0
call fcn.004736e5
mov edi, dword [esp + 0x10]
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebx + 0xc4]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push 0
lea ecx, [esp + 0x20]
push str.Start_Minimized
push ecx
mov ecx, ebp
call fcn.004827ee
push 1
lea edx, [esp + 0x20]
push str.Restore_Position
push edx
mov ecx, ebp
mov dword [ebx + 4], eax
call fcn.004827ee
mov dword [ebx + 8], eax
mov eax, dword [ebp]
mov ecx, ebp
call dword [eax + 0x74]
mov edx, dword [eax + 0x1c]
lea ecx, [esp + 0x40]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esp + 0x40]
lea ecx, [esp + 0x1c]
push eax
push 0x4be208
push ecx
mov ecx, ebp
call fcn.004827ee
mov edx, dword [esp + 0x44]
mov dword [ebx + 0xc], eax
push edx
lea eax, [esp + 0x20]
push 0x4be204
push eax
mov ecx, ebp
call fcn.004827ee
mov ecx, dword [esp + 0x48]
lea edx, [esp + 0x1c]
push ecx
push 0x4be200
push edx
mov ecx, ebp
mov dword [ebx + 0x10], eax
call fcn.004827ee
mov dword [ebx + 0x14], eax
mov eax, dword [esp + 0x4c]
push eax
lea ecx, [esp + 0x20]
push 0x4be1fc
push ecx
mov ecx, ebp
call fcn.004827ee
push 0
lea edx, [esp + 0x20]
push str.Selected_Tab
push edx
mov ecx, ebp
mov dword [ebx + 0x18], eax
call fcn.004827ee
mov dword [ebx + 0x1c], eax
push 0
lea eax, [esp + 0x20]
push str.Allow_Write
push eax
mov ecx, ebp
call fcn.004827ee
push 1
lea ecx, [esp + 0x20]
push str.Allow_Power_Change
push ecx
mov ecx, ebp
mov dword [ebx + 0x20], eax
call fcn.004827ee
test eax, eax
setne dl
push 0
lea eax, [esp + 0x20]
push str.Scan_A_B_Drives
mov byte [ebx + 0x5c9], dl
push eax
mov ecx, ebp
call fcn.004827ee
push 0
lea ecx, [esp + 0x20]
push str.Show_Drive_Serial
push ecx
mov ecx, ebp
mov dword [ebx + 0x28], eax
call fcn.004827ee
push 0
lea edx, [esp + 0x20]
push str.Disable_Scan
push edx
mov ecx, ebp
mov dword [ebx + 0x24], eax
call fcn.004827ee
mov dword [ebx + 0x14c], eax
push 0x4c2a80
lea eax, [esp + 0x20]
push str.Selected_Drive
lea ecx, [esp + 0x1c]
push eax
push ecx
mov ecx, ebp
call fcn.0048285a
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x250], 3
call fcn.0047381e
lea ecx, [esp + 0x14]
mov byte [esp + 0x24c], 0
call fcn.004736e5
mov edi, dword [esp + 0x10]
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebx + 0x44]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 7
mov eax, ecx
mov esi, edi
mov edi, edx
push str.Selected_Tests
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x24]
push ecx
mov ecx, ebp
call fcn.004827ee
push 0
lea edx, [esp + 0x20]
push str.TR_Full_test
push edx
mov ecx, ebp
mov dword [ebx + 0x5c1], eax
call fcn.004827ee
mov dword [ebx + 0x1be0], eax
push 0x3e8
lea eax, [esp + 0x20]
push str.TR_Time
push eax
mov ecx, ebp
call fcn.004827ee
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], 0
fild qword [esp + 0x14]
push 0x80
lea ecx, [esp + 0x20]
push str.Block_Size
push ecx
fmul qword [0x49f650]
mov ecx, ebp
fstp qword [ebx + 0x1be4]
call fcn.004827ee
mov dword [ebx + 0x1bf8], eax
push 1
lea edx, [esp + 0x20]
push str.TR_Full_Capacity
push edx
mov ecx, ebp
call fcn.004827ee
mov dword [ebx + 0x1bec], eax
push 0x28
lea eax, [esp + 0x20]
push str.TR_Short_Stroke
push eax
mov ecx, ebp
call fcn.004827ee
push 0
lea ecx, [esp + 0x20]
push str.TR_Include_Raw
push ecx
mov ecx, ebp
mov dword [ebx + 0x1bf0], eax
call fcn.004827ee
push 0x12c
lea edx, [esp + 0x20]
push str.HE_Update_Interval
push edx
mov ecx, ebp
mov dword [ebx + 0x1bf4], eax
call fcn.004827ee
mov dword [ebx + 0x150], eax
push 0
lea eax, [esp + 0x20]
push str.HE_Monitor_Tests
push eax
mov ecx, ebp
call fcn.004827ee
push 1
lea ecx, [esp + 0x20]
push str.HE_Save_Log
push ecx
mov ecx, ebp
mov dword [ebx + 0x154], eax
call fcn.004827ee
mov dword [ebx + 0x158], eax
push 0x4c2a80
lea edx, [esp + 0x20]
push str.HE_Log_Path
lea eax, [esp + 0x44]
push edx
push eax
mov ecx, ebp
call fcn.0048285a
mov edi, dword [esp + 0x3c]
mov byte [esp + 0x24c], 4
cmp dword [edi - 8], 2
jge 0x40af74
lea eax, [ebx + 0x15c]
push eax
push 1
push 0
push 0x1a
push 0
call dword [sym.imp.SHFOLDER.dll_SHGetFolderPathA]
mov edi, 0x4be0d0
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
lea edi, [ebx + 0x15c]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
jmp 0x40af92
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [ebx + 0x15c]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
push 1
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x20]
push str.MO_Zero_Init
push ecx
mov ecx, ebp
call fcn.004827ee
push 7
lea edx, [esp + 0x20]
push str.MO_Remove_Mask
push edx
mov ecx, ebp
mov dword [ebx + 0x260], eax
call fcn.004827ee
mov dword [ebx + 0x264], eax
push 0x3c
lea eax, [esp + 0x20]
push str.MO_Inactivity_Time
push eax
mov ecx, ebp
call fcn.004827ee
push 1
lea ecx, [esp + 0x20]
push str.MO_Show_Active
push ecx
mov ecx, ebp
mov dword [ebx + 0x268], eax
call fcn.004827ee
mov dword [ebx + 0x26c], eax
push 0x4c2a80
lea edx, [esp + 0x20]
push str.MO_Filter
lea eax, [esp + 0x1c]
push edx
push eax
mov ecx, ebp
call fcn.0048285a
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x250], 5
call fcn.0047381e
lea ecx, [esp + 0x14]
mov byte [esp + 0x24c], 4
call fcn.004736e5
mov edi, dword [esp + 0x10]
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebx + 0x270]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0xb
mov eax, ecx
mov esi, edi
mov edi, edx
push str.File_Size
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x24]
push ecx
mov ecx, ebp
call fcn.004827ee
xor esi, esi
lea edx, [esp + 0x1c]
push esi
push str.Write_Delay
push edx
mov ecx, ebp
mov dword [ebx + 0x5a8], eax
call fcn.004827ee
mov dword [ebx + 0x5ac], eax
push 0x1f4
lea eax, [esp + 0x20]
push str.FT_Capacity
push eax
mov ecx, ebp
call fcn.004827ee
push 0x20
lea ecx, [esp + 0x20]
push str.FT_QueueDepth
push ecx
mov dword [ebx + 0x419c], eax
mov ecx, ebp
mov dword [ebx + 0x41a0], esi
call fcn.004827ee
push 1
lea edx, [esp + 0x20]
push str.FT_Transfer
push edx
mov ecx, ebp
mov dword [ebx + 0x41ac], eax
call fcn.004827ee
mov dword [ebx + 0x41b0], eax
push esi
lea eax, [esp + 0x20]
push str.FT_BlockSize
push eax
mov ecx, ebp
call fcn.004827ee
push 5
lea ecx, [esp + 0x20]
push str.FT_Capacity_block
push ecx
mov ecx, ebp
mov dword [ebx + 0x41b4], eax
call fcn.004827ee
push esi
lea edx, [esp + 0x20]
push str.FT_Data_pattern
mov dword [ebx + 0x41a4], eax
push edx
mov ecx, ebp
mov dword [ebx + 0x41a8], esi
call fcn.004827ee
mov dword [ebx + 0x41b8], eax
push 1
lea eax, [esp + 0x20]
push str.AT_Full_Capacity
push eax
mov ecx, ebp
call fcn.004827ee
push 0x28
lea ecx, [esp + 0x20]
push str.AT_Short_Stroke
push ecx
mov ecx, ebp
mov dword [ebx + 0x4190], eax
call fcn.004827ee
push 1
lea edx, [esp + 0x20]
push str.AT_4K_Align
push edx
mov ecx, ebp
mov dword [ebx + 0x4194], eax
call fcn.004827ee
mov dword [ebx + 0x4198], eax
push 0xfdff
lea eax, [esp + 0x20]
push str.Test_Mask
push eax
mov ecx, ebp
call fcn.004827ee
push 1
lea ecx, [esp + 0x20]
push str.ET_Full_Capacity
push ecx
mov ecx, ebp
mov dword [ebx + 0x5b0], eax
call fcn.004827ee
push 0x28
lea edx, [esp + 0x20]
push str.ET_Short_Stroke
push edx
mov ecx, ebp
mov dword [ebx + 0x4184], eax
call fcn.004827ee
mov dword [ebx + 0x4188], eax
push 1
lea eax, [esp + 0x20]
push str.ET_4K_Align
push eax
mov ecx, ebp
call fcn.004827ee
push 1
lea ecx, [esp + 0x20]
push str.Temperature_Units
push ecx
mov ecx, ebp
mov dword [ebx + 0x418c], eax
call fcn.004827ee
push esi
lea edx, [esp + 0x20]
push str.Temperature_Show_Both_Units
push edx
mov ecx, ebp
mov dword [ebx + 0x2c], eax
call fcn.004827ee
mov dword [ebx + 0x30], eax
push esi
lea eax, [esp + 0x20]
push str.Test_Parameters_1
lea ecx, [esp + 0x1c]
push eax
push ecx
mov ecx, ebp
call fcn.0048285a
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x250], 6
call fcn.0047381e
lea ecx, [esp + 0x14]
mov byte [esp + 0x24c], 4
call fcn.004736e5
mov edi, dword [esp + 0x10]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x8c]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0
mov eax, ecx
mov esi, edi
mov edi, edx
push str.Test_Parameters_6
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea edx, [esp + 0x1c]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x24]
push ecx
push edx
mov ecx, ebp
call fcn.0048285a
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x250], 7
call fcn.0047381e
lea ecx, [esp + 0x14]
mov byte [esp + 0x24c], 4
call fcn.004736e5
mov edi, dword [esp + 0x10]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x104]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
push 0
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x20]
push str.Test_Parameters_3
lea edx, [esp + 0x1c]
push ecx
push edx
mov ecx, ebp
call fcn.0048285a
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x250], 8
call fcn.0047381e
lea ecx, [esp + 0x14]
mov byte [esp + 0x24c], 4
call fcn.004736e5
mov edi, dword [esp + 0x10]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0xc8]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, 0xfffffee0
and ecx, 3
rep movsb byte es:[edi], byte [esi]
xor esi, esi
sub eax, ebx
lea edi, [ebx + 0x120]
mov dword [esp + 0x14], eax
movsx ecx, byte [esp + esi + 0x8d]
movsx edx, byte [esp + esi + 0x8c]
push ecx
push edx
lea eax, [esp + 0x58]
push str.0X_c_c
push eax
call fcn.00445f52
push 0x10
lea ecx, [esp + 0x64]
push 0
push ecx
call fcn.004470ec
movsx edx, byte [esp + esi + 0x121]
mov byte [edi - 0x14], al
push edx
movsx eax, byte [esp + esi + 0x124]
push eax
lea ecx, [esp + 0x74]
push str.0X_c_c
push ecx
call fcn.00445f52
push 0x10
lea edx, [esp + 0x80]
push 0
push edx
call fcn.004470ec
movsx ecx, byte [esp + esi + 0x100]
mov byte [edi], al
lea edx, [esp + 0x88]
movsx eax, byte [esp + esi + 0x101]
push eax
push ecx
push str.0X_c_c
push edx
call fcn.00445f52
add esp, 0x48
lea eax, [esp + 0x50]
push 0x10
push 0
push eax
call fcn.004470ec
mov ecx, dword [esp + 0x20]
add esp, 0xc
mov byte [edi + 0x14], al
inc edi
add ecx, edi
add esi, 3
cmp ecx, 0x10
jl 0x40b34e
push 1
lea edx, [esp + 0x20]
push str.Temperature_Tray_Icon
push edx
mov ecx, ebp
call fcn.004827ee
mov dword [ebx + 0x34], eax
push 0xffffff
lea eax, [esp + 0x20]
push str.Temperature_Color
push eax
mov ecx, ebp
call fcn.004827ee
push 0xff
lea ecx, [esp + 0x20]
push str.Critical_Temperature_Color
push ecx
mov ecx, ebp
mov dword [ebx + 0x38], eax
call fcn.004827ee
push 0xffffffffffffffff
lea edx, [esp + 0x20]
push str.Critical_Temperature
push edx
mov ecx, ebp
mov dword [ebx + 0x3c], eax
call fcn.004827ee
cmp eax, 0xffffffff
mov dword [ebx + 0x40], eax
jne 0x40b481
cmp dword [ebx + 0x2c], 1
jne 0x40b474
mov dword [ebx + 0x40], 0x37
jmp 0x40b481
push 0x37
call fcn.0040c0e0
add esp, 4
mov dword [ebx + 0x40], eax
push 1
lea eax, [esp + 0x20]
push str.Open_File_Dialog
push eax
mov ecx, ebp
call fcn.004827ee
push 1
lea ecx, [esp + 0x20]
push str.Replace_Spaces
push ecx
mov ecx, ebp
mov dword [ebx + 0x370], eax
call fcn.004827ee
push 0
lea edx, [esp + 0x20]
push str.Auto_Save
push edx
mov ecx, ebp
mov dword [ebx + 0x57c], eax
call fcn.004827ee
mov dword [ebx + 0x580], eax
mov al, byte [0x4c2a80]
mov byte [esp + 0x140], al
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x141]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x140]
push ecx
push 0
stosw word es:[edi], ax
push 0
push 0x8005
push 0
stosb byte es:[edi], al
call dword [sym.imp.SHFOLDER.dll_SHGetFolderPathA]
lea edx, [esp + 0x140]
lea eax, [esp + 0x1c]
push edx
push str.Save_Path
lea ecx, [esp + 0x1c]
push eax
push ecx
mov ecx, ebp
call fcn.0048285a
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x250], 9
call fcn.0047381e
lea ecx, [esp + 0x14]
mov byte [esp + 0x24c], 4
call fcn.004736e5
mov edi, dword [esp + 0x10]
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebx + 0x374]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push str.HD_Tune_Pro_N__S_F__I_D__T
mov eax, ecx
mov esi, edi
mov edi, edx
push str.Save_Filter
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea edx, [esp + 0x1c]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x24]
push ecx
push edx
mov ecx, ebp
call fcn.0048285a
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x250], 0xa
call fcn.0047381e
lea ecx, [esp + 0x14]
mov byte [esp + 0x24c], 4
call fcn.004736e5
mov edi, dword [esp + 0x10]
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebx + 0x478]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x4c2a80
mov eax, ecx
mov esi, edi
mov edi, edx
push str.Date_Format
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea edx, [esp + 0x1c]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x24]
push ecx
push edx
mov ecx, ebp
call fcn.0048285a
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x250], 0xb
call fcn.0047381e
lea ecx, [esp + 0x14]
mov byte [esp + 0x24c], 4
call fcn.004736e5
mov edi, dword [esp + 0x10]
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebx + 0x584]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x4c2a80
mov eax, ecx
mov esi, edi
mov edi, edx
push str.Time_Format
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea edx, [esp + 0x1c]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x24]
push ecx
push edx
mov ecx, ebp
call fcn.0048285a
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x250], 0xc
call fcn.0047381e
lea ecx, [esp + 0x14]
mov byte [esp + 0x24c], 4
call fcn.004736e5
mov edi, dword [esp + 0x10]
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebx + 0x594]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 4
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x20]
push str.File_Format
push ecx
mov ecx, ebp
call fcn.004827ee
push 0xffc000
lea edx, [esp + 0x20]
push str.Read_Color
push edx
mov ecx, ebp
mov dword [ebx + 0x5a4], eax
call fcn.004827ee
mov dword [ebx + 0x104], eax
push 0x80ff
lea eax, [esp + 0x20]
push str.Write_Color
push eax
mov ecx, ebp
call fcn.004827ee
lea ecx, [esp + 0x3c]
mov dword [ebx + 0x108], eax
mov byte [esp + 0x24c], 0
call fcn.004736e5
lea ecx, [esp + 0x10]
mov dword [esp + 0x24c], 0xffffffff
call fcn.004736e5
mov ecx, dword [esp + 0x244]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x240
ret