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

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x298]
sub rsp, 0x398
mov rax, qword [0x14031b940]
xor rax, rsp
mov qword [rbp + 0x288], rax
mov edi, r9d
mov dword [rsp + 0x48], r9d
mov rbx, r8
mov qword [rsp + 0x50], rbx
mov r13, rdx
mov r12, rcx
mov r15, qword [rbp + 0x300]
xor esi, esi
xor r14b, r14b
mov rcx, r15
call fcn.140002984
mov dword [rsp + 0x40], esi
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], rsi
lea r9, [rsp + 0x44]
mov r8d, edi
mov rdx, r13
mov rcx, rbx
call qword [r12 + 0x48]
test eax, eax
jne 0x140060a19
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
je 0x140060a19
cmp eax, 0xd
jne 0x140060a12
call fcn.140020e90
cmp dword [rax + 8], 2
jl 0x140060a12
call fcn.140020e90
mov rdi, rax
lea rcx, [rbp - 0x50]
call fcn.140019350
nop
xorps xmm0, xmm0
movups xmmword [rbp + 0x210], xmm0
mov qword [rbp + 0x220], rsi
mov qword [rbp + 0x228], 7
mov word [rbp + 0x210], si
lea rdx, str.WARN
lea rcx, [rbp + 0x210]
call fcn.1400182b0
xorps xmm0, xmm0
movups xmmword [rbp + 0x1b0], xmm0
mov edx, esi
mov qword [rbp + 0x1c0], rdx
mov r8d, 7
mov qword [rbp + 0x1c8], r8
mov word [rbp + 0x1b0], si
mov ebx, esi
cmp dword [rdi + 0x10], ebx
jle 0x140060486
cmp ebx, 0xa
jge 0x140060486
mov rax, r8
sub rax, rdx
lea rcx, [rbp + 0x1b0]
cmp rax, 2
jb 0x140060455
lea rax, [rdx + 2]
mov qword [rbp + 0x1c0], rax
cmp r8, 7
cmova rcx, qword [rbp + 0x1b0]
mov eax, dword [0x1402cda80]
mov dword [rcx + rdx*2], eax
mov word [rcx + rdx*2 + 4], si
jmp 0x14006046f
mov qword [rsp + 0x20], 2
lea r9, [0x1402cda80]
mov edx, 2
call fcn.140021e20
inc ebx
cmp ebx, dword [rdi + 0x10]
jge 0x140060486
mov r8, qword [rbp + 0x1c8]
mov rdx, qword [rbp + 0x1c0]
jmp 0x140060416
xorps xmm0, xmm0
movups xmmword [rbp + 0x1f0], xmm0
mov qword [rbp + 0x200], rsi
mov qword [rbp + 0x208], 7
mov word [rbp + 0x1f0], si
movups xmmword [rbp + 0x1d0], xmm0
mov qword [rbp + 0x1e0], rsi
mov qword [rbp + 0x1e8], 7
mov word [rbp + 0x1d0], si
call fcn.140231ccc
mov edx, VariantTimeToDosDateTime
lea rcx, [rbp + 0x270]
call fcn.140231e1c
lea rdx, [rbp + 0x270]
lea rcx, [rbp + 0x1f0]
call fcn.1400182b0
lea rcx, [rbp + 0xb0]
call fcn.140019350
nop
cmp dword [rdi + 0x14], 0
jne 0x14006051e
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [rdi + 0x14], eax
xor edx, edx
lea rcx, [rbp + 0xc0]
call fcn.140012dc0
jmp 0x140060543
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [rdi + 0x14]
xorps xmm1, xmm1
cvtsi2sd xmm1, rax
divsd xmm1, qword [0x1402d47b0]
lea rcx, [rbp + 0xc0]
call fcn.140021890
lea rdx, [rbp + 0x230]
lea rcx, [rbp + 0xc8]
call fcn.140019f80
nop
mov rdx, qword [rbp + 0x1e8]
cmp rdx, 7
jbe 0x14006059d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x1d0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140060598
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140060aca
call fcn.140003e94
movups xmm0, xmmword [rbp + 0x230]
movups xmmword [rbp + 0x1d0], xmm0
movups xmm1, xmmword [rbp + 0x240]
movups xmmword [rbp + 0x1e0], xmm1
movdqa xmm0, xmmword [0x1402d4800]
movdqu xmmword [rbp + 0x240], xmm0
mov word [rbp + 0x230], si
lea rcx, [rbp + 0xb0]
call fcn.140019240
mov edx, reloc.OLEAUT32.dll_SafeArrayGetDim
lea rcx, [rsp + 0x50]
call fcn.1402233f8
mov rbx, rax
mov edx, 0x2040
lea rcx, [rsp + 0x60]
call fcn.1402233f8
mov r8, rax
mov rax, qword [rbp - 0x40]
movsxd rcx, dword [rax + 4]
lea rax, [rbp - 0x40]
add rcx, rax
mov edx, dword [r8 + 8]
call qword [r8]
lea rdx, [rbp + 0x1f0]
cmp qword [rbp + 0x208], 7
cmova rdx, qword [rbp + 0x1f0]
mov r8, qword [rbp + 0x200]
lea rcx, [rbp - 0x40]
call fcn.140016b40
lea rdx, [0x1402cd5bc]
mov rcx, rax
call fcn.140016880
mov rdi, rax
mov rax, qword [rax]
movsxd rcx, dword [rax + 4]
add rcx, rdi
mov edx, dword [rbx + 8]
call qword [rbx]
mov edx, 6
lea rcx, [rsp + 0x70]
call fcn.140223420
mov r8, rax
mov rax, qword [rdi]
movsxd rcx, dword [rax + 4]
add rcx, rdi
mov rdx, qword [r8 + 8]
call qword [r8]
mov rax, qword [rdi]
movsxd rcx, dword [rax + 4]
mov word [rcx + rdi + 0x58], 0x30
mov edx, 3
lea rcx, [rbp - 0x80]
call fcn.14022340c
mov r8, rax
mov rax, qword [rdi]
movsxd rcx, dword [rax + 4]
add rcx, rdi
mov rdx, qword [r8 + 8]
call qword [r8]
lea rdx, [rbp + 0x1d0]
cmp qword [rbp + 0x1e8], 7
cmova rdx, qword [rbp + 0x1d0]
mov r8, qword [rbp + 0x1e0]
mov rcx, rdi
call fcn.140016b40
mov rbx, rax
mov edx, 5
lea rcx, [rbp - 0x70]
call fcn.140223420
mov rdi, rax
lea rdx, [0x1402cd5bc]
mov rcx, rbx
call fcn.140016880
mov rbx, rax
mov rax, qword [rax]
movsxd rcx, dword [rax + 4]
add rcx, rbx
mov rdx, qword [rdi + 8]
call qword [rdi]
mov rax, qword [rbx]
movsxd rcx, dword [rax + 4]
mov word [rcx + rbx + 0x58], 0x20
mov edx, 0x40
lea rcx, [rbp - 0x60]
call fcn.1402233f8
mov r8, rax
mov rax, qword [rbx]
movsxd rcx, dword [rax + 4]
add rcx, rbx
mov edx, dword [r8 + 8]
call qword [r8]
lea rdx, [rbp + 0x210]
cmp qword [rbp + 0x228], 7
cmova rdx, qword [rbp + 0x210]
mov r8, qword [rbp + 0x220]
mov rcx, rbx
call fcn.140016b40
lea rbx, [rbp + 0x1b0]
cmp qword [rbp + 0x1c8], 7
cmova rbx, qword [rbp + 0x1b0]
lea rdx, [0x1402cdad0]
mov rcx, rax
call fcn.140016880
mov rcx, rax
mov rdx, rbx
call fcn.140016880
mov edx, 4
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, dword [rdx + rcx]
cmp dword [0x14032b0dc], eax
jg 0x140060ad0
lea rdx, [rbp + 0x250]
lea rcx, [rbp - 0x38]
call fcn.140019f80
nop
mov rdx, qword [reloc.OLEAUT32.dll_VariantInit]
cmp rdx, 7
jbe 0x14006080b
lea rdx, [rdx*2 + 2]
mov rcx, qword [0x14031c620]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140060806
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140060b27
call fcn.140003e94
movups xmm0, xmmword [rbp + 0x250]
movups xmmword [0x14031c620], xmm0
movups xmm1, xmmword [rbp + 0x260]
movups xmmword [0x14031c630], xmm1
movdqa xmm0, xmmword [0x1402d4800]
movdqu xmmword [rbp + 0x260], xmm0
mov word [rbp + 0x250], si
mov rdx, qword [rbp + 0x1e8]
cmp rdx, 7
jbe 0x140060884
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x1d0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006087f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140060b2d
call fcn.140003e94
mov qword [rbp + 0x1e0], rsi
mov qword [rbp + 0x1e8], 7
mov word [rbp + 0x1d0], si
mov rdx, qword [rbp + 0x208]
cmp rdx, 7
jbe 0x1400608e3
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x1f0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400608de
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140060b33
call fcn.140003e94
mov qword [rbp + 0x200], rsi
mov qword [rbp + 0x208], 7
mov word [rbp + 0x1f0], si
mov rdx, qword [rbp + 0x1c8]
cmp rdx, 7
jbe 0x140060942
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x1b0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006093d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140060b39
call fcn.140003e94
mov qword [rbp + 0x1c0], rsi
mov qword [rbp + 0x1c8], 7
mov word [rbp + 0x1b0], si
mov rdx, qword [rbp + 0x228]
cmp rdx, 7
jbe 0x1400609a1
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x210]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006099c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140060ac4
call fcn.140003e94
mov qword [rbp + 0x220], rsi
mov qword [rbp + 0x228], 7
mov word [rbp + 0x210], si
lea rcx, [rbp - 0x50]
call fcn.140019240
call fcn.140020e90
lea rdx, [0x14031c620]
cmp qword [reloc.OLEAUT32.dll_VariantInit], 7
cmova rdx, qword [0x14031c620]
mov r8, qword [0x14031c630]
mov rcx, rax
call fcn.140016b40
lea rdx, str.SetupDiGetDeviceRegistryProperty_failed_with_error:
mov rcx, rax
call fcn.140016880
mov rcx, rax
mov edx, SafeArrayGetDim
call fcn.140019580
mov rcx, rax
call fcn.140017a70
xor al, al
jmp 0x140060aa1
mov ecx, dword [rsp + 0x40]
mov eax, 2
mul rcx
mov rbx, 0xffffffffffffffff
cmovo rax, rbx
mov rcx, rax
call fcn.140003bd0
mov rdi, rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rax
mov r9d, dword [rsp + 0x40]
mov dword [rsp + 0x28], r9d
mov qword [rsp + 0x20], rdi
lea r9, [rsp + 0x44]
mov r8d, dword [rsp + 0x48]
mov rdx, r13
mov rcx, qword [rsp + 0x50]
call qword [r12 + 0x48]
test eax, eax
je 0x140060a90
test rdi, rdi
je 0x140060a7f
inc rbx
cmp word [rdi + rbx*2], si
jne 0x140060a74
mov esi, ebx
mov r8d, esi
mov rdx, rdi
mov rcx, r15
call fcn.140002b6c
mov r14b, 1
test rdi, rdi
je 0x140060a9d
mov rcx, rdi
call fcn.140003e94
movzx eax, r14b
mov rcx, qword [rbp + 0x288]
xor rcx, rsp
call fcn.140220ab0
add rsp, 0x398
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.14022a250
nop
call fcn.14022a250
nop
lea rcx, [0x14032b0dc]
call fcn.140220de4
cmp dword [0x14032b0dc], 0xffffffff
jne 0x1400607b4
xorps xmm0, xmm0
movups xmmword [0x14031c620], xmm0
movdqa xmm1, xmmword [0x1402d4800]
movdqu xmmword [0x14031c630], xmm1
mov word [0x14031c620], si
lea rcx, [0x14026f550]
call fcn.140220cf8
lea rcx, [0x14032b0dc]
call fcn.140220d78
jmp 0x1400607b4
call fcn.14022a250
nop
call fcn.14022a250
nop
call fcn.14022a250
nop
call fcn.14022a250
int3