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

Disassembly:
push rbx
push rsi
push rdi
push r14
push r15
sub rsp, 0x3a0
mov rax, qword [0x14031b940]
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 0x1400550bb
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 0x14005493e
cmp dword [rsp + 0x34], 0
je 0x14005493e
mov rcx, rbx
cmp word [rsp + 0x50], 1
jne 0x14005494c
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
test eax, eax
js 0x1400550c2
mov word [rbx], 8
lea rcx, [0x1402c96e0]
call fcn.140221bb0
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 0x14005496e
lea rdx, [rsp + 0x50]
call qword [sym.imp.OLEAUT32.dll_VariantCopyInd]
test eax, eax
js 0x1400550c9
jmp 0x140054936
mov rdx, rbx
lea rcx, [rsp + 0x38]
call fcn.14004b6d0
nop
call fcn.140020e90
cmp dword [rax + 8], 3
jl 0x140055076
call fcn.140020e90
mov rdi, rax
lea rcx, [rsp + 0xc0]
call fcn.140019350
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.1400182b0
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 0x140054a85
cmp ebx, 0xa
jge 0x140054a85
mov rax, r8
sub rax, rdx
lea rcx, [rsp + 0x2c0]
cmp rax, 2
jb 0x140054a52
lea rax, [rdx + 2]
mov qword [rsp + 0x2d0], rax
cmp r8, 7
cmova rcx, qword [rsp + 0x2c0]
mov eax, dword [0x1402cda80]
mov dword [rcx + rdx*2], eax
mov word [rcx + rdx*2 + 4], si
jmp 0x140054a6c
mov qword [rsp + 0x20], 2
lea r9, [0x1402cda80]
mov edx, 2
call fcn.140021e20
inc ebx
cmp ebx, dword [rdi + 0x10]
jge 0x140054a85
mov r8, qword [rsp + 0x2d8]
mov rdx, qword [rsp + 0x2d0]
jmp 0x140054a10
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.140231ccc
mov edx, VariantTimeToDosDateTime
lea rcx, [rsp + 0x380]
call fcn.140231e1c
lea rdx, [rsp + 0x380]
lea rcx, [rsp + 0x300]
call fcn.1400182b0
lea rcx, [rsp + 0x1c0]
call fcn.140019350
nop
cmp dword [rdi + 0x14], 0
jne 0x140054b2a
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [rdi + 0x14], eax
xor edx, edx
lea rcx, [rsp + 0x1d0]
call fcn.140012dc0
jmp 0x140054b50
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [rdi + 0x14]
xorps xmm1, xmm1
cvtsi2sd xmm1, rax
divsd xmm1, qword [0x1402d47b0]
lea rcx, [rsp + 0x1d0]
call fcn.140021890
lea rdx, [rsp + 0x340]
lea rcx, [rsp + 0x1d8]
call fcn.140019f80
nop
mov rdx, qword [rsp + 0x2f8]
cmp rdx, 7
jbe 0x140054bae
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x2e0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140054ba9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400550d1
call fcn.140003e94
movups xmm0, xmmword [rsp + 0x340]
movups xmmword [rsp + 0x2e0], xmm0
movups xmm1, xmmword [rsp + 0x350]
movups xmmword [rsp + 0x2f0], xmm1
movdqa xmm0, xmmword [0x1402d4800]
movdqu xmmword [rsp + 0x350], xmm0
mov word [rsp + 0x340], si
lea rcx, [rsp + 0x1c0]
call fcn.140019240
mov edx, reloc.OLEAUT32.dll_SafeArrayGetDim
lea rcx, [rsp + 0x40]
call fcn.1402233f8
mov rbx, rax
mov edx, 0x2040
lea rcx, [rsp + 0x68]
call fcn.1402233f8
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], 7
cmova rdx, qword [rsp + 0x300]
mov r8, qword [rsp + 0x310]
lea rcx, [rsp + 0xd0]
call fcn.140016b40
lea rdx, [0x1402cd5bc]
mov rcx, rax
call fcn.140016880
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.140223420
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.14022340c
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], 7
cmova rdx, qword [rsp + 0x2e0]
mov r8, qword [rsp + 0x2f0]
mov rcx, rdi
call fcn.140016b40
mov rbx, rax
mov edx, 5
lea rcx, [rsp + 0x98]
call fcn.140223420
mov rdi, rax
lea rdx, [0x1402cd5bc]
mov rcx, rbx
call fcn.140016880
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.1402233f8
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], 7
cmova rdx, qword [rsp + 0x320]
mov r8, qword [rsp + 0x330]
mov rcx, rbx
call fcn.140016b40
lea rbx, [rsp + 0x2c0]
cmp qword [rsp + 0x2d8], 7
cmova rbx, qword [rsp + 0x2c0]
lea rdx, [0x1402cdad0]
mov rcx, rax
call fcn.140016880
mov rcx, rax
mov rdx, rbx
call fcn.140016880
mov edx, 4
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, dword [rdx + rcx]
cmp dword [0x14032b0dc], eax
jg 0x1400550d7
lea rdx, [rsp + 0x360]
lea rcx, [rsp + 0xd8]
call fcn.140019f80
nop
mov rdx, qword [reloc.OLEAUT32.dll_VariantInit]
cmp rdx, 7
jbe 0x140054e4f
lea rdx, [rdx*2 + 2]
mov rcx, qword [0x14031c620]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140054e4a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005512f
call fcn.140003e94
movups xmm0, xmmword [rsp + 0x360]
movups xmmword [0x14031c620], xmm0
movups xmm1, xmmword [rsp + 0x370]
movups xmmword [0x14031c630], xmm1
movdqa xmm0, xmmword [0x1402d4800]
movdqu xmmword [rsp + 0x370], xmm0
mov word [rsp + 0x360], si
mov rdx, qword [rsp + 0x2f8]
cmp rdx, 7
jbe 0x140054ece
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x2e0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140054ec9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140055135
call fcn.140003e94
mov qword [rsp + 0x2f0], rsi
mov qword [rsp + 0x2f8], 7
mov word [rsp + 0x2e0], si
mov rdx, qword [rsp + 0x318]
cmp rdx, 7
jbe 0x140054f32
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x300]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140054f2d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005513b
call fcn.140003e94
mov qword [rsp + 0x310], rsi
mov qword [rsp + 0x318], 7
mov word [rsp + 0x300], si
mov rdx, qword [rsp + 0x2d8]
cmp rdx, 7
jbe 0x140054f96
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x2c0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140054f91
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140055141
call fcn.140003e94
mov qword [rsp + 0x2d0], rsi
mov qword [rsp + 0x2d8], 7
mov word [rsp + 0x2c0], si
mov rdx, qword [rsp + 0x338]
cmp rdx, 7
jbe 0x140054ffa
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x320]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140054ff5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140055147
call fcn.140003e94
mov qword [rsp + 0x330], rsi
mov qword [rsp + 0x338], 7
mov word [rsp + 0x320], si
lea rcx, [rsp + 0xc0]
call fcn.140019240
call fcn.140020e90
lea rdx, [0x14031c620]
cmp qword [reloc.OLEAUT32.dll_VariantInit], 7
cmova rdx, qword [0x14031c620]
mov r8, qword [0x14031c630]
mov rcx, rax
call fcn.140016b40
lea rdx, str.WMI_value:
mov rcx, rax
call fcn.140014ab0
mov rbx, rax
mov rdx, qword [rsp + 0x38]
mov rcx, rax
call fcn.140016880
mov rcx, rbx
call fcn.140017a70
nop
mov rdx, qword [rsp + 0x38]
add rdx, 0xffffffffffffffe8
mov ecx, 0xffffffff
lock xadd dword [rdx + 0x10], ecx
sub ecx, 1
jg 0x140055098
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.140220ab0
add rsp, 0x3a0
pop r15
pop r14
pop rdi
pop rsi
pop rbx
ret
mov ecx, eax
call fcn.140221ba0
mov ecx, eax
call fcn.140221ba0
mov ecx, eax
call fcn.140221ba0
nop
call fcn.14022a250
nop
lea rcx, [0x14032b0dc]
call fcn.140220de4
cmp dword [0x14032b0dc], 0xffffffff
jne 0x140054df3
xorps xmm0, xmm0
movups xmmword [0x14031c620], xmm0
movdqa xmm1, xmmword [0x1402d4800]
movdqu xmmword [0x14031c630], xmm1
mov word [0x14031c620], si
lea rcx, [0x14026f550]
call fcn.140220cf8
lea rcx, [0x14032b0dc]
call fcn.140220d78
nop
jmp 0x140054df3
call fcn.14022a250
nop
call fcn.14022a250
nop
call fcn.14022a250
nop
call fcn.14022a250
nop
call fcn.14022a250
int3