Function at 0x1400013e0
Capabilities:
Execute command

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r12
push rbp
push r14
push r15
sub rsp, 0x250
lea rbp, [rsp + 0x40]
and rbp, 0xffffffffffffffe0
mov rax, qword [0x140007040]
xor rax, rsp
mov qword [rbp + 0x200], rax
movabs rax, 0xda2d7d177e04d990
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x10], rax
movabs r15, 0x48fe782fa3d97280
mov qword [rbp], r15
mov rax, qword [rbp]
mov qword [rbp + 0x18], rax
movabs r12, 0xda5909720c67b8c3
mov qword [rbp], r12
mov rax, qword [rbp]
mov qword [rbp + 0x120], rax
mov qword [rbp], r15
mov rax, qword [rbp]
mov qword [rbp + 0x128], rax
movdqa xmm0, xmmword [rbp + 0x10]
xorps xmm0, xmmword [rbp + 0x120]
movdqa xmmword [rbp + 0x10], xmm0
xorps xmm0, xmm0
movups xmmword [rbp + 0x100], xmm0
xor r14d, r14d
mov qword [rbp + 0x110], r14
mov qword [rbp + 0x118], r14
lea rax, [rbp + 0x10]
mov rdi, 0xffffffffffffffff
mov rbx, rdi
nop dword [rax + rax]
inc rbx
cmp byte [rax + rbx], r14b
jne 0x1400014b0
movabs rsi, 0x7fffffffffffffff
cmp rbx, rsi
ja 0x140001c6a
cmp rbx, 0xf
ja 0x140001504
mov qword [rbp + 0x110], rbx
mov qword [rbp + 0x118], 0xf
mov r8, rbx
lea rdx, [rbp + 0x10]
lea rcx, [rbp + 0x100]
call sub.VCRUNTIME140.dll_memcpy
mov byte [rbp + rbx + 0x100], r14b
jmp 0x1400015a1
mov rax, rbx
or rax, 0xf
cmp rax, rsi
jbe 0x140001539
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.140002480
test rax, rax
je 0x140001564
lea r14, [rax + 0x27]
and r14, 0xffffffffffffffe0
mov qword [r14 - 8], rax
jmp 0x140001578
mov rsi, rax
mov ecx, 0x16
cmp rax, rcx
cmovb rsi, rcx
lea rcx, [rsi + 1]
cmp rcx, 0x1000
jb 0x14000156b
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140001c70
jmp 0x14000151e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
test rcx, rcx
je 0x140001578
call fcn.140002480
mov r14, rax
mov qword [rbp + 0x100], r14
mov qword [rbp + 0x110], rbx
mov qword [rbp + 0x118], rsi
mov r8, rbx
lea rdx, [rbp + 0x10]
mov rcx, r14
call sub.VCRUNTIME140.dll_memcpy
mov byte [r14 + rbx], 0
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_srand]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
movabs rax, 0xa83a68212c3a8798
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x20], rax
movabs rax, 0x48fe782fa3ad06e5
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x28], rax
mov qword [rbp], r12
mov rax, qword [rbp]
mov qword [rbp + 0x130], rax
mov qword [rbp], r15
mov rax, qword [rbp]
mov qword [rbp + 0x138], rax
movdqa xmm0, xmmword [rbp + 0x20]
xorps xmm0, xmmword [rbp + 0x130]
movdqa xmmword [rbp + 0x20], xmm0
lea rdx, [rbp + 0x20]
call fcn.140001df0
lea rdx, [0x140001fc0]
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, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
movabs rax, 0xb43766312c3a8798
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x30], rax
movabs rax, 0x48fe1f41caad11e5
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x38], rax
mov qword [rbp], r12
mov rax, qword [rbp]
mov qword [rbp + 0x140], rax
mov qword [rbp], r15
mov rax, qword [rbp]
mov qword [rbp + 0x148], rax
movdqa xmm0, xmmword [rbp + 0x30]
xorps xmm0, xmmword [rbp + 0x140]
movdqa xmmword [rbp + 0x30], xmm0
lea rdx, [rbp + 0x30]
call fcn.140001df0
lea rdx, [0x140001fc0]
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]
movabs rsi, 0x1b11afb854ce2e05
movabs rbx, 0x485d91b55f512bc2
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
cmp byte [0x140007780], 0
je 0x140001730
movabs rax, 0xb43766312c3a9398
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x40], rax
movabs rax, 0x48fe784bc6ad11e5
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x48], rax
mov qword [rbp], r12
mov rax, qword [rbp]
mov qword [rbp + 0x150], rax
mov qword [rbp], r15
mov rax, qword [rbp]
mov qword [rbp + 0x158], rax
movdqa xmm0, xmmword [rbp + 0x40]
xorps xmm0, xmmword [rbp + 0x150]
movdqa xmmword [rbp + 0x40], xmm0
lea rdx, [rbp + 0x40]
jmp 0x1400017f2
movabs rax, 0xb33867272c3a9598
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0xa0], rax
movabs rax, 0x2690174c83bc1ee2
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0xa8], rax
movabs rax, 0x6831c0cc74ba4d60
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0xb0], rax
movabs rax, 0x485d91c73a2759a7
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0xb8], rax
mov qword [rbp], r12
mov rax, qword [rbp]
mov qword [rbp + 0x180], rax
mov qword [rbp], r15
mov rax, qword [rbp]
mov qword [rbp + 0x188], rax
mov qword [rbp], rsi
mov rax, qword [rbp]
mov qword [rbp + 0x190], rax
mov qword [rbp], rbx
mov rax, qword [rbp]
mov qword [rbp + 0x198], rax
vmovdqu ymm0, ymmword [rbp + 0xa0]
vpxor ymm1, ymm0, ymmword [rbp + 0x180]
vmovdqa ymmword [rbp + 0xa0], ymm1
lea rdx, [rbp + 0xa0]
vzeroupper
call fcn.140001df0
lea rdx, [0x140001fc0]
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, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
movabs rax, 0xa83a68212c3a9398
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0xc0], rax
movabs rax, 0x279d1d5d83ad06e5
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0xc8], rax
movabs rax, 0x353f81df3aa74a77
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0xd0], rax
mov qword [rbp], rbx
mov rax, qword [rbp]
mov qword [rbp + 0xd8], rax
mov qword [rbp], r12
mov rax, qword [rbp]
mov qword [rbp + 0x1a0], rax
mov qword [rbp], r15
mov rax, qword [rbp]
mov qword [rbp + 0x1a8], rax
mov qword [rbp], rsi
mov rax, qword [rbp]
mov qword [rbp + 0x1b0], rax
mov qword [rbp], rbx
mov rax, qword [rbp]
mov qword [rbp + 0x1b8], rax
vmovdqu ymm0, ymmword [rbp + 0xc0]
vpxor ymm1, ymm0, ymmword [rbp + 0x1a0]
vmovdqa ymmword [rbp + 0xc0], ymm1
lea rdx, [rbp + 0xc0]
vzeroupper
call fcn.140001df0
lea rdx, [0x140001fc0]
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 ecx, dword [0x140007784]
call qword [sym.imp.KERNEL32.dll_Sleep]
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
mov r8d, eax
mov eax, 0xa8791709
imul r8d
add edx, r8d
sar edx, 0xb
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
imul ecx, edx, 0xc28
sub r8d, ecx
mov dword [0x140007784], r8d
lea rcx, [0x140004474]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov ecx, dword [0x140007784]
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
movabs rax, 0xbf2d67372c3a8798
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0xe0], rax
movabs rax, 0x3a9b0b0fcdb052f2
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0xe8], rax
movabs rax, 0x1b11afb854bc4b73
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0xf0], rax
mov qword [rbp], rbx
mov rax, qword [rbp]
mov qword [rbp + 0xf8], rax
mov qword [rbp], r12
mov rax, qword [rbp]
mov qword [rbp + 0x1c0], rax
mov qword [rbp], r15
mov rax, qword [rbp]
mov qword [rbp + 0x1c8], rax
mov qword [rbp], rsi
mov rax, qword [rbp]
mov qword [rbp + 0x1d0], rax
mov qword [rbp], rbx
mov rax, qword [rbp]
mov qword [rbp + 0x1d8], rax
vmovdqu ymm0, ymmword [rbp + 0xe0]
vpxor ymm1, ymm0, ymmword [rbp + 0x1c0]
vmovdqa ymmword [rbp + 0xe0], ymm1
lea rdx, [rbp + 0xe0]
vzeroupper
call fcn.140001df0
lea rdx, [0x140001fc0]
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, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
movabs rax, 0xb33e663e2c3a8798
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x50], rax
movabs rax, 0x48fe782fa3f948ee
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x58], rax
mov qword [rbp], r12
mov rax, qword [rbp]
mov qword [rbp + 0x160], rax
mov qword [rbp], r15
mov rax, qword [rbp]
mov qword [rbp + 0x168], rax
movdqa xmm0, xmmword [rbp + 0x50]
xorps xmm0, xmmword [rbp + 0x160]
movdqa xmmword [rbp + 0x50], xmm0
lea rdx, [rbp + 0x50]
call fcn.140001df0
lea rdx, [rbp + 0x100]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
call fcn.140002000
movabs rax, 0x8e2d7d177e04d990
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x80], rax
movabs rax, 0x26971f40cfad01e5
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x88], rax
mov qword [rbp], rsi
mov rax, qword [rbp]
mov qword [rbp + 0x90], rax
mov qword [rbp], rbx
mov rax, qword [rbp]
mov qword [rbp + 0x98], rax
mov qword [rbp], r12
mov rax, qword [rbp]
mov qword [rbp + 0x1e0], rax
mov qword [rbp], r15
mov rax, qword [rbp]
mov qword [rbp + 0x1e8], rax
mov qword [rbp], rsi
mov rax, qword [rbp]
mov qword [rbp + 0x1f0], rax
mov qword [rbp], rbx
mov rax, qword [rbp]
mov qword [rbp + 0x1f8], rax
vmovdqu ymm0, ymmword [rbp + 0x80]
vpxor ymm1, ymm0, ymmword [rbp + 0x1e0]
vmovdqa ymmword [rbp + 0x80], ymm1
lea rax, [rbp + 0x80]
vzeroupper
nop
inc rdi
cmp byte [rax + rdi], 0
jne 0x140001b30
lea rcx, [rbp + 0x100]
mov rbx, qword [rbp + 0x100]
mov rsi, qword [rbp + 0x118]
cmp rsi, 0xf
cmova rcx, rbx
mov r8, qword [rbp + 0x110]
cmp r8, rdi
jne 0x140001bfe
lea rdx, [rbp + 0x80]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x140001bfe
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
movabs rax, 0xb83663526808d784
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x60], rax
movabs rax, 0x48fe014bc7b610a0
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x68], rax
mov qword [rbp], r12
mov rax, qword [rbp]
mov qword [rbp + 0x170], rax
mov qword [rbp], r15
mov rax, qword [rbp]
mov qword [rbp + 0x178], rax
movdqa xmm0, xmmword [rbp + 0x60]
xorps xmm0, xmmword [rbp + 0x170]
movdqa xmmword [rbp + 0x60], xmm0
lea rdx, [rbp + 0x60]
call fcn.140001df0
mov ecx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rsi, qword [rbp + 0x118]
mov rbx, qword [rbp + 0x100]
cmp rsi, 0xf
jbe 0x140001c38
lea rdx, [rsi + 1]
mov rax, rbx
cmp rdx, 0x1000
jb 0x140001c30
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001c30
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbx
call fcn.1400024c4
xor eax, eax
mov rcx, qword [rbp + 0x200]
xor rcx, rsp
call fcn.140002460
lea r11, [rsp + 0x250]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
call fcn.140001300
int3
call fcn.140001260
int3