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

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1dea4
call fcn.10203e10
mov eax, dword [0x105520d0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
mov eax, dword [esi + 0x3008]
push edi
mov edi, dword [eax + 0x479c6c]
mov eax, dword [ebp + 0x10]
mov byte [ebp - 0x1de25], 0
test eax, eax
jle 0x1000ceda
mov edi, eax
jmp 0x1000cee3
jne 0x1000cee3
mov byte [ebp - 0x1de25], 1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x1de30], eax
xor eax, eax
mov dword [ebp - 0x1de58], eax
mov dword [ebp - 0x1de54], eax
mov dword [ebp - 0x1de50], eax
mov dword [ebp - 0x1de4c], eax
mov dword [ebp - 0x1de48], eax
mov dword [ebp - 0x1de44], eax
mov dword [ebp - 0x1de40], eax
mov eax, dword [ebp + 8]
xor bl, bl
mov dword [ebp - 0x1dea4], str.CGPS_Enter_Verification_Mode
mov dword [ebp - 0x1dea0], str.CGPS_Exit_Verification_Mode
mov dword [ebp - 0x1de9c], str.CGPS_Verification_Mode_Error
mov dword [ebp - 0x1de98], str.CGPS_IQ_FFT_DataReceived
mov dword [ebp - 0x1de94], str.CGPS_IQ_Test_Complete
mov dword [ebp - 0x1de90], str.CGPS_Dwell_Complete
mov dword [ebp - 0x1de8c], str.CGPS_Dwell_Status
mov dword [ebp - 0x1de88], str.CGPS_GPS_MeasurementReceived
mov dword [ebp - 0x1de84], str.CGPS_RF_Status_Recieved
mov dword [ebp - 0x1de80], str.CGPS_Demodulation_Soft_Decision
mov dword [ebp - 0x1de7c], str.GNSS_GPS_MeasurementReceived
mov dword [ebp - 0x1de78], str.GNSS_GLONASS_MeasurementReceived
mov dword [ebp - 0x1de74], str.GNSS_GPS_HBW_RXD_MeasurementReceived
mov dword [ebp - 0x1de70], str.GNSS_DEMOD_MeasurementReceived
mov dword [ebp - 0x1de6c], str.GNSS_PRX_RF_Status_Recieved
mov dword [ebp - 0x1de68], str.GNSS_DRX_RF_Status_Recieved
mov dword [ebp - 0x1de64], str.CGPS_WB_FFT_STATS_C_Complete
mov dword [ebp - 0x1de60], str.GNSS_Presc_Dwell_Event_Received
mov dword [ebp - 0x1de5c], str.GNSS_SPECTRUM_ANALYZER_STATUS
mov dword [ebp - 0x1de3c], eax
mov dword [ebp - 0x1de38], ecx
mov dword [ebp - 0x1de2c], eax
cmp eax, 0x1a
jl 0x1000d002
mov dword [ebp - 0x1de2c], 0x1a
cmp byte [ebp - 0x1de25], 0
jne 0x1000d02f
mov edx, dword [ebp - 0x1de2c]
mov eax, dword [ebp + edx*4 - 0x1dea4]
mov ecx, dword [esi + 0x3014]
push eax
push str._Starting_wait_for_CGPS_message__s...
push 4
push ecx
call fcn.10115e20
add esp, 0x10
add edi, dword [ebp - 0x1de30]
mov dword [ebp - 0x1de34], edi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp eax, edi
jae 0x1000d148
lea esp, [esp]
test bl, bl
jne 0x1000d148
xor edi, edi
lea ebx, [ebx]
lea eax, [ebp - 0x1de24]
push eax
mov ecx, esi
call fcn.1000ba10
test al, al
je 0x1000d110
mov eax, dword [ebp + edi*4 - 0x1de3c]
cmp eax, 4
jne 0x1000d094
mov ecx, dword [ebp - 0x1d1b0]
cmp ecx, dword [ebp - 0x1d1b4]
je 0x1000d11c
cmp byte [ebp + eax - 0x1de24], 1
jne 0x1000d110
cmp eax, 4
je 0x1000d0d2
cmp eax, 0x11
jne 0x1000d10e
mov eax, 1
cmp dword [ebp - 0x19055], eax
jae 0x1000d0c5
cmp dword [ebp - 0x18f1e], eax
jae 0x1000d0c5
cmp dword [ebp - 0x18de7], eax
jb 0x1000d10e
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1000d10e
mov ecx, dword [esi + 0x3024]
call fcn.10018750
mov edx, dword [ebp - 0x1d1cc]
push edx
push eax
mov eax, dword [esi + 0x3014]
push str.WaitForCGPS_Update:_samples_requested:__d__actual_samples:__d
push 8
push eax
call fcn.10115e20
mov ecx, dword [esi + 0x3024]
add esp, 0x14
call fcn.10018750
cmp dword [ebp - 0x1d1cc], eax
jb 0x1000d110
mov bl, 1
inc edi
cmp edi, 2
jl 0x1000d060
jmp 0x1000d125
mov byte [ebp - 0x1de20], 1
mov bl, 1
cmp byte [ebp - 0x1de25], 0
jne 0x1000d148
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp eax, dword [ebp - 0x1de34]
jb 0x1000d050
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x1de30]
cmp byte [ebp - 0x1de25], 0
jne 0x1000d180
mov edx, dword [ebp - 0x1de2c]
movzx ecx, bl
push ecx
mov ecx, dword [esi + 0x3014]
push eax
mov eax, dword [ebp + edx*4 - 0x1dea4]
push eax
push str._Wait_for_CGPS_message__s_took__d_ms__status___d
push 4
push ecx
jmp 0x1000d1a1
movzx edx, bl
push edx
mov edx, dword [esi + 0x3014]
push eax
mov eax, dword [ebp - 0x1de2c]
mov ecx, dword [ebp + eax*4 - 0x1dea4]
push ecx
push str._Polling_for_CGPS_status_update__s_took__d_ms__status___d
push 4
push edx
call fcn.10115e20
mov ecx, dword [ebp - 4]
add esp, 0x18
pop edi
pop esi
mov al, bl
xor ecx, ebp
pop ebx
call fcn.10203cc8
mov esp, ebp
pop ebp
ret 0xc