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

Disassembly:
push rbx
push rsi
push rdi
push r14
push r15
sub rsp, 0x3a0
mov rax, qword [0x14031a940]
xor rax, rsp
mov qword [rsp + 0x398], rax
mov rbx, r9
mov r15, r8
mov rdi, rdx
mov qword [rsp + 0x40], rbx
xor esi, esi
xor r14b, r14b
mov byte [rsp + 0x30], r14b
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
test eax, eax
js 0x140079e1b
mov rax, qword [rdi]
mov qword [rsp + 0x28], rsi
lea rcx, [rsp + 0x34]
mov qword [rsp + 0x20], rcx
lea r9, [rsp + 0x50]
xor r8d, r8d
mov rdx, r15
mov rcx, rdi
call qword [rax + 0x20]
test eax, eax
js 0x14007969e
cmp dword [rsp + 0x34], 0
je 0x14007969e
mov rcx, rbx
cmp word [rsp + 0x50], 1
jne 0x1400796ac
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
test eax, eax
js 0x140079e22
mov word [rbx], 8
lea rcx, [0x1402c86f0]
call fcn.1402213d0
mov qword [rbx + 8], rax
mov r14b, 1
mov byte [rsp + 0x30], r14b
lea rcx, [rsp + 0x50]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
nop
jmp 0x1400796ce
lea rdx, [rsp + 0x50]
call qword [sym.imp.OLEAUT32.dll_VariantCopyInd]
test eax, eax
js 0x140079e29
jmp 0x140079696
mov rdx, rbx
lea rcx, [rsp + 0x38]
call fcn.14004a9c0
nop
call fcn.1400210a0
cmp dword [rax + 8], 3
jl 0x140079dd6
call fcn.1400210a0
mov rdi, rax
lea rcx, [rsp + 0xc0]
call fcn.1400194c0
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x320], xmm0
mov qword [rsp + 0x330], rsi
mov qword [rsp + 0x338], 7
mov word [rsp + 0x320], si
lea rdx, str.TRACE
lea rcx, [rsp + 0x320]
call fcn.140018440
xorps xmm0, xmm0
movups xmmword [rsp + 0x2c0], xmm0
mov rdx, rsi
mov qword [rsp + 0x2d0], rdx
mov r8d, 7
mov qword [rsp + 0x2d8], r8
mov word [rsp + 0x2c0], si
mov ebx, esi
cmp dword [rdi + 0x10], 0
jle 0x1400797e5
cmp ebx, 0xa
jge 0x1400797e5
mov rax, r8
sub rax, rdx
lea rcx, [rsp + 0x2c0]
cmp rax, 2
jb 0x1400797b2
lea rax, [rdx + 2]
mov qword [rsp + 0x2d0], rax
cmp r8, 8
cmovae rcx, qword [rsp + 0x2c0]
mov eax, dword [0x1402cca30]
mov dword [rcx + rdx*2], eax
mov word [rcx + rdx*2 + 4], si
jmp 0x1400797cc
mov qword [rsp + 0x20], 2
lea r9, [0x1402cca30]
mov edx, 2
call fcn.140022090
inc ebx
cmp ebx, dword [rdi + 0x10]
jge 0x1400797e5
mov r8, qword [rsp + 0x2d8]
mov rdx, qword [rsp + 0x2d0]
jmp 0x140079770
xorps xmm0, xmm0
movups xmmword [rsp + 0x300], xmm0
mov qword [rsp + 0x310], rsi
mov qword [rsp + 0x318], 7
mov word [rsp + 0x300], si
movups xmmword [rsp + 0x2e0], xmm0
mov qword [rsp + 0x2f0], rsi
mov qword [rsp + 0x2f8], 7
mov word [rsp + 0x2e0], si
call fcn.140230f0c
mov edx, VariantTimeToDosDateTime
lea rcx, [rsp + 0x380]
call fcn.14023105c
lea rdx, [rsp + 0x380]
lea rcx, [rsp + 0x300]
call fcn.140018440
lea rcx, [rsp + 0x1c0]
call fcn.1400194c0
nop
cmp dword [rdi + 0x14], 0
jne 0x14007988a
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [rdi + 0x14], eax
xor edx, edx
lea rcx, [rsp + 0x1d0]
call fcn.140012fa0
jmp 0x1400798b0
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [rdi + 0x14]
xorps xmm1, xmm1
cvtsi2sd xmm1, rax
divsd xmm1, qword [0x1402d3520]
lea rcx, [rsp + 0x1d0]
call fcn.140021a80
lea rdx, [rsp + 0x340]
lea rcx, [rsp + 0x1d8]
call fcn.14001a0c0
nop
mov rdx, qword [rsp + 0x2f8]
cmp rdx, 8
jb 0x14007990e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x2e0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140079909
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140079e31
call fcn.140004144
movups xmm0, xmmword [rsp + 0x340]
movups xmmword [rsp + 0x2e0], xmm0
movups xmm1, xmmword [rsp + 0x350]
movups xmmword [rsp + 0x2f0], xmm1
movdqa xmm0, xmmword [0x1402d3570]
movdqu xmmword [rsp + 0x350], xmm0
mov word [rsp + 0x340], si
lea rcx, [rsp + 0x1c0]
call fcn.1400193b0
mov edx, reloc.OLEAUT32.dll_SafeArrayGetDim
lea rcx, [rsp + 0x40]
call fcn.140222c18
mov rbx, rax
mov edx, 0x2040
lea rcx, [rsp + 0x68]
call fcn.140222c18
mov r8, rax
mov rax, qword [rsp + 0xd0]
movsxd rcx, dword [rax + 4]
lea rax, [rsp + 0xd0]
add rcx, rax
mov edx, dword [r8 + 8]
call qword [r8]
lea rdx, [rsp + 0x300]
cmp qword [rsp + 0x318], 8
cmovae rdx, qword [rsp + 0x300]
mov r8, qword [rsp + 0x310]
lea rcx, [rsp + 0xd0]
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 + 0x78]
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, [rsp + 0x88]
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, [rsp + 0x2e0]
cmp qword [rsp + 0x2f8], 8
cmovae rdx, qword [rsp + 0x2e0]
mov r8, qword [rsp + 0x2f0]
mov rcx, rdi
call fcn.140016ce0
mov rbx, rax
mov edx, 5
lea rcx, [rsp + 0x98]
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, [rsp + 0xa8]
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, [rsp + 0x320]
cmp qword [rsp + 0x338], 8
cmovae rdx, qword [rsp + 0x320]
mov r8, qword [rsp + 0x330]
mov rcx, rbx
call fcn.140016ce0
lea rbx, [rsp + 0x2c0]
cmp qword [rsp + 0x2d8], 8
cmovae rbx, qword [rsp + 0x2c0]
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 0x140079e37
lea rdx, [rsp + 0x360]
lea rcx, [rsp + 0xd8]
call fcn.14001a0c0
nop
mov rdx, qword [reloc.OLEAUT32.dll_VariantInit]
cmp rdx, 8
jb 0x140079baf
lea rdx, [rdx*2 + 2]
mov rcx, qword [0x14031b5e0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140079baa
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140079e8f
call fcn.140004144
movups xmm0, xmmword [rsp + 0x360]
movups xmmword [0x14031b5e0], xmm0
movups xmm1, xmmword [rsp + 0x370]
movups xmmword [0x14031b5f0], xmm1
movdqa xmm0, xmmword [0x1402d3570]
movdqu xmmword [rsp + 0x370], xmm0
mov word [rsp + 0x360], si
mov rdx, qword [rsp + 0x2f8]
cmp rdx, 8
jb 0x140079c2e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x2e0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140079c29
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140079e95
call fcn.140004144
mov qword [rsp + 0x2f0], rsi
mov qword [rsp + 0x2f8], 7
mov word [rsp + 0x2e0], si
mov rdx, qword [rsp + 0x318]
cmp rdx, 8
jb 0x140079c92
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x300]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140079c8d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140079e9b
call fcn.140004144
mov qword [rsp + 0x310], rsi
mov qword [rsp + 0x318], 7
mov word [rsp + 0x300], si
mov rdx, qword [rsp + 0x2d8]
cmp rdx, 8
jb 0x140079cf6
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x2c0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140079cf1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140079ea1
call fcn.140004144
mov qword [rsp + 0x2d0], rsi
mov qword [rsp + 0x2d8], 7
mov word [rsp + 0x2c0], si
mov rdx, qword [rsp + 0x338]
cmp rdx, 8
jb 0x140079d5a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x320]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140079d55
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140079ea7
call fcn.140004144
mov qword [rsp + 0x330], rsi
mov qword [rsp + 0x338], 7
mov word [rsp + 0x320], si
lea rcx, [rsp + 0xc0]
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.WMI3_value:
mov rcx, rax
call fcn.140015360
mov rbx, rax
mov rdx, qword [rsp + 0x38]
mov rcx, rax
call fcn.140016a20
mov rcx, rbx
call fcn.140017c00
nop
mov rdx, qword [rsp + 0x38]
add rdx, 0xffffffffffffffe8
mov ecx, 0xffffffff
lock xadd dword [rdx + 0x10], ecx
sub ecx, 1
jg 0x140079df8
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
movzx eax, r14b
mov rcx, qword [rsp + 0x398]
xor rcx, rsp
call fcn.1402202b0
add rsp, 0x3a0
pop r15
pop r14
pop rdi
pop rsi
pop rbx
ret
mov ecx, eax
call fcn.1402213c0
mov ecx, eax
call fcn.1402213c0
mov ecx, eax
call fcn.1402213c0
nop
call fcn.1402295a4
nop
lea rcx, [0x14032a09c]
call fcn.1402205f4
cmp dword [0x14032a09c], 0xffffffff
jne 0x140079b53
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
nop
jmp 0x140079b53
call fcn.1402295a4
nop
call fcn.1402295a4
nop
call fcn.1402295a4
nop
call fcn.1402295a4
nop
call fcn.1402295a4
int3