Function at 0x1400047f0
Capabilities:
Create thread
Encode data using xor
Generate random numbers using a mersenne twister
Get memory capacity
Get system information on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x2c0]
sub rsp, 0x3c0
mov rax, qword [0x14012d040]
xor rax, rsp
mov qword [rbp + 0x2b0], rax
xor esi, esi
mov r14d, esi
mov dword [rsp + 0x54], esi
lea ebx, [rsi + 3]
nop dword [rax]
nop dword [rax + rax]
lea rdx, [0x1401271d1]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140007780
mov rcx, rax
lea rdx, [0x140007950]
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]
sub rbx, 1
jne 0x140004840
lea rdx, str.________________________________________DEMON_STORM______________
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140007780
mov rcx, rax
lea rdx, [0x140007950]
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 ebx, 2
lea rdx, [0x1401271d1]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140007780
mov rcx, rax
lea rdx, [0x140007950]
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]
sub rbx, 1
jne 0x140004891
lea rdx, str.For_Generate_test_case_enter_1_else_with_your_own_address.txt_press_2:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140007780
lea rdx, [rsp + 0x50]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
call fcn.1400079b0
lea rbx, [0x140000000]
lea rdi, vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov r15d, 1
cmp byte [rsp + 0x50], 0x31
jne 0x140004dfc
lea rdx, str.Number_of_test_cases_needed:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140007780
lea rdx, [rsp + 0x68]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_istream_char__struct_std::char_traits_char__::operator___int____ptr64____ptr64]
xor edx, edx
mov r8d, 0x108
lea rcx, [rbp + 0x140]
call sub.VCRUNTIME140.dll_memset
lea rax, [rbx + 0x127738]
mov qword [rbp + 0x140], rax
lea rcx, [rbp + 0x1e8]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::constructor_void____ptr64]
nop
mov r14d, 0x20
mov dword [rsp + 0x54], r14d
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp + 0x148]
lea rcx, [rbp + 0x140]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char______ptr64__bool____ptr64]
nop
mov rax, qword [rbp + 0x140]
movsxd rcx, dword [rax + 4]
lea r13, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0x140], r13
mov rax, qword [rbp + 0x140]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx + 0x13c], edx
lea rcx, [rbp + 0x148]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void____ptr64]
mov qword [rbp + 0x148], rdi
mov byte [rbp + 0x1c4], 0
mov byte [rbp + 0x1b9], 0
lea rcx, [rbp + 0x148]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Init_void____ptr64]
mov qword [rbp + 0x1c8], rsi
mov rax, qword [0x14012dcc8]
mov qword [rbp + 0x1bc], rax
mov qword [rbp + 0x1b0], rsi
lea r8d, [r15 + 1]
lea rcx, [rbp + 0x148]
call fcn.140007480
test rax, rax
jne 0x140004a2d
mov rax, qword [rbp + 0x140]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0x140]
add rcx, rax
xor r8d, r8d
lea edx, [r15 + 1]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
nop
cmp qword [rbp + 0x1c8], 0
je 0x140004fef
lea rdx, str.Generating_addresses_and_saving_in_address.txt
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140007780
mov rcx, rax
lea rdx, [0x140007950]
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 ebx, esi
movabs r12, 0xd6bf94d5e57a42bd
cmp dword [rsp + 0x68], esi
jle 0x140004bc5
mov esi, 4
mov rax, qword gs:[0x58]
add rsi, qword [rax]
lea r14, [0x14012dce0]
nop dword [rax]
call qword [sym.imp.MSVCP140.dll__Xtime_get_ticks]
mov rcx, rax
mov rax, r12
imul rcx
add rdx, rcx
sar rdx, 0x17
mov rax, rdx
shr rax, 0x3f
add rdx, rax
imul rdi, rdx, 0x3e8
mov eax, dword [rsi]
cmp dword [0x14012dcd0], eax
jle 0x140004b26
lea rcx, [0x14012dcd0]
call fcn.140013d88
cmp dword [0x14012dcd0], 0xffffffff
jne 0x140004b26
call qword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov dword [0x14012f064], 0xffffffff
mov dword [0x14012dce4], eax
mov rdx, r15
nop
mov ecx, eax
shr ecx, 0x1e
xor ecx, eax
imul eax, ecx, 0x6c078965
add eax, edx
mov dword [r14 + rdx*4 + 4], eax
inc rdx
cmp rdx, 0x270
jb 0x140004af0
mov dword [0x14012dce0], 0x270
lea rcx, [0x14012dcd0]
call fcn.140013d1c
mov rcx, r14
call fcn.140008f00
mov r8d, eax
shl r8, 0x1f
shr r8, 0x20
mov rdx, rdi
lea rcx, [rbp - 0x38]
call fcn.140003c60
nop
lea rdx, [rbp - 0x38]
cmp qword [rbp - 0x20], 0xf
cmova rdx, qword [rbp - 0x38]
mov r8, qword [rbp - 0x28]
lea rcx, [rbp + 0x140]
call fcn.1400087a0
mov rcx, rax
lea rdx, [0x140007950]
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
mov rdx, qword [rbp - 0x20]
cmp rdx, 0xf
jbe 0x140004bb0
inc rdx
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004bab
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140004d37
call fcn.140013a6c
inc ebx
cmp ebx, dword [rsp + 0x68]
jl 0x140004a90
xor esi, esi
lea rdi, vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
lea rcx, [rbp + 0x148]
call fcn.1400073c0
test rax, rax
jne 0x140004bf8
mov rax, qword [rbp + 0x140]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0x140]
add rcx, rax
xor r8d, r8d
lea edx, [r8 + 2]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
lea rdx, str.Addresses_saved_in_address.txt
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140007780
mov rcx, rax
lea rdx, [0x140007950]
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]
call qword [sym.imp.MSVCP140.dll__Xtime_get_ticks]
mov rcx, rax
mov rax, r12
imul rcx
add rdx, rcx
sar rdx, 0x17
mov rax, rdx
shr rax, 0x3f
add rdx, rax
mov qword [rsp + 0x70], rdx
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x38], xmm0
movups xmmword [rbp - 0x28], xmm0
mov dword [rbp - 0x18], eax
lea rdx, [rsp + 0x70]
lea rcx, [rbp - 0x38]
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__localtime64_s]
lea r9, [rbp - 0x38]
lea r8, str._Y__m__d__H:_M:_S
mov edx, 0x14
lea rcx, [rbp + 0x290]
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll_strftime]
xorps xmm0, xmm0
movups xmmword [rbp - 0x58], xmm0
mov qword [rbp - 0x48], rsi
mov qword [rbp - 0x40], rsi
lea rax, [rbp + 0x290]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x140004ca0
lea rdx, [rbp + 0x290]
lea rcx, [rbp - 0x58]
call fcn.140001a80
mov r14d, 0x28
lea rdx, str.addresses_generated_approximately_at_:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140007780
lea rdx, [rbp - 0x58]
cmp qword [rbp - 0x40], 0xf
cmova rdx, qword [rbp - 0x58]
mov r8, qword [rbp - 0x48]
mov rcx, rax
call fcn.1400087a0
mov rcx, rax
lea rdx, [0x140007950]
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
mov rdx, qword [rbp - 0x40]
cmp rdx, 0xf
jbe 0x140004d43
inc rdx
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004d3e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140004d3e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140013a6c
lea rbx, [0x140000000]
mov rax, qword [rbp + 0x140]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx + 0x140], r13
mov rax, qword [rbp + 0x140]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx + 0x13c], edx
mov qword [rbp + 0x148], rdi
cmp qword [rbp + 0x1c8], 0
je 0x140004dbf
mov rax, qword [rbp + 0x160]
lea rcx, [rbp + 0x1b8]
cmp qword [rax], rcx
jne 0x140004dbf
mov rdx, qword [rbp + 0x1d8]
mov rcx, qword [rbp + 0x1d0]
mov qword [rax], rcx
mov rax, qword [rbp + 0x180]
mov qword [rax], rcx
sub edx, ecx
mov rax, qword [rbp + 0x198]
mov dword [rax], edx
cmp byte [rbp + 0x1c4], 0
je 0x140004dd4
lea rcx, [rbp + 0x148]
call fcn.1400073c0
lea rcx, [rbp + 0x148]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
lea rcx, [rbp + 0x150]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0x1e8]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
xor edx, edx
mov r8d, 0x110
lea rcx, [rbp + 0x30]
call sub.VCRUNTIME140.dll_memset
lea rax, [rbx + 0x1277d0]
mov qword [rbp + 0x30], rax
lea rcx, [rbp + 0xe0]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::constructor_void____ptr64]
nop
or r14d, 4
mov dword [rsp + 0x54], r14d
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp + 0x40]
lea rcx, [rbp + 0x30]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_istream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char______ptr64__bool____ptr64]
nop
mov rax, qword [rbp + 0x30]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0x30], rax
mov rax, qword [rbp + 0x30]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx + 0x2c], edx
lea rcx, [rbp + 0x40]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void____ptr64]
mov qword [rbp + 0x40], rdi
mov byte [rbp + 0xbc], 0
mov byte [rbp + 0xb1], 0
lea rcx, [rbp + 0x40]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Init_void____ptr64]
mov qword [rbp + 0xc0], rsi
mov rax, qword [0x14012dcc8]
mov qword [rbp + 0xb4], rax
mov qword [rbp + 0xa8], rsi
mov r8d, r15d
lea rcx, [rbp + 0x40]
call fcn.140007480
test rax, rax
jne 0x140004eda
mov rax, qword [rbp + 0x30]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0x30]
add rcx, rax
xor r8d, r8d
lea edx, [r8 + 2]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
nop
lea rdx, str.Enter_the_number_of_bits_for_random_state_entropy_n_like_25:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140007780
lea rdx, [rbp - 0x10]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_istream_char__struct_std::char_traits_char__::operator___int____ptr64____ptr64]
mov ecx, dword [rbp - 0x10]
mov r13, r15
shl r13, cl
call qword [sym.imp.MSVCP140.dll__Thrd_hardware_concurrency]
mov r12d, eax
shr r12d, 1
mov dword [rsp + 0x68], r12d
mov dword [rsp + 0x58], r12d
xorps xmm0, xmm0
movups xmmword [rbp - 0x58], xmm0
mov qword [rbp - 0x48], rsi
mov qword [rbp - 0x40], 0xf
mov byte [rbp - 0x58], 0
lea rdx, str.Enter_the_start_time__like_format_2014_03_16_23:48:51_:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140007780
movabs rdi, 0x7fffffffffffffff
mov r8d, 0xa
mov rdx, rdi
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_istream_char__struct_std::char_traits_char__::ignore_long_long___int64___int____ptr64]
mov rbx, qword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
mov rax, qword [rbx]
movsxd rcx, dword [rax + 4]
add rcx, rbx
mov dl, 0xa
call qword [sym.imp.MSVCP140.dll_public:_char___cdecl_std::basic_ios_char__struct_std::char_traits_char__::widen_char_const___ptr64]
movzx r8d, al
lea rdx, [rbp - 0x58]
mov rcx, rbx
call fcn.140008960
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
mov qword [rbp - 0x80], rsi
mov qword [rbp - 0x78], rsi
lea r15, [rbp - 0x58]
cmp qword [rbp - 0x40], 0xf
seta byte [rsp + 0x51]
cmova r15, qword [rbp - 0x58]
mov rsi, qword [rbp - 0x48]
cmp rsi, rdi
ja 0x1400059ae
movabs rax, 0x8000000000000000
mov ecx, 0x16
cmp rsi, 0xf
ja 0x140005017
mov qword [rbp - 0x80], rsi
mov qword [rbp - 0x78], 0xf
movups xmm0, xmmword [r15]
movups xmmword [rsp + 0x70], xmm0
jmp 0x14000509c
lea rdx, str.Error:_Unable_to_open_file_
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140007780
mov rcx, rax
lea rdx, [0x140007950]
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]
jmp 0x140004d4a
mov rbx, rsi
or rbx, 0xf
cmp rbx, rdi
jbe 0x140005048
mov rbx, rdi
add rax, 0x27
mov rcx, rax
call fcn.140013a30
mov rcx, rax
test rax, rax
je 0x14000506b
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x140005080
cmp rbx, rcx
cmovb rbx, rcx
lea rcx, [rbx + 1]
cmp rcx, 0x1000
jb 0x140005072
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x1400059a2
jmp 0x14000502a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
test rcx, rcx
je 0x14000507e
call fcn.140013a30
jmp 0x140005080
xor eax, eax
mov qword [rsp + 0x70], rax
mov qword [rbp - 0x80], rsi
mov qword [rbp - 0x78], rbx
lea r8, [rsi + 1]
mov rdx, r15
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
lea rcx, [rsp + 0x70]
call fcn.140009150
mov r15, rax
mov qword [rsp + 0x70], rax
lea rdx, str.Enter_the_end_time_like_format_2014_03_16_23:48:51_:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140007780
xorps xmm0, xmm0
movups xmmword [rbp + 0x10], xmm0
mov qword [rbp + 0x20], 0
mov qword [rbp + 0x28], 0xf
mov byte [rbp + 0x10], 0
mov rbx, qword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
mov rcx, qword [rbx]
movsxd rcx, dword [rcx + 4]
add rcx, rbx
mov dl, 0xa
call qword [sym.imp.MSVCP140.dll_public:_char___cdecl_std::basic_ios_char__struct_std::char_traits_char__::widen_char_const___ptr64]
movzx r8d, al
lea rdx, [rbp + 0x10]
mov rcx, rbx
call fcn.140008960
xorps xmm0, xmm0
movups xmmword [rbp + 0x290], xmm0
xor edx, edx
mov qword [rbp + 0x2a0], rdx
mov qword [rbp + 0x2a8], rdx
lea rsi, [rbp + 0x10]
cmp qword [rbp + 0x28], 0xf
seta byte [rsp + 0x50]
cmova rsi, qword [rbp + 0x10]
mov rbx, qword [rbp + 0x20]
cmp rbx, rdi
ja 0x14000599c
cmp rbx, 0xf
ja 0x140005166
mov qword [rbp + 0x2a0], rbx
mov qword [rbp + 0x2a8], 0xf
movups xmm0, xmmword [rsi]
movups xmmword [rbp + 0x290], xmm0
jmp 0x140005204
mov rax, rbx
or rax, 0xf
cmp rax, rdi
jbe 0x14000519e
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.140013a30
mov rcx, rax
test rax, rax
je 0x1400051ca
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x1400051e0
cmp rax, 0x16
mov ecx, 0x16
cmovb rax, rcx
mov rdi, rax
lea rcx, [rax + 1]
cmp rcx, 0x1000
jb 0x1400051d1
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x1400059a8
jmp 0x140005180
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
test rcx, rcx
je 0x1400051dd
call fcn.140013a30
jmp 0x1400051e0
mov rax, rdx
mov qword [rbp + 0x290], rax
mov qword [rbp + 0x2a0], rbx
mov qword [rbp + 0x2a8], rdi
lea r8, [rbx + 1]
mov rdx, rsi
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
lea rcx, [rbp + 0x290]
call fcn.140009150
mov qword [rsp + 0x60], rax
mov rcx, rax
sub rcx, r15
inc rcx
imul rcx, r13
mov qword [0x14012dc00], rcx
call qword [sym.imp.MSVCP140.dll__Query_perf_frequency]
call qword [sym.imp.MSVCP140.dll__Query_perf_counter]
cmp qword [rbp + 0xc0], 0
jne 0x14000526c
lea rdx, str.Failed_to_open_the_file.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140007780
mov rcx, rax
lea rdx, [0x140007950]
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 ebx, 1
jmp 0x140005839
xorps xmm0, xmm0
movups xmmword [rbp - 0x38], xmm0
xor esi, esi
mov qword [rbp - 0x28], rsi
mov qword [rbp - 0x20], 0xf
mov byte [rbp - 0x38], sil
mov ebx, esi
mov rax, qword [rbp + 0x30]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0x30]
add rcx, rax
mov dl, 0xa
call qword [sym.imp.MSVCP140.dll_public:_char___cdecl_std::basic_ios_char__struct_std::char_traits_char__::widen_char_const___ptr64]
movzx r8d, al
lea rdx, [rbp - 0x38]
lea rcx, [rbp + 0x30]
call fcn.140008960
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_bool___cdecl_std::ios_base::operator_bool_void_const___ptr64]
test al, al
je 0x14000531e
nop dword [rax]
nop word [rax + rax]
lea r8, [rbp - 0x38]
lea rdx, [rbp + 0x290]
call fcn.140007c20
inc ebx
mov rax, qword [rbp + 0x30]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0x30]
add rcx, rax
mov dl, 0xa
call qword [sym.imp.MSVCP140.dll_public:_char___cdecl_std::basic_ios_char__struct_std::char_traits_char__::widen_char_const___ptr64]
movzx r8d, al
lea rdx, [rbp - 0x38]
lea rcx, [rbp + 0x30]
call fcn.140008960
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_bool___cdecl_std::ios_base::operator_bool_void_const___ptr64]
test al, al
jne 0x1400052d0
lea rdx, str.number_of_addresses_in_address.txt_:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140007780
mov rcx, rax
mov edx, ebx
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___int____ptr64]
mov rcx, rax
lea rdx, [0x140007950]
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]
lea rcx, [rbp + 0x250]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
or r14d, 0x10
movzx ecx, word [rbp + 0x250]
test ecx, ecx
je 0x1400053da
sub ecx, 5
je 0x1400053d1
sub ecx, 1
xorps xmm0, xmm0
mov qword [rbp + 0x2a0], rsi
mov qword [rbp + 0x2a8], rsi
movups xmmword [rbp + 0x290], xmm0
je 0x1400053c2
sub ecx, 3
je 0x1400053b9
cmp ecx, 3
lea rcx, [rbp + 0x290]
je 0x1400053aa
mov r8d, 7
lea rdx, str.Unknown
jmp 0x140005406
mov r8d, 5
lea rdx, str.ARM64
jmp 0x140005406
lea rdx, [0x14012718c]
jmp 0x1400053f9
mov r8d, 0xd
lea rdx, str.Itanium_based
jmp 0x1400053ff
lea rdx, [0x140127190]
jmp 0x1400053e1
lea rdx, [0x1401271b0]
xorps xmm0, xmm0
mov qword [rbp + 0x2a8], rsi
mov qword [rbp + 0x2a0], rsi
movups xmmword [rbp + 0x290], xmm0
mov r8d, 3
lea rcx, [rbp + 0x290]
call fcn.140001a80
nop
lea rdx, str.Detected_Cpu__:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140007780
lea rdx, [rbp + 0x290]
cmp qword [rbp + 0x2a8], 0xf
cmova rdx, qword [rbp + 0x290]
mov r8, qword [rbp + 0x2a0]
mov rcx, rax
call fcn.1400087a0
mov rcx, rax
lea rdx, [0x140007950]
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
mov rdx, qword [rbp + 0x2a8]
cmp rdx, 0xf
jbe 0x14000549a
inc rdx
mov rcx, qword [rbp + 0x290]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005495
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140005495
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140013a6c
mov dword [rbp + 0x250], 0x40
lea rcx, [rbp + 0x250]
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov rbx, qword [rbp + 0x258]
shr rbx, 0x14
lea rdx, str.Detected_Ram_size_in_MB_:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140007780
mov rcx, rax
mov rdx, rbx
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___long_long___int64_____ptr64]
mov rcx, rax
lea rdx, [0x140007950]
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]
lea rdx, str.There_are
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140007780
mov rcx, rax
mov edx, r12d
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___unsigned_int____ptr64]
mov rcx, rax
lea rdx, str._available_in_cpu
call fcn.140007780
mov rcx, rax
lea rdx, [0x140007950]
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]
lea rdx, str.__________________STARTED_WALLET__MINING___________________
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140007780
mov rcx, rax
lea rdx, [0x140007950]
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]
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x70], xmm1
mov r8, rsi
mov qword [rbp - 0x60], rsi
mov r15d, esi
mov dword [rsp + 0x54], esi
test r12d, r12d
je 0x14000569f
mov ecx, r12d
mov rax, r13
cqo
idiv rcx
mov r13, rax
mov edi, esi
mov ecx, esi
mov rbx, qword [rbp - 0x68]
nop dword [rax]
nop word [rax + rax]
imul edi, r13d
mov r12d, edi
mov dword [rbp + 0x290], edi
lea edi, [rcx + 1]
mov esi, r13d
imul esi, edi
mov dword [rsp + 0x5c], esi
cmp rbx, r8
je 0x14000562d
mov ecx, 0x28
call fcn.140013a30
mov ecx, dword [rsp + 0x68]
mov dword [rax], ecx
mov dword [rax + 4], r15d
mov dword [rax + 8], esi
mov dword [rax + 0xc], r12d
mov rcx, qword [rsp + 0x60]
mov qword [rax + 0x10], rcx
mov rcx, qword [rsp + 0x70]
mov qword [rax + 0x18], rcx
lea rcx, [0x140003550]
mov qword [rax + 0x20], rcx
or r14d, 2
mov qword [rbp + 0x290], rax
lea rsi, [rbx + 8]
mov qword [rsp + 0x28], rsi
xor r15d, r15d
mov dword [rsp + 0x20], r15d
mov r9, rax
lea r8, [0x1400090e0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbx], rax
test rax, rax
je 0x14000568e
mov rbx, qword [rbp - 0x68]
add rbx, 0x10
mov qword [rbp - 0x68], rbx
jmp 0x140005676
lea rax, [rsp + 0x58]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x54]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x5c]
mov qword [rsp + 0x30], rax
lea rax, [rbp + 0x290]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x70]
mov rdx, rbx
lea rcx, [rbp - 0x70]
call fcn.140008b00
mov rbx, qword [rbp - 0x68]
mov r15d, edi
mov dword [rsp + 0x54], edi
mov ecx, edi
cmp edi, dword [rsp + 0x68]
jae 0x14000569d
mov r8, qword [rbp - 0x60]
jmp 0x140005590
mov dword [rsi], r15d
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
xor esi, esi
mov ecx, 8
call fcn.140013a30
lea rcx, [0x1400042a0]
mov qword [rax], rcx
mov qword [rsp + 0x70], rax
lea rcx, [rbp + 8]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], esi
mov r9, rax
lea r8, [0x140009090]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp], rax
test rax, rax
je 0x14000598d
mov rbx, qword [rbp - 0x70]
mov rdi, qword [rbp - 0x68]
cmp rbx, rdi
je 0x14000572c
cmp dword [rbx + 8], 0
je 0x140005732
call qword [sym.imp.MSVCP140.dll__Thrd_id]
cmp dword [rbx + 8], eax
je 0x140005749
movups xmm0, xmmword [rbx]
movaps xmmword [rsp + 0x70], xmm0
xor edx, edx
lea rcx, [rsp + 0x70]
call qword [sym.imp.MSVCP140.dll__Thrd_join]
test eax, eax
jne 0x140005770
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
add rbx, 0x10
cmp rbx, rdi
jne 0x1400056f3
cmp dword [rbp + 8], 0
jne 0x14000573e
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
call qword [sym.imp.MSVCP140.dll__Thrd_id]
cmp dword [rbp + 8], eax
jne 0x140005755
mov ecx, 5
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
movaps xmm0, xmmword [rbp]
movdqa xmmword [rsp + 0x70], xmm0
xor edx, edx
lea rcx, [rsp + 0x70]
call qword [sym.imp.MSVCP140.dll__Thrd_join]
test eax, eax
je 0x14000577c
mov ecx, 2
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
xorps xmm0, xmm0
movdqa xmmword [rbp], xmm0
mov ebx, esi
mov rcx, qword [rbp - 0x70]
test rcx, rcx
je 0x1400057fa
mov rax, rcx
mov rdx, qword [rbp - 0x68]
cmp rcx, rdx
je 0x1400057af
nop dword [rax + rax]
cmp dword [rax + 8], 0
jne 0x1400057e2
add rax, 0x10
cmp rax, rdx
jne 0x1400057a0
mov rdx, qword [rbp - 0x60]
sub rdx, rcx
and rdx, 0xfffffffffffffff0
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400057e9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400057e9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
int3
call fcn.140013a6c
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x70], xmm0
mov qword [rbp - 0x60], rsi
mov rdx, qword [rbp - 0x20]
cmp rdx, 0xf
jbe 0x140005839
inc rdx
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005833
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140005833
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140013a6c
nop
cmp byte [rsp + 0x50], 0
je 0x140005879
mov rdx, qword [rbp + 0x28]
inc rdx
mov rcx, qword [rbp + 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005873
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140005873
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140013a6c
nop
cmp byte [rsp + 0x51], 0
je 0x1400058b9
mov rdx, qword [rbp - 0x40]
inc rdx
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400058b3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400058b3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140013a6c
nop
mov rax, qword [rbp + 0x30]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0x30], rax
mov rax, qword [rbp + 0x30]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx + 0x2c], edx
lea rax, vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov qword [rbp + 0x40], rax
cmp qword [rbp + 0xc0], 0
je 0x140005927
mov rax, qword [rbp + 0x58]
lea rcx, [rbp + 0xb0]
cmp qword [rax], rcx
jne 0x140005927
mov rdx, qword [rbp + 0xd0]
mov rcx, qword [rbp + 0xc8]
mov qword [rax], rcx
mov rax, qword [rbp + 0x78]
mov qword [rax], rcx
sub edx, ecx
mov rax, qword [rbp + 0x90]
mov dword [rax], edx
cmp byte [rbp + 0xbc], 0
je 0x140005939
lea rcx, [rbp + 0x40]
call fcn.1400073c0
lea rcx, [rbp + 0x40]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
lea rcx, [rbp + 0x48]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_istream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0xe0]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
mov eax, ebx
mov rcx, qword [rbp + 0x2b0]
xor rcx, rsp
call fcn.140013a10
lea r11, [rsp + 0x3c0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
mov dword [rbp + 8], esi
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
call fcn.140001550
nop
call fcn.1400011f0
nop
call fcn.1400011f0
nop
call fcn.140001550
int3