Function at 0x140003930
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r14
push rbp
lea rbp, [rsp - 0x80]
sub rsp, 0x180
mov rax, qword [0x14000a010]
xor rax, rsp
mov qword [rbp + 0x70], rax
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_SetConsoleOutputCP]
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]
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0x40], xmm0
mov qword [rbp + 0x50], rax
lea rcx, [rbp + 0x40]
call fcn.140001290
nop
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0x58], xmm0
mov qword [rbp + 0x68], rax
movdqu xmmword [rsp + 0x30], xmm0
xor r14d, r14d
mov qword [rsp + 0x40], r14
mov rdi, qword [rbp + 0x48]
sub rdi, qword [rbp + 0x40]
sar rdi, 5
test rdi, rdi
je 0x140003a9c
movabs rax, 0x7ffffffffffffff
cmp rdi, rax
ja 0x14000410c
shl rdi, 5
cmp rdi, 0x1000
jb 0x140003a14
lea rcx, [rdi + 0x27]
cmp rcx, rdi
jbe 0x140004106
call fcn.140004670
test rax, rax
je 0x140003a0d
lea rbx, [rax + 0x27]
and rbx, 0xffffffffffffffe0
mov qword [rbx - 8], rax
jmp 0x140003a29
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
test rdi, rdi
je 0x140003a26
mov rcx, rdi
call fcn.140004670
mov rbx, rax
jmp 0x140003a29
mov rbx, r14
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x38], rbx
lea rax, [rdi + rbx]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov rsi, qword [rbp + 0x48]
xorps xmm0, xmm0
movups xmmword [rbp], xmm0
mov qword [rbp], rbx
mov qword [rbp + 8], rbx
lea rax, [rsp + 0x30]
mov qword [rbp + 0x10], rax
mov rdi, qword [rbp + 0x40]
cmp rdi, rsi
je 0x140003a8c
nop dword [rax + rax]
mov rdx, rdi
mov rcx, rbx
call fcn.1400028d0
add rbx, 0x20
mov qword [rbp + 8], rbx
add rdi, 0x20
cmp rdi, rsi
jne 0x140003a70
mov rdx, rbx
mov rcx, rbx
call fcn.140003060
mov qword [rsp + 0x38], rbx
lea rdx, [rsp + 0x30]
lea rcx, [rbp + 0x58]
call fcn.140001510
nop
mov rcx, r14
mov qword [rbp - 0x28], rcx
cmp rcx, 1
jb 0x140003acc
mov rax, qword [rbp + 0x60]
mov rdx, qword [rbp + 0x58]
sub rax, rdx
sar rax, 3
cmp rcx, rax
jb 0x140003b1d
lea rdx, str.Veuillez_entrer_un_niveau_de_difficult_entre_1_et
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140002d80
mov rdx, qword [rbp + 0x60]
sub rdx, qword [rbp + 0x58]
sar rdx, 3
dec rdx
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___unsigned_long_long_unsigned___int64_____ptr64]
mov rcx, rax
lea rdx, [0x140006ae0]
call fcn.140002d80
lea rdx, [rbp - 0x28]
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_long_long_unsigned___int64_____ptr64____ptr64]
mov rcx, qword [rbp - 0x28]
jmp 0x140003ab2
mov rbx, qword [rdx + rcx*8]
dec rbx
mov rdi, qword [rdx + rcx*8 - 8]
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
movd xmm1, eax
cvtdq2pd xmm1, xmm1
sub rbx, rdi
add rbx, 1
xorps xmm0, xmm0
js 0x140003b4a
cvtsi2sd xmm0, rbx
jmp 0x140003b5f
mov rax, rbx
shr rax, 1
and ebx, 1
or rax, rbx
cvtsi2sd xmm0, rax
addsd xmm0, xmm0
mulsd xmm1, xmm0
mulsd xmm1, qword [0x140006b80]
cvttsd2si eax, xmm1
movsxd rdx, eax
add rdx, rdi
shl rdx, 5
add rdx, qword [rbp + 0x40]
lea rcx, [rbp + 0x20]
call fcn.1400028d0
nop
xorps xmm0, xmm0
movups xmmword [rbp], xmm0
mov qword [rbp + 0x10], r14
mov qword [rbp + 0x18], 0xf
mov byte [rbp], 0
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea rdx, [rbp]
lea rcx, [rsp + 0x58]
call fcn.1400028d0
mov rbx, rax
lea rdx, [rbp + 0x20]
lea rcx, [rsp + 0x78]
call fcn.1400028d0
nop
mov r8, rbx
mov rdx, rax
lea rcx, [rbp - 0x20]
call fcn.140001780
nop
mov rdi, r14
lea rsi, [0x140000000]
lea rdx, [rbp + 0x20]
cmp qword [rbp + 0x38], 0x10
cmovae rdx, qword [rbp + 0x20]
lea rcx, [rbp - 0x20]
cmp qword [rbp - 8], 0x10
cmovae rcx, qword [rbp - 0x20]
mov r8, qword [rbp - 0x10]
cmp r8, qword [rbp + 0x30]
jne 0x140003c15
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x140003ea6
cmp rdi, 9
ja case.default.0x140003c29
mov eax, dword [rsi + rdi*4 + 0x4114]
add rax, rsi
jmp rax
lea rdx, [0x140006668]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140002d80
jmp 0x140003cfb
lea rdx, str._n_n_n_n_n_n_n_n_n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140002d80
jmp 0x140003cfb
lea rdx, str._n_n_n_______n_______n_______n_______n_______n_n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140002d80
jmp 0x140003cfb
lea rdx, str._n_n_______n_______n_______n_______n_______n_______n_n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140002d80
jmp 0x140003cfb
lea rdx, str._n_n_______n___________n_______n_______n_______n_______n_n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140002d80
jmp 0x140003cfb
lea rdx, str._n_n_______n___________n__________O_n_______n_______n_______n_n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140002d80
jmp 0x140003cfb
lea rdx, str._n_n_______n___________n__________O_n____________n________n_______n_n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140002d80
jmp 0x140003cfb
lea rdx, str._n_n_______n___________n__________O_n___________n________n_______n_n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140002d80
jmp 0x140003cfb
lea rdx, [0x1400069c0]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140002d80
jmp 0x140003cfb
lea rdx, [rbp - 0x20]
cmp qword [rbp - 8], 0x10
cmovae rdx, qword [rbp - 0x20]
mov r8, qword [rbp - 0x10]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140004440
mov rcx, rax
call fcn.140004140
lea rdx, str.Veuillez_entrer_une_lettre_:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140002d80
lea rdx, [rsp + 0x20]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
call fcn.140004310
movsx ecx, byte [rsp + 0x20]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_toupper]
mov ebx, eax
mov byte [rsp + 0x20], bl
mov rax, qword [rbp + 0x10]
mov rdx, qword [rbp + 0x18]
cmp rax, rdx
jae 0x140003d82
lea rcx, [rax + 1]
mov qword [rbp + 0x10], rcx
lea rcx, [rbp]
cmp rdx, 0x10
cmovae rcx, qword [rbp]
mov byte [rcx + rax], bl
mov byte [rcx + rax + 1], 0
jmp 0x140003d8f
movzx r9d, bl
lea rcx, [rbp]
call fcn.1400030f0
lea rdx, [rbp + 0x20]
lea rcx, [rsp + 0x30]
call fcn.1400028d0
movzx edx, bl
mov rcx, rax
call fcn.1400016b0
test al, al
jne 0x140003db4
inc rdi
jmp 0x140003be2
lea rax, [rbp - 0x68]
mov qword [rsp + 0x50], rax
lea rdx, [rbp]
lea rcx, [rbp - 0x68]
call fcn.1400028d0
mov rbx, rax
lea rdx, [rbp + 0x20]
lea rcx, [rbp - 0x48]
call fcn.1400028d0
nop
mov r8, rbx
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.140001780
mov rbx, rax
lea rax, [rbp - 0x20]
cmp rax, rbx
je 0x140003e60
mov rdx, qword [rbp - 8]
cmp rdx, 0x10
jb 0x140003e32
inc rdx
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003e2d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400040ff
call fcn.1400046b4
mov qword [rbp - 0x10], r14
mov qword [rbp - 8], 0xf
mov byte [rbp - 0x20], 0
movups xmm0, xmmword [rbx]
movups xmmword [rbp - 0x20], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rbp - 0x10], xmm1
mov qword [rbx + 0x10], r14
mov qword [rbx + 0x18], 0xf
mov byte [rbx], 0
mov rdx, qword [rsp + 0x48]
cmp rdx, 0x10
jb 0x140003be2
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003e9c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400040ff
call fcn.1400046b4
jmp 0x140003be2
lea rdx, str.Vous_avez_gagn___n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140002d80
lea rdx, str.Le_mot_tait
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140002d80
lea rdx, [rbp + 0x20]
cmp qword [rbp + 0x38], 0x10
cmovae rdx, qword [rbp + 0x20]
mov r8, qword [rbp + 0x30]
mov rcx, rax
call fcn.140004440
mov rcx, rax
lea rdx, [0x140006b34]
call fcn.140002d80
nop
mov rdx, qword [rbp - 8]
cmp rdx, 0x10
jb 0x140003f34
inc rdx
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003f2f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003f2f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400046b4
mov qword [rbp - 0x10], r14
mov qword [rbp - 8], 0xf
mov byte [rbp - 0x20], 0
mov rdx, qword [rbp + 0x18]
cmp rdx, 0x10
jb 0x140003f83
inc rdx
mov rcx, qword [rbp]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003f7d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003f7d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400046b4
nop
mov rdx, qword [rbp + 0x38]
cmp rdx, 0x10
jb 0x140003fc1
inc rdx
mov rcx, qword [rbp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003fbc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003fbc
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400046b4
mov qword [rbp + 0x30], r14
mov qword [rbp + 0x38], 0xf
mov byte [rbp + 0x20], 0
mov rcx, qword [rbp + 0x58]
test rcx, rcx
je 0x140004026
mov rax, qword [rbp + 0x68]
sub rax, rcx
sar rax, 3
lea rdx, [rax*8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004015
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140004015
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400046b4
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x58], xmm0
mov qword [rbp + 0x68], r14
mov rcx, qword [rbp + 0x40]
test rcx, rcx
je 0x140004074
mov rdx, qword [rbp + 0x48]
call fcn.140003060
mov rdx, qword [rbp + 0x50]
mov rcx, qword [rbp + 0x40]
sub rdx, rcx
and rdx, 0xffffffffffffffe0
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000406f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000406f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400046b4
xor eax, eax
mov rcx, qword [rbp + 0x70]
xor rcx, rsp
call fcn.140004650
lea r11, [rsp + 0x180]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
lea rdx, str._n_n_______n___________n__________O_n___________n____________n_______n_n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140002d80
lea rdx, str.Vous_avez_perdu___n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140002d80
lea rdx, str.Le_mot_tait
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140002d80
mov rcx, rax
lea rdx, [rbp + 0x20]
call fcn.1400042f0
mov rcx, rax
lea rdx, [0x140006b34]
call fcn.140002d80
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.140001110
int3
call fcn.140002bc0
int3