Function at 0x72a140
Capabilities:
Get file size
Read file on windows

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x148
xor r11d, r11d
mov r9, qword [rdx + 8]
lea rbp, [rsp + 0x60]
mov byte [rsp + 0x60], 0
mov r13, rcx
mov rbx, rdx
lea rsi, [rsp + 0x80]
mov qword [rsp + 0x50], rbp
mov qword [rsp + 0x58], 0
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x78], 0
mov word [rsp + 0x80], r11w
test r9, r9
jne 0x72a2f0
lea rbx, [rsp + 0xe0]
xor r10d, r10d
mov rcx, rsi
mov qword [rsp + 0xd0], rbx
mov word [rsp + 0xe0], r10w
xor r8d, r8d
mov qword [rsp + 0x78], r9
mov word [rcx + r9*2], r8w
mov rcx, qword [rsp + 0xd0]
mov qword [rsp + 0xd8], 0
xor edx, edx
mov word [rcx], dx
mov rcx, qword [rsp + 0xd0]
cmp rcx, rbx
je 0x72a1f7
call sym.operator_delete_void_
mov rcx, qword [rsp + 0x70]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x80000000
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], pe_nt_image_headers64
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov r12, rax
cmp rax, 0xffffffffffffffff
je 0x72a24c
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
cmp eax, 0x3b9aca00
jbe 0x72a288
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x70]
cmp rcx, rsi
je 0x72a25b
call sym.operator_delete_void_
xor r12d, r12d
mov rcx, qword [rsp + 0x50]
cmp rcx, rbp
je 0x72a26d
call sym.operator_delete_void_
mov eax, r12d
add rsp, 0x148
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
lea r14, [rsp + 0x50]
mov edx, eax
xor r8d, r8d
mov rcx, r14
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___.resize_unsigned_long_long__char_
lea r15, [rsp + 0xd0]
mov rdx, qword [rsp + 0x50]
mov r8d, edi
mov rcx, r12
mov qword [rsp + 0x20], 0
mov r9, r15
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [rsp + 0x4c], eax
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x70]
cmp edi, dword [rsp + 0xd0]
je 0x72a430
cmp rcx, rsi
jne 0x72a256
jmp 0x72a25b
mov dword [rsp + 0x28], 0
mov r14, qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, 0xfde9
mov qword [rsp + 0x20], 0
mov r8, qword [rdx]
xor edx, edx
call r14
mov r12d, eax
test eax, eax
je 0x72a6fc
lea rdi, [rsp + 0xa0]
lea rcx, [rsp + 0x90]
movsxd rdx, eax
xor r8d, r8d
mov qword [rsp + 0x90], rdi
call method.std::__cxx11::basic_string_wchar_t__std::char_traits_wchar_t___std::allocator_wchar_t___._M_construct_unsigned_long_long__wchar_t_
mov rax, qword [rsp + 0x90]
mov dword [rsp + 0x28], r12d
xor edx, edx
mov ecx, 0xfde9
mov qword [rsp + 0x20], rax
mov r9d, dword [rbx + 8]
mov r8, qword [rbx]
call r14
test eax, eax
je 0x72a7ba
mov rax, qword [rsp + 0x90]
lea rbx, [rsp + 0xe0]
mov qword [rsp + 0xd0], rbx
cmp rax, rdi
je 0x72a550
mov rdx, qword [rsp + 0xa0]
mov r9, qword [rsp + 0x98]
mov qword [rsp + 0xd0], rax
mov rcx, qword [rsp + 0x70]
mov qword [rsp + 0xe0], rdx
mov qword [rsp + 0xd8], r9
cmp rax, rbx
je 0x72a576
cmp rcx, rsi
je 0x72a400
mov r8, qword [rsp + 0x80]
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], r9
mov qword [rsp + 0x80], rdx
test rcx, rcx
je 0x72a412
mov qword [rsp + 0xd0], rcx
mov qword [rsp + 0xe0], r8
jmp 0x72a1d4
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], r9
mov qword [rsp + 0x80], rdx
mov qword [rsp + 0xd0], rbx
lea rbx, [rsp + 0xe0]
mov rcx, rbx
jmp 0x72a1d4
cmp rcx, rsi
jne 0x72a668
mov eax, dword [rsp + 0x4c]
test eax, eax
je 0x72a25b
lea rdi, [rsp + 0xa0]
lea rsi, method.epee::serialization::portable_storage.portable_storage__
mov rdx, r14
mov dword [rsp + 0xa0], 0
lea rcx, [rsp + 0x90]
mov qword [rsp + 0x90], rsi
mov qword [rsp + 0xa8], 0
mov qword [rsp + 0xb0], rdi
mov qword [rsp + 0xb8], rdi
mov qword [rsp + 0xc0], 0
call method.epee::serialization::portable_storage.load_from_json_std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____const_
mov r12d, eax
lea r14, [rsp + 0x98]
test al, al
je 0x72a532
lea r8, [0x00898db2]
xor r9d, r9d
mov rcx, r15
mov qword [rsp + 0xd0], rbx
lea rdx, [r8 - 0x1b]
call method.void_std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___._M_construct_char_const__char_const__char_const__std::forward_iterator_tag_
lea r14, [rsp + 0x98]
mov rdx, r15
mov rcx, r14
call fcn.008314c0
cmp rax, rdi
je 0x72a520
mov edx, dword [rax + 0x40]
lea r8, [rax + 0x48]
mov ecx, edx
sar ecx, 0x1f
xor edx, ecx
cmp edx, 0x13
ja case.default.0x72a50d
lea rcx, [0x0089ac34]
movsxd rdx, dword [rcx + rdx*4]
add rdx, rcx
jmp rdx
mov rdx, r13
mov rcx, r8
call method.void_epee::serialization.convert_int_to_uint_signed_char__unsigned_long_long__signed_char_const__unsigned_long_long_
nop word [rax + rax]
mov rcx, qword [rsp + 0xd0]
cmp rcx, rbx
je 0x72a532
call sym.operator_delete_void_
mov rdx, qword [rsp + 0xa8]
mov rcx, r14
mov qword [rsp + 0x90], rsi
call fcn.00831ac0
jmp 0x72a25e
mov r9, qword [rsp + 0x98]
mov rcx, qword [rsp + 0x70]
movdqu xmm0, xmmword [rsp + 0xa0]
mov qword [rsp + 0xd8], r9
movups xmmword [rsp + 0xe0], xmm0
test r9, r9
je 0x72a1bf
cmp r9, 1
je 0x72a5a8
lea r8, [r9 + r9]
mov rdx, rbx
call sym.memcpy
mov r9, qword [rsp + 0xd8]
mov rcx, qword [rsp + 0x70]
jmp 0x72a1bf
movzx eax, word [rsp + 0xe0]
mov word [rcx], ax
mov r9, qword [rsp + 0xd8]
mov rcx, qword [rsp + 0x70]
jmp 0x72a1bf
mov rdx, r13
mov rcx, r8
call method.epee::serialization::convert_to_integral_std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char_____unsigned_long_long__false_.convert_std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____const__uns
jmp 0x72a520
mov rdx, r13
mov rcx, r8
call method.void_epee::serialization.convert_int_to_uint_short__unsigned_long_long__short_const__unsigned_long_long_
jmp 0x72a520
mov rdx, r13
mov rcx, r8
call method.void_epee::serialization.convert_int_to_uint_int__unsigned_long_long__int_const__unsigned_long_long_
jmp 0x72a520
mov rdx, r13
mov rcx, r8
call method.void_epee::serialization.convert_int_to_uint_long_long__unsigned_long_long__long_long_const__unsigned_long_long_
jmp 0x72a520
movzx eax, byte [rax + 0x48]
mov qword [r13], rax
jmp 0x72a520
movzx eax, word [rax + 0x48]
mov qword [r13], rax
jmp 0x72a520
mov eax, dword [rax + 0x48]
mov qword [r13], rax
jmp 0x72a520
mov rax, qword [rax + 0x48]
mov qword [r13], rax
jmp 0x72a520
mov rdx, r13
mov rcx, r8
call method.epee::serialization::convert_to_integral_bool__unsigned_long_long__false_.convert_bool_const__unsigned_long_long_
mov rdx, r13
mov rcx, r8
call method.epee::serialization::convert_to_integral_double__unsigned_long_long__false_.convert_double_const__unsigned_long_long_
mov rdx, r13
mov rcx, r8
call fcn.00725a40
mov rdx, r13
mov rcx, r8
call method.epee::serialization::convert_to_integral_epee::serialization::section__unsigned_long_long__false_.convert_epee::serialization::section_const__unsigned_long_long_
nop dword [rax]
call sym.operator_delete_void_
jmp 0x72a439
call sym.abort
call sym.abort
mov rcx, rax
call sym.__cxa_begin_catch
call sym.__cxa_end_catch
jmp 0x72a24c
mov ecx, 0x10
call sym.__cxa_allocate_exception
mov r12, rax
call method.std::_V2.system_category__
mov r13, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9, qword [r13]
lea r15, [rsp + 0xd0]
mov r8d, eax
mov rdx, r13
mov rcx, r15
call qword [r9 + 0x20]
mov rdx, r15
mov rcx, r12
call method.std::runtime_error.runtime_error_std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____const_
mov rcx, qword [rsp + 0xd0]
lea rax, [rsp + 0xe0]
cmp rcx, rax
je 0x72a755
call sym.operator_delete_void_
lea r8, [method.std::runtime_error.runtime_error__]
lea rdx, [0x00940a10]
mov rcx, r12
call sym.__cxa_throw
mov rcx, qword [rsp + 0xd0]
mov rbx, rax
lea rax, [rsp + 0xe0]
cmp rcx, rax
je 0x72a788
call sym.operator_delete_void_
mov rcx, r12
call sym.__cxa_free_exception
mov rcx, rbx
jmp 0x72a6ed
mov ecx, 0x10
call sym.__cxa_allocate_exception
mov r12, rax
call method.std::_V2.system_category__
mov r13, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9, qword [r13]
lea r15, [rsp + 0xd0]
mov r8d, eax
mov rdx, r13
mov rcx, r15
call qword [r9 + 0x20]
mov rdx, r15
mov rcx, r12
call method.std::runtime_error.runtime_error_std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____const_
mov rcx, qword [rsp + 0xd0]
lea rax, [rsp + 0xe0]
cmp rcx, rax
je 0x72a813
call sym.operator_delete_void_
lea r8, [method.std::runtime_error.runtime_error__]
lea rdx, [0x00940a10]
mov rcx, r12
call sym.__cxa_throw
call sym.abort
call sym.abort
call sym.abort
call sym.abort
call sym.abort
call sym.abort
call sym.__cxa_begin_catch
lea rdi, method.el::base::Writer.Writer__
mov edx, 1
mov rcx, r15
mov r12, rax
lea rax, str._home_biz_blur_src_cryptonote_basic_miner.h
lea r8, str.miner
mov qword [rsp + 0xd0], rdi
mov qword [rsp + 0xe0], rax
lea rax, str.bool_cryptonote::miner::miner_config::load_t_storage__typename_t_storage::hsection___with_t_storage__epee::serialization::portable_storage__typename_t_storage::hsection__epee::serialization::section_
mov qword [rsp + 0xf0], rax
lea rax, [0x0088f90f]
mov dword [rsp + 0xd8], 0x10
mov dword [rsp + 0xe8], 0x5f
mov word [rsp + 0xf8], 0
mov qword [rsp + 0x100], 0
mov byte [rsp + 0x108], 0
mov qword [rsp + 0x110], 0
mov qword [rsp + 0x118], rax
mov dword [rsp + 0x120], 2
mov qword [rsp + 0x128], 0
mov qword [rsp + 0x130], 0
mov qword [rsp + 0x138], 0
call method.el::base::Writer.construct_int__char_const__..._
cmp byte [rax + 0x38], 0
mov rbx, rax
je 0x72a927
lea rcx, [rax + 0x40]
lea rdx, [0x0089ac14]
call method.el::base::MessageBuilder.operator___char_const_
mov rax, qword [r12]
mov rcx, r12
call qword [rax + 0x10]
cmp byte [rbx + 0x38], 0
mov rdx, rax
je 0x72a943
lea rcx, [rbx + 0x40]
call method.el::base::MessageBuilder.operator___char_const_
mov rcx, r15
mov qword [rsp + 0xd0], rdi
xor r12d, r12d
call method.el::base::Writer.processDispatch__
lea rcx, [rsp + 0x128]
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__
call sym.__cxa_end_catch
jmp 0x72a532