Function at 0x1400602c0
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 [0x14031a940]
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.140002944
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 0x1400609e9
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
je 0x1400609e9
cmp eax, 0xd
jne 0x1400609e2
call fcn.140021130
cmp dword [rax + 8], 2
jl 0x1400609e2
call fcn.140021130
mov rdi, rax
lea rcx, [rbp - 0x50]
call fcn.140019550
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.1400184d0
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 0x140060456
cmp ebx, 0xa
jge 0x140060456
mov rax, r8
sub rax, rdx
lea rcx, [rbp + 0x1b0]
cmp rax, 2
jb 0x140060425
lea rax, [rdx + 2]
mov qword [rbp + 0x1c0], rax
cmp r8, 8
cmovae rcx, qword [rbp + 0x1b0]
mov eax, dword [0x1402cca20]
mov dword [rcx + rdx*2], eax
mov word [rcx + rdx*2 + 4], si
jmp 0x14006043f
mov qword [rsp + 0x20], 2
lea r9, [0x1402cca20]
mov edx, 2
call fcn.140022120
inc ebx
cmp ebx, dword [rdi + 0x10]
jge 0x140060456
mov r8, qword [rbp + 0x1c8]
mov rdx, qword [rbp + 0x1c0]
jmp 0x1400603e6
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.140231aac
mov edx, VariantTimeToDosDateTime
lea rcx, [rbp + 0x270]
call fcn.140231bfc
lea rdx, [rbp + 0x270]
lea rcx, [rbp + 0x1f0]
call fcn.1400184d0
lea rcx, [rbp + 0xb0]
call fcn.140019550
nop
cmp dword [rdi + 0x14], 0
jne 0x1400604ee
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [rdi + 0x14], eax
xor edx, edx
lea rcx, [rbp + 0xc0]
call fcn.140013030
jmp 0x140060513
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [rdi + 0x14]
xorps xmm1, xmm1
cvtsi2sd xmm1, rax
divsd xmm1, qword [0x1402d35d0]
lea rcx, [rbp + 0xc0]
call fcn.140021b10
lea rdx, [rbp + 0x230]
lea rcx, [rbp + 0xc8]
call fcn.14001a150
nop
mov rdx, qword [rbp + 0x1e8]
cmp rdx, 8
jb 0x14006056d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x1d0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140060568
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140060a9a
call fcn.1400041d4
movups xmm0, xmmword [rbp + 0x230]
movups xmmword [rbp + 0x1d0], xmm0
movups xmm1, xmmword [rbp + 0x240]
movups xmmword [rbp + 0x1e0], xmm1
movdqa xmm0, xmmword [0x1402d3620]
movdqu xmmword [rbp + 0x240], xmm0
mov word [rbp + 0x230], si
lea rcx, [rbp + 0xb0]
call fcn.140019440
mov edx, reloc.OLEAUT32.dll_SafeArrayGetDim
lea rcx, [rsp + 0x50]
call fcn.1402237b8
mov rbx, rax
mov edx, 0x2040
lea rcx, [rsp + 0x60]
call fcn.1402237b8
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], 8
cmovae rdx, qword [rbp + 0x1f0]
mov r8, qword [rbp + 0x200]
lea rcx, [rbp - 0x40]
call fcn.140016d70
lea rdx, [0x1402cc558]
mov rcx, rax
call fcn.140016ab0
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.1402237e0
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.1402237cc
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], 8
cmovae rdx, qword [rbp + 0x1d0]
mov r8, qword [rbp + 0x1e0]
mov rcx, rdi
call fcn.140016d70
mov rbx, rax
mov edx, 5
lea rcx, [rbp - 0x70]
call fcn.1402237e0
mov rdi, rax
lea rdx, [0x1402cc558]
mov rcx, rbx
call fcn.140016ab0
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.1402237b8
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], 8
cmovae rdx, qword [rbp + 0x210]
mov r8, qword [rbp + 0x220]
mov rcx, rbx
call fcn.140016d70
lea rbx, [rbp + 0x1b0]
cmp qword [rbp + 0x1c8], 8
cmovae rbx, qword [rbp + 0x1b0]
lea rdx, [0x1402cca70]
mov rcx, rax
call fcn.140016ab0
mov rcx, rax
mov rdx, rbx
call fcn.140016ab0
mov edx, 4
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, dword [rdx + rcx]
cmp dword [0x14032a0a4], eax
jg 0x140060aa0
lea rdx, [rbp + 0x250]
lea rcx, [rbp - 0x38]
call fcn.14001a150
nop
mov rdx, qword [reloc.OLEAUT32.dll_VariantInit]
cmp rdx, 8
jb 0x1400607db
lea rdx, [rdx*2 + 2]
mov rcx, qword [0x14031b5e0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400607d6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140060af7
call fcn.1400041d4
movups xmm0, xmmword [rbp + 0x250]
movups xmmword [0x14031b5e0], xmm0
movups xmm1, xmmword [rbp + 0x260]
movups xmmword [0x14031b5f0], xmm1
movdqa xmm0, xmmword [0x1402d3620]
movdqu xmmword [rbp + 0x260], xmm0
mov word [rbp + 0x250], si
mov rdx, qword [rbp + 0x1e8]
cmp rdx, 8
jb 0x140060854
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x1d0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006084f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140060afd
call fcn.1400041d4
mov qword [rbp + 0x1e0], rsi
mov qword [rbp + 0x1e8], 7
mov word [rbp + 0x1d0], si
mov rdx, qword [rbp + 0x208]
cmp rdx, 8
jb 0x1400608b3
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x1f0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400608ae
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140060b03
call fcn.1400041d4
mov qword [rbp + 0x200], rsi
mov qword [rbp + 0x208], 7
mov word [rbp + 0x1f0], si
mov rdx, qword [rbp + 0x1c8]
cmp rdx, 8
jb 0x140060912
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x1b0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006090d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140060b09
call fcn.1400041d4
mov qword [rbp + 0x1c0], rsi
mov qword [rbp + 0x1c8], 7
mov word [rbp + 0x1b0], si
mov rdx, qword [rbp + 0x228]
cmp rdx, 8
jb 0x140060971
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x210]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006096c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140060a94
call fcn.1400041d4
mov qword [rbp + 0x220], rsi
mov qword [rbp + 0x228], 7
mov word [rbp + 0x210], si
lea rcx, [rbp - 0x50]
call fcn.140019440
call fcn.140021130
lea rdx, [0x14031b5e0]
cmp qword [reloc.OLEAUT32.dll_VariantInit], 8
cmovae rdx, qword [0x14031b5e0]
mov r8, qword [0x14031b5f0]
mov rcx, rax
call fcn.140016d70
lea rdx, str.SetupDiGetDeviceRegistryProperty_failed_with_error:
mov rcx, rax
call fcn.140016ab0
mov rcx, rax
mov edx, SafeArrayGetDim
call fcn.140019750
mov rcx, rax
call fcn.140017c90
xor al, al
jmp 0x140060a71
mov ecx, dword [rsp + 0x40]
mov eax, 2
mul rcx
mov rbx, 0xffffffffffffffff
cmovo rax, rbx
mov rcx, rax
call fcn.140003f10
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 0x140060a60
test rdi, rdi
je 0x140060a4f
inc rbx
cmp word [rdi + rbx*2], si
jne 0x140060a44
mov esi, ebx
mov r8d, esi
mov rdx, rdi
mov rcx, r15
call fcn.140002b2c
mov r14b, 1
test rdi, rdi
je 0x140060a6d
mov rcx, rdi
call fcn.1400041d4
movzx eax, r14b
mov rcx, qword [rbp + 0x288]
xor rcx, rsp
call fcn.140220e50
add rsp, 0x398
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.14022a144
nop
call fcn.14022a144
nop
lea rcx, [0x14032a0a4]
call fcn.140221194
cmp dword [0x14032a0a4], 0xffffffff
jne 0x140060784
xorps xmm0, xmm0
movups xmmword [0x14031b5e0], xmm0
movdqa xmm1, xmmword [0x1402d3620]
movdqu xmmword [0x14031b5f0], xmm1
mov word [0x14031b5e0], si
lea rcx, [0x14026f080]
call fcn.1402210a8
lea rcx, [0x14032a0a4]
call fcn.140221128
jmp 0x140060784
call fcn.14022a144
nop
call fcn.14022a144
nop
call fcn.14022a144
nop
call fcn.14022a144
int3