Function at 0x1400112f8
Capabilities:
Execute command

Disassembly:
jmp 0x140016c30
push rbp
push rdi
sub rsp, 0x278
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x66
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [section..data]
xor rax, rbp
mov qword [rbp + 0x248], rax
lea rcx, [0x1400250f3]
call fcn.140011415
nop
xor ecx, ecx
call fcn.1400127c0
mov ecx, eax
call qword [sym.imp.ucrtbased.dll_srand]
nop
call qword [sym.imp.ucrtbased.dll_rand]
nop
mov dword [rbp + 4], 0
mov dword [rbp + 0x24], 0x64
mov dword [rbp + 0x44], 0
mov dword [rbp + 0x64], 0
mov dword [rbp + 0x134], 0
jmp 0x140016cbb
mov eax, dword [rbp + 0x134]
inc eax
mov dword [rbp + 0x134], eax
cmp dword [rbp + 0x134], 4
jge 0x140016d02
movsxd rax, dword [rbp + 0x134]
mov dword [rbp + rax*4 + 0xa8], 0x64
imul eax, dword [rbp + 0x134], 5
add eax, 5
movsxd rcx, dword [rbp + 0x134]
mov dword [rbp + rcx*4 + 0xd8], eax
movsxd rax, dword [rbp + 0x134]
mov dword [rbp + rax*4 + 0x108], 0
jmp 0x140016cad
xor eax, eax
cmp eax, 1
je 0x1400171e2
lea rcx, [0x14001bd94]
call qword [sym.imp.ucrtbased.dll_system]
nop
lea rdx, [0x14001bda8]
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.14001108c
mov edx, dword [rbp + 0x44]
mov rcx, rax
call qword [sym.imp.MSVCP140D.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]
lea rdx, str.___Y_
mov rcx, rax
call fcn.14001108c
mov edx, dword [rbp + 0x64]
mov rcx, rax
call qword [sym.imp.MSVCP140D.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]
lea rdx, [0x14001bd98]
mov rcx, rax
call fcn.14001108c
lea rdx, [0x14001103c]
mov rcx, rax
call qword [sym.imp.MSVCP140D.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 rdx, str.HP__
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.14001108c
mov edx, dword [rbp + 0x24]
mov rcx, rax
call qword [sym.imp.MSVCP140D.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]
lea rdx, [0x14001bd98]
mov rcx, rax
call fcn.14001108c
lea rdx, [0x14001103c]
mov rcx, rax
call qword [sym.imp.MSVCP140D.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
cmp dword [rbp + 4], 0
jne 0x140016dd0
lea rdx, [0x14001bdc0]
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.14001108c
nop
jmp 0x140016dea
cmp dword [rbp + 4], 5
jne 0x140016dea
lea rdx, [0x14001bce0]
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.14001108c
nop
lea rdx, [rbp + 0x84]
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
call qword [sym.imp.MSVCP140D.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]
nop
lea rdx, [0x14001beb0]
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.14001108c
nop
mov ecx, 0x1f4
call qword [sym.imp.KERNEL32.dll_Sleep]
nop
lea rdx, [0x14001beb0]
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.14001108c
nop
mov ecx, 0x1f4
call qword [sym.imp.KERNEL32.dll_Sleep]
nop
lea rdx, [0x14001beb0]
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.14001108c
nop
mov ecx, 0x1f4
call qword [sym.imp.KERNEL32.dll_Sleep]
nop
cmp dword [rbp + 4], 0
jne 0x1400170eb
mov eax, dword [rbp + 0x84]
mov dword [rbp + 0x244], eax
cmp dword [rbp + 0x244], 0
je 0x140016eaf
cmp dword [rbp + 0x244], 1
je 0x140016ed8
cmp dword [rbp + 0x244], 2
je 0x140016f09
cmp dword [rbp + 0x244], 3
je 0x140016f3a
cmp dword [rbp + 0x244], 4
je 0x140016f68
jmp 0x140016f96
lea rdx, [0x14001be18]
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.14001108c
lea rdx, [0x14001103c]
mov rcx, rax
call qword [sym.imp.MSVCP140D.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
jmp 0x140016fba
lea rdx, [0x14001be30]
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.14001108c
lea rdx, [0x14001103c]
mov rcx, rax
call qword [sym.imp.MSVCP140D.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 eax, dword [rbp + 0x44]
dec eax
mov dword [rbp + 0x44], eax
jmp 0x140016fba
lea rdx, [0x14001be50]
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.14001108c
lea rdx, [0x14001103c]
mov rcx, rax
call qword [sym.imp.MSVCP140D.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 eax, dword [rbp + 0x44]
inc eax
mov dword [rbp + 0x44], eax
jmp 0x140016fba
lea rdx, [0x14001be68]
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.14001108c
lea rdx, [0x14001103c]
mov rcx, rax
call qword [sym.imp.MSVCP140D.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 eax, dword [rbp + 0x64]
inc eax
mov dword [rbp + 0x64], eax
jmp 0x140016fba
lea rdx, [0x14001be88]
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.14001108c
lea rdx, [0x14001103c]
mov rcx, rax
call qword [sym.imp.MSVCP140D.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 eax, dword [rbp + 0x64]
dec eax
mov dword [rbp + 0x64], eax
jmp 0x140016fba
lea rdx, [0x14001bf78]
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.14001108c
lea rdx, [0x14001103c]
mov rcx, rax
call qword [sym.imp.MSVCP140D.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 dword [rbp + 0x154], 0
jmp 0x140016fd4
mov eax, dword [rbp + 0x154]
inc eax
mov dword [rbp + 0x154], eax
cmp dword [rbp + 0x154], 4
jge 0x1400170e6
movsxd rax, dword [rbp + 0x154]
mov eax, dword [rbp + rax*4 + 0xd8]
cmp dword [rbp + 0x44], eax
jne 0x1400170e1
movsxd rax, dword [rbp + 0x154]
mov eax, dword [rbp + rax*4 + 0x108]
cmp dword [rbp + 0x64], eax
jne 0x1400170e1
mov eax, dword [rbp + 0x154]
mov dword [rbp + 0x244], eax
cmp dword [rbp + 0x244], 0
je 0x140017044
cmp dword [rbp + 0x244], 1
je 0x14001706a
cmp dword [rbp + 0x244], 2
je 0x140017090
cmp dword [rbp + 0x244], 3
je 0x1400170b6
jmp 0x1400170da
lea rdx, [0x14001bd80]
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.14001108c
lea rdx, [0x14001103c]
mov rcx, rax
call qword [sym.imp.MSVCP140D.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
jmp 0x1400170da
lea rdx, [0x14001bdf8]
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.14001108c
lea rdx, [0x14001103c]
mov rcx, rax
call qword [sym.imp.MSVCP140D.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
jmp 0x1400170da
lea rdx, [0x14001bea0]
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.14001108c
lea rdx, [0x14001103c]
mov rcx, rax
call qword [sym.imp.MSVCP140D.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
jmp 0x1400170da
lea rdx, [0x14001c080]
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.14001108c
lea rdx, [0x14001103c]
mov rcx, rax
call qword [sym.imp.MSVCP140D.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 dword [rbp + 4], 5
jmp 0x140016fc6
jmp 0x1400171d1
cmp dword [rbp + 4], 5
jne 0x1400171d1
mov eax, dword [rbp + 0x84]
mov dword [rbp + 0x244], eax
cmp dword [rbp + 0x244], 0
je 0x14001712f
cmp dword [rbp + 0x244], 1
je 0x1400171a7
cmp dword [rbp + 0x244], 2
je 0x1400171ab
cmp dword [rbp + 0x244], 3
je 0x1400171a9
jmp 0x1400171ad
call qword [sym.imp.ucrtbased.dll_rand]
cdq
and eax, 1
xor eax, edx
sub eax, edx
mov dword [rbp + 0x174], eax
cmp dword [rbp + 0x174], 0
jne 0x140017181
lea rdx, [0x14001c098]
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.14001108c
lea rdx, [0x14001103c]
mov rcx, rax
call qword [sym.imp.MSVCP140D.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 eax, dword [rbp + 0x44]
inc eax
mov dword [rbp + 0x44], eax
mov dword [rbp + 4], 0
jmp 0x1400171a5
lea rdx, [0x14001c1d0]
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.14001108c
lea rdx, [0x14001103c]
mov rcx, rax
call qword [sym.imp.MSVCP140D.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
jmp 0x1400171d1
jmp 0x1400171d1
jmp 0x1400171d1
jmp 0x1400171d1
lea rdx, [0x14001bf78]
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.14001108c
lea rdx, [0x14001103c]
mov rcx, rax
call qword [sym.imp.MSVCP140D.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 ecx, 0x5dc
call qword [sym.imp.KERNEL32.dll_Sleep]
nop
jmp 0x140016d02
lea rcx, str.pause
call qword [sym.imp.ucrtbased.dll_system]
nop
xor eax, eax
mov edi, eax
lea rcx, [rbp - 0x20]
lea rdx, [0x14001bcd0]
call fcn.1400113a7
mov eax, edi
mov rcx, qword [rbp + 0x248]
xor rcx, rbp
call fcn.140011217
lea rsp, [rbp + 0x258]
pop rdi
pop rbp
ret