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

Disassembly:
push 0xffffffffffffffff
push 0x448451
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x457a00]
xor eax, esp
mov dword [esp + 0x14], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x457a00]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
mov esi, ecx
push 8
mov dword [esp + 0x20], esi
call fcn.0042501f
xor edi, edi
add esp, 4
cmp eax, edi
je 0x418655
xor ecx, ecx
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov dword [esp + 0x18], eax
jmp 0x418659
mov dword [esp + 0x18], edi
cmp dword [esp + 0x3c], edi
mov eax, dword [esp + 0x18]
mov dword [eax + 4], 0xffffffff
mov dword [eax], 0xffffffff
mov dword [0x45b81c], edi
mov byte [esp + 0x17], 0
mov byte [esp + 0x15], 0
mov dword [esp + 0x20], edi
mov byte [esp + 0x16], 0
jbe 0x418a43
xor eax, eax
nop
mov ebp, eax
imul ebp, ebp, 0x21c8
xor cl, cl
cmp byte [esi + ebp + 0x21c4], cl
mov byte [esp + 0x14], cl
jbe 0x41886a
movzx eax, cl
imul eax, eax, 0x438
add eax, ebp
cmp dword [eax + esi + 8], 2
lea edi, [eax + esi]
jne 0x418852
cmp byte [esp + 0x17], 0
jne 0x418852
lea ecx, [edi + 0xc]
push str.AT_Port
push ecx
call fcn.00430890
add esp, 8
test eax, eax
push 0x29c
jne 0x41872f
call fcn.0042501f
add esp, 4
mov dword [esp + 0x24], eax
test eax, eax
mov dword [esp + 0x34], 0
je 0x41870f
movzx edx, word [edi + 4]
push edx
mov esi, eax
call fcn.004216b0
jmp 0x418711
xor eax, eax
mov dword [esp + 0x34], 0xffffffff
mov ecx, 0x7d0
lea esi, [eax + 8]
mov dword [esi], ecx
mov dword [eax + 0x10], ecx
mov dword [eax + 0xc], ecx
mov byte [eax + 0x15], 1
jmp 0x41877a
call fcn.0042501f
add esp, 4
mov dword [esp + 0x24], eax
test eax, eax
mov dword [esp + 0x34], 1
je 0x418755
movzx ecx, word [edi + 4]
push ecx
mov esi, eax
call fcn.004216b0
jmp 0x418757
xor eax, eax
mov dword [esp + 0x34], 0xffffffff
lea esi, [eax + 8]
mov dword [esi], 0x7d0
mov dword [eax + 0x10], 0x1388
mov dword [eax + 0xc], 0x7d0
mov byte [eax + 0x15], 0
mov dword [eax + 0x18], 0xe1000
mov dword [eax + 0x180], 0x415630
mov edi, eax
mov bl, 1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [edi + 0x150], eax
jmp 0x4187a0
mov ecx, edi
call fcn.00421cf0
test al, al
jne 0x4187bd
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [edi + 0x150]
cmp eax, dword [esi]
jbe 0x4187a0
jmp 0x4187bf
xor bl, bl
test bl, bl
sete bl
test bl, bl
mov eax, str.True
jne 0x4187d2
mov eax, str.False
push eax
push str.Connect_modem_port_:_s_n
call fcn.00424780
add esp, 8
test bl, bl
je 0x418833
push 0
push 0
mov edx, str.ATE1
mov ecx, edi
call fcn.0041d2f0
add esp, 8
test eax, eax
setne bl
test bl, bl
jne 0x418808
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [esp + 0x20]
mov edx, eax
add eax, 1
cmp edx, 0x19
mov dword [esp + 0x20], eax
jge 0x418820
test bl, bl
je 0x4187e4
jmp 0x418824
test bl, bl
je 0x418833
test bl, bl
mov eax, dword [esp + 0x18]
mov dword [eax], edi
mov byte [esp + 0x17], 1
jne 0x41884e
mov esi, edi
call fcn.00422ef0
lea esi, [edi + 0x16c]
call fcn.00420fb0
push edi
call fcn.0042504a
add esp, 4
mov esi, dword [esp + 0x1c]
mov cl, byte [esp + 0x14]
add cl, 1
cmp cl, byte [esi + ebp + 0x21c4]
mov byte [esp + 0x14], cl
jb 0x4186ab
xor bl, bl
cmp byte [esi + ebp + 0x21c4], bl
mov byte [esp + 0x14], bl
jbe 0x418a1f
lea ecx, [ecx]
movzx ecx, bl
imul ecx, ecx, 0x438
add ecx, ebp
add esi, ecx
cmp dword [esi + 8], 1
jne 0x418a05
cmp byte [esp + 0x15], 0
jne 0x418a05
lea edi, [esi + 0xc]
push str.Diagnostic
push edi
call fcn.00430890
add esp, 8
test eax, eax
jne 0x4188df
push str.DIAG
push edi
call fcn.00430890
add esp, 8
test eax, eax
jne 0x4188df
push str.QDLoader
push edi
call fcn.00430890
add esp, 8
test eax, eax
je 0x418a05
push 0x29c
call fcn.0042501f
add esp, 4
mov dword [esp + 0x24], eax
test eax, eax
mov dword [esp + 0x34], 2
je 0x41890c
movzx edx, word [esi + 4]
push edx
mov esi, eax
call fcn.004216b0
mov esi, eax
jmp 0x41890e
xor esi, esi
mov dword [esp + 0x34], 0xffffffff
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov eax, 0x7d0
mov dword [esi + 8], eax
mov dword [esi + 0x10], 0x1388
mov dword [esi + 0xc], eax
mov dword [esi + 0x180], 0x415630
mov byte [esi + 0x15], 0
mov dword [esi + 0x18], 0xe1000
mov bl, 1
call edi
mov dword [esi + 0x150], eax
lea ecx, [ecx]
mov ecx, esi
call fcn.00421cf0
test al, al
jne 0x41896a
call edi
sub eax, dword [esi + 0x150]
cmp eax, dword [esi + 8]
jbe 0x418950
jmp 0x41896c
xor bl, bl
test bl, bl
sete al
test al, al
je 0x418988
mov eax, dword [esp + 0x18]
mov dword [eax + 4], esi
mov byte [esp + 0x15], 1
mov eax, str.True
jmp 0x4189f3
mov ecx, dword [esp + 0x18]
mov dword [ecx], 0xffffffff
mov ecx, dword [esi + 0x170]
mov eax, dword [ecx]
mov dword [ecx], ecx
mov ecx, dword [esi + 0x170]
mov dword [ecx + 4], ecx
cmp eax, dword [esi + 0x170]
mov dword [esi + 0x174], 0
je 0x4189cc
mov edi, dword [eax]
push eax
call fcn.0042504a
add esp, 4
cmp edi, dword [esi + 0x170]
mov eax, edi
jne 0x4189b7
mov edx, dword [esi + 0x170]
push edx
call fcn.0042504a
add esp, 4
push esi
mov dword [esi + 0x170], 0
call fcn.0042504a
add esp, 4
mov eax, str.False
push eax
push str.Connect_diag_port_:_s_n
call fcn.00424780
mov bl, byte [esp + 0x1c]
add esp, 8
mov eax, dword [esp + 0x1c]
add bl, 1
cmp bl, byte [eax + ebp + 0x21c4]
mov byte [esp + 0x14], bl
mov esi, eax
jb 0x418880
mov al, byte [esp + 0x16]
add al, 1
mov byte [esp + 0x16], al
movzx eax, al
cmp eax, dword [esp + 0x3c]
jb 0x418690
cmp byte [esp + 0x15], 0
jne 0x418a7a
mov eax, dword [esp + 0x18]
xor edi, edi
push eax
mov dword [0x45b81c], 0xffffffff
call fcn.0042504a
mov eax, dword [0x45b820]
add esp, 4
cmp eax, edi
mov dword [0x45b810], 0x450828
je 0x418a75
push str.Fail_to_connect_usb_port._Please_check_usb_connection__and_whether_installed_usb_driver.
push 3
call eax
add esp, 8
or eax, 0xffffffff
jmp 0x418a95
mov ecx, dword [esp + 0x18]
mov eax, 1
mov dword [0x45b81c], eax
mov dword [0x45b814], eax
mov dword [0x45b824], ecx
mov eax, ecx
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x14]
xor ecx, esp
call fcn.0042fb8f
add esp, 0x24
ret