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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rbp
push rdi
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x60
mov r15, rdx
mov r14, rcx
mov rcx, qword [0x14016a048]
lea r13, [0x14016a048]
cmp rcx, r13
je 0x14012283e
test byte [rcx + 0x1c], 1
je 0x14012283e
cmp byte [rcx + 0x19], 4
jb 0x14012283e
mov rcx, qword [rcx + 0x10]
lea r8, [0x140158d68]
mov edx, 0x34
call fcn.14000c0e8
mov rcx, qword [0x14016a048]
xor edi, edi
mov qword [rbp + 0x40], rdi
mov qword [rbp - 0x10], rdi
mov qword [rbp + 0x48], rdi
cmp rcx, r13
je 0x140122878
test byte [rcx + 0x1c], 1
je 0x140122878
cmp byte [rcx + 0x19], 4
jb 0x140122878
mov rcx, qword [rcx + 0x10]
lea edx, [rdi + 0x35]
mov r9, r14
mov qword [rsp + 0x20], r15
lea r8, [0x140158d68]
call fcn.140040240
lea r8, [rbp - 0x10]
mov rcx, r14
lea rdx, [rbp + 0x40]
call fcn.14012fc70
mov ebx, eax
test eax, eax
jns 0x1401228bf
mov rcx, qword [0x14016a048]
cmp rcx, r13
je 0x140122b12
test byte [rcx + 0x1c], 1
je 0x140122ab8
cmp byte [rcx + 0x19], 2
jb 0x140122ab8
mov edx, 0x36
mov r9d, eax
jmp 0x140122aa1
xor r9d, r9d
mov byte [rsp + 0x20], 1
xor r8d, r8d
lea rdx, [rbp + 0x48]
mov rcx, r14
call fcn.140123294
mov ebx, eax
test eax, eax
jns 0x140122907
mov rcx, qword [0x14016a048]
cmp rcx, r13
je 0x140122b12
test byte [rcx + 0x1c], 1
je 0x140122ab8
cmp byte [rcx + 0x19], 2
jb 0x140122ab8
mov edx, 0x37
jmp 0x1401228b7
mov rbx, qword [rbp + 0x40]
mov rdx, qword [rbp + 0x48]
mov rax, rbx
mov r8, qword [rbp - 0x10]
sub rax, rdx
sub rax, r8
mov rdi, rbx
lea rsi, [rax + r15]
sub rdi, rsi
mov rcx, qword [0x14016a048]
cmp rcx, r13
je 0x14012296a
test byte [rcx + 0x1c], 1
je 0x14012296a
cmp byte [rcx + 0x19], 4
jb 0x14012296a
mov rcx, qword [rcx + 0x10]
mov r9, rbx
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], r8
call fcn.140123fc0
mov rcx, qword [0x14016a048]
cmp rsi, rbx
jb 0x1401229a1
mov ebx, 0x80780030
cmp rcx, r13
je 0x140122b12
test byte [rcx + 0x1c], 1
je 0x140122ab8
cmp byte [rcx + 0x19], 2
jb 0x140122ab8
mov edx, 0x39
mov r9d, 0x80780030
jmp 0x140122aa1
shr rbx, 3
cmp rdi, rbx
jae 0x1401229d3
mov ebx, 0x80780030
cmp rcx, r13
je 0x140122b12
test byte [rcx + 0x1c], 1
je 0x140122ab8
cmp byte [rcx + 0x19], 2
jb 0x140122ab8
mov edx, 0x3a
jmp 0x140122996
mov r8b, 1
mov rdx, rdi
mov rcx, r14
call fcn.140123a6c
mov ebx, eax
test eax, eax
jns 0x140122a15
mov rcx, qword [0x14016a048]
cmp rcx, r13
je 0x140122b12
test byte [rcx + 0x1c], 1
je 0x140122ab8
cmp byte [rcx + 0x19], 2
jb 0x140122ab8
mov edx, 0x3b
jmp 0x1401228b7
xor ebx, ebx
call qword [sym.imp.KERNEL32.dll_GetTickCount]
nop dword [rax + rax]
mov edi, eax
cmp ebx, 0x3a98
jae 0x140122a75
and qword [rbp + 0x40], 0
lea r8, [rbp + 0x40]
lea rdx, [rbp + 0x48]
mov rcx, r14
call fcn.14012fc70
mov ebx, eax
test eax, eax
js 0x140122ab1
cmp qword [rbp + 0x40], r15
ja 0x140122ae5
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
nop dword [rax + rax]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
nop dword [rax + rax]
mov ebx, eax
sub ebx, edi
jmp 0x140122a25
mov ebx, 0x8078005b
mov rcx, qword [0x14016a048]
cmp rcx, r13
je 0x140122b12
test byte [rcx + 0x1c], 1
je 0x140122ab8
cmp byte [rcx + 0x19], 2
jb 0x140122ab8
mov edx, 0x3c
mov r9d, 0x8078005b
mov rcx, qword [rcx + 0x10]
lea r8, [0x140158d68]
call fcn.14000c114
mov rcx, qword [0x14016a048]
cmp rcx, r13
je 0x140122b12
test byte [rcx + 0x1c], 1
je 0x140122aec
cmp byte [rcx + 0x19], 2
jb 0x140122aec
mov rcx, qword [rcx + 0x10]
lea r8, [0x140158d68]
mov edx, 0x3d
mov dword [rsp + 0x20], ebx
mov r9, r14
call fcn.140014f78
mov rcx, qword [0x14016a048]
cmp rcx, r13
je 0x140122b12
test byte [rcx + 0x1c], 1
je 0x140122b12
cmp byte [rcx + 0x19], 4
jb 0x140122b12
mov rcx, qword [rcx + 0x10]
lea r8, [0x140158d68]
mov edx, 0x3e
call fcn.14000c0e8
lea r11, [rsp + 0x60]
mov eax, ebx
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r13
pop rdi
pop rbp
ret