Function at 0x1400230e0
Capabilities:
Get common file path
Query or enumerate registry value
Write file on windows

Disassembly:
jmp 0x1400230e0
mov rax, rsp
push rbp
lea rbp, [rax - 0x618]
sub rsp, 0x710
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov rax, qword [0x1400ff010]
xor rax, rsp
mov qword [rbp + 0x600], rax
xor edx, edx
lea r8d, [rdx + 0x64]
lea rcx, [rsp + 0x60]
call fcn.140098800
mov dword [rsp + 0x4c], 3
mov dword [rsp + 0x48], 0x64
xor esi, esi
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x50], rsi
lea rcx, [rsp + 0x50]
call fcn.14006a230
nop
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rdx, qword [rsp + 0x50]
mov rcx, 0xffffffff80000002
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
lea rdi, [rsi - 1]
test eax, eax
je 0x140023182
lea r8d, [rsi + 0x7a]
jmp 0x1400231d2
mov rcx, qword [rsp + 0x38]
test rcx, rcx
jne 0x140023192
lea r8d, [rcx + 0x7b]
jmp 0x1400231d2
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x4c]
xor r8d, r8d
lea rdx, str.AsusPresetInformation
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
mov ebx, eax
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
test ebx, ebx
je 0x1400231ea
mov r8d, 0x80
lea rdx, str.CCustomizeASUS::WritePreset
lea rcx, str._s__d_RETURN_ON_FALSE
call fcn.1400430e0
jmp 0x1400233a4
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x1e0]
call fcn.140098800
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x3f0]
call fcn.140098800
mov qword [rsp + 0x40], rsi
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp - 0x30]
call fcn.140098800
xor r9d, r9d
lea r8d, [r9 + 0x24]
lea rdx, [rbp - 0x30]
xor ecx, ecx
call qword [sym.imp.ext_ms_win_shell32_shellfolders_l1_1_0.dll_SHGetSpecialFolderPathW]
lea rcx, [rbp - 0x30]
mov rax, rdi
lea rax, [rax + 1]
cmp word [rcx + rax*2], 0
jne 0x140023242
cmp word [rbp + rax*2 - 0x32], 0x5c
jne 0x14002326e
lea rax, [rax*2 - 2]
cmp rax, 0x208
jae 0x1400233e8
mov word [rbp + rax - 0x30], si
mov ecx, 0x103
lea rax, [rbp - 0x30]
cmp word [rax], 0
je 0x140023287
add rax, 2
sub rcx, 1
jne 0x140023277
mov eax, 0x103
sub rax, rcx
mov rdx, rsi
test rcx, rcx
cmovne rdx, rax
je 0x1400232ef
mov r8d, 0x103
sub r8, rdx
lea rcx, [rbp - 0x30]
lea rcx, [rcx + rdx*2]
je 0x1400232e1
lea rax, [rdx + 0x7ffffefb]
add rax, r8
lea r9, str.Logs
sub r9, rcx
test rax, rax
je 0x1400232e1
movzx edx, word [r9 + rcx]
test dx, dx
je 0x1400232e1
mov word [rcx], dx
add rcx, 2
dec rax
sub r8, 1
jne 0x1400232c2
lea rax, [rcx - 2]
test r8, r8
cmovne rax, rcx
mov word [rax], si
lea r8, [rbp - 0x30]
mov edx, 0x103
lea rcx, [rbp + 0x3f0]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
lea rax, str.ASUS.txt
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x3f0]
lea r8, [0x1400b0b48]
mov edx, 0x104
lea rcx, [rbp + 0x1e0]
call fcn.14001ef90
lea r8, [0x1400b8cf8]
lea rdx, [rbp + 0x1e0]
lea rcx, [rsp + 0x40]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__wfopen_s]
mov ebx, eax
test eax, eax
jne 0x140023378
mov edx, dword [rsp + 0x48]
mov r9, qword [rsp + 0x40]
lea r8d, [rax + 1]
lea rcx, [rsp + 0x60]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__flushall]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov r9d, eax
lea rax, [rbp + 0x1e0]
mov qword [rsp + 0x20], rax
mov r8d, ebx
lea rdx, str.CCustomizeASUS::WritePreset
lea rcx, str._s_err_d_LastErr_d_szFile_s
call fcn.1400430e0
nop
mov rdx, qword [rsp + 0x50]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], edi
sub edi, 1
jg 0x1400233c0
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rcx, qword [rbp + 0x600]
xor rcx, rsp
call fcn.140091f30
lea r11, [rsp + 0x710]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
call fcn.1400927f0
nop
int3