Function at 0x140006b90
Capabilities:
Check if file exists
Read .ini file

Disassembly:
push rbp
push rbx
push r15
lea rbp, [rsp - 0xa30]
sub rsp, 0xb30
mov rax, qword [0x140092690]
xor rax, rsp
mov qword [rbp + 0xa10], rax
lea r9, [0x14006544c]
mov r15, rcx
lea rcx, [0x140065cb4]
mov qword [rsp + 0x78], r9
mov qword [rsp + 0x50], rcx
lea r8, [0x140064d60]
mov qword [rsp + 0x68], rcx
lea rax, str.SharedFolder
mov qword [rsp + 0x58], rax
mov rbx, rdx
lea rdx, str.WEV_USER_SETTINGS
mov qword [rbp - 0x80], rcx
mov qword [rbp - 0x68], rcx
lea rax, [0x140065cc8]
mov qword [rsp + 0x60], rax
lea rax, str.AlertWhenAllPeersLeave
mov qword [rsp + 0x70], rax
lea rax, str.AlertWhenNoPeersJoining
mov qword [rbp - 0x78], rax
lea rax, str.AlertDefaultSSID
mov qword [rbp - 0x60], rax
lea rax, str.DefEAPAKAID
mov qword [rbp - 0x48], rax
lea rax, str._mncmnc.mccmcc.owlan.org
mov qword [rbp - 0x40], rax
lea rax, str.DontShowWiMAXWarningAgain
mov qword [rbp - 0x30], rax
lea rax, str.EnableWSCRegistrar
mov qword [rbp - 0x18], rax
lea rax, str.EnableWSCPopUp
mov qword [rbp], rax
lea rax, str.WEVUserLogEnabled
mov qword [rbp + 0x18], rax
lea rax, str.WEVUserLogFilePath
mov qword [rbp + 0x30], rax
lea rax, str.WEVUserLogFileName
mov qword [rbp + 0x48], rax
lea rax, str.WEVUserLogFileSize
mov qword [rbp + 0x60], rax
lea rax, str.WEVUserDeleteOptions
mov qword [rbp + 0x78], rax
lea rax, str.WEVUserDeleteFrequency
mov qword [rbp + 0x90], rax
lea rax, [0x140065e38]
mov qword [rbp - 0x50], rcx
mov qword [rbp - 0x38], rcx
lea rcx, [0x140065d64]
mov qword [rbp + 0x98], rax
lea rax, str.WEVUserDeleteSize
mov qword [rbp - 0x20], rcx
mov qword [rbp - 8], rcx
lea rcx, [0x14006508d]
mov qword [rbp + 0xa8], rax
lea rax, [0x140065e54]
mov qword [rbp - 0x28], r8
mov qword [rbp + 0x10], rdx
mov qword [rbp + 0x20], r8
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x38], rcx
mov qword [rbp + 0x40], rdx
mov qword [rbp + 0x50], rcx
lea rcx, [rbp + 0x100]
mov qword [rbp + 0x58], rdx
mov qword [rbp + 0x70], rdx
mov qword [rbp + 0x80], r8
mov r8d, Ordinal_266
mov qword [rbp + 0x88], rdx
mov qword [rbp + 0xa0], rdx
xor edx, edx
mov qword [rbp + 0xb0], rax
mov qword [rbp - 0x70], r9
mov qword [rbp - 0x58], r9
mov qword [rbp - 0x10], r9
mov qword [rbp + 8], r9
mov qword [rbp + 0x68], r9
call sub.VCRUNTIME140.dll_memset
mov r8, rbx
lea rcx, [rbp + 0x100]
mov edx, Ordinal_265
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcpy_s]
lea rdx, str.IntelWirelessSettings
lea rcx, [rbp + 0x100]
call qword [sym.imp.SHLWAPI.dll_PathAppendA]
lea rdx, str.Settings.ini
lea rcx, [rbp + 0x100]
call qword [sym.imp.SHLWAPI.dll_PathAppendA]
lea rcx, [rbp + 0x100]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x140006f04
mov qword [rsp + Ordinal_2917], rsi
lea rbx, [rsp + 0x50]
mov qword [rsp + 0xb28], rdi
xor esi, esi
mov qword [rsp + 0xb20], r14
nop
cmp qword [r15 + 8], 0
mov rdi, qword [rbx + 8]
je 0x140006e1d
lea rax, [rbp + 0x100]
or r8, 0xffffffffffffffff
mov qword [rsp + 0x40], rax
lea r9, str._n_t_d:_saving__s_with_value__s_in_section___s__at_file_location__s
mov rax, qword [rbx + 0x10]
lea rcx, [rbp + 0x210]
mov qword [rsp + 0x38], rax
mov edx, 0x800
mov rax, qword [rbx]
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], esi
call fcn.140008c50
mov rcx, qword [r15 + 8]
lea rdx, [rbp + 0x210]
call fcn.140025be0
mov eax, dword [0x140065ed0]
lea r9, [rbp + 0xc0]
movups xmm0, xmmword [str.ICNVERTR_KEY_DOES_NOT_EXISTS]
lea r8, [rbp + 0xe0]
mov r14, qword [rbx]
movsd xmm1, qword [0x140065ec8]
mov rdx, rdi
mov dword [rbp + 0xf8], eax
mov rcx, r14
movzx eax, byte [0x140065ed4]
mov byte [rbp + 0xfc], al
xor eax, eax
mov qword [rbp + 0xc0], rax
mov qword [rbp + 0xc8], rax
mov qword [rbp + 0xd0], rax
mov dword [rbp + 0xd8], eax
mov byte [rbp + 0xdc], al
lea rax, [rbp + 0x100]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x1d
movups xmmword [rbp + 0xe0], xmm0
movsd qword [rbp + 0xf0], xmm1
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov r8d, 0x1d
lea rdx, [rbp + 0xc0]
lea rcx, [rbp + 0xe0]
call qword [sym.imp.api_ms_win_crt_multibyte_l1_1_0.dll__mbsnbcmp]
test eax, eax
jne 0x140006edd
mov r8, qword [rbx + 0x10]
lea r9, [rbp + 0x100]
mov rdx, rdi
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
inc esi
add rbx, 0x18
cmp esi, 0xf
jb 0x140006dc0
mov r14, qword [rsp + 0xb20]
mov rdi, qword [rsp + 0xb28]
mov rsi, qword [rsp + 0xb60]
mov eax, 1
mov rcx, qword [rbp + 0xa10]
xor rcx, rsp
call fcn.140059ef0
add rsp, 0xb30
pop r15
pop rbx
pop rbp
ret