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

Disassembly:
push rbx
sub rsp, 0x90
mov rbx, rcx
movaps xmmword [rsp + 0x60], xmm7
mov rcx, qword [rcx + 0x18]
mov edx, 0xffffffff
xorps xmm7, xmm7
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
je 0x1400795d6
mov ecx, dword [0x1402055e8]
mov rax, qword gs:[0x58]
mov qword [rsp + 0xa0], rbp
mov qword [rsp + 0xa8], rsi
mov qword [rsp + 0xb0], rdi
mov rsi, qword [rax + rcx*8]
mov qword [rsp + 0x88], r14
lea r14, str.In_Motion_event_detected_n
mov qword [rsp + 0x80], r15
lea r15, str.System_is_in_small_incremental_movement_for_over__lu_ms__set_in_motion_off_n
movaps xmmword [rsp + 0x50], xmm8
movss xmm8, dword [0x1401c4988]
movaps xmmword [rsp + 0x40], xmm9
movss xmm9, dword [0x1401c4980]
movaps xmmword [rsp + 0x70], xmm6
mov ebp, 4
nop
mov eax, dword [rsi + rbp]
cmp dword [0x140204a74], eax
jg 0x140079659
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
cmp dword [rbx + 0x14], 0
mov rdi, rax
jne 0x14007959d
cmp dword [rbx + 0x10], 0
je 0x14007940f
movss xmm6, dword [rbx + 0x2c]
jmp 0x140079414
movss xmm6, dword [rbx + 0x30]
movss xmm2, dword [rbx + 0x34]
subss xmm2, dword [0x140204a68]
movss xmm1, dword [rbx + 0x38]
subss xmm1, dword [0x140204a6c]
movss xmm0, dword [rbx + 0x3c]
subss xmm0, dword [0x140204a70]
mulss xmm2, xmm2
mulss xmm1, xmm1
mulss xmm0, xmm0
addss xmm2, xmm1
addss xmm2, xmm0
cvtps2pd xmm0, xmm2
call fcn.1400e2dc8
mov rax, rdi
xorps xmm2, xmm2
sub rax, qword [0x140204a78]
cvtsd2ss xmm2, xmm0
je 0x140079480
xorps xmm0, xmm0
cvtsi2ss xmm0, rax
test rax, rax
jns 0x14007947c
addss xmm0, xmm8
divss xmm2, xmm0
movss xmm1, dword [rbx + 0x28]
movaps xmm0, xmm9
subss xmm0, xmm1
mulss xmm1, xmm2
mulss xmm0, xmm7
movaps xmm7, xmm0
addss xmm7, xmm1
comiss xmm7, xmm6
jb 0x1400794fe
cmp dword [0x1401f9c80], 4
jl 0x1400794e0
test dword [0x1401f9cfc], 0x40000
je 0x1400794e0
mov qword [rsp + 0x28], r14
lea r9, str.c:jenkinsworkspacedptf_srcesifproductsesif_uf_sourceswincem_accelerometer.cpp
lea r8, str.CGraspDetection::DetectStateChange
mov dword [rsp + 0x20], 0x283
mov edx, 4
mov ecx, 0x40000
call fcn.140075100
mov rax, qword [rbx]
mov edx, 1
mov rcx, rbx
mov qword [0x140204a80], rdi
mov rax, qword [rax + 0x18]
call qword [case.0x140024317.0]
jmp 0x140079568
mov eax, dword [rbx + 0x20]
mov rcx, rdi
sub rcx, qword [0x140204a80]
cmp rcx, rax
jbe 0x140079568
mov rax, qword [rbx]
xor edx, edx
mov rcx, rbx
mov rax, qword [rax + 0x18]
call qword [case.0x140024317.0]
cmp dword [0x1401f9c80], 4
jl 0x140079568
test dword [0x1401f9cfc], 0x40000
je 0x140079568
mov eax, dword [rbx + 0x20]
lea r9, str.c:jenkinsworkspacedptf_srcesifproductsesif_uf_sourceswincem_accelerometer.cpp
mov dword [rsp + 0x30], eax
lea r8, str.CGraspDetection::DetectStateChange
mov qword [rsp + 0x28], r15
mov edx, 4
mov ecx, 0x40000
mov dword [rsp + 0x20], 0x28a
call fcn.140075100
movsd xmm0, qword [rbx + 0x34]
mov eax, dword [rbx + 0x3c]
mov edx, dword [rbx + 0x20]
mov rcx, qword [rbx + 0x18]
movsd qword [0x140204a68], xmm0
mov dword [0x140204a70], eax
mov qword [0x140204a78], rdi
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x1400793e0
movaps xmm6, xmmword [rsp + 0x70]
movaps xmm8, xmmword [rsp + 0x50]
mov r15, qword [rsp + 0x80]
mov r14, qword [rsp + 0x88]
mov rdi, qword [rsp + 0xb0]
mov rsi, qword [rsp + 0xa8]
mov rbp, qword [rsp + 0xa0]
movaps xmm9, xmmword [rsp + 0x40]
cmp dword [rbx + 0x14], 0
movaps xmm7, xmmword [rsp + 0x60]
jne 0x14007964e
cmp qword [rbx + 0x18], 0
je 0x14007964e
cmp dword [0x1401f9c80], 4
jl 0x14007962e
test dword [0x1401f9cfc], 0x40000
je 0x14007962e
lea rax, str.InMotionDetection___timed_out__turn_off_in_motion_event_n
mov edx, 4
mov qword [rsp + 0x28], rax
lea r9, str.c:jenkinsworkspacedptf_srcesifproductsesif_uf_sourceswincem_accelerometer.cpp
lea r8, str.CGraspDetection::DetectStateChange
mov dword [rsp + 0x20], 0x29a
mov ecx, 0x40000
call fcn.140075100
mov rcx, qword [rbx]
xor edx, edx
mov rax, qword [rcx + 0x18]
mov rcx, rbx
call qword [case.0x140024317.0]
mov eax, 1
add rsp, 0x90
pop rbx
ret
xor eax, eax
add rsp, 0x90
pop rbx
ret
lea rcx, [0x140204a74]
call fcn.1400a0a30
cmp dword [0x140204a74], 0xffffffff
jne 0x1400793ef
movsd xmm0, qword [rbx + 0x34]
mov eax, dword [rbx + 0x3c]
movsd qword [0x140204a68], xmm0
mov dword [0x140204a70], eax
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
lea rcx, [0x140204a74]
mov qword [0x140204a78], rax
call fcn.1400a09d0
jmp 0x1400793ef