Function at 0x140040140
Capabilities:
Terminate process

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x90
movaps xmmword [rax - 0x38], xmm6
mov rsi, rcx
call sub.MSVCP140.dll__Xtime_get_ticks
mov rbp, rax
mov rdx, qword [rsi]
cmp byte [rdx], 0
jne 0x1400402ce
movabs r13, 0x7fffffffc46535ff
movabs r12, 0x7fffffffffffffff
movabs r14, 0x311cdad160000
movabs r15, 0x112e0be826d694b3
movsd xmm6, qword [0x1401a6548]
nop word [rax + rax]
call sub.MSVCP140.dll__Xtime_get_ticks
sub rax, rbp
cmp rax, 0xbebc200
jg 0x1400402f4
call sub.MSVCP140.dll__Query_perf_frequency
mov rbx, rax
call sub.MSVCP140.dll__Query_perf_counter
cmp rbx, 0x989680
jne 0x1400401e0
imul rax, rax, 0x64
jmp 0x1400401fe
cqo
idiv rbx
mov rcx, rax
imul rax, rdx, 0x3b9aca00
cqo
idiv rbx
imul rcx, rcx, 0x3b9aca00
add rax, rcx
cmp rax, r13
lea rdi, [rax + 0x3b9aca00]
jl 0x140040210
mov rdi, r12
nop dword [rax]
call sub.MSVCP140.dll__Query_perf_frequency
mov rbx, rax
call sub.MSVCP140.dll__Query_perf_counter
cmp rbx, 0x989680
jne 0x14004022c
imul rbx, rax, 0x64
jmp 0x14004024d
cqo
idiv rbx
mov rcx, rax
imul rax, rdx, 0x3b9aca00
cqo
idiv rbx
mov rbx, rax
imul rax, rcx, 0x3b9aca00
add rbx, rax
cmp rbx, rdi
jge 0x1400402c2
call sub.MSVCP140.dll__Xtime_get_ticks
imul rcx, rax, 0x64
mov rax, rdi
sub rax, rbx
xorps xmm0, xmm0
cvtsi2sd xmm0, rax
comisd xmm0, xmm6
seta r9b
test r9b, r9b
lea r8, [rcx + r14]
jne 0x14004027e
lea r8, [rcx + rax]
add rax, rcx
lea rdx, [rcx + r14]
test r9b, r9b
cmove rdx, rax
mov rax, r15
imul rdx
sar rdx, 0x1a
mov rax, rdx
shr rax, 0x3f
add rdx, rax
mov qword [rsp + 0x20], rdx
imul eax, edx, 0x3b9aca00
sub r8d, eax
mov dword [rsp + 0x28], r8d
lea rcx, [rsp + 0x20]
call sub.MSVCP140.dll__Thrd_sleep
jmp 0x140040210
mov rax, qword [rsi]
cmp byte [rax], 0
je 0x1400401b0
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
lea rdx, str.Wallet_took_too_long_to_save__Force_closing.
lea rcx, [rsp + 0x30]
call fcn.14003fd70
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.140008240
nop
mov rdx, rax
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140008950
lea rdx, [0x140007220]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov rcx, rax
lea rdx, str.Bye.
call fcn.140006860
lea rdx, [0x140007220]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
nop
lea rcx, [rsp + 0x50]
call fcn.140008440
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3