Function at 0x40c4b0
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, 0x198
lea rsi, method.el::base::Writer.Writer__
lea rdi, str._home_user_blur_src_blockchain_db_lmdb_db_lmdb.cpp
lea r14, str.virtual_bool_cryptonote::BlockchainLMDB::tx_exists_const_crypto::hash__const
lea rbp, [0x0086a87a]
lea r8, str.blockchain.db.lmdb
mov rbx, rcx
lea r12, [rsp + 0x120]
xor ecx, ecx
mov qword [rsp + 0x1e8], rdx
mov word [rsp + 0x148], cx
mov edx, 1
mov rcx, r12
mov qword [rsp + 0x120], rsi
mov dword [rsp + 0x128], 2
mov qword [rsp + 0x130], rdi
mov dword [rsp + 0x138], 0x747
mov qword [rsp + 0x140], r14
mov qword [rsp + 0x150], 0
mov byte [rsp + 0x158], 0
mov qword [rsp + 0x160], 0
mov qword [rsp + 0x168], rbp
mov dword [rsp + 0x170], 2
mov qword [rsp + 0x178], 0
mov qword [rsp + 0x180], 0
mov qword [rsp + 0x188], 0
call method.el::base::Writer.construct_int__char_const__..._
cmp byte [rax + 0x38], 0
mov r13, rax
jne 0x40c890
mov rcx, r12
mov qword [rsp + 0x120], rsi
call method.el::base::Writer.processDispatch__
mov r15, qword [rsp + 0x180]
mov r13, qword [rsp + 0x178]
cmp r15, r13
je 0x40c5f3
nop word [rax + rax]
mov rcx, qword [r13]
lea rax, [r13 + 0x10]
cmp rcx, rax
je 0x40c5e2
call sym.operator_delete_void_
add r13, 0x20
cmp r15, r13
jne 0x40c5d0
mov r13, qword [rsp + 0x178]
test r13, r13
je 0x40c600
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 0x40c7d0
lea rcx, [rbx + 0x160]
call method.boost::detail.get_tss_data_void_const_
mov rdx, qword [rsp + 0x48]
mov qword [rsp + 0x60], rax
cmp qword [rdx + 0x30], 0
je 0x40c7ee
lea r13, [rbx + 0xf8]
mov rax, r13
cmp rdx, r13
je 0x40c840
lea r15, [rbx + 0x160]
mov rcx, r15
call method.boost::detail.get_tss_data_void_const_
mov r8, rax
mov rax, qword [rsp + 0x48]
cmp byte [r8 + 0x77], 0
je 0x40cac0
cmp qword [rax + 0x28], 0
je 0x40c84b
cmp rax, r13
je 0x40c6bf
mov rcx, r15
call method.boost::detail.get_tss_data_void_const_
cmp byte [rax + 0x76], 0
je 0x40caf0
mov rax, qword [rsp + 0x1e8]
cmp qword [0x00868630], 0
mov qword [rsp + 0x50], 0x20
mov qword [rsp + 0x58], rax
je 0x40c940
mov r15, qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rcx, r12
call r15
mov r9d, 2
lea r8, [rsp + 0x50]
imul rax, qword [rsp + 0x120], 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
mov r13d, eax
test eax, eax
je 0x40c910
cmp eax, 0xffff87b2
jne 0x40cb8d
xor r13d, r13d
cmp qword [0x00868630], 0
je 0x40c924
mov rcx, r12
call r15
imul rax, qword [rsp + 0x120], 0x3b9aca00
cqo
idiv qword [0x00868630]
movabs rdx, 0x431bde82d7b634db
mul rdx
mov rax, rdx
shr rax, 0x12
sub rax, qword [rsp + 0x28]
add qword [rbx + 0x28], rax
test r13b, r13b
je 0x40c958
cmp byte [rsp + 0x71], 0
je 0x40c7b4
lea rcx, [rsp + 0x60]
call method.cryptonote::mdb_txn_safe.mdb_txn_safe____clone_.part.0_
mov eax, r13d
add rsp, 0x198
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
lock sub qword [0x00a2f148], 1
mov rdx, qword [rsp + 0x48]
cmp qword [rdx + 0x30], 0
mov byte [rsp + 0x71], 0
jne 0x40c668
mov r9d, dword [rbx + 0x80]
mov rcx, qword [rsp + 0x40]
lea r8, [rdx + 0x30]
mov edx, r9d
call sym.mdb_cursor_open
mov r13d, eax
test eax, eax
jne 0x40cd4d
mov rax, qword [rsp + 0x48]
lea r13, [rbx + 0xf8]
cmp rax, r13
je 0x40c840
lea r15, [rbx + 0x160]
mov rcx, r15
call method.boost::detail.get_tss_data_void_const_
mov byte [rax + 0x77], 1
mov rax, qword [rsp + 0x48]
jmp 0x40c69d
cmp qword [rax + 0x28], 0
jne 0x40c6bf
mov edx, dword [rbx + 0x7c]
mov rcx, qword [rsp + 0x40]
lea r8, [rax + 0x28]
call sym.mdb_cursor_open
mov r15d, eax
test eax, eax
jne 0x40cc9a
cmp qword [rsp + 0x48], r13
je 0x40c6bf
lea rcx, [rbx + 0x160]
call method.boost::detail.get_tss_data_void_const_
mov byte [rax + 0x76], 1
jmp 0x40c6bf
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 r15, qword [0x0099e5d0]
mov rax, qword [r15]
test byte [rax + 0x49], 0x20
jne 0x40cb20
cmp byte [r13 + 0x38], 0
je 0x40c5a2
mov rax, qword [r13 + 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 [r15]
test byte [rax + 0x49], 0x20
je 0x40c5a2
mov rcx, qword [r13 + 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 0x40c5a2
cmp qword [0x00868630], 0
mov r13d, 1
jne 0x40c762
lea rcx, [0x00868630]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
jmp 0x40c762
lea rcx, [0x00868630]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
jmp 0x40c6e3
xor eax, eax
lea r8, str.blockchain.db.lmdb
mov edx, 1
mov rcx, r12
mov qword [rsp + 0x120], rsi
mov dword [rsp + 0x128], pe_nt_image_headers64
mov qword [rsp + 0x130], rdi
mov dword [rsp + 0x138], 0x761
mov qword [rsp + 0x140], r14
mov word [rsp + 0x148], ax
mov qword [rsp + 0x150], 0
mov byte [rsp + 0x158], 0
mov qword [rsp + 0x160], 0
mov qword [rsp + 0x168], rbp
mov dword [rsp + 0x170], 2
mov qword [rsp + 0x178], 0
mov qword [rsp + 0x180], 0
mov qword [rsp + 0x188], 0
call method.el::base::Writer.construct_int__char_const__..._
cmp byte [rax + 0x38], 0
mov rbx, rax
jne 0x40cb78
mov rax, qword [rsp + 0x1e8]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x100]
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 + 0x100]
jne 0x40cb40
lea rax, [rsp + 0x110]
cmp rcx, rax
je 0x40ca54
call sym.operator_delete_void_
mov rcx, r12
mov qword [rsp + 0x120], rsi
call method.el::base::Writer.processDispatch__
mov rbx, qword [rsp + 0x180]
mov r12, qword [rsp + 0x178]
cmp rbx, r12
je 0x40caa4
nop dword [rax]
mov rcx, qword [r12]
lea rax, [r12 + 0x10]
cmp rcx, rax
je 0x40ca93
call sym.operator_delete_void_
add r12, 0x20
cmp rbx, r12
jne 0x40ca80
mov r12, qword [rsp + 0x178]
test r12, r12
je 0x40c7a3
mov rcx, r12
call sym.operator_delete_void_
jmp 0x40c7a3
mov rdx, qword [rax + 0x30]
mov rcx, qword [rsp + 0x40]
call sym.mdb_cursor_renew
mov dword [rsp + 0x28], eax
test eax, eax
jne 0x40ccf3
mov rcx, r15
call method.boost::detail.get_tss_data_void_const_
jmp 0x40c831
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
mov rdx, qword [rax + 0x28]
call sym.mdb_cursor_renew
mov r13d, eax
test eax, eax
jne 0x40cc41
mov rcx, r15
call method.boost::detail.get_tss_data_void_const_
jmp 0x40c87e
mov rax, qword [r13 + 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 0x40c8be
lea r14, [rbx + 0x40]
mov rdx, rcx
mov rcx, r14
call method.el::base::MessageBuilder.operator___char_const_
cmp byte [rbx + 0x38], 0
je 0x40cb64
lea rdx, str._not_found_in_db
mov rcx, r14
call method.el::base::MessageBuilder.operator___char_const_
mov rcx, qword [rsp + 0x100]
jmp 0x40ca42
lea rcx, [rax + 0x40]
lea rdx, str.transaction_with_hash
call method.el::base::MessageBuilder.operator___char_const_
jmp 0x40ca08
mov rax, qword [rsp + 0x1e8]
lea rdx, [rsp + 0x30]
lea rbx, [rsp + 0xa0]
mov qword [rsp + 0x38], 0x20
mov rcx, rbx
mov qword [rsp + 0x30], rax
call method.epee::to_hex.string_abi:cxx11__epee::span_unsigned_char_const__
lea r14, [rsp + 0x80]
lea rdx, str.DB_error_attempting_to_fetch_transaction_index_from_hash
mov rcx, r14
call fcn.00404f40
lea r15, [rsp + 0xc0]
mov r8, rbx
mov rdx, r14
mov rcx, r15
call sym.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_____std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____
lea r14, [rsp + 0xe0]
lea r8, [0x0086a811]
mov rdx, r15
mov rcx, 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_____char_const_
mov ecx, r13d
call sym.mdb_strerror
mov r8, rax
lea rcx, [rsp + 0x100]
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 + 0x100]
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 + 0x120], rsi
call sym.void__anonymous_namespace_::throw0_cryptonote::DB_ERROR__cryptonote::DB_ERROR_const___clone_constprop0_
lea r14, [rsp + 0xe0]
lea rdx, str.Failed_to_renew_cursor:
mov rcx, r14
call fcn.00404f40
mov ecx, r13d
call sym.mdb_strerror
mov r8, rax
lea rcx, [rsp + 0x100]
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 + 0x100]
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 + 0x120], rsi
call sym.void__anonymous_namespace_::throw0_cryptonote::DB_ERROR__cryptonote::DB_ERROR_const___clone_constprop0_
lea r14, [rsp + 0xe0]
lea rdx, str.Failed_to_open_cursor:
mov rcx, r14
call fcn.00404f40
mov ecx, r15d
call sym.mdb_strerror
mov r8, rax
lea rcx, [rsp + 0x100]
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 + 0x100]
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 + 0x120], rsi
call sym.void__anonymous_namespace_::throw0_cryptonote::DB_ERROR__cryptonote::DB_ERROR_const___clone_constprop0_
lea r14, [rsp + 0xe0]
lea rdx, str.Failed_to_renew_cursor:
mov rcx, r14
call fcn.00404f40
mov ecx, dword [rsp + 0x28]
call sym.mdb_strerror
mov r8, rax
lea rcx, [rsp + 0x100]
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 + 0x100]
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 + 0x120], rsi
call sym.void__anonymous_namespace_::throw0_cryptonote::DB_ERROR__cryptonote::DB_ERROR_const___clone_constprop0_
lea r14, [rsp + 0xe0]
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 + 0x100]
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 + 0x100]
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 + 0x120], rsi
call sym.void__anonymous_namespace_::throw0_cryptonote::DB_ERROR__cryptonote::DB_ERROR_const___clone_constprop0_
mov rcx, qword [rsp + 0x100]
mov rbx, rax
lea rax, [rsp + 0x110]
cmp rcx, rax
je 0x40cdc3
call sym.operator_delete_void_
mov rcx, r12
mov qword [rsp + 0x120], rsi
mov r12, rbx
call method.el::base::Writer.processDispatch__
lea rcx, [rsp + 0x178]
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__
cmp byte [rsp + 0x71], 0
je 0x40cdf4
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 + 0x120], rsi
call sym.cryptonote::DB_EXCEPTION::DB_EXCEPTION__
mov r12, rbx
mov rcx, qword [rsp + 0x100]
lea rax, [rsp + 0x110]
cmp rcx, rax
je 0x40ce2c
call sym.operator_delete_void_
mov rcx, qword [rsp + 0xe0]
lea rax, [rsp + 0xf0]
cmp rcx, rax
je 0x40cde3
call sym.operator_delete_void_
jmp 0x40cde3