Function at 0x40a890
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x98
mov r13, qword [rsp + 0x108]
mov rax, qword [r13 + 8]
sub rax, qword [r13]
sar rax, 3
mov r12, rdx
mov qword [rsp + 0xf0], r8
mov rbx, rcx
movabs rdx, 0xfafafafafafafafb
imul rax, rdx
mov rdx, qword [r12 + 0x1e0]
sub rdx, qword [r12 + 0x1d8]
mov qword [rsp + 0xf8], r9
sar rdx, 5
cmp rax, rdx
jne 0x40ac22
mov rax, qword [rcx]
xor edx, edx
call qword [rax + 0xc0]
cmp qword [0x0086e6c0], 0
je 0x40ab98
lea rdi, [rsp + 0x70]
mov rbp, qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
lea rsi, [rsp + 0x50]
mov rcx, rdi
call rbp
mov rcx, rsi
imul rax, qword [rsp + 0x70], 0x3b9aca00
cqo
idiv qword [0x0086e6c0]
movabs rdx, 0x431bde82d7b634db
mul rdx
shr rdx, 0x12
mov r14, rdx
mov rdx, r12
call method.cryptonote.get_block_hash_cryptonote::block_const_
cmp qword [0x0086e6c0], 0
je 0x40ac10
mov rcx, rdi
call rbp
mov rcx, rbx
imul rax, qword [rsp + 0x70], 0x3b9aca00
cqo
idiv qword [0x0086e6c0]
movabs rdx, 0x431bde82d7b634db
mul rdx
mov rax, rdx
shr rax, 0x12
sub rax, r14
add qword [rbx + 0x10], rax
mov rax, qword [rbx]
call qword [rax + 0x178]
cmp qword [0x0086e6c0], 0
mov qword [rsp + 0x40], rax
je 0x40abf8
mov rcx, rdi
call rbp
xor r9d, r9d
lea r8, [r12 + 0x40]
mov rcx, rbx
imul rax, qword [rsp + 0x70], 0x3b9aca00
cqo
idiv qword [0x0086e6c0]
movabs rdx, 0x431bde82d7b634db
mul rdx
shr rdx, 0x12
mov qword [rsp + 0x38], rdx
mov rdx, rsi
call method.cryptonote::BlockchainDB.add_transaction_crypto::hash_const__cryptonote::transaction_const__crypto::hash_const_
movdqu xmm2, xmmword [0x009cc220]
mov r15, qword [r13]
movdqu xmm3, xmmword [0x009cc230]
mov r13, qword [r13 + 8]
movups xmmword [rsp + 0x70], xmm2
movups xmmword [rsp + 0x80], xmm3
cmp r15, r13
je 0x40aa6b
xor r14d, r14d
nop dword [rax]
mov rdx, qword [r12 + 0x1d8]
mov r8, r15
mov r9, rdi
mov rcx, rbx
add r15, 0x198
movdqu xmm0, xmmword [rdx + r14]
movups xmmword [rsp + 0x70], xmm0
movdqu xmm1, xmmword [rdx + r14 + 0x10]
mov rdx, rsi
add r14, 0x20
movups xmmword [rsp + 0x80], xmm1
call method.cryptonote::BlockchainDB.add_transaction_crypto::hash_const__cryptonote::transaction_const__crypto::hash_const_
cmp r13, r15
jne 0x40aa28
cmp qword [0x0086e6c0], 0
je 0x40abe0
lea r13, [rsp + 0x48]
mov rcx, r13
call rbp
mov rcx, qword [0x0086e6c0]
imul rax, qword [rsp + 0x48], 0x3b9aca00
cqo
idiv rcx
movabs rdx, 0x431bde82d7b634db
mul rdx
mov rax, rdx
shr rax, 0x12
sub rax, qword [rsp + 0x38]
add qword [rbx + 0x20], rax
test rcx, rcx
je 0x40abc8
mov rcx, r13
call rbp
mov qword [rsp + 0x28], rsi
mov r9, qword [rsp + 0xf8]
mov rcx, rbx
imul rax, qword [rsp + 0x48], 0x3b9aca00
mov r8, qword [rsp + 0xf0]
cqo
idiv qword [0x0086e6c0]
movabs rdx, 0x431bde82d7b634db
mul rdx
mov rax, qword [rbx]
mov rdi, rdx
mov rdx, qword [rsp + 0x100]
shr rdi, 0x12
mov qword [rsp + 0x20], rdx
mov rdx, r12
call qword [rax]
cmp qword [0x0086e6c0], 0
je 0x40abb0
mov rcx, r13
call rbp
mov rcx, qword [rbx + 0x40]
lea r8, [rsp + 0x40]
imul rax, qword [rsp + 0x48], 0x3b9aca00
cqo
idiv qword [0x0086e6c0]
movabs rdx, 0x431bde82d7b634db
mul rdx
mov rax, rdx
mov rdx, r12
shr rax, 0x12
sub rax, rdi
add qword [rbx + 0x18], rax
call method.cryptonote::HardFork.add_cryptonote::block_const__unsigned_long_long_const_
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0xc8]
add qword [rbx + 8], 1
mov rax, qword [rsp + 0x40]
add rsp, 0x98
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
lea rcx, [0x0086e6c0]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
jmp 0x40a911
lea rcx, [0x0086e6c0]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
jmp 0x40ab24
lea rcx, [0x0086e6c0]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
jmp 0x40aabe
lea rcx, [0x0086e6c0]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
jmp 0x40aa79
lea rcx, [0x0086e6c0]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
jmp 0x40a9b7
lea rcx, [0x0086e6c0]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
jmp 0x40a966
mov ecx, 0x10
call sym.__cxa_allocate_exception
lea rdx, str.Inconsistent_tx_hashes_sizes
mov rcx, rax
mov r12, rax
call method.std::runtime_error.runtime_error_char_const_
lea r8, [method.std::runtime_error.runtime_error__]
lea rdx, [0x00940a10]
mov rcx, r12
call sym.__cxa_throw
mov r13, rax
mov rcx, r12
call sym.__cxa_free_exception
mov rcx, r13
call sym._Unwind_Resume
nop
nop dword [rax + rax]