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

Disassembly:
push rbx
push rbp
push rdi
push r12
push r15
sub rsp, 0x20
mov r15d, dword [rsp + 0x78]
mov r12d, r9d
mov rdi, rdx
mov rbx, rcx
test r15d, r15d
jne 0x140010014
lea r8, [0x1400cffcc]
lea rdx, [0x1400e3e80]
lea rcx, [0x1401082b0]
add rsp, 0x20
pop r15
pop r12
pop rdi
pop rbp
pop rbx
jmp fcn.140039240
mov qword [rsp + 0x50], rsi
lea rbp, [0x1400cffcc]
mov qword [rsp + 0x58], r13
mov r13, qword [rsp + 0x70]
mov rsi, qword [r13]
mov ecx, dword [rsi + 0x10]
test ecx, ecx
je 0x140010062
sub ecx, 1
je 0x140010049
sub ecx, 1
je 0x140010049
sub ecx, 2
je 0x14001004e
cmp ecx, 1
je 0x140010062
mov rsi, rbp
jmp 0x140010065
mov rcx, qword [rsi]
xor r8d, r8d
lea edx, [r8 + 1]
call fcn.140001450
mov rsi, rax
jmp 0x140010065
mov rsi, qword [rsi]
mov qword [rsp + 0x60], r14
test r12b, 2
je 0x1400101d7
lea rdx, [0x1400e3ea0]
mov rcx, rsi
call fcn.1400ab3f0
test eax, eax
jne 0x1400100ab
cmp dword [rbx + 0x10], 1
lea rcx, [rbx + 0x10]
je 0x1400106f0
mov rax, qword [rbx + 0x28]
xor edx, edx
mov dword [rbx + 0x30], edx
mov word [rax], dx
call fcn.14003f7d0
jmp 0x1400106fc
lea rdx, [0x1400e3e60]
mov rcx, rsi
call fcn.1400ab3f0
test eax, eax
jne 0x14001015b
cmp r15d, 1
jle 0x1400100ec
mov rcx, qword [r13 + 8]
cmp dword [rcx + 0x10], 3
je 0x1400100ec
xor r8d, r8d
lea edx, [rax + 1]
call fcn.14005ee80
mulsd xmm0, qword [0x1400eea88]
cvttsd2si rsi, xmm0
jmp 0x1400100ef
or esi, 0xffffffff
call qword [sym.imp.KERNEL32.dll_GetTickCount]
cmp dword [rbx + 0x10], 1
mov r14d, eax
jne 0x140010122
nop
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, r14d
cmp eax, esi
jae 0x140010122
mov edx, 1
mov ecx, 0x8000012f
call fcn.1400016f0
cmp dword [rbx + 0x10], 1
je 0x140010100
xor edx, edx
mov dword [rdi + 0x10], edx
movsxd rax, dword [rbx + 0x10]
cmp eax, 6
ja case.0x14001029f.1
lea rcx, [0x140000000]
mov eax, dword [rcx + rax*4 + 0x10718]
add rax, rcx
jmp rax
lea rdx, [0x1400e3f20]
mov eax, 1
mov qword [rdi], rdx
jmp 0x1400106fc
lea rdx, [0x1400e3eb0]
mov rcx, rsi
call fcn.1400ab3f0
test eax, eax
jne 0x1400101ab
cmp dword [rbx + 0x10], 1
lea r8, [rbx + 0x10]
jne 0x1400106f0
movzx eax, byte [0x140106b55]
xor edx, edx
mov rcx, qword [0x140105d70]
xor r9d, r9d
mov dword [r8], edx
mov edx, 0x41b
mov byte [r8 + 0x6c], al
call qword [sym.imp.USER32.dll_PostMessageW]
mov eax, 1
jmp 0x1400106fc
lea rdx, [0x1400e3ec0]
mov rcx, rsi
call fcn.1400ab3f0
test eax, eax
jne 0x1400106f7
lea r9d, [r15 - 1]
mov rcx, rbx
lea r8, [r13 + 8]
call fcn.140010750
jmp 0x1400106fc
mov r14d, r12d
and r14d, 1
lea eax, [r14 + 1]
cmp r15d, eax
je 0x140010202
mov r8, rbp
lea rdx, [0x1400e3e80]
lea rcx, [0x1401082b0]
call fcn.140039240
jmp 0x1400106fc
test r12b, 3
jne 0x140010473
lea rdx, [0x1400d0560]
mov rcx, rsi
call fcn.1400ab3f0
test eax, eax
jne 0x140010239
xor edx, edx
mov rcx, rdi
mov dword [rdi + 0x10], edx
movsxd r8, dword [rbx + 0x30]
mov rdx, qword [rbx + 0x28]
call fcn.14005f3f0
jmp 0x1400106fc
lea rdx, [0x1400e3ed0]
mov rcx, rsi
call fcn.1400ab3f0
test eax, eax
jne 0x140010269
xor edx, edx
mov dword [rdi + 0x10], 1
cmp dword [rbx + 0x10], 1
mov eax, 1
sete dl
mov qword [rdi], rdx
jmp 0x1400106fc
lea rdx, [0x1400e3ee8]
mov rcx, rsi
call fcn.1400ab3f0
test eax, eax
jne 0x140010315
xor edx, edx
mov dword [rdi + 0x10], edx
movsxd rax, dword [rbx + 0x10]
cmp eax, 6
ja case.0x14001029f.1
lea rcx, [0x140000000]
mov eax, dword [rcx + rax*4 + 0x10734]
add rax, rcx
jmp rax
lea rdx, [0x1400e3e70]
mov eax, 1
mov qword [rdi], rdx
jmp 0x1400106fc
lea rdx, [0x1400e3f00]
mov eax, 1
mov qword [rdi], rdx
jmp 0x1400106fc
lea rdx, [0x1400e7c90]
mov eax, 1
mov qword [rdi], rdx
jmp 0x1400106fc
lea rdx, [0x1400ea9f8]
mov eax, 1
mov qword [rdi], rdx
jmp 0x1400106fc
lea rdx, [0x1400eaa10]
mov eax, 1
mov qword [rdi], rdx
jmp 0x1400106fc
mov rdx, rbp
mov eax, 1
mov qword [rdi], rdx
jmp 0x1400106fc
lea rdx, [0x1400e3f00]
mov rcx, rsi
call fcn.1400ab3f0
test eax, eax
jne 0x140010359
xor edx, edx
lea rcx, [rbx + 0x10]
mov dword [rdi + 0x10], edx
cmp dword [rcx], 4
jne 0x140010466
mov rdx, qword [rdi + 8]
xor r9d, r9d
mov r8d, 0x100
mov qword [rdi], rdx
call fcn.140040150
mov eax, 1
jmp 0x1400106fc
lea rdx, [0x1400e3f10]
mov rcx, rsi
call fcn.1400ab3f0
test eax, eax
jne 0x140010428
mov rcx, qword [rdi + 8]
xor edx, edx
mov r8d, 1
mov dword [rdi + 0x10], edx
rol r8d, 0
mov qword [rdi], rcx
test byte [rbx + 0x7c], r8b
je 0x140010396
mov dword [rcx], 0x5e003c
add rcx, 4
rol r8d, 1
test byte [rbx + 0x7c], r8b
je 0x1400103a9
mov dword [rcx], 0x5e003e
add rcx, 4
rol r8d, 1
test byte [rbx + 0x7c], r8b
je 0x1400103bc
mov dword [rcx], 0x21003c
add rcx, 4
rol r8d, 1
test byte [rbx + 0x7c], r8b
je 0x1400103cf
mov dword [rcx], 0x21003e
add rcx, 4
rol r8d, 1
test byte [rbx + 0x7c], r8b
je 0x1400103e2
mov dword [rcx], 0x2b003c
add rcx, 4
rol r8d, 1
test byte [rbx + 0x7c], r8b
je 0x1400103f5
mov dword [rcx], 0x2b003e
add rcx, 4
rol r8d, 1
test byte [rbx + 0x7c], r8b
je 0x140010408
mov dword [rcx], 0x23003c
add rcx, 4
rol r8d, 1
test byte [rbx + 0x7c], r8b
je 0x14001041b
mov dword [rcx], 0x23003e
add rcx, 4
mov word [rcx], dx
mov eax, 1
jmp 0x1400106fc
lea rdx, [0x1400e3f20]
mov rcx, rsi
call fcn.1400ab3f0
test eax, eax
jne 0x140010473
xor edx, edx
mov dword [rdi + 0x10], edx
cmp dword [rbx + 0x10], 3
jne 0x140010466
mov eax, dword [rbx + 0x80]
cmp eax, dword [rbx + 0x50]
jae 0x140010466
mov ecx, eax
mov rax, qword [rbx + 0x48]
mov rcx, qword [rax + rcx*8]
lea eax, [rdx + 1]
mov qword [rdi], rcx
jmp 0x1400106fc
mov qword [rdi], rbp
mov eax, 1
jmp 0x1400106fc
mov r8d, 2
lea rdx, [0x1400e3524]
mov rcx, rsi
call fcn.1400ad9d8
test eax, eax
jne 0x140010583
add rsi, 4
lea rdx, [0x1400d2248]
mov rcx, rsi
call fcn.1400ab3f0
test eax, eax
jne 0x1400104ae
mov esi, 0x388
jmp 0x1400104fe
lea rdx, [0x1400e3f30]
mov rcx, rsi
call fcn.1400ab3f0
test eax, eax
jne 0x1400104c8
mov esi, 0x390
jmp 0x1400104fe
lea rdx, [0x1400e3f40]
mov rcx, rsi
call fcn.1400ab3f0
test eax, eax
jne 0x1400104e2
mov esi, 0x3a0
jmp 0x1400104fe
lea rdx, [0x1400e3f50]
mov rcx, rsi
call fcn.1400ab3f0
test eax, eax
jne 0x1400106f7
mov esi, 0x398
test r14d, r14d
je 0x140010530
mov rcx, qword [r13 + 8]
call fcn.14005f290
mov r14, rax
test rax, rax
je 0x14001055b
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + VariantCopy]
mov rcx, qword [rsi + rbx]
test rcx, rcx
je 0x14001052c
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov qword [rsi + rbx], r14
mov rcx, qword [rsi + rbx]
test rcx, rcx
je 0x1400106f0
mov rax, qword [rcx]
call qword [rax + VariantCopy]
mov rax, qword [rsi + rbx]
mov qword [rdi], rax
mov eax, 1
mov dword [rdi + 0x10], 6
jmp 0x1400106fc
mov rcx, qword [r13 + 8]
call fcn.14005ed20
test eax, eax
jne 0x14001051d
mov r8, rbp
lea rdx, [0x1400e3f60]
lea rcx, [0x1401082b0]
call fcn.140039240
jmp 0x1400106fc
lea rdx, [0x1400e3f80]
mov rcx, rsi
call fcn.1400ab3f0
test eax, eax
jne 0x1400105c1
test r14d, r14d
je 0x1400105a9
mov rcx, qword [r13 + 8]
xor edx, edx
call fcn.14005ede0
mov byte [rbx + 0x6c], al
movzx eax, byte [rbx + 0x6c]
mov qword [rdi], rax
mov eax, 1
mov dword [rdi + 0x10], 1
jmp 0x1400106fc
lea rdx, [0x1400e3e70]
mov rcx, rsi
call fcn.1400ab3f0
test eax, eax
jne 0x140010630
test r14d, r14d
je 0x14001060a
mov rcx, qword [r13 + 8]
lea edx, [rax + 1]
xor r8d, r8d
call fcn.14005ee80
cmp dword [rbx + 0x10], 1
lea rcx, [rbx + 0x10]
mulsd xmm0, qword [0x1400eea88]
cvttsd2si eax, xmm0
mov dword [rbx + 0x64], eax
jne 0x14001060a
test eax, eax
jle 0x14001060a
call fcn.14003fa80
movd xmm0, dword [rbx + 0x64]
mov eax, 1
cvtdq2pd xmm0, xmm0
mov dword [rdi + 0x10], 2
divsd xmm0, qword [0x1400eea88]
movsd qword [rdi], xmm0
jmp 0x1400106fc
lea rdx, [0x1400e3fa0]
mov rcx, rsi
call fcn.1400ab3f0
test eax, eax
jne 0x140010649
add rbx, 0x6d
jmp 0x1400106c4
lea rdx, [0x1400e3fc0]
mov rcx, rsi
call fcn.1400ab3f0
test eax, eax
jne 0x140010662
add rbx, 0x6e
jmp 0x1400106c4
lea rdx, [0x1400e3fe0]
mov rcx, rsi
call fcn.1400ab3f0
test eax, eax
jne 0x14001067b
add rbx, 0x73
jmp 0x1400106c4
lea rdx, [0x1400e4000]
mov rcx, rsi
call fcn.1400ab3f0
test eax, eax
jne 0x140010694
add rbx, 0x70
jmp 0x1400106c4
lea rdx, [0x1400e4018]
mov rcx, rsi
call fcn.1400ab3f0
test eax, eax
jne 0x1400106ad
add rbx, 0x71
jmp 0x1400106c4
lea rdx, [0x1400e4038]
mov rcx, rsi
call fcn.1400ab3f0
test eax, eax
jne 0x1400106f7
add rbx, 0x72
test rbx, rbx
je 0x1400106f7
test r14d, r14d
je 0x1400106e3
mov rcx, qword [r13 + 8]
mov edx, 0x41
call fcn.14005e9b0
test eax, eax
setne al
mov byte [rbx], al
movzx eax, byte [rbx]
mov qword [rdi], rax
mov dword [rdi + 0x10], 1
mov eax, 1
jmp 0x1400106fc
mov eax, 4
mov r14, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x50]
mov r13, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r12
pop rdi
pop rbp
pop rbx
ret