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

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1dea8
call fcn.10203e10
mov eax, dword [0x105520d0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 0x3008]
mov esi, dword [eax + 0x479c6c]
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x1de30], edi
mov byte [ebp - 0x1de25], 0
test eax, eax
jle 0x1000f440
mov esi, eax
jmp 0x1000f449
jne 0x1000f449
mov byte [ebp - 0x1de25], 1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x1de34], eax
xor eax, eax
mov dword [ebp - 0x1de5c], 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 eax, dword [ebp + 8]
xor bl, bl
mov dword [ebp - 0x1dea8], str.CGPS_Enter_Verification_Mode
mov dword [ebp - 0x1dea4], str.CGPS_Exit_Verification_Mode
mov dword [ebp - 0x1dea0], str.CGPS_Verification_Mode_Error
mov dword [ebp - 0x1de9c], str.CGPS_IQ_FFT_DataReceived
mov dword [ebp - 0x1de98], str.CGPS_IQ_Test_Complete
mov dword [ebp - 0x1de94], str.CGPS_Dwell_Complete
mov dword [ebp - 0x1de90], str.CGPS_Dwell_Status
mov dword [ebp - 0x1de8c], str.CGPS_GPS_MeasurementReceived
mov dword [ebp - 0x1de88], str.CGPS_RF_Status_Recieved
mov dword [ebp - 0x1de84], str.CGPS_Demodulation_Soft_Decision
mov dword [ebp - 0x1de80], str.GNSS_GPS_MeasurementReceived
mov dword [ebp - 0x1de7c], str.GNSS_GLONASS_MeasurementReceived
mov dword [ebp - 0x1de78], str.GNSS_GPS_HBW_RXD_MeasurementReceived
mov dword [ebp - 0x1de74], str.GNSS_DEMOD_MeasurementReceived
mov dword [ebp - 0x1de70], str.GNSS_PRX_RF_Status_Recieved
mov dword [ebp - 0x1de6c], str.GNSS_DRX_RF_Status_Recieved
mov dword [ebp - 0x1de68], str.CGPS_WB_FFT_STATS_C_Complete
mov dword [ebp - 0x1de64], str.GNSS_Presc_Dwell_Event_Received
mov dword [ebp - 0x1de60], str.GNSS_SPECTRUM_ANALYZER_STATUS
mov dword [ebp - 0x1de40], eax
mov dword [ebp - 0x1de3c], ecx
mov dword [ebp - 0x1de2c], eax
cmp eax, 0x1a
jl 0x1000f568
mov dword [ebp - 0x1de2c], 0x1a
cmp byte [ebp - 0x1de25], 0
jne 0x1000f595
mov edx, dword [ebp - 0x1de2c]
mov eax, dword [ebp + edx*4 - 0x1dea8]
mov ecx, dword [edi + 0x3014]
push eax
push str._Starting_wait_for_CGPS_message__s...
push 4
push ecx
call fcn.10115e20
add esp, 0x10
add esi, dword [ebp - 0x1de34]
mov dword [ebp - 0x1de38], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp eax, esi
jae 0x1000f67f
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
test bl, bl
jne 0x1000f679
xor esi, esi
nop
mov ecx, dword [ebp - 0x1de30]
lea eax, [ebp - 0x1de24]
push eax
call fcn.1000ba10
test al, al
je 0x1000f645
mov eax, dword [ebp + esi*4 - 0x1de40]
cmp eax, 4
jne 0x1000f5f0
mov ecx, dword [ebp - 0x1d1b0]
cmp ecx, dword [ebp - 0x1d1b4]
je 0x1000f651
cmp byte [ebp + eax - 0x1de24], 1
jne 0x1000f645
cmp eax, 4
je 0x1000f62a
cmp eax, 0x11
jne 0x1000f643
mov eax, 1
cmp dword [ebp - 0x19055], eax
jae 0x1000f621
cmp dword [ebp - 0x18f1e], eax
jae 0x1000f621
cmp dword [ebp - 0x18de7], eax
jb 0x1000f643
push 0x1f4
call edi
jmp 0x1000f643
mov edx, dword [ebp - 0x1de30]
mov ecx, dword [edx + 0x3024]
call fcn.10018750
cmp dword [ebp - 0x1d1cc], eax
jb 0x1000f645
mov bl, 1
inc esi
cmp esi, 2
jl 0x1000f5c0
jmp 0x1000f65a
mov byte [ebp - 0x1de20], 1
mov bl, 1
cmp byte [ebp - 0x1de25], 0
jne 0x1000f679
push 0x64
call edi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp eax, dword [ebp - 0x1de38]
jb 0x1000f5b5
mov edi, dword [ebp - 0x1de30]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x1de34]
cmp byte [ebp - 0x1de25], 0
jne 0x1000f6b7
mov edx, dword [ebp - 0x1de2c]
movzx ecx, bl
push ecx
mov ecx, dword [edi + 0x3014]
push eax
mov eax, dword [ebp + edx*4 - 0x1dea8]
push eax
push str._Wait_for_CGPS_message__s_took__d_ms__status___d
push 4
push ecx
jmp 0x1000f6d8
movzx edx, bl
push edx
mov edx, dword [edi + 0x3014]
push eax
mov eax, dword [ebp - 0x1de2c]
mov ecx, dword [ebp + eax*4 - 0x1dea8]
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