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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5f017f
mov eax, dword fs:[0]
push eax
push ecx
push ebx
sub esp, 0x268
mov eax, dword [0x677010]
xor eax, ebp
mov dword [ebp - 0x1c], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebx + 8]
mov esi, dword [ebx + 0xc]
mov byte [ebp - 0xc5], 0
mov dword [ebp - 4], 0
push 2
push 0
push 0
push eax
mov eax, dword [ecx + 0x24]
call eax
mov dword [esi], eax
cmp eax, 0xffffffff
jne 0x45a7ff
call fcn.0041db40
cmp dword [eax + 4], 2
jl 0x45a856
call fcn.0041db40
mov edi, eax
mov dword [ebp - 0xd4], edi
sub esp, 8
lea ecx, [ebp - 0x1c8]
call fcn.00415be0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xc4]
call fcn.00407a4a
mov byte [ebp - 4], 2
push str.WARN
lea ecx, [ebp - 0xc4]
call fcn.00414ef0
lea ecx, [ebp - 0x64]
call fcn.00407a4a
mov byte [ebp - 4], 3
xor esi, esi
mov dword [ebp - 0xd0], esi
cmp esi, dword [edi + 0xc]
jge 0x45a333
cmp esi, 0xa
jge 0x45a333
mov ecx, dword [ebp - 0x54]
mov edx, dword [ebp - 0x50]
mov eax, edx
sub eax, ecx
cmp eax, 2
jb 0x45a312
lea edi, [ecx + 2]
mov dword [ebp - 0x54], edi
lea esi, [ebp - 0x64]
cmp edx, 8
cmovae esi, dword [ebp - 0x64]
push 4
push 0x63e4c4
lea eax, [esi + ecx*2]
push eax
call fcn.005bfc60
add esp, 0xc
xor eax, eax
mov word [esi + edi*2], ax
mov esi, dword [ebp - 0xd0]
mov edi, dword [ebp - 0xd4]
inc esi
jmp 0x45a2bb
mov byte [ebp - 0xcc], 0
push 2
push 0x63e4c4
push dword [ebp - 0xcc]
push 2
lea ecx, [ebp - 0x64]
call fcn.0041ea00
inc esi
jmp 0x45a2bb
lea ecx, [ebp - 0xac]
call fcn.00407a4a
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x4c]
call fcn.00407a4a
mov byte [ebp - 4], 5
call fcn.005c8926
push 0xb
lea eax, [ebp - 0x34]
push eax
call fcn.005c8a22
add esp, 8
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0xac]
call fcn.00414ef0
sub esp, 8
lea ecx, [ebp - 0x278]
call fcn.00415be0
mov byte [ebp - 4], 6
cmp dword [edi + 0x10], 0
jne 0x45a3a0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [edi + 0x10], eax
push 0
lea ecx, [ebp - 0x268]
call fcn.004101b0
jmp 0x45a3d0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [edi + 0x10]
movd xmm0, eax
cvtdq2pd xmm1, xmm0
shr eax, 0x1f
addsd xmm1, qword [eax*8 + 0x644390]
divsd xmm1, qword [0x644330]
lea ecx, [ebp - 0x268]
call fcn.0041e250
lea eax, [ebp - 0x7c]
push eax
lea ecx, [ebp - 0x260]
call fcn.00416830
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x38]
cmp eax, 8
jb 0x45a436
inc eax
mov ecx, dword [ebp - 0x4c]
cmp eax, 0x7fffffff
ja 0x45a521
add eax, eax
cmp eax, 0x1000
jb 0x45a42d
test cl, 0x1f
jne 0x45a521
mov eax, dword [ecx - 4]
cmp eax, ecx
jae 0x45a521
sub ecx, eax
cmp ecx, 4
jb 0x45a521
cmp ecx, 0x23
ja 0x45a521
mov ecx, eax
push ecx
call fcn.00476ee1
add esp, 4
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 7
xor eax, eax
mov word [ebp - 0x4c], ax
movups xmm0, xmmword [ebp - 0x7c]
movups xmmword [ebp - 0x4c], xmm0
movq xmm0, qword [ebp - 0x6c]
movq qword [ebp - 0x3c], xmm0
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x68], 7
mov word [ebp - 0x7c], ax
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x7c]
call fcn.004075ab
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x278]
call fcn.00415840
lea eax, [ebp - 0x64]
cmp dword [ebp - 0x50], 8
cmovae eax, dword [ebp - 0x64]
mov dword [ebp - 0xcc], eax
push 0x2040
lea eax, [ebp - 0xd8]
push eax
call fcn.005be8d1
mov edx, eax
mov eax, dword [ebp - 0x1b8]
mov eax, dword [eax + 4]
lea ecx, [ebp - 0x1b8]
add ecx, eax
push dword [edx + 4]
push ecx
mov eax, dword [edx]
call eax
add esp, 0x10
mov eax, dword [ebp - 0x9c]
mov byte [ebp - 4], 8
lea edx, [ebp - 0xac]
cmp dword [ebp - 0x98], 8
cmovae edx, dword [ebp - 0xac]
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x1b8]
call fcn.004137f0
add esp, 4
mov esi, eax
push 0x10
lea eax, [ebp - 0xe0]
push eax
call fcn.005be8d1
add esp, 8
mov edi, eax
mov edx, 0x63e114
mov ecx, esi
call fcn.00413320
mov esi, eax
test esi, esi
jne 0x45a526
xor ecx, ecx
jmp 0x45a52d
call fcn.005c3f14
mov eax, dword [esi]
mov ecx, dword [eax + 4]
add ecx, esi
push dword [edi + 4]
push ecx
mov eax, dword [edi]
call eax
push 0
push 6
lea eax, [ebp - 0xf8]
push eax
call fcn.005be8ff
add esp, 0x14
mov edx, eax
mov ecx, esi
call fcn.0041e9d0
mov esi, eax
mov eax, dword [esi]
mov ecx, dword [eax + 4]
mov eax, 0x30
mov word [ecx + esi + 0x40], ax
push 0
push 3
lea eax, [ebp - 0x108]
push eax
call fcn.005be8e5
add esp, 0xc
mov edx, eax
mov ecx, esi
call fcn.0041e9d0
mov ecx, dword [ebp - 0x3c]
mov byte [ebp - 4], 9
lea edx, [ebp - 0x4c]
cmp dword [ebp - 0x38], 8
cmovae edx, dword [ebp - 0x4c]
mov byte [ebp - 4], 5
push ecx
mov ecx, eax
call fcn.004137f0
add esp, 4
mov edi, eax
push 0
push 5
lea eax, [ebp - 0x118]
push eax
call fcn.005be8ff
add esp, 0xc
mov esi, eax
mov edx, 0x63e114
mov ecx, edi
call fcn.00413320
mov edx, esi
mov ecx, eax
call fcn.0041e9d0
mov esi, eax
mov eax, dword [esi]
mov ecx, dword [eax + 4]
mov eax, 0x20
mov word [ecx + esi + 0x40], ax
push 0x40
lea eax, [ebp - 0xe8]
push eax
call fcn.005be8d1
mov edx, eax
mov eax, dword [esi]
mov ecx, dword [eax + 4]
add ecx, esi
push dword [edx + 4]
push ecx
mov eax, dword [edx]
call eax
add esp, 0x10
mov eax, dword [ebp - 0xb4]
mov byte [ebp - 4], 0xa
lea edx, [ebp - 0xc4]
cmp dword [ebp - 0xb0], 8
cmovae edx, dword [ebp - 0xc4]
mov byte [ebp - 4], 5
push eax
mov ecx, esi
call fcn.004137f0
add esp, 4
mov edx, 0x63e504
mov ecx, eax
call fcn.00413320
mov edx, dword [ebp - 0xcc]
mov ecx, eax
call fcn.00413320
mov eax, dword fs:[0x2c]
mov ecx, dword [eax]
mov eax, dword [0x6835d0]
cmp eax, dword [ecx + 4]
jle 0x45a693
push 0x6835d0
call fcn.005bcd79
add esp, 4
cmp dword [0x6835d0], 0xffffffff
jne 0x45a693
mov ecx, 0x6835d4
call fcn.00407a4a
push 0x5ff870
call fcn.005bc9d9
add esp, 4
push 0x6835d0
call fcn.005bcd3a
add esp, 4
lea eax, [ebp - 0x94]
push eax
lea ecx, [ebp - 0x1b0]
call fcn.00416830
mov byte [ebp - 4], 0xb
mov eax, dword [0x6835e8]
cmp eax, 8
jb 0x45a701
inc eax
mov ecx, dword [0x6835d4]
cmp eax, 0x7fffffff
ja 0x45a521
add eax, eax
cmp eax, 0x1000
jb 0x45a6f8
test cl, 0x1f
jne 0x45a521
mov eax, dword [ecx - 4]
cmp eax, ecx
jae 0x45a521
sub ecx, eax
cmp ecx, 4
jb 0x45a521
cmp ecx, 0x23
ja 0x45a521
mov ecx, eax
push ecx
call fcn.00476ee1
add esp, 4
mov dword [0x6835e4], 0
mov dword [0x6835e8], 7
xor eax, eax
mov word [0x6835d4], ax
movups xmm0, xmmword [ebp - 0x94]
movups xmmword [0x6835d4], xmm0
movq xmm0, qword [ebp - 0x84]
movq qword [0x6835e4], xmm0
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x80], 7
mov word [ebp - 0x94], ax
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x94]
call fcn.004075ab
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x4c]
call fcn.004075ab
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xac]
call fcn.004075ab
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x64]
call fcn.004075ab
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xc4]
call fcn.004075ab
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c8]
call fcn.00415840
call fcn.0041db40
mov ecx, dword [0x6835e4]
mov byte [ebp - 4], 0xc
mov edx, 0x6835d4
cmp dword [0x6835e8], 8
cmovae edx, dword [0x6835d4]
mov byte [ebp - 4], 0
push ecx
mov ecx, eax
call fcn.004137f0
add esp, 4
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push ecx
mov edx, str.SetupDiGetClassDevs_failed_with_error:
mov ecx, esi
call fcn.00413320
add esp, 4
mov ecx, eax
call fcn.00415d70
push eax
call fcn.00414850
add esp, 4
jmp 0x45a856
mov byte [ebp - 0xc5], 1
jmp 0x45a856
mov dword [ebp - 4], 0xffffffff
mov al, byte [ebp - 0xc5]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.005bc745
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 8