Function at 0x14007b960
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x20
mov r14, rdx
mov rsi, rcx
mov ebx, 1
xor bpl, bpl
add rcx, 0xfa0
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_EnterCriticalSection]
mov r9, qword [rsi + 0x1068]
test r9, r9
je 0x14007bbae
test r14, r14
je 0x14007bbae
xor ebx, ebx
cmp byte [r14 + 0x2c], 6
je 0x14007b9fb
mov r8d, ebx
mov r11, qword [r9]
mov r10, qword [r9 + 8]
sub r10, r11
sar r10, 3
test r10, r10
je 0x14007b9fb
mov eax, ebx
cmp r10, rax
jbe 0x14007bbce
lfence
mov rcx, qword [r11 + rax*8]
cmp qword [rcx + 0xb0], rbx
jne 0x14007bb9c
inc r8d
inc rax
mov rdx, qword [r9 + 8]
sub rdx, qword [r9]
sar rdx, 3
movsxd rcx, r8d
cmp rcx, rdx
jb 0x14007b9c5
cmp byte [rsi + 0x209], bl
je 0x14007ba13
movzx edx, bpl
lea rcx, str._AsusSync_MdnsMgr__ConnectWebsocketService___wifidirect:_d_n
call fcn.140095ab0
mov byte [rsi + 0x919], bl
mov ecx, 0xe0
call fcn.1400c2704
mov rdi, rax
mov qword [rsp + 0x50], rax
xor edx, edx
mov r8d, 0xe0
mov rcx, rax
call fcn.1400c5120
mov qword [rdi], rbx
mov word [rdi + 8], bx
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rdi + 0xa], xmm0
mov word [rdi + 0x1a], ax
mov qword [rdi + 0x1c], rbx
mov dword [rdi + 0x24], eax
mov word [rdi + 0x30], ax
mov byte [rdi + 0x32], al
mov qword [rdi + 0x34], rbx
mov byte [rdi + 0x3c], al
mov qword [rdi + 0x40], rbx
mov byte [rdi + 0x48], al
mov qword [rdi + 0x50], rbx
mov qword [rdi + 0x58], rbx
mov qword [rdi + 0x60], rbx
mov byte [rdi + 0x68], al
mov qword [rdi + 0x70], rbx
mov qword [rdi + 0x78], rbx
mov qword [rdi + 0x80], rbx
mov qword [rdi + 0x88], rbx
mov qword [rdi + 0x90], rbx
mov byte [rdi + 0x98], al
mov qword [rdi + 0xa0], rbx
mov qword [rdi + 0xa8], rbx
mov qword [rdi + 0xb0], rbx
lea rcx, [rdi + 0xb8]
mov qword [rcx], rbx
mov qword [rcx + 0x10], rbx
mov qword [rcx + 0x18], 7
mov word [rcx], bx
xor r8d, r8d
lea rdx, [0x14010bc34]
call fcn.140017c00
nop
mov dword [rdi + 0xd8], ebx
mov byte [rdi + 0xdc], 0
xor bpl, 1
mov byte [rdi + 0xdd], bpl
mov byte [rdi + 0xde], 0
mov qword [rdi + 0x50], rsi
mov ecx, reloc.WS2_32.dll_WSAGetLastError
call fcn.1400c2704
mov rcx, rax
mov qword [rsp + 0x60], rax
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rcx], xmm0
movups xmmword [rcx + 0x10], xmm0
movups xmmword [rcx + 0x20], xmm0
movups xmmword [rcx + 0x30], xmm0
movups xmmword [rcx + 0x40], xmm0
movups xmmword [rcx + 0x50], xmm0
mov qword [rcx + 0x60], rax
mov dword [rcx + 0x68], eax
mov word [rcx + 0x6c], ax
mov byte [rcx + 0x6e], al
mov qword [rdi + 0x58], rcx
mov rax, qword [r14]
mov qword [rdi], rax
movzx eax, byte [r14 + 0x2d]
mov byte [rdi + 0x32], al
movzx eax, byte [r14 + 0x2e]
mov byte [rdi + 0x3c], al
mov rdx, r14
call fcn.14005fd20
movzx r8d, byte [rdi + 0xdd]
mov rdx, qword [rdi]
lea rcx, str._AsusSync_WebsocketConnectionHandler__Init___requestId:0x_I64X__supportWiFiDirect:_d_n
call fcn.140095ab0
mov rcx, rdi
call fcn.14006ba90
nop
mov qword [rsp + 0x50], rdi
mov rcx, qword [rsi + 0x1068]
mov rdx, qword [rcx + 8]
cmp rdx, qword [rcx + 0x10]
je 0x14007bba4
mov qword [rdx], rdi
add qword [rcx + 8], 8
jmp 0x14007bbae
mov bpl, 1
jmp 0x14007b9fb
lea r8, [rsp + 0x50]
call fcn.14000a170
lea rcx, [rsi + 0xfa0]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_LeaveCriticalSection]
mov eax, ebx
mov rbx, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
call fcn.14000a150
int3