Function at 0x180039480
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x108
mov rax, qword [0x180076dc0]
xor rax, rsp
mov qword [rsp + 0xf0], rax
lea rcx, [rsp + 0xe8]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
lea rcx, [rsp + 0xd8]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
nop
mov dword [rsp + 0x20], 0
jmp 0x1800394cf
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
movzx eax, byte [0x180076d21]
movsx eax, al
mov dword [rsp + 0x38], eax
call fcn.180029ea0
movsx eax, al
mov ecx, dword [rsp + 0x38]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x40], eax
call fcn.180029e70
movsx eax, al
imul eax, eax, 3
mov dword [rsp + 0x3c], eax
call fcn.180029e60
movsx eax, al
mov ecx, dword [rsp + 0x3c]
imul ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0x40]
add ecx, eax
mov eax, ecx
movzx ecx, byte [reloc.OLEAUT32.dll_VariantClear]
movsx ecx, cl
xor edx, edx
div ecx
movzx ecx, byte [0x180076d1d]
movsx ecx, cl
sub eax, ecx
mov eax, eax
cvtsi2sd xmm0, rax
call fcn.18003aa80
cmp dword [rsp + 0x20], eax
jge 0x180039575
mov dword [rsp + 0x24], 0
jmp 0x180039559
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 5
jge 0x180039570
pause
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
nop
jmp 0x18003954f
jmp 0x1800394c5
lea rcx, [rsp + 0xe0]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rsp + 0xd8]
mov rcx, qword [rsp + 0xe0]
sub rcx, rax
mov rax, rcx
imul rax, rax, 0xf4240
cqo
idiv qword [rsp + 0xe8]
mov qword [rsp + 0xd0], rax
movzx eax, byte [0x180076d21]
movsx eax, al
mov dword [rsp + 0x44], eax
call fcn.180029ea0
movsx eax, al
mov ecx, dword [rsp + 0x44]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x4c], eax
call fcn.180029e70
movsx eax, al
shl eax, 3
mov dword [rsp + 0x48], eax
call fcn.180029e60
movsx eax, al
mov ecx, dword [rsp + 0x48]
imul ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0x4c]
add ecx, eax
mov eax, ecx
movzx ecx, byte [reloc.OLEAUT32.dll_VariantClear]
movsx ecx, cl
xor edx, edx
div ecx
movzx ecx, byte [0x180076d1d]
movsx ecx, cl
sub eax, ecx
test eax, eax
je 0x180039b78
cmp qword [rsp + 0xd0], 0x7c830
jge 0x18003963a
mov qword [rsp + 0xc8], 1
jmp 0x180039646
mov qword [rsp + 0xc8], 0
cvtsi2sd xmm0, qword [rsp + 0xc8]
call fcn.18003aa80
mov dword [rsp + 0x5c], eax
movzx ecx, byte [0x180076d21]
movsx ecx, cl
mov dword [rsp + 0x50], ecx
call fcn.180029ea0
movsx eax, al
mov ecx, dword [rsp + 0x50]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x58], eax
call fcn.180029e70
movsx eax, al
imul eax, eax, 9
mov dword [rsp + 0x54], eax
call fcn.180029e60
movsx eax, al
mov ecx, dword [rsp + 0x54]
imul ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0x58]
add ecx, eax
mov eax, ecx
movzx ecx, byte [reloc.OLEAUT32.dll_VariantClear]
movsx ecx, cl
xor edx, edx
div ecx
movzx ecx, byte [0x180076d1d]
movsx ecx, cl
sub eax, ecx
mov ecx, dword [rsp + 0x5c]
imul ecx, eax
mov eax, ecx
test eax, eax
je 0x180039794
xor eax, eax
cmp eax, 4
je 0x180039794
mov dword [rsp + 0x28], 0
jmp 0x1800396ed
mov eax, dword [rsp + 0x28]
inc eax
mov dword [rsp + 0x28], eax
movzx eax, byte [0x180076d21]
movsx eax, al
mov dword [rsp + 0x60], eax
call fcn.180029ea0
movsx eax, al
mov ecx, dword [rsp + 0x60]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x68], eax
call fcn.180029e70
movsx eax, al
imul eax, eax, 0xa
mov dword [rsp + 0x64], eax
call fcn.180029e60
movsx eax, al
mov ecx, dword [rsp + 0x64]
imul ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0x68]
add ecx, eax
mov eax, ecx
movzx ecx, byte [reloc.OLEAUT32.dll_VariantClear]
movsx ecx, cl
xor edx, edx
div ecx
movzx ecx, byte [0x180076d1d]
movsx ecx, cl
sub eax, ecx
mov eax, eax
cvtsi2sd xmm0, rax
call fcn.18003aa80
cmp dword [rsp + 0x28], eax
jge 0x18003978f
mov dword [rsp + 0x2c], 0
jmp 0x180039777
cmp dword [rsp + 0x2c], 0x59
jae 0x18003978a
mov eax, 1
jmp 0x180039b78
jmp 0x1800396e3
jmp 0x180039b78
movzx eax, byte [0x180076d21]
movsx eax, al
mov dword [rsp + 0x6c], eax
call fcn.180029ea0
movsx eax, al
mov ecx, dword [rsp + 0x6c]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x74], eax
call fcn.180029e70
movsx eax, al
shl eax, 3
mov dword [rsp + 0x70], eax
call fcn.180029e60
movsx eax, al
mov ecx, dword [rsp + 0x70]
imul ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0x74]
add ecx, eax
mov eax, ecx
movzx ecx, byte [reloc.OLEAUT32.dll_VariantClear]
movsx ecx, cl
xor edx, edx
div ecx
movzx ecx, byte [0x180076d1d]
movsx ecx, cl
sub eax, ecx
test eax, eax
je 0x180039b78
movzx eax, byte [0x180076d1e]
movsx eax, al
mov dword [rsp + 0x78], eax
call fcn.180029e90
movsx eax, al
mov ecx, dword [rsp + 0x78]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x7c], eax
call fcn.180029e80
movsx eax, al
imul eax, eax, 7
movzx ecx, byte [0x18007a7ea]
movsx ecx, cl
imul eax, ecx
mov ecx, dword [rsp + 0x7c]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x80], eax
call fcn.180029eb0
movsx eax, al
mov ecx, dword [rsp + 0x80]
sub ecx, eax
mov eax, ecx
mov eax, eax
cvtsi2sd xmm0, rax
call fcn.18003aa80
mov dword [rsp + 0x90], eax
movzx ecx, byte [0x180076d21]
movsx ecx, cl
mov dword [rsp + 0x84], ecx
call fcn.180029ea0
movsx eax, al
mov ecx, dword [rsp + 0x84]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x8c], eax
call fcn.180029e70
movsx eax, al
imul eax, eax, 3
mov dword [rsp + 0x88], eax
call fcn.180029e60
movsx eax, al
mov ecx, dword [rsp + 0x88]
imul ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0x8c]
add ecx, eax
mov eax, ecx
movzx ecx, byte [reloc.OLEAUT32.dll_VariantClear]
movsx ecx, cl
xor edx, edx
div ecx
movzx ecx, byte [0x180076d1d]
movsx ecx, cl
sub eax, ecx
mov ecx, dword [rsp + 0x90]
imul ecx, eax
mov eax, ecx
test eax, eax
je 0x180039ab6
xor eax, eax
cmp eax, 4
je 0x180039ab6
movsd xmm0, qword [0x180060120]
call fcn.18003aa80
nop
movzx eax, byte [0x180076d21]
movsx eax, al
mov dword [rsp + 0x94], eax
call fcn.180029ea0
movsx eax, al
mov ecx, dword [rsp + 0x94]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x9c], eax
call fcn.180029e70
movsx eax, al
imul eax, eax, 6
mov dword [rsp + 0x98], eax
call fcn.180029e60
movsx eax, al
mov ecx, dword [rsp + 0x98]
imul ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0x9c]
add ecx, eax
mov eax, ecx
movzx ecx, byte [reloc.OLEAUT32.dll_VariantClear]
movsx ecx, cl
xor edx, edx
div ecx
movzx ecx, byte [0x180076d1d]
movsx ecx, cl
sub eax, ecx
test eax, eax
je 0x180039ab1
movzx eax, byte [0x180076d21]
movsx eax, al
mov dword [rsp + 0xa0], eax
call fcn.180029ea0
movsx eax, al
mov ecx, dword [rsp + 0xa0]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0xa8], eax
call fcn.180029e70
movsx eax, al
mov dword [rsp + 0xa4], eax
call fcn.180029e60
movsx eax, al
mov ecx, dword [rsp + 0xa4]
imul ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0xa8]
add ecx, eax
mov eax, ecx
movzx ecx, byte [reloc.OLEAUT32.dll_VariantClear]
movsx ecx, cl
xor edx, edx
div ecx
movzx ecx, byte [0x180076d1d]
movsx ecx, cl
sub eax, ecx
mov eax, eax
cvtsi2sd xmm0, rax
call fcn.18003aa80
mov dword [rsp + 0xb8], eax
movzx ecx, byte [0x180076d21]
movsx ecx, cl
mov dword [rsp + 0xac], ecx
call fcn.180029ea0
movsx eax, al
mov ecx, dword [rsp + 0xac]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0xb4], eax
call fcn.180029e70
movsx eax, al
imul eax, eax, 7
mov dword [rsp + 0xb0], eax
call fcn.180029e60
movsx eax, al
mov ecx, dword [rsp + 0xb0]
imul ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0xb4]
add ecx, eax
mov eax, ecx
movzx ecx, byte [reloc.OLEAUT32.dll_VariantClear]
movsx ecx, cl
xor edx, edx
div ecx
movzx ecx, byte [0x180076d1d]
movsx ecx, cl
sub eax, ecx
mov ecx, dword [rsp + 0xb8]
imul ecx, eax
mov eax, ecx
test eax, eax
je 0x180039ab1
xor eax, eax
cmp eax, 2
je 0x180039ab1
movsd xmm0, qword [0x180060148]
call fcn.18003aa80
nop
jmp 0x180039b78
mov dword [rsp + 0x30], 0
jmp 0x180039aca
mov eax, dword [rsp + 0x30]
inc eax
mov dword [rsp + 0x30], eax
movzx eax, byte [0x180076d21]
movsx eax, al
mov dword [rsp + 0xbc], eax
call fcn.180029ea0
movsx eax, al
mov ecx, dword [rsp + 0xbc]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0xc4], eax
call fcn.180029e70
movsx eax, al
shl eax, 2
mov dword [rsp + 0xc0], eax
call fcn.180029e60
movsx eax, al
mov ecx, dword [rsp + 0xc0]
imul ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0xc4]
add ecx, eax
mov eax, ecx
movzx ecx, byte [reloc.OLEAUT32.dll_VariantClear]
movsx ecx, cl
xor edx, edx
div ecx
movzx ecx, byte [0x180076d1d]
movsx ecx, cl
sub eax, ecx
mov eax, eax
cvtsi2sd xmm0, rax
call fcn.18003aa80
cmp dword [rsp + 0x30], eax
jge 0x180039b78
mov dword [rsp + 0x34], 0
jmp 0x180039b66
cmp dword [rsp + 0x34], 0x31
jae 0x180039b73
xor eax, eax
jmp 0x180039b78
jmp 0x180039ac0
mov rcx, qword [rsp + 0xf0]
xor rcx, rsp
call fcn.18003c9d0
add rsp, 0x108
ret