Function at 0x1400142d0
Capabilities:
Check if file exists
Get common file path

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x3b8]
sub rsp, 0x4b0
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x140092690]
xor rax, rsp
mov qword [rbp + 0x3a0], rax
mov rbx, rcx
xor edx, edx
mov r8d, Ordinal_265
lea rcx, [rsp + 0x60]
call sub.VCRUNTIME140.dll_memset
xor edx, edx
mov r8d, Ordinal_265
lea rcx, [rbp + 0x70]
call sub.VCRUNTIME140.dll_memset
xor edx, edx
mov r8d, Ordinal_265
lea rcx, [rbp + 0x180]
call sub.VCRUNTIME140.dll_memset
xor edx, edx
mov r8d, Ordinal_265
lea rcx, [rbp + 0x290]
call sub.VCRUNTIME140.dll_memset
mov dword [rsp + 0x40], Ordinal_266
xor edi, edi
mov dword [rbx + 0x18], edi
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x140014390
lea edx, [rdi + 1]
call fcn.140025ed0
lea rdx, str._t_CGolanSetting::GetMurocVersion__:_Detecting_PROSetVersion...
mov rcx, qword [rbx + 8]
call fcn.140025be0
lea edx, [rdi + 1]
mov rcx, qword [rbx + 8]
call fcn.140025ed0
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x70]
call qword [sym.imp.USERENV.dll_GetProfilesDirectoryA]
test eax, eax
je 0x140014787
lea r8, [rbp + 0x70]
mov edx, 0x104
lea rcx, [rsp + 0x60]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcpy_s]
lea rdx, str.All_Users
lea rcx, [rsp + 0x60]
call qword [sym.imp.SHLWAPI.dll_PathAppendA]
lea rdx, [rsp + 0x60]
mov rcx, rbx
call fcn.140006980
mov rcx, qword [rbx + 8]
test eax, eax
je 0x140014408
mov dword [rbx + 0x18], 1
test rcx, rcx
je 0x140014787
mov edx, 1
call fcn.140025ed0
lea rdx, str._t_CGolanSetting::GetMurocVersion__:_Pre_9x_version_
jmp 0x1400144ee
test rcx, rcx
je 0x140014435
mov edx, 1
call fcn.140025ed0
lea rdx, str._t_CGolanSetting::GetMurocVersion__:_pre_9_.sav_folder_not_found_
mov rcx, qword [rbx + 8]
call fcn.140025be0
mov edx, 1
mov rcx, qword [rbx + 8]
call fcn.140025ed0
xor edx, edx
mov r8d, Ordinal_265
lea rcx, [rbp + 0x180]
call sub.VCRUNTIME140.dll_memset
mov r8d, Ordinal_265
lea rdx, [rbp + 0x180]
mov rcx, rbx
call fcn.140006740
lea r8, [rbp + 0x70]
mov edx, 0x104
lea rcx, [rsp + 0x60]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcpy_s]
lea rdx, str.All_Users
lea rcx, [rsp + 0x60]
call qword [sym.imp.SHLWAPI.dll_PathAppendA]
lea rdx, [0x140067a10]
lea rcx, [rsp + 0x60]
call qword [sym.imp.SHLWAPI.dll_PathAppendA]
lea rdx, [rbp + 0x180]
lea rcx, [rsp + 0x60]
call qword [sym.imp.SHLWAPI.dll_PathAppendA]
lea rdx, str.IntelWirelessSettings.sav
lea rcx, [rsp + 0x60]
call qword [sym.imp.SHLWAPI.dll_PathAppendA]
lea rcx, [rsp + 0x60]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsA]
mov rcx, qword [rbx + 8]
test eax, eax
je 0x14001450a
mov dword [rbx + 0x18], 2
test rcx, rcx
je 0x140014787
mov edx, 1
call fcn.140025ed0
lea rdx, str._t_CGolanSetting::GetMurocVersion__:_Direct_upgrade_from_9x_to_10x_
mov rcx, qword [rbx + 8]
call fcn.140025be0
mov edx, 1
mov rcx, qword [rbx + 8]
call fcn.140025ed0
jmp 0x140014787
test rcx, rcx
je 0x14001455d
mov edx, 1
call fcn.140025ed0
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
lea r9, str._t_CGolanSetting::GetMurocVersion__:_folder:__s_not_found_
or r8, 0xffffffffffffffff
mov edx, 0x104
lea rcx, [rbp + 0x290]
call fcn.140008c50
lea rdx, [rbp + 0x290]
mov rcx, qword [rbx + 8]
call fcn.140025be0
mov edx, 1
mov rcx, qword [rbx + 8]
call fcn.140025ed0
lea rcx, [rsp + 0x38]
call qword [sym.imp.mfc140.dll_Ordinal_316]
nop
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rdx, str.9.0.0
lea rcx, [rbx + 0x10]
call qword [sym.imp.mfc140.dll_Ordinal_2899]
test eax, eax
jne 0x1400145c6
mov dword [rbx + 0x18], 3
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x14001477c
lea edx, [rax + 1]
call fcn.140025ed0
lea rdx, str._t_CGolanSetting::GetMurocVersion__:_Saved_version_is_9x
mov rcx, qword [rbx + 8]
call fcn.140025be0
mov edx, 1
mov rcx, qword [rbx + 8]
call fcn.140025ed0
jmp 0x14001477c
lea rdx, str.10.0.0
lea rcx, [rbx + 0x10]
call qword [sym.imp.mfc140.dll_Ordinal_2899]
test eax, eax
jne 0x14001463e
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x14001460a
lea edx, [rax + 1]
call fcn.140025ed0
lea rdx, str._t_CGolanSetting::GetMurocVersion__:_Saved_or_old_version_is_10x
mov rcx, qword [rbx + 8]
call fcn.140025be0
mov edx, 1
mov rcx, qword [rbx + 8]
call fcn.140025ed0
lea rdx, [rsp + 0x38]
mov rcx, rbx
call fcn.1400147b0
test eax, eax
je 0x140014636
lea rdx, str.10.0.0.0
lea rcx, [rsp + 0x38]
call qword [sym.imp.mfc140.dll_Ordinal_2899]
test eax, eax
jne 0x140014636
mov edi, 4
mov dword [rbx + 0x18], edi
jmp 0x14001477c
lea rdx, [rsp + 0x38]
mov rcx, rbx
call fcn.1400147b0
test eax, eax
je 0x14001477c
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc140.dll_Ordinal_316]
nop
mov dword [rsp + 0x44], edi
lea r9, [rsp + 0x44]
lea r8, [0x140065298]
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x38]
call qword [sym.imp.mfc140.dll_Ordinal_13906]
nop
mov rdx, rax
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc140.dll_Ordinal_1504]
nop
lea rcx, [rsp + 0x48]
call qword [sym.imp.mfc140.dll_Ordinal_1032]
lea rdx, [0x140068e44]
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc140.dll_Ordinal_2899]
test eax, eax
jne 0x1400146bc
mov dword [rbx + 0x18], 5
jmp 0x140014770
lea rdx, [0x140068e48]
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc140.dll_Ordinal_2899]
test eax, eax
jne 0x1400146de
mov dword [rbx + 0x18], 6
jmp 0x140014770
lea rdx, [0x140068e4c]
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc140.dll_Ordinal_2899]
test eax, eax
jne 0x1400146fd
mov dword [rbx + 0x18], 7
jmp 0x140014770
lea rdx, [0x140068e50]
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc140.dll_Ordinal_2899]
test eax, eax
jne 0x14001471c
mov dword [rbx + 0x18], 8
jmp 0x140014770
lea rdx, [0x140068e54]
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc140.dll_Ordinal_2899]
test eax, eax
jne 0x14001473b
mov dword [rbx + 0x18], 9
jmp 0x140014770
mov dword [rbx + 0x18], edi
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x140014770
mov edx, 1
call fcn.140025ed0
lea rdx, str._t_CGolanSetting::GetMurocVersion__:_previous_PROSetVersion_unknown
mov rcx, qword [rbx + 8]
call fcn.140025be0
mov edx, 1
mov rcx, qword [rbx + 8]
call fcn.140025ed0
nop
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc140.dll_Ordinal_1032]
nop
lea rcx, [rsp + 0x38]
call qword [sym.imp.mfc140.dll_Ordinal_1032]
mov rcx, qword [rbp + 0x3a0]
xor rcx, rsp
call fcn.140059ef0
lea r11, [rsp + 0x4b0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret