Function at 0x4199c0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x48e42e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x224
push ebx
push ebp
push esi
push edi
call fcn.0048947a
mov ebx, dword [eax + 4]
mov al, byte [0x4b5218]
mov byte [esp + 0x1c], al
mov ecx, 7
xor eax, eax
lea edi, [esp + 0x1d]
rep stosd dword es:[edi], eax
mov ecx, dword [0x4b3040]
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [esp + 0x10], ecx
push 0x4ae2d0
lea edx, [esp + 0x20]
push str.Name
lea eax, [esp + 0x1c]
push edx
push eax
mov ecx, ebx
mov dword [esp + 0x24c], 0
call fcn.0048970e
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x240], 1
call fcn.0047a6d7
lea ecx, [esp + 0x14]
mov byte [esp + 0x23c], 0
call fcn.0047a59e
mov edi, dword [esp + 0x10]
or ecx, 0xffffffff
xor eax, eax
mov ebp, dword [esp + 0x244]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [ebp + 0x2c]
mov eax, ecx
mov esi, edi
mov edi, edx
push 0x4ae2d0
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, ebx
call fcn.0048970e
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x240], 2
call fcn.0047a6d7
lea ecx, [esp + 0x14]
mov byte [esp + 0x23c], 0
call fcn.0047a59e
mov edi, dword [esp + 0x10]
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp + 0x6c]
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, ebx
call fcn.004896a2
push 0
lea edx, [esp + 0x20]
push str.Allow_Write
push edx
mov ecx, ebx
mov dword [ebp + 4], eax
call fcn.004896a2
mov dword [ebp + 8], eax
push 1
lea eax, [esp + 0x20]
push str.Allow_Power_Change
push eax
mov ecx, ebx
call fcn.004896a2
test eax, eax
setne cl
push 0
lea edx, [esp + 0x20]
mov byte [ebp + 0x54d], cl
push str.Scan_A_B_Drives
push edx
mov ecx, ebx
call fcn.004896a2
mov dword [ebp + 0x10], eax
push 0
lea eax, [esp + 0x20]
push str.Show_Drive_Serial
push eax
mov ecx, ebx
call fcn.004896a2
push 0
lea ecx, [esp + 0x20]
push str.Disable_Scan
push ecx
mov ecx, ebx
mov dword [ebp + 0xc], eax
call fcn.004896a2
push 7
lea edx, [esp + 0x20]
push str.Selected_Tests
push edx
mov ecx, ebx
mov dword [ebp + 0xf4], eax
call fcn.004896a2
mov dword [ebp + 0x545], eax
push 0
lea eax, [esp + 0x20]
push str.TR_Full_test
push eax
mov ecx, ebx
call fcn.004896a2
push 0x3e8
lea ecx, [esp + 0x20]
push str.TR_Time
push ecx
mov ecx, ebx
mov dword [ebp + 0x1646], eax
call fcn.004896a2
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], 0
fild qword [esp + 0x14]
push 0x80
lea edx, [esp + 0x20]
push str.Block_Size
push edx
fmul qword [0x495640]
mov ecx, ebx
fstp qword [ebp + 0x164a]
call fcn.004896a2
mov dword [ebp + 0x165e], eax
push 1
lea eax, [esp + 0x20]
push str.TR_Full_Capacity
push eax
mov ecx, ebx
call fcn.004896a2
push 0x28
lea ecx, [esp + 0x20]
push str.TR_Short_Stroke
push ecx
mov ecx, ebx
mov dword [ebp + 0x1652], eax
call fcn.004896a2
push 0
lea edx, [esp + 0x20]
push str.TR_Include_Raw
push edx
mov ecx, ebx
mov dword [ebp + 0x1656], eax
call fcn.004896a2
mov dword [ebp + 0x165a], eax
push 0x3c
lea eax, [esp + 0x20]
push str.HE_Update_Interval
push eax
mov ecx, ebx
call fcn.004896a2
push 0
lea ecx, [esp + 0x20]
push str.HE_Monitor_Tests
push ecx
mov ecx, ebx
mov dword [ebp + 0xf8], eax
call fcn.004896a2
push 1
lea edx, [esp + 0x20]
push str.HE_Save_Log
push edx
mov ecx, ebx
mov dword [ebp + 0xfc], eax
call fcn.004896a2
mov dword [ebp + 0x100], eax
push 0x4b5218
lea eax, [esp + 0x20]
push str.HE_Log_Path
lea ecx, [esp + 0x44]
push eax
push ecx
mov ecx, ebx
call fcn.0048970e
mov edi, dword [esp + 0x3c]
mov byte [esp + 0x23c], 3
cmp dword [edi - 8], 2
jge 0x419cf2
lea eax, [ebp + 0x104]
push eax
push 1
push 0
push 0x1a
push 0
call dword [sym.imp.SHFOLDER.dll_SHGetFolderPathA]
mov edi, str.HD_Tune_Pro
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, [ebp + 0x104]
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 0x419d10
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [ebp + 0x104]
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, ebx
call fcn.004896a2
push 7
lea edx, [esp + 0x20]
push str.MO_Remove_Mask
push edx
mov ecx, ebx
mov dword [ebp + 0x208], eax
call fcn.004896a2
mov dword [ebp + 0x20c], eax
push 0x3c
lea eax, [esp + 0x20]
push str.MO_Inactivity_Time
push eax
mov ecx, ebx
call fcn.004896a2
push 1
lea ecx, [esp + 0x20]
push str.MO_Show_Active
push ecx
mov ecx, ebx
mov dword [ebp + 0x210], eax
call fcn.004896a2
mov dword [ebp + 0x214], eax
push 0x4b5218
lea edx, [esp + 0x20]
push str.MO_Filter
lea eax, [esp + 0x1c]
push edx
push eax
mov ecx, ebx
call fcn.0048970e
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x240], 4
call fcn.0047a6d7
lea ecx, [esp + 0x14]
mov byte [esp + 0x23c], 3
call fcn.0047a59e
mov edi, dword [esp + 0x10]
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp + 0x218]
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, ebx
call fcn.004896a2
xor esi, esi
lea edx, [esp + 0x1c]
push esi
push str.Write_Delay
push edx
mov ecx, ebx
mov dword [ebp + 0x52c], eax
call fcn.004896a2
mov dword [ebp + 0x530], eax
push 0x1f4
lea eax, [esp + 0x20]
push str.FT_Capacity
push eax
mov ecx, ebx
call fcn.004896a2
push 0x20
lea ecx, [esp + 0x20]
push str.FT_QueueDepth
push ecx
mov dword [ebp + 0x3c02], eax
mov ecx, ebx
mov dword [ebp + 0x3c06], esi
call fcn.004896a2
push 1
lea edx, [esp + 0x20]
push str.FT_Transfer
push edx
mov ecx, ebx
mov dword [ebp + 0x3c12], eax
call fcn.004896a2
mov dword [ebp + 0x3c16], eax
push esi
lea eax, [esp + 0x20]
push str.FT_BlockSize
push eax
mov ecx, ebx
call fcn.004896a2
push 5
lea ecx, [esp + 0x20]
push str.FT_Capacity_block
push ecx
mov ecx, ebx
mov dword [ebp + 0x3c1a], eax
call fcn.004896a2
push esi
lea edx, [esp + 0x20]
push str.FT_Data_pattern
mov dword [ebp + 0x3c0a], eax
push edx
mov ecx, ebx
mov dword [ebp + 0x3c0e], esi
call fcn.004896a2
mov dword [ebp + 0x3c1e], eax
push 1
lea eax, [esp + 0x20]
push str.AT_Full_Capacity
push eax
mov ecx, ebx
call fcn.004896a2
push 0x28
lea ecx, [esp + 0x20]
push str.AT_Short_Stroke
push ecx
mov ecx, ebx
mov dword [ebp + 0x3bf6], eax
call fcn.004896a2
push 1
lea edx, [esp + 0x20]
push str.AT_4K_Align
push edx
mov ecx, ebx
mov dword [ebp + 0x3bfa], eax
call fcn.004896a2
mov dword [ebp + 0x3bfe], eax
push 0xfdff
lea eax, [esp + 0x20]
push str.Test_Mask
push eax
mov ecx, ebx
call fcn.004896a2
push 1
lea ecx, [esp + 0x20]
push str.ET_Full_Capacity
push ecx
mov ecx, ebx
mov dword [ebp + 0x534], eax
call fcn.004896a2
push 0x28
lea edx, [esp + 0x20]
push str.ET_Short_Stroke
push edx
mov ecx, ebx
mov dword [ebp + 0x3bea], eax
call fcn.004896a2
mov dword [ebp + 0x3bee], eax
push 1
lea eax, [esp + 0x20]
push str.ET_4K_Align
push eax
mov ecx, ebx
call fcn.004896a2
push 1
lea ecx, [esp + 0x20]
push str.Temperature_Units
push ecx
mov ecx, ebx
mov dword [ebp + 0x3bf2], eax
call fcn.004896a2
push esi
lea edx, [esp + 0x20]
push str.Temperature_Show_Both_Units
push edx
mov ecx, ebx
mov dword [ebp + 0x14], eax
call fcn.004896a2
mov dword [ebp + 0x18], eax
push esi
lea eax, [esp + 0x20]
push str.Test_Parameters_1
lea ecx, [esp + 0x1c]
push eax
push ecx
mov ecx, ebx
call fcn.0048970e
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x240], 5
call fcn.0047a6d7
lea ecx, [esp + 0x14]
mov byte [esp + 0x23c], 3
call fcn.0047a59e
mov edi, dword [esp + 0x10]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0xf4]
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, ebx
call fcn.0048970e
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x240], 6
call fcn.0047a6d7
lea ecx, [esp + 0x14]
mov byte [esp + 0x23c], 3
call fcn.0047a59e
mov edi, dword [esp + 0x10]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x7c]
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, ebx
call fcn.0048970e
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x240], 7
call fcn.0047a6d7
lea ecx, [esp + 0x14]
mov byte [esp + 0x23c], 3
call fcn.0047a59e
mov edi, dword [esp + 0x10]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0xb8]
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, 0xffffff38
and ecx, 3
rep movsb byte es:[edi], byte [esi]
xor esi, esi
sub eax, ebp
lea edi, [ebp + 0xc8]
mov dword [esp + 0x14], eax
movsx ecx, byte [esp + esi + 0xf5]
movsx edx, byte [esp + esi + 0xf4]
push ecx
push edx
lea eax, [esp + 0x48]
push str.0X_c_c
push eax
call fcn.00452382
push 0x10
lea ecx, [esp + 0x54]
push 0
push ecx
call fcn.0045351c
movsx edx, byte [esp + esi + 0x99]
mov byte [edi - 0x14], al
push edx
movsx eax, byte [esp + esi + 0x9c]
push eax
lea ecx, [esp + 0x64]
push str.0X_c_c
push ecx
call fcn.00452382
push 0x10
lea edx, [esp + 0x70]
push 0
push edx
call fcn.0045351c
movsx ecx, byte [esp + esi + 0xf0]
mov byte [edi], al
lea edx, [esp + 0x78]
movsx eax, byte [esp + esi + 0xf1]
push eax
push ecx
push str.0X_c_c
push edx
call fcn.00452382
add esp, 0x48
lea eax, [esp + 0x40]
push 0x10
push 0
push eax
call fcn.0045351c
mov ecx, dword [esp + 0x20]
add esp, 0xc
mov byte [edi + 0x14], al
inc edi
add esi, 3
lea edx, [edi + ecx]
cmp edx, 0x10
jl 0x41a0c9
push 1
lea eax, [esp + 0x20]
push str.Temperature_Tray_Icon
push eax
mov ecx, ebx
call fcn.004896a2
push 0xffffff
lea ecx, [esp + 0x20]
push str.Temperature_Color
push ecx
mov ecx, ebx
mov dword [ebp + 0x1c], eax
call fcn.004896a2
push 0xff
lea edx, [esp + 0x20]
push str.Critical_Temperature_Color
push edx
mov ecx, ebx
mov dword [ebp + 0x20], eax
call fcn.004896a2
mov dword [ebp + 0x24], eax
push 0xffffffffffffffff
lea eax, [esp + 0x20]
push str.Critical_Temperature
push eax
mov ecx, ebx
call fcn.004896a2
cmp eax, 0xffffffff
mov dword [ebp + 0x28], eax
jne 0x41a1f7
cmp dword [ebp + 0x14], 1
jne 0x41a1ea
mov dword [ebp + 0x28], 0x37
jmp 0x41a1f7
push 0x37
call fcn.0041adb0
add esp, 4
mov dword [ebp + 0x28], eax
push 1
lea ecx, [esp + 0x20]
push str.Open_File_Dialog
push ecx
mov ecx, ebx
call fcn.004896a2
push 1
lea edx, [esp + 0x20]
push str.Replace_Spaces
push edx
mov ecx, ebx
mov dword [ebp + 0x318], eax
call fcn.004896a2
mov dword [ebp + 0x524], eax
push 0
lea eax, [esp + 0x20]
push str.Auto_Save
push eax
mov ecx, ebx
call fcn.004896a2
mov dword [ebp + 0x528], eax
mov cl, byte [0x4b5218]
mov byte [esp + 0x130], cl
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x131]
rep stosd dword es:[edi], eax
lea edx, [esp + 0x130]
push edx
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 eax, [esp + 0x130]
lea ecx, [esp + 0x1c]
push eax
push str.Save_Path
lea edx, [esp + 0x1c]
push ecx
push edx
mov ecx, ebx
call fcn.0048970e
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x240], 8
call fcn.0047a6d7
lea ecx, [esp + 0x14]
mov byte [esp + 0x23c], 3
call fcn.0047a59e
mov edi, dword [esp + 0x10]
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp + 0x31c]
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, ebx
call fcn.0048970e
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x240], 9
call fcn.0047a6d7
lea ecx, [esp + 0x14]
mov byte [esp + 0x23c], 3
call fcn.0047a59e
mov edi, dword [esp + 0x10]
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp + 0x420]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0xffc000
mov eax, ecx
mov esi, edi
mov edi, edx
push str.Read_Color
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, ebx
call fcn.004896a2
push 0x80ff
lea edx, [esp + 0x20]
push str.Write_Color
push edx
mov ecx, ebx
mov dword [ebp + 0xac], eax
call fcn.004896a2
lea ecx, [esp + 0x3c]
mov dword [ebp + 0xb0], eax
mov byte [esp + 0x23c], 0
call fcn.0047a59e
lea ecx, [esp + 0x10]
mov dword [esp + 0x23c], 0xffffffff
call fcn.0047a59e
mov ecx, dword [esp + 0x234]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x230
ret