Function at 0x1400033e0
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 [section..data]
xor rax, rsp
mov qword [rbp + 0x3f], rax
xorps xmm0, xmm0
movups xmmword [rbp + 0x1f], xmm0
movdqa xmm1, xmmword [0x14000be30]
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.1400086f0
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 [0x14000bce0]
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.140004f50
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0xf
jbe 0x1400034bc
mov rax, qword [rax]
mov rdx, rax
mov rcx, rbx
call fcn.140006430
lea rdx, [rbp - 1]
cmp qword [rbp + 0x17], 0xf
cmova rdx, qword [rbp - 1]
mov r8, qword [rbp + 0xf]
mov rcx, rax
call fcn.140006430
nop
mov rdx, qword [rbp - 0x31]
cmp rdx, 0xf
jbe 0x140003520
inc rdx
mov rcx, qword [rbp - 0x49]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000351b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000351b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000872c
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 0x1400037ef
movdqu xmmword [rbp - 0x19], xmm1
mov qword [rbp - 9], r15
lea rcx, [rbp - 0x19]
call fcn.140001e50
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 0x140003687
lea r14, [0x14000b810]
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 0x140003608
mov r8, qword [r8]
cmp rax, 2
jne 0x140003636
mov rdx, rax
mov rax, r14
sub r8, r14
nop word [rax + rax]
movzx ecx, word [rax + r8]
cmp cx, word [rax]
jne 0x140003636
add rax, 2
sub rdx, 1
jne 0x140003620
jmp 0x14000367f
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 0x140003673
cmp rdx, 7
jbe 0x14000365e
mov rcx, qword [rax]
mov qword [rax + 0x10], 2
mov dword [rcx], 0xdca3d83d
mov word [rcx + 4], r15w
jmp 0x14000367d
mov edx, 2
call fcn.140005de0
inc ebx
cmp ebx, esi
jl 0x1400035a7
lea rdx, [0x14000bce4]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400057b0
mov qword [rbp - 0x29], 2
lea rcx, [rbp - 0x29]
call fcn.140005990
lea rcx, [rbp - 0x19]
call fcn.140002060
lea rdx, [0x14000bce4]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400057b0
xorps xmm0, xmm0
movups xmmword [rbp - 0x49], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x39], xmm1
mov ecx, 0x20
call fcn.1400086f0
mov qword [rbp - 0x49], rax
movdqa xmm0, xmmword [0x14000be50]
movdqu xmmword [rbp - 0x39], xmm0
movups xmm0, xmmword [str.Press_any_key_to_continue...]
movups xmmword [rax], xmm0
movsd xmm0, qword [0x14000bcf8]
movsd qword [rax + 0x10], xmm0
mov ecx, dword [0x14000bd00]
mov dword [rax + 0x18], ecx
mov byte [rax + 0x1c], 0
lea rcx, [rbp - 0x49]
call fcn.140001b50
nop
mov rdx, qword [rbp - 0x31]
cmp rdx, 0xf
jbe 0x14000375d
inc rdx
mov rcx, qword [rbp - 0x49]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003758
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003758
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000872c
call qword [sym.imp.api_ms_win_crt_conio_l1_1_0.dll__getch]
lea rcx, [0x14000b804]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
call fcn.140002690
nop
mov rcx, qword [rbp - 0x19]
test rcx, rcx
je 0x1400038b2
mov rdx, qword [rbp - 0x11]
call fcn.140005d50
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 0x1400037e2
add rdx, 0x27
mov r8, qword [r8 - 8]
sub rax, r8
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400037e2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r8
call fcn.14000872c
jmp 0x1400038b2
xorps xmm0, xmm0
movups xmmword [rbp - 0x49], xmm0
movdqu xmmword [rbp - 0x39], xmm1
mov ecx, 0x40
call fcn.1400086f0
mov rcx, rax
mov qword [rbp - 0x49], rax
movdqa xmm0, xmmword [0x14000be60]
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 [0x14000bd18]
movups xmmword [rax + 0x10], xmm1
movups xmm0, xmmword [0x14000bd28]
movups xmmword [rax + 0x20], xmm0
mov eax, dword [0x14000bd38]
mov dword [rcx + 0x30], eax
mov byte [rcx + 0x34], 0
lea rcx, [rbp - 0x49]
call fcn.140001b50
nop
mov rdx, qword [rbp - 0x31]
cmp rdx, 0xf
jbe 0x14000388e
inc rdx
mov rcx, qword [rbp - 0x49]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003889
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003889
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000872c
mov qword [rbp - 0x29], 2
lea rcx, [rbp - 0x29]
call fcn.140005990
lea rcx, [0x14000b804]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
call fcn.140002690
nop
mov rdx, qword [rbp + 0x17]
cmp rdx, 0xf
jbe 0x1400038f1
inc rdx
mov rcx, qword [rbp - 1]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400038eb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400038eb
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000872c
nop
mov rcx, qword [rbp + 0x3f]
xor rcx, rsp
call fcn.1400086d0
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