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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push ebx
push esi
push edi
lea edi, [ebp - 0x4c]
mov ecx, 0x13
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov dword [ebp - 4], 0
mov byte [ebp - 8], 0
mov dword [ebp - 0xc], 0xc8
push str.Please_inpunt_Tx_channel_Number_079_
call fcn.00402260
add esp, 4
lea eax, [ebp - 4]
push eax
push 0x42a570
call fcn.004026b0
add esp, 8
mov byte [0x430440], 3
mov cl, byte [ebp - 4]
mov byte [0x430441], cl
mov dword [0x430444], 0
mov byte [0x430448], 2
mov byte [0x430449], 0
mov word [0x43044a], 0x1fe8
mov dword [0x43044c], 0x3ffff
mov byte [0x430450], 0x7f
mov byte [0x43045e], 7
push str.00004C002253
push 0x430451
call fcn.004027c0
add esp, 8
mov esi, esp
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp esi, esp
call fcn.004022e0
mov dword [0x430434], eax
mov ebx, esp
sub esp, 0x20
mov ecx, 8
mov esi, 0x430440
mov edi, esp
rep movsd dword es:[edi], dword [esi]
call dword [0x430494]
add esp, 0x20
cmp ebx, esp
call fcn.004022e0
and eax, 0xff
test eax, eax
jne 0x401a65
push str.__SetTRxParameters__TX__Error
call fcn.00402260
add esp, 4
jmp 0x401c80
mov esi, esp
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp esi, esp
call fcn.004022e0
mov dword [0x430438], eax
mov edx, dword [0x430438]
sub edx, dword [0x430434]
push edx
call fcn.00402680
add esp, 4
push eax
push str.__SetTRxParameters__TX__Time_d__n
call fcn.00402260
add esp, 8
push str.Please_inpunt_Delay_time_mSec:
call fcn.00402260
add esp, 4
lea eax, [ebp - 0xc]
push eax
push 0x42a570
call fcn.004026b0
add esp, 8
mov ecx, dword [ebp - 4]
push ecx
push str.___Begin_Packet_Tx_Channel___d__n
call fcn.00402260
add esp, 8
mov esi, esp
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp esi, esp
call fcn.004022e0
mov dword [0x430434], eax
mov esi, esp
call dword [0x430484]
cmp esi, esp
call fcn.004022e0
and eax, 0xff
test eax, eax
jne 0x401b09
push str.__StartPacketTx_Error
call fcn.00402260
add esp, 4
jmp 0x401c7e
mov esi, esp
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp esi, esp
call fcn.004022e0
mov dword [0x430438], eax
mov edx, dword [0x430438]
sub edx, dword [0x430434]
push edx
call fcn.00402680
add esp, 4
push eax
mov eax, dword [ebp - 4]
push eax
push str.___Begin_Packet_Tx_Channel___d_Succress__Time__d__n
call fcn.00402260
add esp, 0xc
push str.__please_ESC_Key_to_exit_..._n
call fcn.00402260
add esp, 4
mov esi, esp
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp esi, esp
call fcn.004022e0
mov dword [0x430434], eax
mov ecx, 1
test ecx, ecx
je 0x401bfa
call fcn.00413ea0
test eax, eax
je 0x401b8e
call fcn.00413d20
mov byte [ebp - 8], al
movsx edx, byte [ebp - 8]
cmp edx, 0x1b
jne 0x401b8e
jmp 0x401bfa
mov esi, esp
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp esi, esp
call fcn.004022e0
mov dword [0x430438], eax
mov esi, esp
push 0x430418
call dword [0x430478]
add esp, 4
cmp esi, esp
call fcn.004022e0
mov eax, dword [0x430438]
sub eax, dword [0x430434]
push eax
call fcn.00402680
add esp, 4
push eax
mov ecx, dword [0x430430]
push ecx
push str.__Tx_bits___d___Time_d__n
call fcn.00402260
add esp, 0xc
mov esi, esp
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp esi, esp
call fcn.004022e0
jmp 0x401b65
push str.__Stop_Packet_Tx_n
call fcn.00402260
add esp, 4
mov esi, esp
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp esi, esp
call fcn.004022e0
mov dword [0x430434], eax
mov esi, esp
call dword [0x430490]
cmp esi, esp
call fcn.004022e0
and eax, 0xff
test eax, eax
jne 0x401c42
push str.__Stop_Tx_Error
call fcn.00402260
add esp, 4
jmp 0x401c7c
mov esi, esp
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp esi, esp
call fcn.004022e0
mov dword [0x430438], eax
mov eax, dword [0x430438]
sub eax, dword [0x430434]
push eax
call fcn.00402680
add esp, 4
push eax
push str.__Stop_Packet_Tx___d__Succress_n
call fcn.00402260
add esp, 8
xor eax, eax
jmp 0x401c82
jmp 0x401c78
jmp 0x401c78
jmp 0x401c78
pop edi
pop esi
pop ebx
add esp, 0x4c
cmp ebp, esp
call fcn.004022e0
mov esp, ebp
pop ebp
ret