Function at 0x459a50
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 0x5f00ff
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x260
mov eax, dword [0x677010]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xe4], ecx
mov edi, dword [ebx + 0x14]
mov eax, dword [ebx + 8]
mov dword [ebp - 0xcc], eax
mov eax, dword [ebx + 0xc]
mov dword [ebp - 0xdc], eax
mov eax, dword [edi]
cmp dword [eax - 0xc], 0
lea edx, [eax - 0x10]
mov esi, dword [edx]
mov dword [ebp - 0xd4], edi
mov byte [ebp - 0xc1], 0
je 0x459b6a
cmp dword [edx + 0xc], 0
lea ecx, [edx + 0xc]
jge 0x459af3
cmp dword [eax - 8], 0
jge 0x459ae3
push 0x80070057
call fcn.004022e2
mov dword [eax - 0xc], 0
xor ecx, ecx
mov eax, dword [edi]
mov word [eax], cx
jmp 0x459b6a
or eax, 0xffffffff
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x459b4c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
mov ecx, dword [eax + 4]
mov dword [ebp - 0xc8], ecx
mov ecx, dword [edx]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x459b46
mov ecx, dword [ecx + 4]
mov eax, dword [ecx]
mov edi, dword [eax + 4]
mov dword [ebp - 0xc8], edi
mov edi, dword [ebp - 0xd4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x459b3e
push 0
push dword [ecx + 4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x459b4c
call dword [ebp - 0xc8]
jmp 0x459b4c
call dword [ebp - 0xc8]
mov eax, dword [esi]
mov edx, dword [eax + 0xc]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x459b61
lock inc dword [esi + 0x14]
lea eax, [esi + 8]
jmp 0x459b65
mov ecx, esi
call edx
add eax, 0x10
mov dword [edi], eax
lea eax, [ebp - 0xd0]
mov dword [ebp - 0xd0], 0
push eax
push 0
push 0
lea eax, [ebp - 0xec]
push eax
push dword [ebx + 0x10]
mov eax, dword [ebp - 0xe4]
push dword [ebp - 0xcc]
push dword [ebp - 0xdc]
mov eax, dword [eax + 0x2c]
call eax
test eax, eax
jne 0x45a12b
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
je 0x45a12b
cmp eax, 0xd
jne 0x45a124
call fcn.0041db40
cmp dword [eax + 4], 2
jl 0x45a124
call fcn.0041db40
sub esp, 8
lea ecx, [ebp - 0x1c0]
mov esi, eax
mov dword [ebp - 0xc8], esi
call fcn.00415be0
lea ecx, [ebp - 0xc0]
mov dword [ebp - 4], 0
call fcn.00407a4a
push str.WARN
lea ecx, [ebp - 0xc0]
mov byte [ebp - 4], 1
call fcn.00414ef0
lea ecx, [ebp - 0x5c]
call fcn.00407a4a
xor eax, eax
mov byte [ebp - 4], 2
mov dword [ebp - 0xcc], eax
cmp dword [esi + 0xc], eax
jle 0x459ca5
nop dword [eax]
cmp eax, 0xa
jge 0x459ca5
mov edx, dword [ebp - 0x48]
mov eax, edx
mov ecx, dword [ebp - 0x4c]
sub eax, ecx
cmp eax, 2
jb 0x459c75
cmp edx, 8
lea esi, [ebp - 0x5c]
push 4
cmovae esi, dword [ebp - 0x5c]
lea edi, [ecx + 2]
push 0x63e4c4
mov dword [ebp - 0x4c], edi
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 - 0xc8]
jmp 0x459c93
push 2
push 0x63e4c4
mov byte [ebp - 0xd4], 0
lea ecx, [ebp - 0x5c]
push dword [ebp - 0xd4]
push 2
call fcn.0041ea00
mov eax, dword [ebp - 0xcc]
inc eax
mov dword [ebp - 0xcc], eax
cmp eax, dword [esi + 0xc]
jl 0x459c30
lea ecx, [ebp - 0xa8]
call fcn.00407a4a
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 3
call fcn.00407a4a
mov byte [ebp - 4], 4
call fcn.005c8926
lea eax, [ebp - 0x2c]
push 0xb
push eax
call fcn.005c8a22
add esp, 8
lea eax, [ebp - 0x2c]
lea ecx, [ebp - 0xa8]
push eax
call fcn.00414ef0
sub esp, 8
lea ecx, [ebp - 0x270]
call fcn.00415be0
mov byte [ebp - 4], 5
cmp dword [esi + 0x10], 0
jne 0x459d12
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 0
lea ecx, [ebp - 0x260]
mov dword [esi + 0x10], eax
call fcn.004101b0
jmp 0x459d42
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [esi + 0x10]
lea ecx, [ebp - 0x260]
movd xmm0, eax
cvtdq2pd xmm1, xmm0
shr eax, 0x1f
addsd xmm1, qword [eax*8 + 0x644390]
divsd xmm1, qword [0x644330]
call fcn.0041e250
lea eax, [ebp - 0x78]
push eax
lea ecx, [ebp - 0x258]
call fcn.00416830
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x30]
cmp eax, 8
jb 0x459da8
mov ecx, dword [ebp - 0x44]
inc eax
cmp eax, 0x7fffffff
ja 0x459e8e
add eax, eax
cmp eax, 0x1000
jb 0x459d9f
test cl, 0x1f
jne 0x459e8e
mov eax, dword [ecx - 4]
cmp eax, ecx
jae 0x459e8e
sub ecx, eax
cmp ecx, 4
jb 0x459e8e
cmp ecx, 0x23
ja 0x459e8e
mov ecx, eax
push ecx
call fcn.00476ee1
add esp, 4
movups xmm0, xmmword [ebp - 0x78]
xor eax, eax
mov dword [ebp - 0x34], 0
mov word [ebp - 0x44], ax
lea ecx, [ebp - 0x78]
movups xmmword [ebp - 0x44], xmm0
mov dword [ebp - 0x30], 7
movq xmm0, qword [ebp - 0x68]
movq qword [ebp - 0x34], xmm0
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x64], 7
mov word [ebp - 0x78], ax
mov byte [ebp - 4], 5
call fcn.004075ab
lea ecx, [ebp - 0x270]
mov byte [ebp - 4], 4
call fcn.00415840
cmp dword [ebp - 0x48], 8
lea eax, [ebp - 0x5c]
push 0x2040
cmovae eax, dword [ebp - 0x5c]
mov dword [ebp - 0xc8], eax
lea eax, [ebp - 0xd8]
push eax
call fcn.005be8d1
mov ecx, eax
lea edx, [ebp - 0x1b0]
mov eax, dword [ebp - 0x1b0]
push dword [ecx + 4]
mov eax, dword [eax + 4]
add eax, edx
push eax
mov eax, dword [ecx]
call eax
mov eax, dword [ebp - 0x98]
mov byte [ebp - 4], 7
lea edx, [ebp - 0xa8]
cmp dword [ebp - 0x94], 8
lea ecx, [ebp - 0x1b0]
push eax
cmovae edx, dword [ebp - 0xa8]
mov byte [ebp - 4], 4
call fcn.004137f0
add esp, 0x14
mov esi, eax
lea eax, [ebp - 0xe8]
push 0x10
push eax
call fcn.005be8d1
add esp, 8
mov edx, 0x63e114
mov ecx, esi
mov edi, eax
call fcn.00413320
mov esi, eax
test esi, esi
jne 0x459e93
jmp 0x459e9a
call fcn.005c3f14
mov eax, dword [esi]
mov eax, dword [eax + 4]
add eax, esi
push dword [edi + 4]
push eax
mov eax, dword [edi]
call eax
push 0
lea eax, [ebp - 0x100]
push 6
push eax
call fcn.005be8ff
add esp, 0x14
mov edx, eax
mov ecx, esi
call fcn.0041e9d0
mov esi, eax
mov ecx, 0x30
push 0
push 3
mov eax, dword [esi]
mov eax, dword [eax + 4]
mov word [eax + esi + 0x40], cx
lea eax, [ebp - 0x110]
push eax
call fcn.005be8e5
add esp, 0xc
mov edx, eax
mov ecx, esi
call fcn.0041e9d0
mov ecx, eax
mov eax, dword [ebp - 0x34]
mov byte [ebp - 4], 8
lea edx, [ebp - 0x44]
cmp dword [ebp - 0x30], 8
push eax
cmovae edx, dword [ebp - 0x44]
mov byte [ebp - 4], 4
call fcn.004137f0
add esp, 4
mov edi, eax
lea eax, [ebp - 0x70]
push 0
push 5
push eax
call fcn.005be8ff
add esp, 0xc
mov edx, 0x63e114
mov ecx, edi
mov esi, eax
call fcn.00413320
mov edx, esi
mov ecx, eax
call fcn.0041e9d0
mov esi, eax
mov ecx, 0x20
push 0x40
mov eax, dword [esi]
mov eax, dword [eax + 4]
mov word [eax + esi + 0x40], cx
lea eax, [ebp - 0xe0]
push eax
call fcn.005be8d1
mov ecx, eax
mov eax, dword [esi]
mov eax, dword [eax + 4]
push dword [ecx + 4]
add eax, esi
push eax
mov eax, dword [ecx]
call eax
mov eax, dword [ebp - 0xb0]
mov byte [ebp - 4], 9
lea edx, [ebp - 0xc0]
cmp dword [ebp - 0xac], 8
mov ecx, esi
push eax
cmovae edx, dword [ebp - 0xc0]
mov byte [ebp - 4], 4
call fcn.004137f0
add esp, 0x14
mov edx, 0x63e504
mov ecx, eax
call fcn.00413320
mov edx, dword [ebp - 0xc8]
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 0x459ffa
push 0x6835d0
call fcn.005bcd79
add esp, 4
cmp dword [0x6835d0], 0xffffffff
jne 0x459ffa
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 - 0x90]
push eax
lea ecx, [ebp - 0x1a8]
call fcn.00416830
mov byte [ebp - 4], 0xa
mov eax, dword [0x6835e8]
cmp eax, 8
jb 0x45a068
mov ecx, dword [0x6835d4]
inc eax
cmp eax, 0x7fffffff
ja 0x459e8e
add eax, eax
cmp eax, 0x1000
jb 0x45a05f
test cl, 0x1f
jne 0x459e8e
mov eax, dword [ecx - 4]
cmp eax, ecx
jae 0x459e8e
sub ecx, eax
cmp ecx, 4
jb 0x459e8e
cmp ecx, 0x23
ja 0x459e8e
mov ecx, eax
push ecx
call fcn.00476ee1
add esp, 4
movups xmm0, xmmword [ebp - 0x90]
xor eax, eax
lea ecx, [ebp - 0x90]
mov word [ebp - 0x90], ax
movups xmmword [0x6835d4], xmm0
movq xmm0, qword [ebp - 0x80]
movq qword [0x6835e4], xmm0
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 7
mov byte [ebp - 4], 4
call fcn.004075ab
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 3
call fcn.004075ab
lea ecx, [ebp - 0xa8]
mov byte [ebp - 4], 2
call fcn.004075ab
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 1
call fcn.004075ab
lea ecx, [ebp - 0xc0]
mov byte [ebp - 4], 0
call fcn.004075ab
lea ecx, [ebp - 0x1c0]
mov dword [ebp - 4], 0xffffffff
call fcn.00415840
push 0xd
push ecx
call fcn.0041db40
mov edx, 0x6835d4
mov ecx, eax
call fcn.00413a60
mov edx, str.SetupDiGetDeviceRegistryProperty_failed_with_error:
mov ecx, eax
call fcn.00413320
add esp, 4
mov ecx, eax
call fcn.00415d70
push eax
call fcn.00414850
add esp, 4
xor al, al
jmp 0x45a1c2
mov eax, dword [ebp - 0xd0]
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00476ee6
add esp, 4
mov esi, eax
lea eax, [ebp - 0xd0]
push eax
push dword [ebp - 0xd0]
lea eax, [ebp - 0xec]
push esi
push eax
push dword [ebx + 0x10]
mov eax, dword [ebp - 0xe4]
push dword [ebp - 0xcc]
push dword [ebp - 0xdc]
mov eax, dword [eax + 0x2c]
call eax
test eax, eax
je 0x45a1af
test esi, esi
jne 0x45a187
xor ecx, ecx
jmp 0x45a19f
mov ecx, esi
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45a190
sub ecx, edx
sar ecx, 1
push ecx
push esi
mov ecx, edi
call fcn.004020e3
mov byte [ebp - 0xc1], 1
test esi, esi
je 0x45a1bc
push esi
call fcn.00476ee1
add esp, 4
mov al, byte [ebp - 0xc1]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.005bc745
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x10