Function at 0x140129f64
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 [0x140173048]
lea r13, [0x140173048]
cmp rcx, r13
je 0x140129fbe
test byte [rcx + 0x1c], 1
je 0x140129fbe
cmp byte [rcx + 0x19], 4
jb 0x140129fbe
mov rcx, qword [rcx + 0x10]
lea r8, [0x140161408]
mov edx, 0x34
call fcn.14000c328
mov rcx, qword [0x140173048]
xor edi, edi
mov qword [rbp + 0x40], rdi
mov qword [rbp - 0x10], rdi
mov qword [rbp + 0x48], rdi
cmp rcx, r13
je 0x140129ff8
test byte [rcx + 0x1c], 1
je 0x140129ff8
cmp byte [rcx + 0x19], 4
jb 0x140129ff8
mov rcx, qword [rcx + 0x10]
lea edx, [rdi + 0x35]
mov r9, r14
mov qword [rsp + 0x20], r15
lea r8, [0x140161408]
call fcn.140040480
lea r8, [rbp - 0x10]
mov rcx, r14
lea rdx, [rbp + 0x40]
call fcn.1401373f0
mov ebx, eax
test eax, eax
jns 0x14012a03f
mov rcx, qword [0x140173048]
cmp rcx, r13
je 0x14012a292
test byte [rcx + 0x1c], 1
je 0x14012a238
cmp byte [rcx + 0x19], 2
jb 0x14012a238
mov edx, 0x36
mov r9d, eax
jmp 0x14012a221
xor r9d, r9d
mov byte [rsp + 0x20], 1
xor r8d, r8d
lea rdx, [rbp + 0x48]
mov rcx, r14
call fcn.14012aa14
mov ebx, eax
test eax, eax
jns 0x14012a087
mov rcx, qword [0x140173048]
cmp rcx, r13
je 0x14012a292
test byte [rcx + 0x1c], 1
je 0x14012a238
cmp byte [rcx + 0x19], 2
jb 0x14012a238
mov edx, 0x37
jmp 0x14012a037
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 [0x140173048]
cmp rcx, r13
je 0x14012a0ea
test byte [rcx + 0x1c], 1
je 0x14012a0ea
cmp byte [rcx + 0x19], 4
jb 0x14012a0ea
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.14012b740
mov rcx, qword [0x140173048]
cmp rsi, rbx
jb 0x14012a121
mov ebx, 0x80780030
cmp rcx, r13
je 0x14012a292
test byte [rcx + 0x1c], 1
je 0x14012a238
cmp byte [rcx + 0x19], 2
jb 0x14012a238
mov edx, 0x39
mov r9d, 0x80780030
jmp 0x14012a221
shr rbx, 3
cmp rdi, rbx
jae 0x14012a153
mov ebx, 0x80780030
cmp rcx, r13
je 0x14012a292
test byte [rcx + 0x1c], 1
je 0x14012a238
cmp byte [rcx + 0x19], 2
jb 0x14012a238
mov edx, 0x3a
jmp 0x14012a116
mov r8b, 1
mov rdx, rdi
mov rcx, r14
call fcn.14012b1ec
mov ebx, eax
test eax, eax
jns 0x14012a195
mov rcx, qword [0x140173048]
cmp rcx, r13
je 0x14012a292
test byte [rcx + 0x1c], 1
je 0x14012a238
cmp byte [rcx + 0x19], 2
jb 0x14012a238
mov edx, 0x3b
jmp 0x14012a037
xor ebx, ebx
call qword [sym.imp.KERNEL32.dll_GetTickCount]
nop dword [rax + rax]
mov edi, eax
cmp ebx, 0x3a98
jae 0x14012a1f5
and qword [rbp + 0x40], 0
lea r8, [rbp + 0x40]
lea rdx, [rbp + 0x48]
mov rcx, r14
call fcn.1401373f0
mov ebx, eax
test eax, eax
js 0x14012a231
cmp qword [rbp + 0x40], r15
ja 0x14012a265
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 0x14012a1a5
mov ebx, 0x8078005b
mov rcx, qword [0x140173048]
cmp rcx, r13
je 0x14012a292
test byte [rcx + 0x1c], 1
je 0x14012a238
cmp byte [rcx + 0x19], 2
jb 0x14012a238
mov edx, 0x3c
mov r9d, 0x8078005b
mov rcx, qword [rcx + 0x10]
lea r8, [0x140161408]
call fcn.14000c354
mov rcx, qword [0x140173048]
cmp rcx, r13
je 0x14012a292
test byte [rcx + 0x1c], 1
je 0x14012a26c
cmp byte [rcx + 0x19], 2
jb 0x14012a26c
mov rcx, qword [rcx + 0x10]
lea r8, [0x140161408]
mov edx, 0x3d
mov dword [rsp + 0x20], ebx
mov r9, r14
call fcn.1400151b8
mov rcx, qword [0x140173048]
cmp rcx, r13
je 0x14012a292
test byte [rcx + 0x1c], 1
je 0x14012a292
cmp byte [rcx + 0x19], 4
jb 0x14012a292
mov rcx, qword [rcx + 0x10]
lea r8, [0x140161408]
mov edx, 0x3e
call fcn.14000c328
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