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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x140
cmp dword [0x1401156a4], 0
jg 0x1400046f7
mov rcx, qword [0x140112060]
cmp byte [rcx + 0x12d], 0
je 0x1400046f7
mov eax, dword [0x140112058]
cmp dword [0x1401156c8], eax
jge 0x1400046f7
cmp dword [0x140112054], 0
je 0x1400046f7
cmp dword [0x1401156a0], 0
jne 0x1400046f7
cmp byte [rcx + 0x12c], 0
jne 0x140004464
cmp byte [rcx + 0x12e], 0
jne 0x140004457
cmp dword [rcx + 0x120], 0xffffffff
jle 0x140004457
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov rcx, qword [0x140112060]
sub eax, dword [rcx + 0x11c]
cmp eax, dword [rcx + 0x120]
jb 0x140004457
mov byte [rcx + 0x12c], 1
cmp byte [rcx + 0x12c], 0
je 0x1400046f7
xor r14d, r14d
mov ebp, r14d
mov rbx, qword [0x140119768]
test rbx, rbx
je 0x1400046f7
nop word [rax + rax]
cmp byte [rbx + 0x15], 0
je 0x1400044ad
cmp byte [rbx + 0x14], 0
ja 0x1400044ad
mov eax, dword [rcx + 0x3c]
cmp dword [rbx + 0x10], eax
jl 0x1400044ad
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, eax
mov ecx, eax
sub ecx, dword [rbx + 0xc]
cmp ecx, dword [rbx + 8]
jae 0x1400044d2
mov rcx, qword [0x140112060]
mov rsi, qword [rbx + 0x18]
mov rbx, rsi
test rsi, rsi
jne 0x140004480
test ebp, ebp
je 0x1400046f7
lea rcx, [rsp + 0x40]
call fcn.140004ff0
mov al, 1
jmp 0x1400046f9
test ebp, ebp
jne 0x140004518
mov ebp, 1
xor r8d, r8d
mov edx, ebp
mov rcx, qword [0x1401156c0]
call fcn.140001630
lea r8d, [rbp + 0x7e]
mov rdx, rax
lea rcx, [rsp + 0x40]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy]
mov word [rsp + 0x13e], r14w
inc dword [0x1401156c8]
add qword [0x140112060], 0x150
mov dword [rbx + 0xc], edi
cmp byte [rbx + 0x16], 0
je 0x14000456e
mov byte [rbx + 0x15], 0
add dword [0x14011977c], 0xffffffff
jne 0x14000456e
cmp dword [0x1401156ec], 0
jne 0x14000456e
cmp dword [0x1401166c0], 0
jne 0x14000456e
cmp byte [0x140115542], 0
je 0x14000456e
mov edx, 9
mov rcx, qword [0x1401156f0]
call qword [sym.imp.USER32.dll_KillTimer]
movzx ecx, byte [0x140115542]
test eax, eax
cmovne ecx, r14d
mov byte [0x140115542], cl
mov dword [0x1401197ec], edi
mov r9, qword [rbx]
mov rcx, r9
call fcn.1400ad7d0
test eax, eax
je 0x140004588
cmp eax, 1
jne 0x140004597
mov rax, qword [r9 + 0x10]
test rax, rax
je 0x140004597
movzx r9d, byte [rax]
jmp 0x14000459a
xor r9b, r9b
xor r8d, r8d
xor edx, edx
mov ecx, dword [rbx + 0x10]
call fcn.140004db0
mov rax, qword [0x140112060]
mov qword [rax + 0xf0], rbx
inc byte [rbx + 0x14]
mov rcx, qword [rbx]
mov dword [rsp + 0x30], r14d
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], r14d
xor r9d, r9d
lea r8, [0x1400e06f8]
mov rdx, rcx
call fcn.1400a9990
dec byte [rbx + 0x14]
mov rsi, qword [rbx + 0x18]
cmp byte [rbx + 0x16], 0
je 0x140004612
cmp byte [rbx + 0x15], 0
jne 0x140004612
mov rcx, qword [rbx]
test rcx, rcx
je 0x140004612
call fcn.1400ad7d0
cmp eax, 2
jne 0x140004612
mov rcx, qword [rbx]
test rcx, rcx
je 0x14000460f
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov qword [rbx], r14
cmp qword [rbx], 0
jne 0x1400046eb
mov rdi, r14
mov rbx, qword [0x140119768]
test rbx, rbx
je 0x1400046eb
movzx ecx, byte [0x140115542]
cmp qword [rbx], 0
jne 0x140004690
cmp byte [rbx + 0x15], 0
je 0x14000468a
mov byte [rbx + 0x15], 0
add dword [0x14011977c], 0xffffffff
jne 0x14000468a
cmp dword [0x1401156ec], 0
jne 0x14000468a
cmp dword [0x1401166c0], 0
jne 0x14000468a
test cl, cl
je 0x14000468a
mov edx, 9
mov rcx, qword [0x1401156f0]
call qword [sym.imp.USER32.dll_KillTimer]
movzx ecx, byte [0x140115542]
test eax, eax
cmovne ecx, r14d
mov byte [0x140115542], cl
cmp byte [rbx + 0x14], 0
je 0x14000469e
mov rdi, rbx
mov rbx, qword [rbx + 0x18]
test rbx, rbx
je 0x1400046eb
jmp 0x140004636
mov rax, qword [rbx + 0x18]
test rdi, rdi
je 0x1400046ad
mov qword [rdi + 0x18], rax
jmp 0x1400046b4
mov qword [0x140119768], rax
mov rax, qword [0x140119770]
cmp rax, rbx
cmove rax, rdi
mov qword [0x140119770], rax
dec dword [0x140119778]
mov rcx, qword [rbx]
test rcx, rcx
je 0x1400046de
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
nop
mov edx, SafeArrayAllocDescriptor
mov rcx, rbx
call fcn.1400dcf6c
mov rcx, qword [0x140112060]
jmp 0x1400044b1
xor al, al
lea r11, [rsp + 0x140]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret