Function at 0x140083b70
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov rdi, rcx
add rcx, 0xd78
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_EnterCriticalSection]
mov rbx, qword [rdi + 0xf78]
test rbx, rbx
je 0x140083e09
mov rax, qword [rbx + 8]
xor r13d, r13d
sub rax, qword [rbx]
sar rax, 3
test rax, rax
je 0x140083dac
lea rcx, str._AsusSync_MdnsMgr__ReleasemDNSDeviceList___To_release_each_device._n
call fcn.140095ab0
mov rax, qword [rdi + 0xf78]
mov rcx, qword [rax + 8]
sub rcx, qword [rax]
mov eax, 8
sar rcx, 3
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.1400c26fc
mov rdx, qword [rdi + 0xf78]
mov r15, rax
mov ebp, r13d
mov rcx, qword [rdx + 8]
sub rcx, qword [rdx]
sar rcx, 3
test rcx, rcx
je 0x140083cc3
mov esi, r13d
cmp byte [rdi + 0x206], r13b
je 0x140083c4a
mov r8, qword [rdx + 8]
lea rcx, str._AsusSync_MdnsMgr__ReleasemDNSDeviceList___Release_device__d__d_._n
sub r8, qword [rdx]
lea edx, [rbp + 1]
sar r8, 3
call fcn.140095ab0
mov rdx, qword [rdi + 0xf78]
mov rbx, qword [rdx]
mov rax, qword [rdx + 8]
sub rax, rbx
sar rax, 3
cmp rax, rsi
jbe 0x140083e48
mov rbx, qword [rbx + rsi*8]
mov ecx, 0x18
call fcn.1400c2704
mov qword [rsp + 0x28], r13
lea r8, [0x140083880]
mov r9, rax
mov dword [rsp + 0x20], r13d
xor edx, edx
xor ecx, ecx
mov qword [rax], rdi
mov qword [rax + 8], 2
mov qword [rax + 0x10], rbx
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_CreateThread]
mov qword [r15 + rsi*8], rax
inc ebp
mov rdx, qword [rdi + 0xf78]
inc rsi
movsxd rax, ebp
mov rcx, qword [rdx + 8]
sub rcx, qword [rdx]
sar rcx, 3
cmp rax, rcx
jb 0x140083c20
mov rcx, qword [rdx + 8]
mov r9d, 0x4e20
sub rcx, qword [rdx]
mov r8d, 1
sar rcx, 3
mov rdx, r15
call qword [sym.imp.api_ms_win_core_synch_l1_2_1.dll_WaitForMultipleObjects]
lea rcx, str._AsusSync_MdnsMgr__ReleasemDNSDeviceList___Wait_finish._n
call fcn.140095ab0
mov rdx, qword [rdi + 0xf78]
mov r14d, r13d
mov rax, qword [rdx + 8]
sub rax, qword [rdx]
sar rax, 3
test rax, rax
je 0x140083d7e
mov rbp, r13
mov rbx, r15
nop
mov rax, qword [rdx + 8]
sub rax, qword [rdx]
sar rax, 3
cmp rax, rbp
jbe 0x140083e48
lfence
mov rax, qword [rdx]
mov rcx, rbx
sub rcx, r15
mov rsi, qword [rcx + rax]
test rsi, rsi
je 0x140083d4e
mov rcx, rsi
call fcn.1400699f0
mov edx, 0x180
mov rcx, rsi
call fcn.1400c2470
mov rcx, qword [rbx]
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
mov qword [rbx], r13
inc r14d
mov rdx, qword [rdi + 0xf78]
inc rbp
add rbx, 8
movsxd rax, r14d
mov rcx, qword [rdx + 8]
sub rcx, qword [rdx]
sar rcx, 3
cmp rax, rcx
jb 0x140083d10
mov edx, 8
mov rcx, r15
call fcn.1400c2470
mov rcx, qword [rdi + 0xf78]
mov rax, qword [rcx]
mov qword [rcx + 8], rax
lea rcx, str._AsusSync_MdnsMgr__ReleasemDNSDeviceList___done._n
call fcn.140095ab0
mov rbx, qword [rdi + 0xf78]
test rbx, rbx
je 0x140083e02
mov rcx, qword [rbx]
test rcx, rcx
je 0x140083df5
mov rdx, qword [rbx + 0x10]
sub rdx, rcx
and rdx, 0xfffffffffffffff8
cmp rdx, 0x1000
jb 0x140083de5
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140083e4e
mov rcx, r8
call fcn.1400c2470
mov qword [rbx], r13
mov qword [rbx + 8], r13
mov qword [rbx + 0x10], r13
mov edx, 0x18
mov rcx, rbx
call fcn.1400c2470
mov qword [rdi + 0xf78], r13
cmp byte [rdi + 0x206], 0
je 0x140083e1e
lea rcx, str._AsusSync_MdnsMgr__ReleasemDNSDeviceList___Stop_device_list_n
call fcn.140095ab0
lea rcx, [rdi + 0xd78]
mov rbx, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
jmp qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_LeaveCriticalSection]
call fcn.14000a150
int3
call fcn.1400c8b64
int3