Function at 0x416210
Capabilities:
Get common file path
Get startup folder

Disassembly:
push 0xffffffffffffffff
push 0x482b83
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.0047dfa2
mov ebp, dword [eax + 4]
mov al, byte [0x4a7a28]
mov byte [esp + 0x1c], al
mov ecx, 7
xor eax, eax
lea edi, [esp + 0x1d]
rep stosd dword es:[edi], eax
mov ecx, dword [0x4a5850]
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [esp + 0x10], ecx
push 0x4a27bc
lea edx, [esp + 0x20]
push str.Name
lea eax, [esp + 0x1c]
push edx
push eax
mov ecx, ebp
mov dword [esp + 0x24c], 0
call fcn.0047e231
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x240], 1
call fcn.0046f1f5
lea ecx, [esp + 0x14]
mov byte [esp + 0x23c], 0
call fcn.0046f0bc
mov edi, dword [esp + 0x10]
or ecx, 0xffffffff
xor eax, eax
mov ebx, dword [esp + 0x244]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [ebx + 0x24]
mov eax, ecx
mov esi, edi
mov edi, edx
push 0x4a27bc
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.0047e231
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x240], 2
call fcn.0046f1f5
lea ecx, [esp + 0x14]
mov byte [esp + 0x23c], 0
call fcn.0046f0bc
mov edi, dword [esp + 0x10]
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebx + 0x64]
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.0047e1c5
push 0
lea edx, [esp + 0x20]
push str.Allow_Write
push edx
mov ecx, ebp
mov dword [ebx + 4], eax
call fcn.0047e1c5
mov dword [ebx + 8], eax
push 1
lea eax, [esp + 0x20]
push str.Allow_Power_Change
push eax
mov ecx, ebp
call fcn.0047e1c5
test eax, eax
setne cl
push 0
lea edx, [esp + 0x20]
mov byte [ebx + 0x439], cl
push str.Disable_Scan
push edx
mov ecx, ebp
call fcn.0047e1c5
mov dword [ebx + 0xec], eax
push 7
lea eax, [esp + 0x20]
push str.Selected_Tests
push eax
mov ecx, ebp
call fcn.0047e1c5
push 0
lea ecx, [esp + 0x20]
push str.TR_Full_test
push ecx
mov ecx, ebp
mov dword [ebx + 0x431], eax
call fcn.0047e1c5
push 0x3e8
lea edx, [esp + 0x20]
push str.TR_Time
push edx
mov ecx, ebp
mov dword [ebx + 0x142a], eax
call fcn.0047e1c5
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], 0
fild qword [esp + 0x14]
push 0x80
lea eax, [esp + 0x20]
push str.Block_Size
push eax
fmul qword [0x4895d0]
mov ecx, ebp
fstp qword [ebx + 0x142e]
call fcn.0047e1c5
push 1
lea ecx, [esp + 0x20]
push str.TR_Full_Capacity
push ecx
mov ecx, ebp
mov dword [ebx + 0x1442], eax
call fcn.0047e1c5
push 0x28
lea edx, [esp + 0x20]
push str.TR_Short_Stroke
push edx
mov ecx, ebp
mov dword [ebx + 0x1436], eax
call fcn.0047e1c5
mov dword [ebx + 0x143a], eax
push 0
lea eax, [esp + 0x20]
push str.TR_Include_Raw
push eax
mov ecx, ebp
call fcn.0047e1c5
push 0x3c
lea ecx, [esp + 0x20]
push str.HE_Update_Interval
push ecx
mov ecx, ebp
mov dword [ebx + 0x143e], eax
call fcn.0047e1c5
push 0
lea edx, [esp + 0x20]
push str.HE_Monitor_Tests
push edx
mov ecx, ebp
mov dword [ebx + 0xf0], eax
call fcn.0047e1c5
mov dword [ebx + 0xf4], eax
push 1
lea eax, [esp + 0x20]
push str.HE_Save_Log
push eax
mov ecx, ebp
call fcn.0047e1c5
push 0x4a7a28
lea ecx, [esp + 0x20]
push str.HE_Log_Path
lea edx, [esp + 0x44]
push ecx
push edx
mov ecx, ebp
mov dword [ebx + 0xf8], eax
call fcn.0047e231
mov edi, dword [esp + 0x3c]
mov byte [esp + 0x23c], 3
cmp dword [edi - 8], 2
jge 0x416516
lea eax, [ebx + 0xfc]
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, [ebx + 0xfc]
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 0x416534
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [ebx + 0xfc]
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 0xb
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x20]
push str.File_Size
push ecx
mov ecx, ebp
call fcn.0047e1c5
push 0
lea edx, [esp + 0x20]
push str.Write_Delay
push edx
mov ecx, ebp
mov dword [ebx + 0x418], eax
call fcn.0047e1c5
mov dword [ebx + 0x41c], eax
push 1
lea eax, [esp + 0x20]
push str.AT_Full_Capacity
push eax
mov ecx, ebp
call fcn.0047e1c5
push 0x28
lea ecx, [esp + 0x20]
push str.AT_Short_Stroke
push ecx
mov ecx, ebp
mov dword [ebx + 0x39d6], eax
call fcn.0047e1c5
push 0xffff
lea edx, [esp + 0x20]
push str.Test_Mask
push edx
mov ecx, ebp
mov dword [ebx + 0x39da], eax
call fcn.0047e1c5
mov dword [ebx + 0x420], eax
push 1
lea eax, [esp + 0x20]
push str.ET_Full_Capacity
push eax
mov ecx, ebp
call fcn.0047e1c5
push 0x28
lea ecx, [esp + 0x20]
push str.ET_Short_Stroke
push ecx
mov ecx, ebp
mov dword [ebx + 0x39ce], eax
call fcn.0047e1c5
push 1
lea edx, [esp + 0x20]
push str.Temperature_Units
push edx
mov ecx, ebp
mov dword [ebx + 0x39d2], eax
call fcn.0047e1c5
mov dword [ebx + 0xc], eax
push 0
lea eax, [esp + 0x20]
push str.Temperature_Show_Both_Units
push eax
mov ecx, ebp
call fcn.0047e1c5
push 0
lea ecx, [esp + 0x20]
push str.Test_Parameters_1
lea edx, [esp + 0x1c]
push ecx
push edx
mov ecx, ebp
mov dword [ebx + 0x10], eax
call fcn.0047e231
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x240], 4
call fcn.0046f1f5
lea ecx, [esp + 0x14]
mov byte [esp + 0x23c], 3
call fcn.0046f0bc
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_5
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.0047e231
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x240], 5
call fcn.0046f1f5
lea ecx, [esp + 0x14]
mov byte [esp + 0x23c], 3
call fcn.0046f0bc
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
push 0
mov eax, ecx
mov esi, edi
mov edi, edx
push str.Test_Parameters_3
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.0047e231
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x240], 6
call fcn.0046f1f5
lea ecx, [esp + 0x14]
mov byte [esp + 0x23c], 3
call fcn.0046f0bc
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, 0xffffff40
and ecx, 3
rep movsb byte es:[edi], byte [esi]
xor esi, esi
lea edi, [ebx + 0xc0]
sub eax, ebx
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.004478fa
push 0x10
lea ecx, [esp + 0x54]
push 0
push ecx
call fcn.00448a8c
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.004478fa
push 0x10
lea edx, [esp + 0x70]
push 0
push edx
call fcn.00448a8c
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.004478fa
add esp, 0x48
lea eax, [esp + 0x40]
push 0x10
push 0
push eax
call fcn.00448a8c
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 0x416750
push 1
lea edx, [esp + 0x20]
push str.Temperature_Tray_Icon
push edx
mov ecx, ebp
call fcn.0047e1c5
mov dword [ebx + 0x14], eax
push 0xffffff
lea eax, [esp + 0x20]
push str.Temperature_Color
push eax
mov ecx, ebp
call fcn.0047e1c5
push 0xff
lea ecx, [esp + 0x20]
push str.Critical_Temperature_Color
push ecx
mov ecx, ebp
mov dword [ebx + 0x18], eax
call fcn.0047e1c5
push 0xffffffffffffffff
lea edx, [esp + 0x20]
push str.Critical_Temperature
push edx
mov ecx, ebp
mov dword [ebx + 0x1c], eax
call fcn.0047e1c5
cmp eax, 0xffffffff
mov dword [ebx + 0x20], eax
jne 0x41687d
cmp dword [ebx + 0xc], 1
jne 0x416870
mov dword [ebx + 0x20], 0x37
jmp 0x41687d
push 0x37
call fcn.00417300
add esp, 4
mov dword [ebx + 0x20], eax
push 1
lea eax, [esp + 0x20]
push str.Open_File_Dialog
push eax
mov ecx, ebp
call fcn.0047e1c5
push 1
lea ecx, [esp + 0x20]
push str.Replace_Spaces
push ecx
mov ecx, ebp
mov dword [ebx + 0x200], eax
call fcn.0047e1c5
push 0
lea edx, [esp + 0x20]
push str.Auto_Save
push edx
mov ecx, ebp
mov dword [ebx + 0x40c], eax
call fcn.0047e1c5
mov dword [ebx + 0x410], eax
mov al, byte [0x4a7a28]
mov byte [esp + 0x130], al
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x131]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x130]
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 + 0x130]
lea eax, [esp + 0x1c]
push edx
push str.Save_Path
lea ecx, [esp + 0x1c]
push eax
push ecx
mov ecx, ebp
call fcn.0047e231
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x240], 7
call fcn.0046f1f5
lea ecx, [esp + 0x14]
mov byte [esp + 0x23c], 3
call fcn.0046f0bc
mov edi, dword [esp + 0x10]
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebx + 0x204]
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.0047e231
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x240], 8
call fcn.0046f1f5
lea ecx, [esp + 0x14]
mov byte [esp + 0x23c], 3
call fcn.0046f0bc
mov edi, dword [esp + 0x10]
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebx + 0x308]
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, ebp
call fcn.0047e1c5
push 0x80ff
lea edx, [esp + 0x20]
push str.Write_Color
push edx
mov ecx, ebp
mov dword [ebx + 0xa4], eax
call fcn.0047e1c5
mov dword [ebx + 0xa8], eax
push 0
lea eax, [esp + 0x20]
push str.All_Disks
push eax
mov ecx, ebp
call fcn.0047e1c5
lea ecx, [esp + 0x3c]
mov dword [ebx + 0x414], eax
mov byte [esp + 0x23c], 0
call fcn.0046f0bc
lea ecx, [esp + 0x10]
mov dword [esp + 0x23c], 0xffffffff
call fcn.0046f0bc
mov ecx, dword [esp + 0x234]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x230
ret