Function at 0x14005f720
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.1400028b4
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 0x14005fe49
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
je 0x14005fe49
cmp eax, 0xd
jne 0x14005fe42
call fcn.1400210a0
cmp dword [rax + 8], 2
jl 0x14005fe42
call fcn.1400210a0
mov rdi, rax
lea rcx, [rbp - 0x50]
call fcn.1400194c0
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.140018440
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 0x14005f8b6
cmp ebx, 0xa
jge 0x14005f8b6
mov rax, r8
sub rax, rdx
lea rcx, [rbp + 0x1b0]
cmp rax, 2
jb 0x14005f885
lea rax, [rdx + 2]
mov qword [rbp + 0x1c0], rax
cmp r8, 8
cmovae rcx, qword [rbp + 0x1b0]
mov eax, dword [0x1402cca30]
mov dword [rcx + rdx*2], eax
mov word [rcx + rdx*2 + 4], si
jmp 0x14005f89f
mov qword [rsp + 0x20], 2
lea r9, [0x1402cca30]
mov edx, 2
call fcn.140022090
inc ebx
cmp ebx, dword [rdi + 0x10]
jge 0x14005f8b6
mov r8, qword [rbp + 0x1c8]
mov rdx, qword [rbp + 0x1c0]
jmp 0x14005f846
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.140230f0c
mov edx, VariantTimeToDosDateTime
lea rcx, [rbp + 0x270]
call fcn.14023105c
lea rdx, [rbp + 0x270]
lea rcx, [rbp + 0x1f0]
call fcn.140018440
lea rcx, [rbp + 0xb0]
call fcn.1400194c0
nop
cmp dword [rdi + 0x14], 0
jne 0x14005f94e
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [rdi + 0x14], eax
xor edx, edx
lea rcx, [rbp + 0xc0]
call fcn.140012fa0
jmp 0x14005f973
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [rdi + 0x14]
xorps xmm1, xmm1
cvtsi2sd xmm1, rax
divsd xmm1, qword [0x1402d3520]
lea rcx, [rbp + 0xc0]
call fcn.140021a80
lea rdx, [rbp + 0x230]
lea rcx, [rbp + 0xc8]
call fcn.14001a0c0
nop
mov rdx, qword [rbp + 0x1e8]
cmp rdx, 8
jb 0x14005f9cd
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x1d0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005f9c8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005fefa
call fcn.140004144
movups xmm0, xmmword [rbp + 0x230]
movups xmmword [rbp + 0x1d0], xmm0
movups xmm1, xmmword [rbp + 0x240]
movups xmmword [rbp + 0x1e0], xmm1
movdqa xmm0, xmmword [0x1402d3570]
movdqu xmmword [rbp + 0x240], xmm0
mov word [rbp + 0x230], si
lea rcx, [rbp + 0xb0]
call fcn.1400193b0
mov edx, reloc.OLEAUT32.dll_SafeArrayGetDim
lea rcx, [rsp + 0x50]
call fcn.140222c18
mov rbx, rax
mov edx, 0x2040
lea rcx, [rsp + 0x60]
call fcn.140222c18
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.140016ce0
lea rdx, [0x1402cc568]
mov rcx, rax
call fcn.140016a20
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.140222c40
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.140222c2c
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.140016ce0
mov rbx, rax
mov edx, 5
lea rcx, [rbp - 0x70]
call fcn.140222c40
mov rdi, rax
lea rdx, [0x1402cc568]
mov rcx, rbx
call fcn.140016a20
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.140222c18
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.140016ce0
lea rbx, [rbp + 0x1b0]
cmp qword [rbp + 0x1c8], 8
cmovae rbx, qword [rbp + 0x1b0]
lea rdx, [0x1402cca80]
mov rcx, rax
call fcn.140016a20
mov rcx, rax
mov rdx, rbx
call fcn.140016a20
mov edx, 4
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, dword [rdx + rcx]
cmp dword [0x14032a09c], eax
jg 0x14005ff00
lea rdx, [rbp + 0x250]
lea rcx, [rbp - 0x38]
call fcn.14001a0c0
nop
mov rdx, qword [reloc.OLEAUT32.dll_VariantInit]
cmp rdx, 8
jb 0x14005fc3b
lea rdx, [rdx*2 + 2]
mov rcx, qword [0x14031b5e0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005fc36
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005ff57
call fcn.140004144
movups xmm0, xmmword [rbp + 0x250]
movups xmmword [0x14031b5e0], xmm0
movups xmm1, xmmword [rbp + 0x260]
movups xmmword [0x14031b5f0], xmm1
movdqa xmm0, xmmword [0x1402d3570]
movdqu xmmword [rbp + 0x260], xmm0
mov word [rbp + 0x250], si
mov rdx, qword [rbp + 0x1e8]
cmp rdx, 8
jb 0x14005fcb4
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x1d0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005fcaf
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005ff5d
call fcn.140004144
mov qword [rbp + 0x1e0], rsi
mov qword [rbp + 0x1e8], 7
mov word [rbp + 0x1d0], si
mov rdx, qword [rbp + 0x208]
cmp rdx, 8
jb 0x14005fd13
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x1f0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005fd0e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005ff63
call fcn.140004144
mov qword [rbp + 0x200], rsi
mov qword [rbp + 0x208], 7
mov word [rbp + 0x1f0], si
mov rdx, qword [rbp + 0x1c8]
cmp rdx, 8
jb 0x14005fd72
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x1b0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005fd6d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005ff69
call fcn.140004144
mov qword [rbp + 0x1c0], rsi
mov qword [rbp + 0x1c8], 7
mov word [rbp + 0x1b0], si
mov rdx, qword [rbp + 0x228]
cmp rdx, 8
jb 0x14005fdd1
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x210]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005fdcc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005fef4
call fcn.140004144
mov qword [rbp + 0x220], rsi
mov qword [rbp + 0x228], 7
mov word [rbp + 0x210], si
lea rcx, [rbp - 0x50]
call fcn.1400193b0
call fcn.1400210a0
lea rdx, [0x14031b5e0]
cmp qword [reloc.OLEAUT32.dll_VariantInit], 8
cmovae rdx, qword [0x14031b5e0]
mov r8, qword [0x14031b5f0]
mov rcx, rax
call fcn.140016ce0
lea rdx, str.SetupDiGetDeviceRegistryProperty_failed_with_error:
mov rcx, rax
call fcn.140016a20
mov rcx, rax
mov edx, SafeArrayGetDim
call fcn.1400196c0
mov rcx, rax
call fcn.140017c00
xor al, al
jmp 0x14005fed1
mov ecx, dword [rsp + 0x40]
mov eax, 2
mul rcx
mov rbx, 0xffffffffffffffff
cmovo rax, rbx
mov rcx, rax
call fcn.140003e80
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 0x14005fec0
test rdi, rdi
je 0x14005feaf
inc rbx
cmp word [rdi + rbx*2], si
jne 0x14005fea4
mov esi, ebx
mov r8d, esi
mov rdx, rdi
mov rcx, r15
call fcn.140002a9c
mov r14b, 1
test rdi, rdi
je 0x14005fecd
mov rcx, rdi
call fcn.140004144
movzx eax, r14b
mov rcx, qword [rbp + 0x288]
xor rcx, rsp
call fcn.1402202b0
add rsp, 0x398
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.1402295a4
nop
call fcn.1402295a4
nop
lea rcx, [0x14032a09c]
call fcn.1402205f4
cmp dword [0x14032a09c], 0xffffffff
jne 0x14005fbe4
xorps xmm0, xmm0
movups xmmword [0x14031b5e0], xmm0
movdqa xmm1, xmmword [0x1402d3570]
movdqu xmmword [0x14031b5f0], xmm1
mov word [0x14031b5e0], si
lea rcx, [0x14026e440]
call fcn.140220508
lea rcx, [0x14032a09c]
call fcn.140220588
jmp 0x14005fbe4
call fcn.1402295a4
nop
call fcn.1402295a4
nop
call fcn.1402295a4
nop
call fcn.1402295a4
int3