Function at 0x14005b060
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x450]
sub rsp, 0x550
mov rax, qword [0x140164030]
xor rax, rsp
mov qword [rbp + 0x440], rax
mov rbx, rcx
xor r14d, r14d
mov dword [rbp + 0x228], r14d
xor edx, edx
mov r8d, 0x204
lea rcx, [rbp + 0x230]
call fcn.1400c5120
lea rdi, [rbx + 0x328]
mov r8, rdi
cmp qword [rdi + 0x18], 8
jb 0x14005b0c3
mov r8, qword [rdi]
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], r14d
mov qword [rsp + 0x20], r14
mov r9d, dword [rbx + 0x338]
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.api_ms_win_core_string_l1_1_0.dll_WideCharToMultiByte]
mov esi, eax
mov r8, rdi
cmp qword [rdi + 0x18], 8
jb 0x14005b0fa
mov r8, qword [rdi]
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], esi
lea rax, [rbp + 0x234]
mov qword [rsp + 0x20], rax
mov r9d, dword [rbx + 0x338]
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.api_ms_win_core_string_l1_1_0.dll_WideCharToMultiByte]
mov dword [rbp + 0x230], esi
mov rcx, qword [rbx + 0x320]
test rcx, rcx
je 0x14005b1b9
lea r8, [rbp + 0x228]
lea rdx, [rbp + 0x230]
mov rax, qword [rbx + 0x68]
call qword [0x1400fac68]
test eax, eax
jns 0x14005b1a0
lea rcx, str._AsusSync_GattServiceManager_ConfigSerivce__Fail_to_write_device_name_n
call fcn.140095ab0
mov edx, 2
mov rcx, rbx
call fcn.14005c5f0
lea rax, vtable.std::_Func_impl_no_alloc_class__lambda_da89a6914230d5640baf36304d26b931___void___.0
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rbx
lea rax, [rsp + 0x60]
mov qword [rbp - 0x68], rax
lea r8, [rsp + 0x60]
mov edx, 2
mov rcx, rbx
call fcn.14005c9d0
jmp 0x14005b758
cmp qword [rdi + 0x18], 8
jb 0x14005b1aa
mov rdi, qword [rdi]
mov rdx, rdi
lea rcx, str._AsusSync_GattServiceManager_ConfigSerivce__Write_device_name__s_n
call fcn.140095ab0
mov rcx, qword [rbx + 0x300]
test rcx, rcx
je 0x14005b2a9
lea r9, [rbx + 0x308]
lea r8, [0x14005bb60]
mov rdx, rbx
mov rax, qword [rbx + 0x78]
call qword [0x1400fac68]
lfence
test eax, eax
jns 0x14005b231
lea rcx, str._AsusSync_GattServiceManager_ConfigSerivce__Fail_to_register_value_change_callback_to__Share_data__n
call fcn.140095ab0
mov edx, 2
mov rcx, rbx
call fcn.14005c5f0
lea rax, vtable.std::_Func_impl_no_alloc_class__lambda_da89a6914230d5640baf36304d26b931___void___.0
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x58], rbx
lea rax, [rbp - 0x60]
mov qword [rbp - 0x28], rax
lea r8, [rbp - 0x60]
mov edx, 2
mov rcx, rbx
call fcn.14005c9d0
jmp 0x14005b758
lea rcx, str._AsusSync_GattServiceManager_ConfigSerivce__Register_value_change_callback_to__Share_data__n
call fcn.140095ab0
mov dl, 1
mov rcx, qword [rbx + 0x300]
mov rax, qword [rbx + 0x70]
call qword [0x1400fac68]
test eax, eax
jns 0x14005b29d
lfence
lea rcx, str._AsusSync_GattServiceManager_ConfigSerivce__Fail_to_enable_notification_on__Share_data__n
call fcn.140095ab0
mov edx, 2
mov rcx, rbx
call fcn.14005c5f0
lea rax, vtable.std::_Func_impl_no_alloc_class__lambda_da89a6914230d5640baf36304d26b931___void___.0
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], rbx
lea rax, [rbp - 0x20]
mov qword [rbp + 0x18], rax
lea r8, [rbp - 0x20]
mov edx, 2
mov rcx, rbx
call fcn.14005c9d0
jmp 0x14005b758
lea rcx, str._AsusSync_GattServiceManager_ConfigSerivce__Enable_notification_on__Share_data__n
call fcn.140095ab0
mov rcx, qword [rbx + 0x348]
test rcx, rcx
je 0x14005b390
lea r9, [rbx + 0x370]
lea r8, [0x14005bd50]
mov rdx, rbx
mov rax, qword [rbx + 0x78]
call qword [0x1400fac68]
lfence
test eax, eax
jns 0x14005b321
lea rcx, str._AsusSync_GattServiceManager_ConfigSerivce__Fail_to_enable_notification_on__Verification_code__n
call fcn.140095ab0
mov edx, 2
mov rcx, rbx
call fcn.14005c5f0
lea rax, vtable.std::_Func_impl_no_alloc_class__lambda_da89a6914230d5640baf36304d26b931___void___.0
mov qword [rbp + 0x20], rax
mov qword [rbp + 0x28], rbx
lea rax, [rbp + 0x20]
mov qword [rbp + 0x58], rax
lea r8, [rbp + 0x20]
mov edx, 2
mov rcx, rbx
call fcn.14005c9d0
jmp 0x14005b758
mov dl, 1
mov rcx, qword [rbx + 0x348]
mov rax, qword [rbx + 0x70]
call qword [0x1400fac68]
test eax, eax
jns 0x14005b384
lfence
lea rcx, str._AsusSync_GattServiceManager_ConfigSerivce__Fail_to_enable_notification_on__Verification_code__n
call fcn.140095ab0
mov edx, 2
mov rcx, rbx
call fcn.14005c5f0
lea rax, vtable.std::_Func_impl_no_alloc_class__lambda_da89a6914230d5640baf36304d26b931___void___.0
mov qword [rbp + 0x60], rax
mov qword [rbp + 0x68], rbx
lea rax, [rbp + 0x60]
mov qword [rbp + 0x98], rax
lea r8, [rbp + 0x60]
mov edx, 2
mov rcx, rbx
call fcn.14005c9d0
jmp 0x14005b758
lea rcx, str._AsusSync_GattServiceManager_ConfigSerivce__Enable_notification_on__Verification_code__n
call fcn.140095ab0
mov rcx, qword [rbx + 0x388]
test rcx, rcx
je 0x14005b49e
lea r9, [rbx + 0x390]
lea r8, [0x14005bf40]
mov rdx, rbx
mov rax, qword [rbx + 0x78]
call qword [0x1400fac68]
lfence
test eax, eax
jns 0x14005b417
lea rcx, str._AsusSync_GattServiceManager_ConfigSerivce__Fail_to_enable_notification_on__LocalNetworking_Info__n
call fcn.140095ab0
mov edx, 2
mov rcx, rbx
call fcn.14005c5f0
lea rax, vtable.std::_Func_impl_no_alloc_class__lambda_da89a6914230d5640baf36304d26b931___void___.0
mov qword [rbp + 0xa0], rax
mov qword [rbp + 0xa8], rbx
lea rax, [rbp + 0xa0]
mov qword [rbp + 0xd8], rax
lea r8, [rbp + 0xa0]
mov edx, 2
mov rcx, rbx
call fcn.14005c9d0
jmp 0x14005b758
lea rcx, str._AsusSync_GattServiceManager_ConfigSerivce__Register_value_change_callback_to__LocalNetworking_Info__n
call fcn.140095ab0
mov dl, 1
mov rcx, qword [rbx + 0x388]
mov rax, qword [rbx + 0x70]
call qword [0x1400fac68]
test eax, eax
jns 0x14005b492
lfence
lea rcx, str._AsusSync_GattServiceManager_ConfigSerivce__Fail_to_enable_notification_on__LocalNetworking_Info__n
call fcn.140095ab0
mov edx, 2
mov rcx, rbx
call fcn.14005c5f0
lea rax, vtable.std::_Func_impl_no_alloc_class__lambda_da89a6914230d5640baf36304d26b931___void___.0
mov qword [rbp + 0xe0], rax
mov qword [rbp + 0xe8], rbx
lea rax, [rbp + 0xe0]
mov qword [rbp + 0x118], rax
lea r8, [rbp + 0xe0]
mov edx, 2
mov rcx, rbx
call fcn.14005c9d0
jmp 0x14005b758
lea rcx, str._AsusSync_GattServiceManager_ConfigSerivce__Enable_notification_on__LocalNetworking_Info__n
call fcn.140095ab0
mov rcx, qword [rbx + 0x3a8]
test rcx, rcx
je 0x14005b5ac
lea r9, [rbx + 0x3b0]
lea r8, [0x14005d1e0]
mov rdx, rbx
mov rax, qword [rbx + 0x78]
call qword [0x1400fac68]
lfence
test eax, eax
jns 0x14005b525
lea rcx, str._AsusSync_GattServiceManager_ConfigSerivce__Fail_to_register_value_change_callback_to__ProArt__n
call fcn.140095ab0
mov edx, 2
mov rcx, rbx
call fcn.14005c5f0
lea rax, vtable.std::_Func_impl_no_alloc_class__lambda_da89a6914230d5640baf36304d26b931___void___.0
mov qword [rbp + 0x120], rax
mov qword [rbp + 0x128], rbx
lea rax, [rbp + 0x120]
mov qword [rbp + 0x158], rax
lea r8, [rbp + 0x120]
mov edx, 2
mov rcx, rbx
call fcn.14005c9d0
jmp 0x14005b758
lea rcx, str._AsusSync_GattServiceManager_ConfigSerivce__Register_value_change_callback_to__ProArt__n
call fcn.140095ab0
mov dl, 1
mov rcx, qword [rbx + 0x3a8]
mov rax, qword [rbx + 0x70]
call qword [0x1400fac68]
test eax, eax
jns 0x14005b5a0
lfence
lea rcx, str._AsusSync_GattServiceManager_ConfigSerivce__Fail_to_enable_notification_on__ProArt__n
call fcn.140095ab0
mov edx, 2
mov rcx, rbx
call fcn.14005c5f0
lea rax, vtable.std::_Func_impl_no_alloc_class__lambda_da89a6914230d5640baf36304d26b931___void___.0
mov qword [rbp + 0x160], rax
mov qword [rbp + 0x168], rbx
lea rax, [rbp + 0x160]
mov qword [rbp + 0x198], rax
lea r8, [rbp + 0x160]
mov edx, 2
mov rcx, rbx
call fcn.14005c9d0
jmp 0x14005b758
lea rcx, str._AsusSync_GattServiceManager_ConfigSerivce__Enable_notification_on__ProArt__n
call fcn.140095ab0
mov rcx, qword [rbx + 0x3c8]
test rcx, rcx
je 0x14005b74b
lea r9, [rbx + 0x3d0]
lea r8, [0x14005d740]
mov rdx, rbx
mov rax, qword [rbx + 0x78]
call qword [0x1400fac68]
lfence
test eax, eax
jns 0x14005b633
lea rcx, str._AsusSync_GattServiceManager_ConfigSerivce__Fail_to_register_value_change_callback_to__Communication__n
call fcn.140095ab0
mov edx, 2
mov rcx, rbx
call fcn.14005c5f0
lea rax, vtable.std::_Func_impl_no_alloc_class__lambda_da89a6914230d5640baf36304d26b931___void___.0
mov qword [rbp + 0x1a0], rax
mov qword [rbp + 0x1a8], rbx
lea rax, [rbp + 0x1a0]
mov qword [rbp + 0x1d8], rax
lea r8, [rbp + 0x1a0]
mov edx, 2
mov rcx, rbx
call fcn.14005c9d0
jmp 0x14005b758
lea rcx, str._AsusSync_GattServiceManager_ConfigSerivce__Register_value_change_callback_to__Communication__n
call fcn.140095ab0
mov dl, 1
mov rcx, qword [rbx + 0x3c8]
mov rax, qword [rbx + 0x70]
call qword [0x1400fac68]
lfence
test eax, eax
jns 0x14005b6ae
lea rcx, str._AsusSync_GattServiceManager_ConfigSerivce__Fail_to_enable_notification_on__Communication__n
call fcn.140095ab0
mov edx, 2
mov rcx, rbx
call fcn.14005c5f0
lea rax, vtable.std::_Func_impl_no_alloc_class__lambda_da89a6914230d5640baf36304d26b931___void___.0
mov qword [rbp + 0x1e0], rax
mov qword [rbp + 0x1e8], rbx
lea rax, [rbp + 0x1e0]
mov qword [rbp + 0x218], rax
lea r8, [rbp + 0x1e0]
mov edx, 2
mov rcx, rbx
call fcn.14005c9d0
jmp 0x14005b758
lea rcx, str._AsusSync_GattServiceManager_ConfigSerivce__Enable_notification_on__Communication__n
call fcn.140095ab0
mov eax, 1
xchg byte [rbx + 0x3f8], al
mov ecx, reloc.WS2_32.dll_recv
call fcn.1400c2704
mov qword [rax], rbx
lea rcx, [0x14005cd20]
mov qword [rax + 8], rcx
mov qword [rbp + 0x220], rax
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], r14d
mov r9, rax
lea r8, [0x140017150]
xor edx, edx
xor ecx, ecx
call fcn.1400d715c
mov qword [rsp + 0x40], rax
test rax, rax
je 0x14005b785
cmp dword [rbx + 0x3f0], 0
jne 0x14005b77f
movaps xmm0, xmmword [rsp + 0x40]
movups xmmword [rbx + 0x3e8], xmm0
cmp dword [rbx + 0x3f0], 0
je 0x14005b795
movaps xmmword [rsp + 0x50], xmm0
lea rcx, [rsp + 0x50]
call fcn.14009a488
test eax, eax
jne 0x14005b7a0
xorps xmm0, xmm0
movups xmmword [rbx + 0x3e8], xmm0
mov edx, 0x20000002
mov rcx, rbx
call fcn.14005c5f0
mov rcx, qword [rbp + 0x440]
xor rcx, rsp
call fcn.1400c2450
lea r11, [rsp + 0x550]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
call fcn.1400d6dc4
nop
mov dword [rsp + 0x48], r14d
mov ecx, 6
call fcn.14009a3f0
nop
mov ecx, 1
call fcn.14009a3f0
int3
mov ecx, eax
call fcn.14009a3b4
int3
mov rcx, qword [rcx + 8]
jmp 0x14005b060