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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x250]
sub rsp, 0x350
mov rax, qword [0x14031a940]
xor rax, rsp
mov qword [rbp + 0x240], rax
mov ebx, edx
mov rdi, rcx
xor esi, esi
lea rcx, [rbp - 0x80]
call fcn.1400194c0
nop
xorps xmm0, xmm0
movups xmmword [rbp + 0x1a0], xmm0
mov qword [rbp + 0x1b0], rsi
mov qword [rbp + 0x1b8], 7
mov word [rbp + 0x1a0], si
sub ebx, 1
je 0x140021441
sub ebx, 1
je 0x140021438
sub ebx, 1
je 0x14002142f
sub ebx, 1
je 0x140021426
cmp ebx, 1
jne 0x140021454
lea rdx, str.DUMP
jmp 0x140021448
lea rdx, str.MARK
jmp 0x140021448
lea rdx, str.TRACE
jmp 0x140021448
lea rdx, str.WARN
jmp 0x140021448
lea rdx, [0x1402cca58]
lea rcx, [rbp + 0x1a0]
call fcn.140018440
xorps xmm0, xmm0
movups xmmword [rbp + 0x180], xmm0
mov rdx, rsi
mov qword [rbp + 0x190], rdx
mov r8d, 7
mov qword [rbp + 0x198], r8
mov word [rbp + 0x180], si
mov ebx, esi
cmp dword [rdi + 0x10], ebx
jle 0x1400214f3
cmp ebx, 0xa
jge 0x1400214f3
mov rax, r8
sub rax, rdx
lea rcx, [rbp + 0x180]
cmp rax, 2
jb 0x1400214c2
lea rax, [rdx + 2]
mov qword [rbp + 0x190], rax
cmp r8, 8
cmovae rcx, qword [rbp + 0x180]
mov eax, dword [0x1402cca20]
mov dword [rcx + rdx*2], eax
mov word [rcx + rdx*2 + 4], si
jmp 0x1400214dc
mov qword [rsp + 0x20], 2
lea r9, [0x1402cca20]
mov edx, 2
call fcn.140022090
inc ebx
cmp ebx, dword [rdi + 0x10]
jge 0x1400214f3
mov r8, qword [rbp + 0x198]
mov rdx, qword [rbp + 0x190]
jmp 0x140021483
xorps xmm0, xmm0
movups xmmword [rbp + 0x1e0], xmm0
mov qword [rbp + 0x1f0], rsi
mov qword [rbp + 0x1f8], 7
mov word [rbp + 0x1e0], si
movups xmmword [rbp + 0x1c0], xmm0
mov qword [rbp + 0x1d0], rsi
mov qword [rbp + 0x1d8], 7
mov word [rbp + 0x1c0], si
call fcn.14023116c
mov edx, VariantTimeToDosDateTime
lea rcx, [rbp + 0x200]
call fcn.1402312bc
lea rdx, [rbp + 0x200]
lea rcx, [rbp + 0x1e0]
call fcn.140018440
lea rcx, [rbp + 0x80]
call fcn.1400194c0
nop
cmp dword [rdi + 0x14], 0
jne 0x14002158b
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [rdi + 0x14], eax
xor edx, edx
lea rcx, [rbp + 0x90]
call fcn.140012fa0
jmp 0x1400215b0
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [rdi + 0x14]
xorps xmm1, xmm1
cvtsi2sd xmm1, rax
divsd xmm1, qword [0x1402d3510]
lea rcx, [rbp + 0x90]
call fcn.140021a80
lea rdx, [rbp + 0x220]
lea rcx, [rbp + 0x98]
call fcn.14001a0c0
nop
mov rdx, qword [rbp + 0x1d8]
cmp rdx, 8
jb 0x14002160a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x1c0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140021605
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140021a28
call fcn.140004144
movups xmm0, xmmword [rbp + 0x220]
movups xmmword [rbp + 0x1c0], xmm0
movups xmm1, xmmword [rbp + 0x230]
movups xmmword [rbp + 0x1d0], xmm1
lea rcx, [rbp + 0x80]
call fcn.1400193b0
mov edx, reloc.OLEAUT32.dll_SafeArrayGetDim
lea rcx, [rsp + 0x38]
call fcn.140222e78
mov rbx, rax
mov edx, 0x2040
lea rcx, [rsp + 0x48]
call fcn.140222e78
mov rcx, qword [rbp - 0x70]
movsxd rdx, dword [rcx + 4]
lea rcx, [rbp - 0x70]
add rcx, rdx
mov edx, dword [rax + 8]
call qword [rax]
lea rdx, [rbp + 0x1e0]
cmp qword [rbp + 0x1f8], 8
cmovae rdx, qword [rbp + 0x1e0]
mov r8, qword [rbp + 0x1f0]
lea rcx, [rbp - 0x70]
call fcn.140016ce0
lea rdx, [0x1402cc558]
mov rcx, rax
call fcn.140016a20
mov rdi, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov edx, dword [rbx + 8]
call qword [rbx]
mov edx, 6
lea rcx, [rsp + 0x58]
call fcn.140222ea0
mov rcx, qword [rdi]
movsxd rcx, dword [rcx + 4]
add rcx, rdi
mov rdx, qword [rax + 8]
call qword [rax]
mov rax, qword [rdi]
movsxd rcx, dword [rax + 4]
mov word [rcx + rdi + 0x58], 0x30
mov edx, 3
lea rcx, [rsp + 0x68]
call fcn.140222e8c
mov rcx, qword [rdi]
movsxd rcx, dword [rcx + 4]
add rcx, rdi
mov rdx, qword [rax + 8]
call qword [rax]
lea rdx, [rbp + 0x1c0]
cmp qword [rbp + 0x1d8], 8
cmovae rdx, qword [rbp + 0x1c0]
mov r8, qword [rbp + 0x1d0]
mov rcx, rdi
call fcn.140016ce0
mov rbx, rax
mov edx, 5
lea rcx, [rbp + 0x220]
call fcn.140222ea0
mov rdi, rax
lea rdx, [0x1402cc558]
mov rcx, rbx
call fcn.140016a20
mov rbx, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov rdx, qword [rdi + 8]
call qword [rdi]
mov rcx, qword [rbx]
movsxd rdx, dword [rcx + 4]
mov word [rdx + rbx + 0x58], 0x20
mov edx, 0x40
lea rcx, [rbp + 0x200]
call fcn.140222e78
mov rcx, qword [rbx]
movsxd rcx, dword [rcx + 4]
add rcx, rbx
mov edx, dword [rax + 8]
call qword [rax]
lea rdx, [rbp + 0x1a0]
cmp qword [rbp + 0x1b8], 8
cmovae rdx, qword [rbp + 0x1a0]
mov r8, qword [rbp + 0x1b0]
mov rcx, rbx
call fcn.140016ce0
lea rbx, [rbp + 0x180]
cmp qword [rbp + 0x198], 8
cmovae rbx, qword [rbp + 0x180]
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 0x140021a2e
lea rdx, [rbp + 0x200]
lea rcx, [rbp - 0x68]
call fcn.14001a0c0
nop
mov rdx, qword [reloc.OLEAUT32.dll_VariantInit]
cmp rdx, 8
jb 0x140021856
lea rdx, [rdx*2 + 2]
mov rcx, qword [0x14031b5e0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140021851
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140021a64
call fcn.140004144
movups xmm0, xmmword [rbp + 0x200]
movups xmmword [0x14031b5e0], xmm0
movups xmm1, xmmword [rbp + 0x210]
movups xmmword [0x14031b5f0], xmm1
mov rdx, qword [rbp + 0x1d8]
cmp rdx, 8
jb 0x1400218b8
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x1c0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400218b3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140021a6a
call fcn.140004144
mov qword [rbp + 0x1d0], rsi
mov qword [rbp + 0x1d8], 7
mov word [rbp + 0x1c0], si
mov rdx, qword [rbp + 0x1f8]
cmp rdx, 8
jb 0x140021917
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x1e0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140021912
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140021a70
call fcn.140004144
mov qword [rbp + 0x1f0], rsi
mov qword [rbp + 0x1f8], 7
mov word [rbp + 0x1e0], si
mov rdx, qword [rbp + 0x198]
cmp rdx, 8
jb 0x140021976
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x180]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140021971
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140021a76
call fcn.140004144
mov qword [rbp + 0x190], rsi
mov qword [rbp + 0x198], 7
mov word [rbp + 0x180], si
mov rdx, qword [rbp + 0x1b8]
cmp rdx, 8
jb 0x1400219d1
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x1a0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400219cc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140021a22
call fcn.140004144
mov qword [rbp + 0x1b0], rsi
mov qword [rbp + 0x1b8], 7
mov word [rbp + 0x1a0], si
lea rcx, [rbp - 0x80]
call fcn.1400193b0
lea rax, [0x14031b5e0]
mov rcx, qword [rbp + 0x240]
xor rcx, rsp
call fcn.140220510
lea r11, [rsp + 0x350]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
call fcn.140229804
nop
call fcn.140229804
nop
lea rcx, [0x14032a09c]
call fcn.140220854
cmp dword [0x14032a09c], 0xffffffff
jne 0x1400217ff
lea rcx, [0x14026e6e0]
call fcn.140220768
lea rcx, [0x14032a09c]
call fcn.1402207e8
jmp 0x1400217ff
call fcn.140229804
nop
call fcn.140229804
nop
call fcn.140229804
nop
call fcn.140229804
int3