Function at 0x40cf70
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, 0x138
lea rsi, method.el::base::Writer.Writer__
lea r15, str._home_user_blur_src_blockchain_db_lmdb_db_lmdb.cpp
lea r14, str.virtual_bool_cryptonote::BlockchainLMDB::tx_exists_const_crypto::hash__uint64_t__const
lea rbp, [0x0086a87a]
mov rbx, rcx
lea r12, [rsp + 0xc0]
xor ecx, ecx
mov qword [rsp + 0x188], rdx
mov qword [rsp + 0x190], r8
mov edx, 1
lea r8, str.blockchain.db.lmdb
mov word [rsp + 0xe8], cx
mov rcx, r12
mov qword [rsp + 0xc0], rsi
mov dword [rsp + 0xc8], 2
mov qword [rsp + 0xd0], r15
mov dword [rsp + 0xd8], 0x76f
mov qword [rsp + 0xe0], r14
mov qword [rsp + 0xf0], 0
mov byte [rsp + 0xf8], 0
mov qword [rsp + 0x100], 0
mov qword [rsp + 0x108], rbp
mov dword [rsp + 0x110], 2
mov qword [rsp + 0x118], 0
mov qword [rsp + 0x120], 0
mov qword [rsp + 0x128], 0
call method.el::base::Writer.construct_int__char_const__..._
cmp byte [rax + 0x38], 0
mov rdi, rax
jne 0x40d368
mov rcx, r12
mov qword [rsp + 0xc0], rsi
call method.el::base::Writer.processDispatch__
mov rdi, qword [rsp + 0x120]
mov r13, qword [rsp + 0x118]
cmp rdi, r13
je 0x40d0b3
nop
mov rcx, qword [r13]
lea rax, [r13 + 0x10]
cmp rcx, rax
je 0x40d0a2
call sym.operator_delete_void_
add r13, 0x20
cmp rdi, r13
jne 0x40d090
mov r13, qword [rsp + 0x118]
test r13, r13
je 0x40d0c0
mov rcx, r13
call sym.operator_delete_void_
mov rcx, rbx
call method.cryptonote::BlockchainLMDB.check_open___const
mov edx, 0x100
mov qword [rsp + 0x60], 0
mov word [rsp + 0x70], dx
mov qword [rsp + 0x68], 0
call method.cryptonote::mdb_txn_safe.mdb_txn_safe_bool___clone_.part.0_
mov rax, qword [rbx]
lea rdx, [rsp + 0x40]
mov rcx, rbx
lea r8, [rsp + 0x48]
call qword [rax + 0x300]
test al, al
je 0x40d290
lea rcx, [rbx + 0x160]
call method.boost::detail.get_tss_data_void_const_
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x48]
cmp qword [rax + 0x30], 0
je 0x40d2ae
lea rdx, [rbx + 0xf8]
cmp rax, rdx
je 0x40d14d
lea r13, [rbx + 0x160]
mov rcx, r13
call method.boost::detail.get_tss_data_void_const_
cmp byte [rax + 0x77], 0
je 0x40d558
mov rax, qword [rsp + 0x188]
cmp qword [0x00868630], 0
mov qword [rsp + 0x50], 0x20
mov qword [rsp + 0x58], rax
je 0x40d338
mov rdi, qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rcx, r12
call rdi
mov r9d, 2
lea r8, [rsp + 0x50]
imul rax, qword [rsp + 0xc0], 0x3b9aca00
cqo
idiv qword [0x00868630]
movabs rdx, 0x431bde82d7b634db
mul rdx
mov rax, qword [rsp + 0x48]
mov rcx, qword [rax + 0x30]
shr rdx, 0x12
mov qword [rsp + 0x28], rdx
lea rdx, [0x00871490]
call sym.mdb_cursor_get
cmp qword [0x00868630], 0
mov r13d, eax
je 0x40d350
mov rcx, r12
call rdi
imul rax, qword [rsp + 0xc0], 0x3b9aca00
mov rcx, qword [rbx + 0x28]
sub rcx, qword [rsp + 0x28]
cqo
idiv qword [0x00868630]
movabs rdx, 0x431bde82d7b634db
mul rdx
mov rax, rdx
shr rax, 0x12
add rax, rcx
mov qword [rbx + 0x28], rax
test r13d, r13d
je 0x40d2f0
cmp r13d, 0xffff87b2
je 0x40d3f0
lea r14, [rsp + 0x80]
lea rdx, str.DB_error_attempting_to_fetch_transaction_from_hash
mov rcx, r14
call fcn.00404f40
mov ecx, r13d
call sym.mdb_strerror
mov r8, rax
lea rcx, [rsp + 0xa0]
mov rdx, r14
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____std::operator_char__std::char_traits_char___std.allocator_char____std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____const__char_const_
mov rdx, qword [rsp + 0xa0]
mov rcx, r12
call method.cryptonote::DB_EXCEPTION.DB_EXCEPTION_char_const_
lea rsi, sym.cryptonote::DB_ERROR::DB_ERROR__
mov rcx, r12
mov qword [rsp + 0xc0], rsi
call sym.void__anonymous_namespace_::throw0_cryptonote::DB_ERROR__cryptonote::DB_ERROR_const___clone_constprop0_
nop word cs:[rax + rax]
lock sub qword [0x00a2f148], 1
mov rax, qword [rsp + 0x48]
cmp qword [rax + 0x30], 0
mov byte [rsp + 0x71], 0
jne 0x40d128
mov edx, dword [rbx + 0x80]
mov rcx, qword [rsp + 0x40]
lea r8, [rax + 0x30]
call sym.mdb_cursor_open
mov r13d, eax
test eax, eax
jne 0x40d657
lea rax, [rbx + 0xf8]
cmp qword [rsp + 0x48], rax
je 0x40d14d
lea rcx, [rbx + 0x160]
call method.boost::detail.get_tss_data_void_const_
jmp 0x40d57d
mov rax, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x190]
mov r12d, 1
mov rax, qword [rax + 0x20]
mov qword [rsi], rax
cmp byte [rsp + 0x71], 0
je 0x40d31b
lea rcx, [rsp + 0x60]
call method.cryptonote::mdb_txn_safe.mdb_txn_safe____clone_.part.0_
mov eax, r12d
add rsp, 0x138
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 0x40d171
lea rcx, [0x00868630]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
jmp 0x40d1d9
mov rax, qword [rax + 0x40]
mov r8d, 0x10
lea rdx, str.BlockchainLMDB::
lea rcx, [rax + 0x78]
call method.std::basic_ostream_char__std::char_traits_char____std::__ostream_insert_char__std.char_traits_char____std::basic_ostream_char__std::char_traits_char_____char_const__long_long_
mov r13, qword [0x0099e5d0]
mov rax, qword [r13]
test byte [rax + 0x49], 0x20
jne 0x40d5e0
cmp byte [rdi + 0x38], 0
je 0x40d06a
mov rax, qword [rdi + 0x40]
mov r8d, 9
lea rdx, str.tx_exists
lea rcx, [rax + 0x78]
call method.std::basic_ostream_char__std::char_traits_char____std::__ostream_insert_char__std.char_traits_char____std::basic_ostream_char__std::char_traits_char_____char_const__long_long_
mov rax, qword [r13]
test byte [rax + 0x49], 0x20
je 0x40d06a
mov rcx, qword [rdi + 0x40]
mov r8d, 1
lea rdx, [0x0086a7fa]
add rcx, 0x78
call method.std::basic_ostream_char__std::char_traits_char____std::__ostream_insert_char__std.char_traits_char____std::basic_ostream_char__std::char_traits_char_____char_const__long_long_
jmp 0x40d06a
xor eax, eax
lea r8, str.blockchain.db.lmdb
mov edx, 1
mov rcx, r12
mov qword [rsp + 0xc0], rsi
mov dword [rsp + 0xc8], pe_nt_image_headers64
mov qword [rsp + 0xd0], r15
mov dword [rsp + 0xd8], 0x785
mov qword [rsp + 0xe0], r14
mov word [rsp + 0xe8], ax
mov qword [rsp + 0xf0], 0
mov byte [rsp + 0xf8], 0
mov qword [rsp + 0x100], 0
mov qword [rsp + 0x108], rbp
mov dword [rsp + 0x110], 2
mov qword [rsp + 0x118], 0
mov qword [rsp + 0x120], 0
mov qword [rsp + 0x128], 0
call method.el::base::Writer.construct_int__char_const__..._
cmp byte [rax + 0x38], 0
mov rbx, rax
jne 0x40d5c8
mov rax, qword [rsp + 0x188]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0xa0]
mov qword [rsp + 0x38], 0x20
mov qword [rsp + 0x30], rax
call method.epee::to_hex.string_abi:cxx11__epee::span_unsigned_char_const__
cmp byte [rbx + 0x38], 0
mov rcx, qword [rsp + 0xa0]
jne 0x40d590
lea rax, [rsp + 0xb0]
cmp rcx, rax
je 0x40d4ec
call sym.operator_delete_void_
mov rcx, r12
mov qword [rsp + 0xc0], rsi
call method.el::base::Writer.processDispatch__
mov rbx, qword [rsp + 0x120]
mov r12, qword [rsp + 0x118]
cmp rbx, r12
je 0x40d53c
nop dword [rax]
mov rcx, qword [r12]
lea rax, [r12 + 0x10]
cmp rcx, rax
je 0x40d52b
call sym.operator_delete_void_
add r12, 0x20
cmp rbx, r12
jne 0x40d518
mov r12, qword [rsp + 0x118]
test r12, r12
je 0x40d549
mov rcx, r12
call sym.operator_delete_void_
xor r12d, r12d
jmp 0x40d30a
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
mov rdx, qword [rax + 0x30]
call sym.mdb_cursor_renew
mov edi, eax
test eax, eax
jne 0x40d5ff
mov rcx, r13
call method.boost::detail.get_tss_data_void_const_
mov byte [rax + 0x77], 1
jmp 0x40d14d
lea r13, [rbx + 0x40]
mov rdx, rcx
mov rcx, r13
call method.el::base::MessageBuilder.operator___char_const_
cmp byte [rbx + 0x38], 0
je 0x40d5b4
lea rdx, str._not_found_in_db
mov rcx, r13
call method.el::base::MessageBuilder.operator___char_const_
mov rcx, qword [rsp + 0xa0]
jmp 0x40d4da
lea rcx, [rax + 0x40]
lea rdx, str.transaction_with_hash
call method.el::base::MessageBuilder.operator___char_const_
jmp 0x40d4a0
mov rax, qword [rdi + 0x40]
mov r8d, 1
lea rdx, [0x0086a7fa]
lea rcx, [rax + 0x78]
call method.std::basic_ostream_char__std::char_traits_char____std::__ostream_insert_char__std.char_traits_char____std::basic_ostream_char__std::char_traits_char_____char_const__long_long_
jmp 0x40d397
lea r14, [rsp + 0x80]
lea rdx, str.Failed_to_renew_cursor:
mov rcx, r14
call fcn.00404f40
mov ecx, edi
call sym.mdb_strerror
mov r8, rax
lea rcx, [rsp + 0xa0]
mov rdx, r14
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____std::operator_char__std::char_traits_char___std.allocator_char____std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____const__char_const_
mov rdx, qword [rsp + 0xa0]
mov rcx, r12
call method.cryptonote::DB_EXCEPTION.DB_EXCEPTION_char_const_
lea rsi, sym.cryptonote::DB_ERROR::DB_ERROR__
mov rcx, r12
mov qword [rsp + 0xc0], rsi
call sym.void__anonymous_namespace_::throw0_cryptonote::DB_ERROR__cryptonote::DB_ERROR_const___clone_constprop0_
lea r14, [rsp + 0x80]
lea rdx, str.Failed_to_open_cursor:
mov rcx, r14
call fcn.00404f40
mov ecx, r13d
call sym.mdb_strerror
mov r8, rax
lea rcx, [rsp + 0xa0]
mov rdx, r14
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____std::operator_char__std::char_traits_char___std.allocator_char____std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____const__char_const_
mov rdx, qword [rsp + 0xa0]
mov rcx, r12
call method.cryptonote::DB_EXCEPTION.DB_EXCEPTION_char_const_
lea rsi, sym.cryptonote::DB_ERROR::DB_ERROR__
mov rcx, r12
mov qword [rsp + 0xc0], rsi
call sym.void__anonymous_namespace_::throw0_cryptonote::DB_ERROR__cryptonote::DB_ERROR_const___clone_constprop0_
mov rbx, rax
mov rcx, r12
mov qword [rsp + 0xc0], rsi
call sym.cryptonote::DB_EXCEPTION::DB_EXCEPTION__
mov r12, rbx
mov rcx, qword [rsp + 0xa0]
lea rax, [rsp + 0xb0]
cmp rcx, rax
je 0x40d6e0
call sym.operator_delete_void_
mov rcx, qword [rsp + 0x80]
lea rax, [rsp + 0x90]
cmp rcx, rax
je 0x40d6fa
call sym.operator_delete_void_
cmp byte [rsp + 0x71], 0
je 0x40d70b
lea rcx, [rsp + 0x60]
call method.cryptonote::mdb_txn_safe.mdb_txn_safe____clone_.part.0_
mov rcx, r12
call sym._Unwind_Resume
mov rbx, rax
mov rcx, r12
mov qword [rsp + 0xc0], rsi
mov r12, rbx
call method.el::base::Writer.processDispatch__
lea rcx, [rsp + 0x118]
call method.std::vector_std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char_____std::allocator_std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char_______.vector__
jmp 0x40d6fa