Function at 0x140049120
Capabilities:
Delete registry value
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xb0]
sub rsp, 0x1b0
mov rax, qword [0x140164030]
xor rax, rsp
mov qword [rbp + 0xa8], rax
mov r13, rcx
xor r15d, r15d
mov dword [rsp + 0x30], r15d
mov dword [rbp + 0x28], r15d
mov rdx, qword [rcx + 0x20]
mov rcx, qword [rcx + 0x18]
call fcn.14004d8e0
mov rax, qword [r13 + 0x18]
mov qword [r13 + 0x20], rax
mov qword [rbp + 0x30], r15
lea rax, [rbp + 0x30]
mov qword [rsp + 0x20], rax
mov r9d, 0xf003f
xor r8d, r8d
lea rdx, str.SOFTWAREASUSASUS_System_Control_InterfaceLinktoMyASUS
mov rcx, 0xffffffff80000002
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
test eax, eax
jne 0x140049e73
mov byte [r13 + 0x78], r15b
lea rax, [rbp + 0x28]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r15
xor r9d, r9d
xor r8d, r8d
lea rdx, str.c707b2ef_22fc_4e7f_b155_b23f0fc2498a
mov rcx, qword [rbp + 0x30]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
cmp eax, 0xea
je 0x1400491fd
test eax, eax
je 0x1400491fd
lea rcx, str._AsusSync_CommMgr__LoadConfig___fail_to_query_size_of_config_data_n
call fcn.140095ab0
mov rcx, qword [rbp + 0x30]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
jmp 0x140049e7f
mov ecx, dword [rbp + 0x28]
inc ecx
call fcn.1400c26fc
mov r14, rax
lea rax, [rbp + 0x28]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r14
xor r9d, r9d
xor r8d, r8d
lea rdx, str.c707b2ef_22fc_4e7f_b155_b23f0fc2498a
mov rcx, qword [rbp + 0x30]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
test eax, eax
jne 0x140049e53
mov r10d, dword [rbp + 0x28]
mov r9d, r15d
test r10d, r10d
je 0x140049273
test r9b, 1
je 0x140049267
mov r8d, r9d
movzx edx, byte [r8 + r14]
lea eax, [r9 - 1]
mov ecx, eax
movzx eax, byte [rax + r14]
mov byte [rcx + r14], dl
sub al, r9b
mov byte [r8 + r14], al
inc r9d
cmp r9d, r10d
jb 0x140049243
mov r10d, dword [rbp + 0x28]
mov eax, r10d
mov byte [rax + r14], r15b
lea rax, [rbp - 0x18]
mov qword [rsp + 0x30], rax
mov qword [rbp + 0x20], r15
mov rbx, 0xffffffffffffffff
nop
inc rbx
cmp byte [r14 + rbx], 0
jne 0x140049290
mov ecx, 0x30
call fcn.1400c2704
mov rcx, rax
mov qword [rsp + 0x38], rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov edi, 1
mov dword [rax + 8], edi
mov dword [rax + 0xc], edi
lea rax, vtable.std::_Ref_count_obj2_class_nlohmann::detail::input_buffer_adapter_.0
mov qword [rcx], rax
lea rdx, [rcx + 0x10]
lea rax, vtable.nlohmann::detail::input_buffer_adapter.0
mov qword [rdx], rax
mov qword [rdx + 8], r14
lea rax, [rbx + r14]
mov qword [rdx + 0x10], rax
mov qword [rdx + 0x18], r14
cmp rbx, 3
jb 0x140049307
cmp byte [r14], 0xef
jne 0x140049307
cmp byte [r14 + 1], 0xbb
jne 0x140049307
cmp byte [r14 + 2], 0xbf
jne 0x140049307
lea rax, [r14 + 3]
mov qword [rdx + 8], rax
mov qword [rsp + 0x40], rdx
mov qword [rsp + 0x48], rcx
lea r8, [rbp - 0x18]
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x58]
call fcn.14001c710
nop
cmp byte [rbp + 0x58], 8
je 0x140049e24
mov rdx, r14
lea rcx, str._AsusSync_CommMgr__LoadConfig____s_n
call fcn.1400959a0
lea rdx, str.numoffolders
lea rcx, [rbp + 0x58]
call fcn.140025520
movzx ecx, byte [rax]
lea eax, [rcx - 5]
cmp al, 1
jbe 0x140049360
cmp cl, 7
jne 0x1400495f5
lea rdx, str.folders
lea rcx, [rbp + 0x58]
call fcn.140025520
cmp byte [rax], 2
jne 0x1400495f5
lea rdx, str.enabled
lea rcx, [rbp + 0x58]
call fcn.140025520
cmp byte [rax], 4
jne 0x1400495f5
lea rdx, str.enabled
lea rcx, [rbp + 0x58]
call fcn.140025520
mov rcx, rax
call fcn.14004d350
test al, al
setne al
mov byte [r13 + 0x150], al
lea rdx, str.numoffolders
lea rcx, [rbp + 0x58]
call fcn.140025520
mov rcx, rax
call fcn.140025720
mov r12d, eax
mov byte [rbp + 0x68], 0
xor edx, edx
lea rcx, [rbp + 0x70]
call fcn.14001fb30
nop
test r12d, r12d
jle 0x1400495e3
nop word [rax + rax]
movsxd rbx, r15d
lea rdx, str.folders
lea rcx, [rbp + 0x58]
call fcn.140025520
mov rcx, rax
mov rdx, rbx
call fcn.14001c950
mov rdx, rax
lea rcx, [rbp + 0x38]
call fcn.14001ce10
movzx edx, byte [rbp + 0x68]
movzx ecx, byte [rax]
mov byte [rbp + 0x68], cl
mov byte [rax], dl
lea rcx, [rax + 8]
mov rax, qword [rbp + 0x70]
mov r8, qword [rcx]
mov qword [rbp + 0x70], r8
mov qword [rcx], rax
call fcn.14001f060
lea rdx, str.path
lea rcx, [rbp + 0x68]
call fcn.140025520
cmp byte [rax], 3
jne 0x1400495c3
lea rdx, str.path
lea rcx, [rbp + 0x68]
call fcn.140025520
nop
xor ebx, ebx
mov qword [rbp + 0x88], rbx
mov qword [rbp + 0x98], rbx
mov qword [rbp + 0xa0], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x88], bl
or edi, 2
mov dword [rsp + 0x30], edi
cmp byte [rax], 3
jne 0x140049ec1
mov r8, qword [rax + 8]
lea rax, [rbp + 0x88]
cmp rax, r8
je 0x1400494c5
mov rdx, r8
cmp qword [r8 + 0x18], 0x10
jb 0x1400494b5
mov rdx, qword [r8]
mov r8, qword [r8 + 0x10]
lea rcx, [rbp + 0x88]
call fcn.140028190
lea rdx, [rbp + 0x88]
lea rcx, [rsp + 0x50]
call fcn.140097be0
nop
mov rdx, qword [r13 + 0x20]
cmp rdx, qword [r13 + 0x28]
je 0x140049510
mov qword [rdx], rbx
mov qword [rdx + 0x10], rbx
mov qword [rdx + 0x18], rbx
movups xmm0, xmmword [rax]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rdx + 0x10], xmm1
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], 7
mov word [rax], bx
add qword [r13 + 0x20], 0x20
jmp 0x14004951d
mov r8, rax
lea rcx, [r13 + 0x18]
call fcn.14004d580
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 8
jb 0x14004955f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004955a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140049eb5
call fcn.1400c2470
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], 7
mov word [rsp + 0x50], bx
and edi, 0xfffffffd
mov rdx, qword [rbp + 0xa0]
cmp rdx, 0x10
jb 0x1400495b6
inc rdx
mov rcx, qword [rbp + 0x88]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400495b1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140049ebb
call fcn.1400c2470
inc r15d
cmp r15d, r12d
jge 0x1400495e3
jmp 0x1400493f0
lea r8, str.c707b2ef_22fc_4e7f_b155_b23f0fc2498a
xor edx, edx
mov rcx, qword [rbp + 0x30]
call qword [sym.imp.api_ms_win_core_registry_l1_1_1.dll_RegDeleteKeyValueW]
lea rcx, str._AsusSync_CommMgr__LoadConfig___invalid_parameters__delete_it
call fcn.140095ab0
nop
movzx edx, byte [rbp + 0x68]
lea rcx, [rbp + 0x70]
call fcn.14001f060
xor r15d, r15d
jmp 0x140049614
lea r8, str.c707b2ef_22fc_4e7f_b155_b23f0fc2498a
xor edx, edx
mov rcx, qword [rbp + 0x30]
call qword [sym.imp.api_ms_win_core_registry_l1_1_1.dll_RegDeleteKeyValueW]
lea rcx, str._AsusSync_CommMgr__LoadConfig___invalid_parameters__delete_it
call fcn.140095ab0
lea rdx, str.mDNSDownloadPath
lea rcx, [rbp + 0x58]
call fcn.140025520
cmp byte [rax], 3
jne 0x1400497cc
lea rdx, str.mDNSDownloadPath
lea rcx, [rbp + 0x58]
call fcn.140025520
nop
mov qword [rbp + 0x68], r15
mov qword [rbp + 0x78], r15
mov qword [rbp + 0x80], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x68], 0
or edi, 4
mov dword [rsp + 0x30], edi
cmp byte [rax], 3
jne 0x140049f0e
mov r8, qword [rax + 8]
lea rax, [rbp + 0x68]
cmp rax, r8
je 0x14004968c
mov rdx, r8
cmp qword [r8 + 0x18], 0x10
jb 0x14004967f
mov rdx, qword [r8]
mov r8, qword [r8 + 0x10]
lea rcx, [rbp + 0x68]
call fcn.140028190
lea rdx, [rbp + 0x68]
lea rcx, [rbp + 0x38]
call fcn.140097be0
nop
and edi, 0xfffffffb
mov rdx, qword [rbp + 0x80]
cmp rdx, 0x10
jb 0x1400496db
inc rdx
mov rcx, qword [rbp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400496d6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140049f5b
call fcn.1400c2470
mov qword [rbp + 0x78], r15
mov qword [rbp + 0x80], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x68], 0
mov rbx, qword [rbp + 0x48]
test rbx, rbx
je 0x140049789
lea r11, [r13 + 0x30]
mov rdx, r11
cmp qword [r11 + 0x18], 8
jb 0x14004970c
mov rdx, qword [r11]
lea rcx, [rbp + 0x38]
mov r10, qword [rbp + 0x50]
cmp r10, 8
setae sil
mov r8, qword [rbp + 0x38]
cmovae rcx, r8
cmp rbx, qword [r11 + 0x10]
jne 0x14004974a
mov r9, rbx
test rbx, rbx
je 0x140049791
movzx eax, word [rdx]
cmp word [rcx], ax
jne 0x14004974a
add rcx, 2
add rdx, 2
sub r9, 1
jne 0x140049732
jmp 0x140049791
lea rax, [rbp + 0x38]
cmp r11, rax
je 0x140049771
lea rdx, [rbp + 0x38]
test sil, sil
cmovne rdx, r8
mov r8, rbx
mov rcx, r11
call fcn.140017c00
mov r10, qword [rbp + 0x50]
mov r8, qword [rbp + 0x38]
lea rdx, [rbp + 0x38]
cmp r10, 8
cmovae rdx, r8
lea rcx, str._AsusSync_CommMgr__LoadConfig___MdnsReceivedFolder:_s_n
call fcn.140095ab0
mov r8, qword [rbp + 0x38]
mov r10, qword [rbp + 0x50]
cmp r10, 8
jb 0x1400497cc
lea rdx, [r10*2 + 2]
mov rax, r8
cmp rdx, 0x1000
jb 0x1400497c4
add rdx, 0x27
mov r8, qword [r8 - 8]
sub rax, r8
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140049f61
mov rcx, r8
call fcn.1400c2470
lea rdx, str.mDNSServiceBitmask
lea rcx, [rbp + 0x58]
call fcn.140025520
movzx ecx, byte [rax]
lea eax, [rcx - 5]
cmp al, 1
jbe 0x1400497eb
cmp cl, 7
jne 0x140049836
lea rdx, str.mDNSServiceBitmask
lea rcx, [rbp + 0x58]
call fcn.140025520
mov rcx, rax
call fcn.140025720
mov dword [r13 + 0x50], eax
mov rcx, qword [r13 + 0x130]
test rcx, rcx
je 0x140049836
cmp dword [rcx + 0xe98], eax
je 0x140049836
mov dword [rcx + 0xe98], eax
mov r8d, dword [rcx + 0xe9c]
mov edx, eax
lea rcx, str._AsusSync_MdnsMgr__SetMdnsServiceByFeatureMask_Current:0x_08X__Previous:0x_08X_n
call fcn.140095ab0
lea rdx, str.glidexad
lea rcx, [rbp + 0x58]
call fcn.140025520
cmp byte [rax], 4
jne 0x14004986f
lea rdx, str.glidexad
lea rcx, [rbp + 0x58]
call fcn.140025520
mov rcx, rax
call fcn.14004d350
test al, al
setne al
mov byte [r13 + 0xb0], al
lea rdx, str.glidexadfinish
lea rcx, [rbp + 0x58]
call fcn.140025520
cmp byte [rax], 4
jne 0x1400498a8
lea rdx, str.glidexadfinish
lea rcx, [rbp + 0x58]
call fcn.140025520
mov rcx, rax
call fcn.14004d350
test al, al
setne al
mov byte [r13 + 0xb1], al
lea rdx, str.uwpversion
lea rcx, [rbp + 0x58]
call fcn.140025520
movzx ecx, byte [rax]
lea eax, [rcx - 5]
cmp al, 1
jbe 0x1400498c7
cmp cl, 7
jne 0x1400498e6
lea rdx, str.uwpversion
lea rcx, [rbp + 0x58]
call fcn.140025520
mov rcx, rax
call fcn.14004d460
mov qword [r13 + 0x90], rax
lea rdx, str.cusid
lea rcx, [rbp + 0x58]
call fcn.140025520
cmp byte [rax], 3
jne 0x140049aac
lea rdx, str.cusid
lea rcx, [rbp + 0x58]
call fcn.140025520
nop
mov qword [rbp + 0x38], r15
mov qword [rbp + 0x48], r15
mov qword [rbp + 0x50], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x38], 0
or edi, 8
mov dword [rsp + 0x30], edi
cmp byte [rax], 3
jne 0x140049f67
mov r8, qword [rax + 8]
lea rax, [rbp + 0x38]
cmp rax, r8
je 0x14004995b
mov rdx, r8
cmp qword [r8 + 0x18], 0x10
jb 0x14004994e
mov rdx, qword [r8]
mov r8, qword [r8 + 0x10]
lea rcx, [rbp + 0x38]
call fcn.140028190
lea rdx, [rbp + 0x38]
lea rcx, [rbp + 0x88]
call fcn.140097be0
nop
and edi, 0xfffffff7
mov rdx, qword [rbp + 0x50]
cmp rdx, 0x10
jb 0x1400499aa
inc rdx
mov rcx, qword [rbp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400499a5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140049fb4
call fcn.1400c2470
mov qword [rbp + 0x48], r15
mov qword [rbp + 0x50], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x38], 0
lea r9, [r13 + 0xc0]
mov rdx, r9
cmp qword [r9 + 0x18], 8
jb 0x1400499ce
mov rdx, qword [r9]
lea rcx, [rbp + 0x88]
mov rsi, qword [rbp + 0xa0]
cmp rsi, 8
setae r11b
mov rbx, qword [rbp + 0x88]
cmovae rcx, rbx
mov r10, qword [rbp + 0x98]
cmp r10, qword [r9 + 0x10]
jne 0x140049a23
mov r8, r10
test r10, r10
je 0x140049a1a
movzx eax, word [rdx]
cmp word [rcx], ax
jne 0x140049a23
add rcx, 2
add rdx, 2
sub r8, 1
jne 0x140049a04
lea rcx, str._AsusSync_CommMgr__LoadConfig___Cusid_not_change__isEmpty:__d_n
jmp 0x140049a5d
lea rax, [rbp + 0x88]
cmp r9, rax
je 0x140049a56
lea rdx, [rbp + 0x88]
test r11b, r11b
cmovne rdx, rbx
mov r8, r10
mov rcx, r9
call fcn.140017c00
mov rsi, qword [rbp + 0xa0]
mov rbx, qword [rbp + 0x88]
lea rcx, str._AsusSync_CommMgr__LoadConfig___Cusid_has_changed__isEmpty:__d_n
mov edx, r15d
cmp qword [r13 + 0xd0], 0
sete dl
call fcn.140095ab0
nop
cmp rsi, 8
jb 0x140049aac
lea rdx, [rsi*2 + 2]
mov rax, rbx
cmp rdx, 0x1000
jb 0x140049aa4
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140049fba
mov rcx, rbx
call fcn.1400c2470
lea rdx, str.applanguage
lea rcx, [rbp + 0x58]
call fcn.140025520
cmp byte [rax], 3
jne 0x140049c6a
lea rdx, str.applanguage
lea rcx, [rbp + 0x58]
call fcn.140025520
nop
mov qword [rbp + 0x68], r15
mov qword [rbp + 0x78], r15
mov qword [rbp + 0x80], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x68], 0
or edi, 0x10
mov dword [rsp + 0x30], edi
cmp byte [rax], 3
jne 0x140049fc0
mov r8, qword [rax + 8]
lea rax, [rbp + 0x68]
cmp rax, r8
je 0x140049b24
mov rdx, r8
cmp qword [r8 + 0x18], 0x10
jb 0x140049b17
mov rdx, qword [r8]
mov r8, qword [r8 + 0x10]
lea rcx, [rbp + 0x68]
call fcn.140028190
lea rdx, [rbp + 0x68]
lea rcx, [rbp + 0x38]
call fcn.140097be0
nop
and edi, 0xffffffef
mov rdx, qword [rbp + 0x80]
cmp rdx, 0x10
jb 0x140049b73
inc rdx
mov rcx, qword [rbp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140049b6e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004a00d
call fcn.1400c2470
mov qword [rbp + 0x78], r15
mov qword [rbp + 0x80], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x68], 0
mov rbx, qword [rbp + 0x48]
test rbx, rbx
je 0x140049c27
lea r11, [r13 + 0xe0]
mov rdx, r11
cmp qword [r11 + 0x18], 8
jb 0x140049ba7
mov rdx, qword [r11]
lea rcx, [rbp + 0x38]
mov r10, qword [rbp + 0x50]
cmp r10, 8
setae sil
mov r8, qword [rbp + 0x38]
cmovae rcx, r8
cmp rbx, qword [r11 + 0x10]
jne 0x140049be8
mov r9, rbx
test rbx, rbx
je 0x140049c2f
nop dword [rax]
movzx eax, word [rdx]
cmp word [rcx], ax
jne 0x140049be8
add rcx, 2
add rdx, 2
sub r9, 1
jne 0x140049bd0
jmp 0x140049c2f
lea rax, [rbp + 0x38]
cmp r11, rax
je 0x140049c0f
lea rdx, [rbp + 0x38]
test sil, sil
cmovne rdx, r8
mov r8, rbx
mov rcx, r11
call fcn.140017c00
mov r10, qword [rbp + 0x50]
mov r8, qword [rbp + 0x38]
lea rdx, [rbp + 0x38]
cmp r10, 8
cmovae rdx, r8
lea rcx, str._AsusSync_CommMgr__LoadConfig___AppLanguage:_s_n
call fcn.140095ab0
mov r8, qword [rbp + 0x38]
mov r10, qword [rbp + 0x50]
cmp r10, 8
jb 0x140049c6a
lea rdx, [r10*2 + 2]
mov rax, r8
cmp rdx, 0x1000
jb 0x140049c62
add rdx, 0x27
mov r8, qword [r8 - 8]
sub rax, r8
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004a013
mov rcx, r8
call fcn.1400c2470
lea rdx, str.region
lea rcx, [rbp + 0x58]
call fcn.140025520
cmp byte [rax], 3
jne 0x140049e44
lea rdx, str.region
lea rcx, [rbp + 0x58]
call fcn.140025520
nop
mov qword [rbp + 0x68], r15
mov qword [rbp + 0x78], r15
mov qword [rbp + 0x80], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x68], 0
or edi, 0x20
mov dword [rsp + 0x30], edi
cmp byte [rax], 3
jne 0x14004a019
mov r8, qword [rax + 8]
lea rax, [rbp + 0x68]
cmp rax, r8
je 0x140049ce2
mov rdx, r8
cmp qword [r8 + 0x18], 0x10
jb 0x140049cd5
mov rdx, qword [r8]
mov r8, qword [r8 + 0x10]
lea rcx, [rbp + 0x68]
call fcn.140028190
lea rdx, [rbp + 0x68]
lea rcx, [rbp + 0x38]
call fcn.140097be0
nop
mov rdx, qword [rbp + 0x80]
cmp rdx, 0x10
jb 0x140049d2e
inc rdx
mov rcx, qword [rbp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140049d29
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004a066
call fcn.1400c2470
mov qword [rbp + 0x78], r15
mov qword [rbp + 0x80], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x68], 0
mov rbx, qword [rbp + 0x48]
test rbx, rbx
je 0x140049ddf
lea r11, [r13 + 0x100]
mov rdx, r11
cmp qword [r11 + 0x18], 8
jb 0x140049d62
mov rdx, qword [r11]
lea rcx, [rbp + 0x38]
mov r10, qword [rbp + 0x50]
cmp r10, 8
setae dil
mov r8, qword [rbp + 0x38]
cmovae rcx, r8
cmp rbx, qword [r11 + 0x10]
jne 0x140049da0
mov r9, rbx
test rbx, rbx
je 0x140049de7
movzx eax, word [rdx]
cmp word [rcx], ax
jne 0x140049da0
add rcx, 2
add rdx, 2
sub r9, 1
jne 0x140049d88
jmp 0x140049de7
lea rax, [rbp + 0x38]
cmp r11, rax
je 0x140049dc7
lea rdx, [rbp + 0x38]
test dil, dil
cmovne rdx, r8
mov r8, rbx
mov rcx, r11
call fcn.140017c00
mov r10, qword [rbp + 0x50]
mov r8, qword [rbp + 0x38]
lea rdx, [rbp + 0x38]
cmp r10, 8
cmovae rdx, r8
lea rcx, str._AsusSync_CommMgr__LoadConfig___RegionCode:_s_n
call fcn.140095ab0
mov r8, qword [rbp + 0x38]
mov r10, qword [rbp + 0x50]
cmp r10, 8
jb 0x140049e44
lea rdx, [r10*2 + 2]
mov rax, r8
cmp rdx, 0x1000
jb 0x140049e1a
add rdx, 0x27
mov r8, qword [r8 - 8]
sub rax, r8
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140049eaf
mov rcx, r8
call fcn.1400c2470
jmp 0x140049e44
lea r8, str.c707b2ef_22fc_4e7f_b155_b23f0fc2498a
xor edx, edx
mov rcx, qword [rbp + 0x30]
call qword [sym.imp.api_ms_win_core_registry_l1_1_1.dll_RegDeleteKeyValueW]
lea rcx, str._AsusSync_CommMgr__LoadConfig___fail_to_parse_config_data__delete_it_n
call fcn.140095ab0
nop
movzx edx, byte [rbp + 0x58]
lea rcx, [rbp + 0x60]
call fcn.14001f060
jmp 0x140049e5f
lea rcx, str._AsusSync_CommMgr__LoadConfig___fail_to_get_config_data_n
call fcn.140095ab0
mov rcx, r14
call fcn.1400c2470
mov rcx, qword [rbp + 0x30]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
jmp 0x140049e7f
lea rcx, str._AsusSync_CommMgr__LoadConfig___fail_to_open_key_n
call fcn.140095ab0
mov rcx, qword [rbp + 0xa8]
xor rcx, rsp
call fcn.1400c2450
lea r11, [rsp + 0x1b0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.1400c8b64
nop
call fcn.1400c8b64
nop
call fcn.1400c8b64
nop
mov rcx, rax
call fcn.14001f2a0
mov rdx, rax
lea rcx, [rbp - 0x58]
call fcn.14001da20
nop
mov r8, rax
lea rdx, str.type_must_be_string__but_is
lea rcx, [rbp - 0x38]
call fcn.140024f50
nop
mov r8, rax
mov edx, 0x12e
lea rcx, [rsp + 0x70]
call fcn.140018ad0
lea rdx, [0x14015fe98]
lea rcx, [rsp + 0x70]
call fcn.1400c4980
nop
mov rcx, rax
call fcn.14001f2a0
mov rdx, rax
lea rcx, [rbp - 0x38]
call fcn.14001da20
nop
mov r8, rax
lea rdx, str.type_must_be_string__but_is
lea rcx, [rbp - 0x58]
call fcn.140024f50
nop
mov r8, rax
mov edx, 0x12e
lea rcx, [rsp + 0x70]
call fcn.140018ad0
lea rdx, [0x14015fe98]
lea rcx, [rsp + 0x70]
call fcn.1400c4980
nop
call fcn.1400c8b64
nop
call fcn.1400c8b64
nop
mov rcx, rax
call fcn.14001f2a0
mov rdx, rax
lea rcx, [rbp - 0x38]
call fcn.14001da20
nop
mov r8, rax
lea rdx, str.type_must_be_string__but_is
lea rcx, [rbp - 0x58]
call fcn.140024f50
nop
mov r8, rax
mov edx, 0x12e
lea rcx, [rsp + 0x70]
call fcn.140018ad0
lea rdx, [0x14015fe98]
lea rcx, [rsp + 0x70]
call fcn.1400c4980
nop
call fcn.1400c8b64
nop
call fcn.1400c8b64
nop
mov rcx, rax
call fcn.14001f2a0
mov rdx, rax
lea rcx, [rbp - 0x38]
call fcn.14001da20
nop
mov r8, rax
lea rdx, str.type_must_be_string__but_is
lea rcx, [rbp - 0x58]
call fcn.140024f50
nop
mov r8, rax
mov edx, 0x12e
lea rcx, [rsp + 0x70]
call fcn.140018ad0
lea rdx, [0x14015fe98]
lea rcx, [rsp + 0x70]
call fcn.1400c4980
nop
call fcn.1400c8b64
nop
call fcn.1400c8b64
nop
mov rcx, rax
call fcn.14001f2a0
mov rdx, rax
lea rcx, [rbp - 0x38]
call fcn.14001da20
nop
mov r8, rax
lea rdx, str.type_must_be_string__but_is
lea rcx, [rbp - 0x58]
call fcn.140024f50
nop
mov r8, rax
mov edx, 0x12e
lea rcx, [rsp + 0x70]
call fcn.140018ad0
lea rdx, [0x14015fe98]
lea rcx, [rsp + 0x70]
call fcn.1400c4980
nop
call fcn.1400c8b64
int3