Function at 0x1400013e0
Capabilities:
Execute command

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 - 0x300]
sub rsp, 0x400
mov rax, qword [0x140009040]
xor rax, rsp
mov qword [rbp + 0x2f0], rax
lea rdx, str.Welcome_to__dllcrt0s_manual_mapped_module_dumper_
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140003530
mov rcx, rax
lea rdx, [0x140003700]
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.To_get_started__enter_the_process_id_of_the_target_process__hint:_you_can_find_this_in_Task_Manager__
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140003530
mov rcx, rax
lea rdx, [0x140003700]
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._____Disclaimer__:_this_is_very_bad_and_would_need_a_few_modifications_to_detect_modules_with_headers_removed_:_
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140003530
mov rcx, rax
lea rdx, [0x140003700]
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.Process_ID:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140003530
movabs r13, 0x2aaaaaaaaaaaaaab
movabs r12, 0x1000000010001
movabs r15, 0x4000000040004045
mov dword [rbp + 0x80], 0
lea rdx, [rbp + 0x80]
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___unsigned_int____ptr64____ptr64]
mov r8d, dword [rbp + 0x80]
test r8d, r8d
je 0x140001872
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
mov qword [rsp + 0x30], rax
lea rcx, str.ntdll.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, str.NtQueryVirtualMemory
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140001869
xorps xmm0, xmm0
xor ecx, ecx
movups xmmword [rbp + 0x1b0], xmm0
mov qword [rbp + 0x1c0], rcx
mov r8, rax
mov rdx, rbx
lea rcx, [rbp + 0x1b0]
call fcn.1400012c0
nop
mov r9, qword [rbp + 0x1b8]
mov rcx, r9
mov r8, qword [rbp + 0x1b0]
sub rcx, r8
mov rax, r13
imul rcx
sar rdx, 3
mov rax, rdx
shr rax, 0x3f
add rdx, rax
je 0x140001841
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x1c8], xmm1
xor esi, esi
mov qword [rsp + 0x38], rsi
mov qword [rbp + 0x1d8], rsi
xor ebx, ebx
mov rdi, qword [rbp + 0x1d0]
test rdx, rdx
je 0x140001759
nop word [rax + rax]
lea r10, [rbx + rbx*2]
shl r10, 4
add r10, r8
movups xmm3, xmmword [r10]
movups xmm2, xmmword [r10 + 0x10]
movups xmm1, xmmword [r10 + 0x20]
movdqa xmm0, xmm1
psrldq xmm0, 4
movd ecx, xmm0
lea eax, [rcx - 2]
test eax, 0xfffffff9
jne 0x1400015d9
cmp ecx, 6
je 0x1400015d9
mov cl, 1
jmp 0x1400015db
xor cl, cl
psrldq xmm1, 8
movd eax, xmm1
cmp eax, 0x20000
jne 0x14000172e
test cl, cl
je 0x14000172e
psrldq xmm2, 8
movq rax, xmm2
cmp rax, 0x1000
jne 0x14000172e
mov rcx, r9
sub rcx, r8
mov rax, r13
imul rcx
sar rdx, 3
mov r11, rdx
shr r11, 0x3f
dec r11
add r11, rdx
cmp rbx, r11
jae 0x14000172e
lea rax, [r10 + 0x30]
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x58], xmm1
movups xmm0, xmmword [rax + 0x20]
psrldq xmm0, 4
movd edx, xmm0
lea ecx, [rdx - 0x10]
cmp ecx, 0x30
ja 0x14000165b
bt r12, rcx
jb 0x140001667
cmp edx, 0x80
jne 0x14000172e
mov r10d, 0x1000
mov r9d, 1
lea rdx, [rbx + 1]
cmp rdx, r11
jae 0x1400016d1
nop dword [rax]
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x58], xmm1
movups xmm2, xmmword [rax + 0x20]
cmp dword [rax + 0x28], 0x20000
jne 0x1400016ce
psrldq xmm2, 4
movd r8d, xmm2
lea ecx, [r8 - 2]
cmp ecx, 0x3e
ja 0x1400016af
bt r15, rcx
jb 0x1400016b8
cmp r8d, 0x80
jne 0x1400016ce
add r10, qword [rsp + 0x60]
inc r9
inc rdx
add rax, 0x30
cmp rdx, r11
jb 0x140001680
jmp 0x1400016d1
add rbx, r9
movq qword [rbp + 0x88], xmm3
mov qword [rbp + 0x90], r10
cmp rdi, rsi
je 0x1400016fc
movups xmm0, xmmword [rbp + 0x88]
movups xmmword [rdi], xmm0
add rdi, 0x10
mov qword [rbp + 0x1d0], rdi
jmp 0x140001720
lea r8, [rbp + 0x88]
mov rdx, rdi
lea rcx, [rbp + 0x1c8]
call fcn.140003a30
mov rsi, qword [rbp + 0x1d8]
mov rdi, qword [rbp + 0x1d0]
mov r8, qword [rbp + 0x1b0]
mov r9, qword [rbp + 0x1b8]
inc rbx
mov rcx, r9
sub rcx, r8
mov rax, r13
imul rcx
sar rdx, 3
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp rbx, rdx
jb 0x1400015a0
mov qword [rsp + 0x38], rsi
mov r14, rdi
mov rbx, qword [rbp + 0x1c8]
mov qword [rsp + 0x40], rbx
sub r14, rbx
sar r14, 4
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
test r14, r14
jne 0x14000189a
lea rdx, str.__couldnt_find_any_unmapped_modules_in_memory__sorry_:__try_again
call fcn.140003530
mov rcx, rax
lea rdx, [0x140003700]
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
test rbx, rbx
je 0x1400017d9
sub rsi, rbx
and rsi, 0xfffffffffffffff0
mov rax, rbx
cmp rsi, 0x1000
jb 0x1400017cd
add rsi, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140001d8a
mov rdx, rsi
mov rcx, rbx
call fcn.140003e80
nop
mov r8, qword [rbp + 0x1b0]
test r8, r8
je 0x1400014b2
mov rcx, qword [rbp + 0x1c0]
mov rax, r13
sub rcx, r8
imul rcx
sar rdx, 3
mov rax, rdx
shr rax, 0x3f
add rdx, rax
lea rdx, [rdx + rdx*2]
shl rdx, 4
cmp rdx, 0x1000
mov rax, r8
jb 0x140001834
add rdx, 0x27
mov r8, qword [r8 - 8]
sub rax, r8
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140001e37
mov rcx, r8
call fcn.140003e80
jmp 0x1400014b2
lea rdx, str.__couldnt_find_any_memory_pages_in_target_process__wtf__._try_again
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140003530
mov rcx, rax
lea rdx, [0x140003700]
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 0x1400017d9
lea rdx, str.__couldnt_resolve_NtQueryVirtualMemory__wtf__._try_again
jmp 0x140001879
lea rdx, str.__couldnt_open_a_handle_to_that_process._try_again
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140003530
mov rcx, rax
lea rdx, [0x140003700]
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 0x1400014b2
lea rdx, str.____potentially_found
call fcn.140003530
mov rcx, rax
mov rdx, r14
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_long_long_unsigned___int64_____ptr64]
mov rcx, rax
lea rdx, str._unmapped_modules_
call fcn.140003530
mov rcx, rax
lea rdx, [0x140003700]
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 r12, rbx
cmp rbx, rdi
je 0x140001d5d
lea rsi, vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov rbx, qword [rsp + 0x30]
nop dword [rax]
mov r15, qword [r12 + 8]
mov qword [rsp + 0x30], r15
mov r14, qword [r12]
lea r13, [r15 + r14]
lea rdx, str.__module___0x
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140003530
mov rcx, rax
lea rdx, [0x1400012a0]
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::ios_base____ptr64____cdecl___class_std::ios_base____ptr64_____ptr64]
mov rcx, rax
mov rdx, r14
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_long_long_unsigned___int64_____ptr64]
mov rcx, rax
lea rdx, str.____0x
call fcn.140003530
mov rcx, rax
lea rdx, [0x1400012a0]
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::ios_base____ptr64____cdecl___class_std::ios_base____ptr64_____ptr64]
mov rcx, rax
mov rdx, r13
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_long_long_unsigned___int64_____ptr64]
mov rcx, rax
lea rdx, [0x140003700]
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 eax, 8
mul r15
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.140003ec4
mov r15, rax
mov qword [rbp + 0x88], 0
lea rax, [rbp + 0x88]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x30]
mov r8, r15
mov rdx, r14
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
jne 0x140001a36
lea rdx, str._t__failed_dumping_module__tried_to_read_0x
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140003530
mov rcx, rax
lea rdx, [0x1400012a0]
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::ios_base____ptr64____cdecl___class_std::ios_base____ptr64_____ptr64]
mov rcx, rax
mov rdx, qword [rsp + 0x30]
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_long_long_unsigned___int64_____ptr64]
mov rcx, rax
lea rdx, str._but_only_read_0x
call fcn.140003530
mov rcx, rax
lea rdx, [0x1400012a0]
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::ios_base____ptr64____cdecl___class_std::ios_base____ptr64_____ptr64]
mov rcx, rax
mov rdx, qword [rbp + 0x88]
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_long_long_unsigned___int64_____ptr64]
mov rcx, rax
lea rdx, [0x140003700]
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, r15
call fcn.140003e80
jmp 0x140001d3c
mov r9, r13
mov r8, r14
lea rdx, str.0x_llx___0x_llx__with_header.bin
lea rcx, [rbp + 0x1e0]
call fcn.140003740
xor edx, edx
mov r8d, 0x108
lea rcx, [rbp + 0xa0]
call sub.VCRUNTIME140.dll_memset
lea rdx, [rbp + 0x1e0]
lea rcx, [rbp + 0xa0]
call fcn.140002b60
nop
mov rax, qword [rbp + 0xa0]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0xa0]
add rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_bool___cdecl_std::ios_base::good_void_const___ptr64]
test al, al
je 0x140001b03
mov r8, qword [rbp + 0x88]
mov rdx, r15
lea rcx, [rbp + 0xa0]
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__::write_char_const____ptr64__long_long___int64_____ptr64]
lea rcx, [rbp + 0xa8]
call fcn.140003090
test rax, rax
jne 0x140001ae0
mov rax, qword [rbp + 0xa0]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0xa0]
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.____wrote_module_with_header
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140003530
mov rcx, rax
lea rdx, [0x140003700]
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 r9, r13
mov r8, r14
lea rdx, str.0x_llx___0x_llx__without_header.bin
lea rcx, [rbp + 0x1e0]
call fcn.140003740
lea rdx, [rbp + 0x1e0]
lea rcx, [rsp + 0x78]
call fcn.140002b60
mov r14, rax
lea rax, [rbp + 0xa0]
cmp rax, r14
je 0x140001b69
lea rcx, [rbp + 0xa8]
call fcn.140003090
mov rdx, r14
lea rcx, [rbp + 0xa0]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::swap_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____ptr64]
lea rdx, [r14 + 8]
lea rcx, [rbp + 0xa8]
call fcn.140003180
nop
mov rax, qword [rsp + 0x78]
movsxd rcx, dword [rax + 4]
lea r14, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov qword [rsp + rcx + 0x78], r14
mov rax, qword [rsp + 0x78]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rsp + rcx + 0x74], edx
mov qword [rbp - 0x80], rsi
cmp qword [rbp], 0
je 0x140001bc3
mov rax, qword [rbp - 0x68]
lea rcx, [rbp - 0x10]
cmp qword [rax], rcx
jne 0x140001bc3
mov rdx, qword [rbp + 0x10]
mov rcx, qword [rbp + 8]
mov qword [rax], rcx
mov rax, qword [rbp - 0x48]
mov qword [rax], rcx
sub edx, ecx
mov rax, qword [rbp - 0x30]
mov dword [rax], edx
cmp byte [rbp - 4], 0
je 0x140001bd2
lea rcx, [rbp - 0x80]
call fcn.140003090
lea rcx, [rbp - 0x80]
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 - 0x78]
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 + 0x20]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
mov rax, qword [rbp + 0xa0]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0xa0]
add rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_bool___cdecl_std::ios_base::good_void_const___ptr64]
test al, al
je 0x140001c81
lea rdx, [r15 + 0x1000]
mov r8, qword [rbp + 0x88]
lea rcx, [rbp + 0xa0]
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__::write_char_const____ptr64__long_long___int64_____ptr64]
lea rcx, [rbp + 0xa8]
call fcn.140003090
test rax, rax
jne 0x140001c5e
mov rax, qword [rbp + 0xa0]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0xa0]
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.____wrote_module_without_header
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140003530
mov rcx, rax
lea rdx, [0x140003700]
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, r15
call fcn.140003e80
nop
mov rax, qword [rbp + 0xa0]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx + 0xa0], r14
mov rax, qword [rbp + 0xa0]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx + 0x9c], edx
mov qword [rbp + 0xa8], rsi
cmp qword [rbp + 0x128], 0
je 0x140001cff
mov rax, qword [rbp + 0xc0]
lea rcx, [rbp + 0x118]
cmp qword [rax], rcx
jne 0x140001cff
mov rdx, qword [rbp + 0x138]
mov rcx, qword [rbp + 0x130]
mov qword [rax], rcx
mov rax, qword [rbp + 0xe0]
mov qword [rax], rcx
sub edx, ecx
mov rax, qword [rbp + 0xf8]
mov dword [rax], edx
cmp byte [rbp + 0x124], 0
je 0x140001d14
lea rcx, [rbp + 0xa8]
call fcn.140003090
lea rcx, [rbp + 0xa8]
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 + 0xb0]
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 + 0x148]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
add r12, 0x10
cmp r12, rdi
jne 0x1400018f0
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x38]
movabs r13, 0x2aaaaaaaaaaaaaab
test rbx, rbx
je 0x140001d9d
sub rsi, rbx
and rsi, 0xfffffffffffffff0
mov rax, rbx
cmp rsi, 0x1000
jb 0x140001d91
add rsi, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001d91
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rdx, rsi
mov rcx, rbx
call fcn.140003e80
nop
mov r8, qword [rbp + 0x1b0]
test r8, r8
je 0x140001df8
mov rcx, qword [rbp + 0x1c0]
sub rcx, r8
mov rax, r13
imul rcx
sar rdx, 3
mov rax, rdx
shr rax, 0x3f
add rdx, rax
lea rdx, [rdx + rdx*2]
shl rdx, 4
mov rax, r8
cmp rdx, 0x1000
jb 0x140001df0
add rdx, 0x27
mov r8, qword [r8 - 8]
sub rax, r8
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140001e37
mov rcx, r8
call fcn.140003e80
lea rcx, str.pause
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
xor eax, eax
mov rcx, qword [rbp + 0x2f0]
xor rcx, rsp
call fcn.140003e60
lea r11, [rsp + 0x400]
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
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3