Function at 0x1400051c0
Capabilities:
Execute command

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x47]
sub rsp, 0xb0
mov rax, qword [0x140011040]
xor rax, rsp
mov qword [rbp + 0x3f], rax
xorps xmm0, xmm0
movups xmmword [rbp + 0x1f], xmm0
movdqa xmm1, xmmword [0x14000d520]
movdqu xmmword [rbp + 0x2f], xmm1
mov byte [rbp + 0x1f], 0
movups xmmword [rbp - 1], xmm0
xor r15d, r15d
mov qword [rbp + 0xf], r15
mov qword [rbp + 0x17], r15
mov ecx, 0x20
call fcn.140009e58
mov qword [rbp - 1], rax
mov qword [rbp + 0xf], 0x11
mov qword [rbp + 0x17], 0x1f
movups xmm0, xmmword [str.Amount_of_mines:]
movups xmmword [rax], xmm0
movzx ecx, byte [0x14000d3c0]
mov byte [rax + 0x10], cl
mov byte [rax + 0x11], r15b
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rcx, rax
lea rdx, [rbp - 0x19]
call qword [sym.imp.KERNEL32.dll_GetConsoleScreenBufferInfo]
movsx ecx, word [rbp - 0xf]
movsx eax, word [rbp - 0xb]
sub eax, ecx
inc eax
sub eax, dword [rbp + 0xf]
cdq
sub eax, edx
sar eax, 1
mov rbx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
movsxd rdx, eax
mov r8b, 0x20
lea rcx, [rbp - 0x49]
call fcn.140006d30
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0xf
jbe 0x14000529c
mov rax, qword [rax]
mov rdx, rax
mov rcx, rbx
call fcn.140008210
lea rdx, [rbp - 1]
cmp qword [rbp + 0x17], 0xf
cmova rdx, qword [rbp - 1]
mov r8, qword [rbp + 0xf]
mov rcx, rax
call fcn.140008210
nop
mov rdx, qword [rbp - 0x31]
cmp rdx, 0xf
jbe 0x140005300
inc rdx
mov rcx, qword [rbp - 0x49]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400052fb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400052fb
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140009e50
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov edx, 9
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
lea rdx, [rbp - 0x21]
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, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov edx, 7
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
xorps xmm1, xmm1
cmp dword [rbp - 0x21], 0x18
jg 0x1400055cf
movdqu xmmword [rbp - 0x19], xmm1
mov qword [rbp - 9], r15
lea rcx, [rbp - 0x19]
call fcn.140003c30
mov esi, dword [rbp - 0x21]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
mov ecx, eax
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_srand]
mov ebx, r15d
test esi, esi
jle 0x140005467
lea r14, [0x14000cefc]
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
mov edi, eax
mov eax, 0x66666667
imul edi
sar edx, 1
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
lea ecx, [rdx + rdx*4]
sub edi, ecx
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
mov r9d, eax
mov eax, 0x66666667
imul r9d
sar edx, 1
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
lea ecx, [rdx + rdx*4]
sub r9d, ecx
movsxd rax, edi
lea rcx, [rax + rax*2]
mov r10, qword [rbp - 0x19]
movsxd r8, r9d
shl r8, 5
add r8, qword [r10 + rcx*8]
mov rax, qword [r8 + 0x10]
cmp qword [r8 + 0x18], 7
jbe 0x1400053e8
mov r8, qword [r8]
cmp rax, 2
jne 0x140005416
mov rdx, rax
mov rax, r14
sub r8, r14
nop word [rax + rax]
movzx ecx, word [rax + r8]
cmp cx, word [rax]
jne 0x140005416
add rax, 2
sub rdx, 1
jne 0x140005400
jmp 0x14000545f
movsxd rax, edi
lea rcx, [rax + rax*2]
movsxd rax, r9d
shl rax, 5
add rax, qword [r10 + rcx*8]
mov rdx, qword [rax + 0x18]
mov rcx, rax
cmp rdx, 2
jb 0x140005453
cmp rdx, 7
jbe 0x14000543e
mov rcx, qword [rax]
mov qword [rax + 0x10], 2
mov dword [rcx], 0xdca3d83d
mov word [rcx + 4], r15w
jmp 0x14000545d
mov edx, 2
call fcn.140007bc0
inc ebx
cmp ebx, esi
jl 0x140005387
lea rdx, [0x14000d3c4]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140007590
mov qword [rbp - 0x29], 2
lea rcx, [rbp - 0x29]
call fcn.140007770
lea rcx, [rbp - 0x19]
call fcn.140003e40
lea rdx, [0x14000d3c4]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140007590
xorps xmm0, xmm0
movups xmmword [rbp - 0x49], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x39], xmm1
mov ecx, 0x20
call fcn.140009e58
mov qword [rbp - 0x49], rax
movdqa xmm0, xmmword [0x14000d630]
movdqu xmmword [rbp - 0x39], xmm0
movups xmm0, xmmword [str.Press_any_key_to_continue...]
movups xmmword [rax], xmm0
movsd xmm0, qword [0x14000d3d8]
movsd qword [rax + 0x10], xmm0
mov ecx, dword [0x14000d3e0]
mov dword [rax + 0x18], ecx
mov byte [rax + 0x1c], 0
lea rcx, [rbp - 0x49]
call fcn.140003930
nop
mov rdx, qword [rbp - 0x31]
cmp rdx, 0xf
jbe 0x14000553d
inc rdx
mov rcx, qword [rbp - 0x49]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005538
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140005538
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140009e50
call qword [sym.imp.api_ms_win_crt_conio_l1_1_0.dll__getch]
lea rcx, [0x14000cef0]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
call fcn.140004470
nop
mov rcx, qword [rbp - 0x19]
test rcx, rcx
je 0x140005692
mov rdx, qword [rbp - 0x11]
call fcn.140007b30
mov rcx, qword [rbp - 9]
mov r8, qword [rbp - 0x19]
sub rcx, r8
movabs rax, 0x2aaaaaaaaaaaaaab
imul rcx
sar rdx, 2
mov rax, rdx
shr rax, 0x3f
add rdx, rax
lea rdx, [rdx + rdx*2]
shl rdx, 3
mov rax, r8
cmp rdx, 0x1000
jb 0x1400055c2
add rdx, 0x27
mov r8, qword [r8 - 8]
sub rax, r8
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400055c2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r8
call fcn.140009e50
jmp 0x140005692
xorps xmm0, xmm0
movups xmmword [rbp - 0x49], xmm0
movdqu xmmword [rbp - 0x39], xmm1
mov ecx, 0x40
call fcn.140009e58
mov rcx, rax
mov qword [rbp - 0x49], rax
movdqa xmm0, xmmword [0x14000d640]
movdqu xmmword [rbp - 0x39], xmm0
movups xmm0, xmmword [str.Impossible_value_of_mines__now_going_back_to_menu.._n]
movups xmmword [rax], xmm0
movups xmm1, xmmword [0x14000d3f8]
movups xmmword [rax + 0x10], xmm1
movups xmm0, xmmword [0x14000d408]
movups xmmword [rax + 0x20], xmm0
mov eax, dword [0x14000d418]
mov dword [rcx + 0x30], eax
mov byte [rcx + 0x34], 0
lea rcx, [rbp - 0x49]
call fcn.140003930
nop
mov rdx, qword [rbp - 0x31]
cmp rdx, 0xf
jbe 0x14000566e
inc rdx
mov rcx, qword [rbp - 0x49]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005669
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140005669
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140009e50
mov qword [rbp - 0x29], 2
lea rcx, [rbp - 0x29]
call fcn.140007770
lea rcx, [0x14000cef0]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
call fcn.140004470
nop
mov rdx, qword [rbp + 0x17]
cmp rdx, 0xf
jbe 0x1400056d1
inc rdx
mov rcx, qword [rbp - 1]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400056cb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400056cb
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140009e50
nop
mov rcx, qword [rbp + 0x3f]
xor rcx, rsp
call fcn.140009e30
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret