Function at 0x140054810
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 0x14005503b
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 0x1400548be
cmp dword [rsp + 0x34], 0
je 0x1400548be
mov rcx, rbx
cmp word [rsp + 0x50], 1
jne 0x1400548cc
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
test eax, eax
js 0x140055042
mov word [rbx], 8
lea rcx, [0x1402c86f0]
call fcn.140221f70
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 0x1400548ee
lea rdx, [rsp + 0x50]
call qword [sym.imp.OLEAUT32.dll_VariantCopyInd]
test eax, eax
js 0x140055049
jmp 0x1400548b6
mov rdx, rbx
lea rcx, [rsp + 0x38]
call fcn.14004b560
nop
call fcn.140021130
cmp dword [rax + 8], 3
jl 0x140054ff6
call fcn.140021130
mov rdi, rax
lea rcx, [rsp + 0xc0]
call fcn.140019550
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.1400184d0
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 0x140054a05
cmp ebx, 0xa
jge 0x140054a05
mov rax, r8
sub rax, rdx
lea rcx, [rsp + 0x2c0]
cmp rax, 2
jb 0x1400549d2
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 0x1400549ec
mov qword [rsp + 0x20], 2
lea r9, [0x1402cca20]
mov edx, 2
call fcn.140022120
inc ebx
cmp ebx, dword [rdi + 0x10]
jge 0x140054a05
mov r8, qword [rsp + 0x2d8]
mov rdx, qword [rsp + 0x2d0]
jmp 0x140054990
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.140231aac
mov edx, VariantTimeToDosDateTime
lea rcx, [rsp + 0x380]
call fcn.140231bfc
lea rdx, [rsp + 0x380]
lea rcx, [rsp + 0x300]
call fcn.1400184d0
lea rcx, [rsp + 0x1c0]
call fcn.140019550
nop
cmp dword [rdi + 0x14], 0
jne 0x140054aaa
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [rdi + 0x14], eax
xor edx, edx
lea rcx, [rsp + 0x1d0]
call fcn.140013030
jmp 0x140054ad0
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [rdi + 0x14]
xorps xmm1, xmm1
cvtsi2sd xmm1, rax
divsd xmm1, qword [0x1402d35d0]
lea rcx, [rsp + 0x1d0]
call fcn.140021b10
lea rdx, [rsp + 0x340]
lea rcx, [rsp + 0x1d8]
call fcn.14001a150
nop
mov rdx, qword [rsp + 0x2f8]
cmp rdx, 8
jb 0x140054b2e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x2e0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140054b29
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140055051
call fcn.1400041d4
movups xmm0, xmmword [rsp + 0x340]
movups xmmword [rsp + 0x2e0], xmm0
movups xmm1, xmmword [rsp + 0x350]
movups xmmword [rsp + 0x2f0], xmm1
movdqa xmm0, xmmword [0x1402d3620]
movdqu xmmword [rsp + 0x350], xmm0
mov word [rsp + 0x340], si
lea rcx, [rsp + 0x1c0]
call fcn.140019440
mov edx, reloc.OLEAUT32.dll_SafeArrayGetDim
lea rcx, [rsp + 0x40]
call fcn.1402237b8
mov rbx, rax
mov edx, 0x2040
lea rcx, [rsp + 0x68]
call fcn.1402237b8
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.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 + 0x78]
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, [rsp + 0x88]
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, [rsp + 0x2e0]
cmp qword [rsp + 0x2f8], 8
cmovae rdx, qword [rsp + 0x2e0]
mov r8, qword [rsp + 0x2f0]
mov rcx, rdi
call fcn.140016d70
mov rbx, rax
mov edx, 5
lea rcx, [rsp + 0x98]
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, [rsp + 0xa8]
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, [rsp + 0x320]
cmp qword [rsp + 0x338], 8
cmovae rdx, qword [rsp + 0x320]
mov r8, qword [rsp + 0x330]
mov rcx, rbx
call fcn.140016d70
lea rbx, [rsp + 0x2c0]
cmp qword [rsp + 0x2d8], 8
cmovae rbx, qword [rsp + 0x2c0]
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 0x140055057
lea rdx, [rsp + 0x360]
lea rcx, [rsp + 0xd8]
call fcn.14001a150
nop
mov rdx, qword [reloc.OLEAUT32.dll_VariantInit]
cmp rdx, 8
jb 0x140054dcf
lea rdx, [rdx*2 + 2]
mov rcx, qword [0x14031b5e0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140054dca
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400550af
call fcn.1400041d4
movups xmm0, xmmword [rsp + 0x360]
movups xmmword [0x14031b5e0], xmm0
movups xmm1, xmmword [rsp + 0x370]
movups xmmword [0x14031b5f0], xmm1
movdqa xmm0, xmmword [0x1402d3620]
movdqu xmmword [rsp + 0x370], xmm0
mov word [rsp + 0x360], si
mov rdx, qword [rsp + 0x2f8]
cmp rdx, 8
jb 0x140054e4e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x2e0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140054e49
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400550b5
call fcn.1400041d4
mov qword [rsp + 0x2f0], rsi
mov qword [rsp + 0x2f8], 7
mov word [rsp + 0x2e0], si
mov rdx, qword [rsp + 0x318]
cmp rdx, 8
jb 0x140054eb2
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x300]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140054ead
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400550bb
call fcn.1400041d4
mov qword [rsp + 0x310], rsi
mov qword [rsp + 0x318], 7
mov word [rsp + 0x300], si
mov rdx, qword [rsp + 0x2d8]
cmp rdx, 8
jb 0x140054f16
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x2c0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140054f11
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400550c1
call fcn.1400041d4
mov qword [rsp + 0x2d0], rsi
mov qword [rsp + 0x2d8], 7
mov word [rsp + 0x2c0], si
mov rdx, qword [rsp + 0x338]
cmp rdx, 8
jb 0x140054f7a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x320]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140054f75
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400550c7
call fcn.1400041d4
mov qword [rsp + 0x330], rsi
mov qword [rsp + 0x338], 7
mov word [rsp + 0x320], si
lea rcx, [rsp + 0xc0]
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.WMI_value:
mov rcx, rax
call fcn.1400153f0
mov rbx, rax
mov rdx, qword [rsp + 0x38]
mov rcx, rax
call fcn.140016ab0
mov rcx, rbx
call fcn.140017c90
nop
mov rdx, qword [rsp + 0x38]
add rdx, 0xffffffffffffffe8
mov ecx, 0xffffffff
lock xadd dword [rdx + 0x10], ecx
sub ecx, 1
jg 0x140055018
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.140220e50
add rsp, 0x3a0
pop r15
pop r14
pop rdi
pop rsi
pop rbx
ret
mov ecx, eax
call fcn.140221f60
mov ecx, eax
call fcn.140221f60
mov ecx, eax
call fcn.140221f60
nop
call fcn.14022a144
nop
lea rcx, [0x14032a0a4]
call fcn.140221194
cmp dword [0x14032a0a4], 0xffffffff
jne 0x140054d73
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
nop
jmp 0x140054d73
call fcn.14022a144
nop
call fcn.14022a144
nop
call fcn.14022a144
nop
call fcn.14022a144
nop
call fcn.14022a144
int3