Function at 0x403da0
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 0x404132
mov rax, qword [rcx]
xor edx, edx
call qword [rax + 0xc0]
cmp qword [0x00868630], 0
je 0x4040a8
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 [0x00868630]
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 [0x00868630], 0
je 0x404120
mov rcx, rdi
call rbp
mov rcx, rbx
imul rax, qword [rsp + 0x70], 0x3b9aca00
cqo
idiv qword [0x00868630]
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 [0x00868630], 0
mov qword [rsp + 0x40], rax
je 0x404108
mov rcx, rdi
call rbp
xor r9d, r9d
lea r8, [r12 + 0x40]
mov rcx, rbx
imul rax, qword [rsp + 0x70], 0x3b9aca00
cqo
idiv qword [0x00868630]
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 [0x00a2f100]
mov r15, qword [r13]
movdqu xmm3, xmmword [0x00a2f110]
mov r13, qword [r13 + 8]
movups xmmword [rsp + 0x70], xmm2
movups xmmword [rsp + 0x80], xmm3
cmp r15, r13
je 0x403f7b
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 0x403f38
cmp qword [0x00868630], 0
je 0x4040f0
lea r13, [rsp + 0x48]
mov rcx, r13
call rbp
mov rcx, qword [0x00868630]
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 0x4040d8
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 [0x00868630]
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 [0x00868630], 0
je 0x4040c0
mov rcx, r13
call rbp
mov rcx, qword [rbx + 0x40]
lea r8, [rsp + 0x40]
imul rax, qword [rsp + 0x48], 0x3b9aca00
cqo
idiv qword [0x00868630]
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, [0x00868630]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
jmp 0x403e21
lea rcx, [0x00868630]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
jmp 0x404034
lea rcx, [0x00868630]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
jmp 0x403fce
lea rcx, [0x00868630]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
jmp 0x403f89
lea rcx, [0x00868630]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
jmp 0x403ec7
lea rcx, [0x00868630]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
jmp 0x403e76
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, [0x009a5130]
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]