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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov dword [ebp - 0x30], ecx
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
mov eax, dword [str.SensorThread]
push eax
mov ecx, dword [ebp - 0x30]
call fcn.0042f0f0
push eax
call fcn.0044ce80
add esp, 8
push 0
push 1
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov ecx, dword [ebp - 0x30]
mov dword [ecx + 0x2c], eax
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x18], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0xc], eax
call fcn.0042f110
mov dword [ebp - 8], eax
call fcn.00417080
mov dword [ebp - 0x14], eax
call fcn.004305e0
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0x30]
call fcn.0044ce60
test eax, eax
jne 0x435b83
push 0xffffffffffffffff
mov edx, dword [ebp - 0x30]
mov eax, dword [edx + 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0xb
mov ecx, dword [ebp - 4]
push ecx
call fcn.0040db30
mov edx, dword [ebp - 0x14]
mov dword [edx + 0x9374], eax
mov ecx, dword [ebp - 0x30]
call fcn.0044ce60
test eax, eax
je 0x4356ef
jmp 0x435b83
push 0xc
mov eax, dword [ebp - 4]
push eax
call fcn.0040db30
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x9370], eax
mov ecx, dword [ebp - 0x30]
call fcn.0044ce60
test eax, eax
je 0x435714
jmp 0x435b83
push 0xd
mov edx, dword [ebp - 4]
push edx
call fcn.0040db30
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x98a8], eax
mov ecx, dword [ebp - 0x30]
call fcn.0044ce60
test eax, eax
je 0x435739
jmp 0x435b83
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x20], eax
mov edx, dword [ebp - 0x20]
sub edx, dword [ebp - 0x10]
cmp edx, 0x3e8
jb 0x435a77
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x10], eax
push 1
mov ecx, dword [ebp - 4]
push ecx
call fcn.0040db30
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xffffffff
jle 0x43578f
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x9358]
push eax
mov ecx, dword [ebp - 0x28]
push ecx
push 0
mov ecx, dword [ebp - 0x30]
call fcn.00435c60
mov edx, dword [ebp - 0x14]
mov dword [edx + 0x9358], eax
mov ecx, dword [ebp - 0x30]
call fcn.0044ce60
test eax, eax
je 0x4357a0
jmp 0x435b83
push 2
mov eax, dword [ebp - 4]
push eax
call fcn.0040db30
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xffffffff
jle 0x4357d5
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x935c]
push edx
mov eax, dword [ebp - 0x28]
push eax
push 1
mov ecx, dword [ebp - 0x30]
call fcn.00435c60
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x935c], eax
mov ecx, dword [ebp - 0x30]
call fcn.0044ce60
test eax, eax
je 0x4357e6
jmp 0x435b83
push 3
mov edx, dword [ebp - 4]
push edx
call fcn.0040db30
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xffffffff
jle 0x43581b
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x9364]
push ecx
mov edx, dword [ebp - 0x28]
push edx
push 3
mov ecx, dword [ebp - 0x30]
call fcn.00435c60
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x9364], eax
mov ecx, dword [ebp - 0x30]
call fcn.0044ce60
test eax, eax
je 0x43582c
jmp 0x435b83
push 6
mov edx, dword [ebp - 4]
push edx
call fcn.0040db30
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xffffffff
jle 0x435861
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x9368]
push ecx
mov edx, dword [ebp - 0x28]
push edx
push 3
mov ecx, dword [ebp - 0x30]
call fcn.00435c60
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x9368], eax
mov ecx, dword [ebp - 0x30]
call fcn.0044ce60
test eax, eax
je 0x435872
jmp 0x435b83
push 4
mov edx, dword [ebp - 4]
push edx
call fcn.0040db30
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xffffffff
jle 0x4358a7
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x9360]
push ecx
mov edx, dword [ebp - 0x28]
push edx
push 2
mov ecx, dword [ebp - 0x30]
call fcn.00435c60
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x9360], eax
mov ecx, dword [ebp - 0x30]
call fcn.0044ce60
test eax, eax
je 0x4358b8
jmp 0x435b83
push 5
mov edx, dword [ebp - 4]
push edx
call fcn.0040db30
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xffffffff
jle 0x4358f2
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x936c]
push ecx
mov edx, dword [ebp - 0x28]
push edx
push 4
mov ecx, dword [ebp - 0x30]
call fcn.00435c60
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x936c], eax
jmp 0x4359ab
mov ecx, dword [ebp - 0x30]
call fcn.0044ce60
test eax, eax
je 0x435903
jmp 0x435b83
push 7
mov edx, dword [ebp - 4]
push edx
call fcn.0040db30
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xffffffff
jle 0x435944
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x936c]
push ecx
mov edx, dword [ebp - 0x28]
push edx
push 4
mov ecx, dword [ebp - 0x30]
call fcn.00435c60
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x936c], eax
mov edx, dword [ebp - 0x30]
mov dword [edx + 0x14], 0
jmp 0x435963
cmp dword [ebp - 0x28], 0xfffffffe
jne 0x435963
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x936c], 0xffffffff
jne 0x435963
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x936c], 0xfffffffe
mov dword [ebp - 0x28], 0xffffffff
cmp dword [ebp - 0x28], 0
je 0x4359ab
mov edx, dword [ebp - 0x30]
mov eax, dword [edx + 0x14]
add eax, 1
mov ecx, dword [ebp - 0x30]
mov dword [ecx + 0x14], eax
mov edx, dword [ebp - 0x30]
cmp dword [edx + 0x14], 5
jle 0x4359ab
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x936c], 0xffffffff
mov ecx, dword [ebp - 0x30]
cmp dword [ecx + 0x14], 0x4e20
jle 0x4359ab
mov edx, dword [ebp - 0x30]
mov dword [edx + 0x14], 0xa
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x5ae8], 0
je 0x4359c7
push 0x42f350
push 0x11
mov ecx, dword [ebp - 4]
push ecx
call fcn.0040db00
push 0x288
mov edx, dword [ebp - 0x14]
add edx, 0x9358
push edx
push 0x288
mov eax, dword [ebp - 0x14]
add eax, 0x95e4
push eax
call fcn.004603e3
add esp, 0x10
push 0xe
mov ecx, dword [ebp - 4]
push ecx
call fcn.0040db30
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xffffffff
jle 0x435a0c
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x28]
mov dword [edx + 0x9870], eax
push 0x10
mov ecx, dword [ebp - 4]
push ecx
call fcn.0040db30
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xffffffff
jle 0x435a2c
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x28]
mov dword [edx + 0x986c], eax
push 0xf
mov ecx, dword [ebp - 4]
push ecx
call fcn.0040db30
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xffffffff
jle 0x435a4c
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x28]
mov dword [edx + 0x9874], eax
mov ecx, dword [ebp - 8]
mov dword [ecx + 0x1c], 1
mov edx, dword [ebp - 0x30]
cmp dword [edx + 0x10], 0
je 0x435a75
push 0
push 0
push 0x401
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax + 0x10]
push ecx
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x435a96
mov edx, dword [ebp - 0x30]
cmp dword [edx + 0x10], 0
je 0x435a96
push 0
push 0
push 0x404
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax + 0x10]
push ecx
call dword [sym.imp.USER32.dll_PostMessageW]
mov ecx, dword [ebp - 0x30]
call fcn.0044ce60
test eax, eax
je 0x435aa7
jmp 0x435b83
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x1c], eax
mov edx, dword [ebp - 8]
cmp dword [edx + 0x1c], 0
je 0x435acc
mov eax, dword [ebp - 0x1c]
sub eax, dword [ebp - 0x18]
cmp eax, 0x3e8
jb 0x435acc
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x18], ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x24], eax
mov edx, dword [ebp - 0x24]
sub edx, dword [ebp - 0xc]
cmp edx, 0x1b7740
jb 0x435b50
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0xc], eax
push 0x42f350
push 0x14
mov ecx, dword [ebp - 4]
push ecx
call fcn.0040db00
mov ecx, dword [ebp - 0x14]
call fcn.00414f30
push 0x42f350
push 6
mov edx, dword [ebp - 4]
push edx
call fcn.0040db00
push 0x42f350
push 0xd
mov eax, dword [ebp - 4]
push eax
call fcn.0040db00
push 0x42f350
push 0x1b
mov ecx, dword [ebp - 4]
push ecx
call fcn.0040db00
mov edx, dword [ebp - 0x30]
cmp dword [edx + 0x10], 0
je 0x435b50
push 0
push 0
push 0x405
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax + 0x10]
push ecx
call dword [sym.imp.USER32.dll_PostMessageW]
mov dword [ebp - 0x2c], 0
jmp 0x435b62
mov edx, dword [ebp - 0x2c]
add edx, 1
mov dword [ebp - 0x2c], edx
cmp dword [ebp - 0x2c], 0xa
jge 0x435b7e
mov ecx, dword [ebp - 0x30]
call fcn.0044ce60
test eax, eax
jne 0x435b7e
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x435b59
jmp 0x4356ab
mov esp, ebp
pop ebp
ret