Function at 0x140092640
Capabilities:
Check for time delay via gettickcount

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x128
mov rax, qword [0x140164030]
xor rax, rsp
mov qword [rsp + 0x110], rax
mov r14d, r9d
mov r15, r8
mov rsi, rcx
movzx edx, dl
lea eax, [rdx - 1]
cmp eax, 5
ja case.default.0x14009268e
cdqe
lea r8, [0x140000000]
mov ecx, dword [r8 + rax*4 + 0x92ae0]
add rcx, r8
jmp rcx
lea rcx, str._AsusSync_SharedCamNativeEx__SharedCamType::Start_n
call fcn.140095ab0
mov byte [rsi + 0x200072], 8
call fcn.140093c90
test al, al
jne 0x140092a65
lea rcx, str._AsusSync_SharedCamNativeEx__Send_SharedCam_Pause_event
call fcn.140095ab0
mov rax, qword [rsi + 0x200128]
test rax, rax
je 0x140092a65
cmp byte [rsi + 0x200094], 1
jne 0x1400926ef
lea rdx, str.Send_PauseSharedCam
lea rcx, str._AsusSync_SharedCamNativeEx__SendSharedCamPauseResumeCommand____s_n
call fcn.140095ab0
mov rax, qword [rsi + 0x200128]
xor r9d, r9d
xor r8d, r8d
mov dl, 4
mov rcx, qword [rsi]
call qword [0x1400fac68]
jmp 0x140092a65
lea rcx, str._AsusSync_SharedCamNativeEx__SharedCamType::Stop_n
call fcn.140095ab0
mov rcx, rsi
call fcn.140093080
jmp 0x140092a65
lea rcx, str._AsusSync_SharedCamNativeEx__SharedCamType::ResumeSharedCam_n
call fcn.140095ab0
mov rcx, qword [rsi + 0x200100]
test rcx, rcx
je 0x140092a65
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_SetEvent]
jmp 0x140092a65
lea rcx, str._AsusSync_SharedCamNativeEx__SharedCamType::PauseSharedCam_n
call fcn.140095ab0
mov rcx, qword [rsi + 0x2000f8]
test rcx, rcx
je 0x140092a65
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_SetEvent]
jmp 0x140092a65
cmp byte [rsi + 0x200094], 1
jne 0x140092784
mov edx, r14d
lea rcx, str._AsusSync_SharedCamNativeEx__SharedCamType::ConfigData_nLength___d_n
call fcn.140095ab0
cmp qword [rsi + 0x2000f0], 0
je 0x140092a65
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
xor ebx, ebx
mov qword [rsp + 0x80], rbx
mov rdx, r15
lea rcx, [rsp + 0x38]
call fcn.14004d1b0
nop
lea r8, [rsp + 0x48]
mov rdx, rax
lea rcx, [rsp + 0x100]
call fcn.14001c710
nop
cmp byte [rsp + 0x100], 8
je 0x1400928e5
lea rdx, str.imageOrientation
lea rcx, [rsp + 0x100]
call fcn.140025520
movzx ecx, byte [rax]
lea eax, [rcx - 5]
cmp al, 1
jbe 0x14009281c
cmp cl, 7
je 0x14009281c
mov rax, qword [rsi + 0x2000f0]
mov byte [rax + 0x12], bl
cmp byte [rsi + 0x200094], 1
jne 0x140092862
lea rcx, str._AsusSync_SharedCamNativeEx__SharedCamType::ConfigData_imageOrientation_not_found__set_default_0_n
call fcn.140095ab0
jmp 0x140092862
lea rdx, str.imageOrientation
lea rcx, [rsp + 0x100]
call fcn.140025520
mov rcx, rax
call fcn.14004d350
mov rcx, qword [rsi + 0x2000f0]
mov byte [rcx + 0x12], al
cmp byte [rsi + 0x200094], 1
jne 0x140092862
mov rax, qword [rsi + 0x2000f0]
movzx edx, byte [rax + 0x12]
lea rcx, str._AsusSync_SharedCamNativeEx__SharedCamType::ConfigData_imageOrientation___d_n
call fcn.140095ab0
lea rdx, str.mirrorOrientation
lea rcx, [rsp + 0x100]
call fcn.140025520
cmp byte [rax], 4
jne 0x1400928cd
lea rdx, str.mirrorOrientation
lea rcx, [rsp + 0x100]
call fcn.140025520
cmp byte [rax], 4
jne 0x140092a85
cmp byte [rax + 8], 0
setne cl
inc cl
mov rax, qword [rsi + 0x2000f0]
mov byte [rax + 0x13], cl
cmp byte [rsi + 0x200094], 1
jne 0x1400928e5
mov rax, qword [rsi + 0x2000f0]
movzx edx, byte [rax + 0x13]
lea rcx, str._AsusSync_SharedCamNativeEx__SharedCamType::ConfigData_mirrorOrientation__d_n
call fcn.140095ab0
jmp 0x1400928e5
mov rax, qword [rsi + 0x2000f0]
mov byte [rax + 0x13], 0
lea rcx, str._AsusSync_SharedCamNativeEx__SharedCamType::ConfigData_mirrorOrientation_not_found__set_default_false_n
call fcn.140095ab0
nop
movzx edx, byte [rsp + 0x100]
lea rcx, [rsp + 0x108]
call fcn.14001f060
jmp 0x140092a65
cmp byte [rsi + 0x200094], 1
jne 0x140092914
lea rcx, str._AsusSync_SharedCamNativeEx__SharedCamType::VideoData_n
call fcn.140095ab0
cmp dword [0x1401696d4], 0
jne 0x140092930
movzx edx, byte [rsi + 0x200072]
lea rcx, str._AsusSync_SharedCamNativeEx__Receive_the_first_VideoData__SharedCam_State___d_n
call fcn.140095ab0
movzx eax, byte [rsi + 0x200072]
cmp al, 7
jne 0x140092944
mov byte [rsi + 0x200072], 8
jmp 0x14009294c
cmp al, 8
jne 0x140092a65
call fcn.140093c90
test al, al
jne 0x1400929a1
lea rcx, str._AsusSync_SharedCamNativeEx__Send_SharedCam_Pause_event
call fcn.140095ab0
mov rax, qword [rsi + 0x200128]
test rax, rax
je 0x1400929a1
cmp byte [rsi + 0x200094], 1
jne 0x140092990
lea rdx, str.Send_PauseSharedCam
lea rcx, str._AsusSync_SharedCamNativeEx__SendSharedCamPauseResumeCommand____s_n
call fcn.140095ab0
mov rax, qword [rsi + 0x200128]
xor r9d, r9d
xor r8d, r8d
mov dl, 4
mov rcx, qword [rsi]
call qword [0x1400fac68]
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetTickCount]
lea rcx, [rsi + 0x200098]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_EnterCriticalSection]
test r15, r15
je 0x140092a31
cmp byte [rsi + 0x200072], 8
jne 0x140092a31
cmp qword [rsi + 0x200110], 0
je 0x140092a31
mov rcx, r14
call fcn.1400c26fc
mov rdi, rax
mov r8, r14
mov rdx, r15
mov rcx, rax
call fcn.1400c4a50
mov qword [rsp + 0x100], rdi
mov dword [rsp + 0x108], r14d
mov rcx, qword [rsi + 0x200110]
mov rdx, qword [rcx + 8]
cmp rdx, qword [rcx + 0x10]
je 0x140092a1e
movsd xmm0, qword [rsp + 0x100]
movsd qword [rdx], xmm0
mov dword [rdx + 8], r14d
add qword [rcx + 8], 0xc
jmp 0x140092a2b
lea r8, [rsp + 0x100]
call fcn.140093e30
inc dword [0x1401696d4]
lea rcx, [rsi + 0x200098]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_LeaveCriticalSection]
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetTickCount]
mov rcx, qword [rsi + 0x2000e0]
cmp rcx, 0xffffffffffffffff
je 0x140092a65
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_SetEvent]
jmp 0x140092a65
lea rcx, str._AsusSync_SharedCamNativeEx__Not_implement_SharedCamType___d__n
call fcn.140095ab0
mov rcx, qword [rsp + 0x110]
xor rcx, rsp
call fcn.1400c2450
add rsp, 0x128
pop r15
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov rcx, rax
call fcn.14001f2a0
mov rdx, rax
lea rcx, [rsp + 0xc0]
call fcn.14001da20
nop
mov r8, rax
lea rdx, str.type_must_be_boolean__but_is
lea rcx, [rsp + 0xe0]
call fcn.140024f50
nop
mov r8, rax
mov edx, 0x12e
lea rcx, [rsp + 0x88]
call fcn.140018ad0
lea rdx, [0x14015fe98]
lea rcx, [rsp + 0x88]
call fcn.1400c4980
int3