Function at 0x140079850
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 0x14007a07b
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 0x1400798fe
cmp dword [rsp + 0x34], 0
je 0x1400798fe
mov rcx, rbx
cmp word [rsp + 0x50], 1
jne 0x14007990c
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
test eax, eax
js 0x14007a082
mov word [rbx], 8
lea rcx, [0x1402c86f0]
call fcn.140221630
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 0x14007992e
lea rdx, [rsp + 0x50]
call qword [sym.imp.OLEAUT32.dll_VariantCopyInd]
test eax, eax
js 0x14007a089
jmp 0x1400798f6
mov rdx, rbx
lea rcx, [rsp + 0x38]
call fcn.14004ac20
nop
call fcn.1400210a0
cmp dword [rax + 8], 3
jl 0x14007a036
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 0x140079a45
cmp ebx, 0xa
jge 0x140079a45
mov rax, r8
sub rax, rdx
lea rcx, [rsp + 0x2c0]
cmp rax, 2
jb 0x140079a12
lea rax, [rdx + 2]
mov qword [rsp + 0x2d0], rax
cmp r8, 8
cmovae rcx, qword [rsp + 0x2c0]
mov eax, dword [0x1402cca20]
mov dword [rcx + rdx*2], eax
mov word [rcx + rdx*2 + 4], si
jmp 0x140079a2c
mov qword [rsp + 0x20], 2
lea r9, [0x1402cca20]
mov edx, 2
call fcn.140022090
inc ebx
cmp ebx, dword [rdi + 0x10]
jge 0x140079a45
mov r8, qword [rsp + 0x2d8]
mov rdx, qword [rsp + 0x2d0]
jmp 0x1400799d0
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.14023116c
mov edx, VariantTimeToDosDateTime
lea rcx, [rsp + 0x380]
call fcn.1402312bc
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 0x140079aea
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [rdi + 0x14], eax
xor edx, edx
lea rcx, [rsp + 0x1d0]
call fcn.140012fa0
jmp 0x140079b10
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [rdi + 0x14]
xorps xmm1, xmm1
cvtsi2sd xmm1, rax
divsd xmm1, qword [0x1402d3510]
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 0x140079b6e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x2e0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140079b69
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14007a091
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 [0x1402d3560]
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.140222e78
mov rbx, rax
mov edx, 0x2040
lea rcx, [rsp + 0x68]
call fcn.140222e78
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, [0x1402cc558]
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.140222ea0
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.140222e8c
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.140222ea0
mov rdi, rax
lea rdx, [0x1402cc558]
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.140222e78
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, [0x1402cca70]
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 0x14007a097
lea rdx, [rsp + 0x360]
lea rcx, [rsp + 0xd8]
call fcn.14001a0c0
nop
mov rdx, qword [reloc.OLEAUT32.dll_VariantInit]
cmp rdx, 8
jb 0x140079e0f
lea rdx, [rdx*2 + 2]
mov rcx, qword [0x14031b5e0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140079e0a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14007a0ef
call fcn.140004144
movups xmm0, xmmword [rsp + 0x360]
movups xmmword [0x14031b5e0], xmm0
movups xmm1, xmmword [rsp + 0x370]
movups xmmword [0x14031b5f0], xmm1
movdqa xmm0, xmmword [0x1402d3560]
movdqu xmmword [rsp + 0x370], xmm0
mov word [rsp + 0x360], si
mov rdx, qword [rsp + 0x2f8]
cmp rdx, 8
jb 0x140079e8e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x2e0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140079e89
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14007a0f5
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 0x140079ef2
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x300]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140079eed
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14007a0fb
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 0x140079f56
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x2c0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140079f51
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14007a101
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 0x140079fba
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x320]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140079fb5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14007a107
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 0x14007a058
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.140220510
add rsp, 0x3a0
pop r15
pop r14
pop rdi
pop rsi
pop rbx
ret
mov ecx, eax
call fcn.140221620
mov ecx, eax
call fcn.140221620
mov ecx, eax
call fcn.140221620
nop
call fcn.140229804
nop
lea rcx, [0x14032a09c]
call fcn.140220854
cmp dword [0x14032a09c], 0xffffffff
jne 0x140079db3
xorps xmm0, xmm0
movups xmmword [0x14031b5e0], xmm0
movdqa xmm1, xmmword [0x1402d3560]
movdqu xmmword [0x14031b5f0], xmm1
mov word [0x14031b5e0], si
lea rcx, [0x14026e6e0]
call fcn.140220768
lea rcx, [0x14032a09c]
call fcn.1402207e8
nop
jmp 0x140079db3
call fcn.140229804
nop
call fcn.140229804
nop
call fcn.140229804
nop
call fcn.140229804
nop
call fcn.140229804
int3