Function at 0x401c60
Capabilities:
Execute command
Open clipboard
Set console window title
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x403f4d
mov eax, dword fs:[0]
push eax
sub esp, 0xb0
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x229b
mov dword [ebp - 0x40], 0
call dword [sym.imp.KERNEL32.dll_SetConsoleOutputCP]
push str.DMHDevs_Random_Password_Generator_CLI_v1.0
call dword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
push 0xfffffffffffffff5
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov edi, dword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
mov esi, eax
push 0xf
push esi
mov dword [ebp - 0x5c], esi
call edi
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, str.___________________________________________n
call fcn.00402a00
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, str._DMHDevs_Random_Password_Generator_v1.0_n
call fcn.00402a00
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, str.___________________________________________n_n
call fcn.00402a00
push 0xa
push esi
call edi
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, str.__Description:_You_can_generate_your_password_of_any_length_and_strength_you_wish._n__Uses_lots_of_randomization_and_encryption_methods_to_make_it_much_harder_to_bruteforce_or_decrypt__n__if_service_uses_hashing_and_salting_methods_to_store_passwords.
call fcn.00402a00
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, 0x40586c
call fcn.00402a00
push 0xe
push esi
call edi
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, str._nChoose_preffered_security_strength_level_of_your_future_password:_n__n
call fcn.00402a00
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, str._1___Low_strength__use_only_numbers._n
call fcn.00402a00
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, str._2___Low_strength__previous_mode__English_letters._n
call fcn.00402a00
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, str._3___Medium_strength__previous_mode__non_standard_sentence_symbols_such_as________________._n
call fcn.00402a00
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, str._4___Medium_strength__previous_mode__non_standard_math_symbols_and_syntax_symbols_such_as_____________________.___._n
call fcn.00402a00
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, str._5___Medium_High_strength__previous_mode__logic_and_comparison_symbols_such_as_:_________________._n
call fcn.00402a00
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, str._6___High_strength__previous_mode__Cyrillic_symbols._n
call fcn.00402a00
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, str._7___High_strength__previous_mode__rightest_ASCII_symbols.__Requires_specific_console_encoding___n
call fcn.00402a00
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, str._8___Very_high_strength__previous_mode__use_ASCII_C_console_borders_symbols.__Requires_specific_console_encoding___n
call fcn.00402a00
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, str._9___Highest_strength__previous_mode__use_Unicode_symbols.__Some_applications_or_websites_cannot_recognize_some_symbols_from_this_algorithm__use_at_your_own_risk___n
call fcn.00402a00
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, 0x40586c
call fcn.00402a00
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, str.Choose_password_strength_generation_level:
call fcn.00402a00
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______thiscall_std::basic_istream_char__struct_std::char_traits_char__::operator___int__]
nop word [eax + eax]
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x3c], ecx
cmp ecx, 9
jg 0x401e0f
test ecx, ecx
jg 0x401e5b
push 0xc
push esi
call edi
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, str._nError:_Invalid_security_strength_level._Please__use_correct_mode_type__n
call fcn.00402a00
push 0xe
push esi
call edi
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, str.Choose_password_strength_generation_level:
call fcn.00402a00
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______thiscall_std::basic_istream_char__struct_std::char_traits_char__::operator___int__]
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, 0x40586c
call fcn.00402a00
jmp 0x401e00
lea esi, [ebp - 0x1b]
nop
mov eax, 0xcccccccd
dec esi
mul ecx
shr edx, 3
mov al, dl
shl al, 2
lea ecx, [eax + edx]
add cl, cl
sub byte [ebp - 0x3c], cl
mov ecx, dword [ebp - 0x3c]
add cl, 0x30
mov byte [esi], cl
mov ecx, edx
mov dword [ebp - 0x3c], ecx
test ecx, ecx
jne 0x401e60
push ecx
lea eax, [ebp - 0x1b]
push eax
push esi
lea ecx, [ebp - 0xbc]
call fcn.00401a20
lea eax, [ebp - 0xbc]
mov dword [ebp - 4], 0
push eax
mov edx, str.Successfully_selected_mode
lea ecx, [ebp - 0x8c]
call fcn.00402c30
add esp, 4
mov ecx, eax
mov byte [ebp - 4], 1
mov esi, dword [ecx + 0x14]
mov eax, esi
mov edx, dword [ecx + 0x10]
sub eax, edx
cmp eax, 1
jb 0x401ee7
lea eax, [edx + 1]
mov dword [ecx + 0x10], eax
mov eax, ecx
cmp esi, 0x10
jb 0x401edf
mov eax, dword [ecx]
mov word [eax + edx], 0x2e
jmp 0x401efe
push 1
push 0x405c9c
mov byte [ebp - 0x40], 0
push dword [ebp - 0x40]
push 1
call fcn.004017c0
mov ecx, eax
mov dword [ebp - 0x58], 0
mov edi, 0x38
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
movups xmm0, xmmword [ecx]
mov dword [ebp - 0x3c], edi
movups xmmword [ebp - 0x58], xmm0
movq xmm0, qword [ecx + 0x10]
movq qword [ebp - 0x48], xmm0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
mov byte [ecx], 0
mov byte [ebp - 4], 2
lea edx, [ebp - 0x58]
cmp dword [ebp - 0x44], 0x10
push dword [ebp - 0x48]
cmovae edx, dword [ebp - 0x58]
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.00402df0
mov byte [ebp - 4], 1
add esp, 4
mov ecx, dword [ebp - 0x44]
cmp ecx, 0x10
jb 0x401f95
mov edx, dword [ebp - 0x58]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x401f8b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402026
push ecx
push edx
call fcn.00403158
add esp, 8
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x78]
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
cmp ecx, 0x10
jb 0x401fde
mov edx, dword [ebp - 0x8c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x401fd4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402026
push ecx
push edx
call fcn.00403158
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xa8]
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 0xf
mov byte [ebp - 0x8c], 0
cmp ecx, 0x10
jb 0x402036
mov edx, dword [ebp - 0xbc]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40202c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40202c
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00403158
add esp, 8
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, 0x40586c
call fcn.00402a00
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, str.Choose_password_length:
call fcn.00402a00
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______thiscall_std::basic_istream_char__struct_std::char_traits_char__::operator___int__]
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, 0x40586c
call fcn.00402a00
mov esi, dword [ebp - 0x5c]
nop dword [eax]
mov eax, dword [ebp - 0x34]
test eax, eax
jle 0x402092
cmp eax, 0x7fffffff
jl 0x4022f5
push 0xc
push esi
call dword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
mov eax, dword [ebp - 0x34]
test eax, eax
jne 0x4020b7
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, str._nError:_Length_cannot_be_zero._Please__type_any_length_higher_than_0__n
call fcn.00402a00
mov eax, dword [ebp - 0x34]
test eax, eax
jns 0x4020cc
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, str._nError:_Length_cannot_be_negative._Please__type_any_positive_length__n
call fcn.00402a00
mov eax, dword [ebp - 0x34]
cmp eax, 0x7fffffff
jl 0x4022c7
lea esi, [ebp - 0x1b]
mov ecx, 0x7fffffff
nop
mov eax, 0xcccccccd
dec esi
mul ecx
shr edx, 3
mov al, dl
mov dword [ebp - 0x40], edx
shl al, 2
add dl, al
add dl, dl
sub cl, dl
add cl, 0x30
mov byte [esi], cl
mov ecx, dword [ebp - 0x40]
test ecx, ecx
jne 0x4020e0
push ecx
lea eax, [ebp - 0x1b]
push eax
push esi
lea ecx, [ebp - 0xbc]
call fcn.00401a20
or edi, 3
lea eax, [ebp - 0xbc]
mov dword [ebp - 4], 3
push eax
mov edx, str._nError:_Length_cannot_be_more_than_Integer_limit._Please__type_any_length_lesser_than
lea ecx, [ebp - 0x8c]
call fcn.00402c30
add esp, 4
mov ecx, eax
mov byte [ebp - 4], 4
mov esi, dword [ecx + 0x14]
mov eax, esi
mov edx, dword [ecx + 0x10]
sub eax, edx
cmp eax, 2
jb 0x40216e
lea eax, [edx + 2]
mov dword [ecx + 0x10], eax
mov eax, ecx
cmp esi, 0x10
jb 0x40215e
mov eax, dword [ecx]
mov esi, 0xa21
mov word [eax + edx], si
mov byte [eax + edx + 2], 0
jmp 0x402185
push 2
push 0x405d68
mov byte [ebp - 0x18], 0
push dword [ebp - 0x18]
push 2
call fcn.004017c0
mov ecx, eax
mov dword [ebp - 0x58], 0
or edi, 4
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
movups xmm0, xmmword [ecx]
mov dword [ebp - 0x3c], edi
movups xmmword [ebp - 0x58], xmm0
movq xmm0, qword [ecx + 0x10]
movq qword [ebp - 0x48], xmm0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
mov byte [ecx], 0
mov byte [ebp - 4], 5
lea edx, [ebp - 0x58]
cmp dword [ebp - 0x44], 0x10
push dword [ebp - 0x48]
cmovae edx, dword [ebp - 0x58]
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.00402df0
mov byte [ebp - 4], 4
add esp, 4
mov ecx, dword [ebp - 0x44]
cmp ecx, 0x10
jb 0x40221a
mov edx, dword [ebp - 0x58]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x402210
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402026
push ecx
push edx
call fcn.00403158
add esp, 8
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x78]
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
cmp ecx, 0x10
jb 0x402267
mov edx, dword [ebp - 0x8c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40225d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402026
push ecx
push edx
call fcn.00403158
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xa8]
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 0xf
mov byte [ebp - 0x8c], 0
cmp ecx, 0x10
jb 0x4022bd
mov edx, dword [ebp - 0xbc]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4022b3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402026
push ecx
push edx
call fcn.00403158
add esp, 8
mov esi, dword [ebp - 0x5c]
mov dword [ebp - 0x34], 0
push 0xe
push esi
call dword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, str.Choose_password_length:
call fcn.00402a00
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______thiscall_std::basic_istream_char__struct_std::char_traits_char__::operator___int__]
jmp 0x402080
push 4
push esi
call dword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
mov edi, dword [ebp - 0x34]
mov dword [ebp - 4], 6
mov esi, 0xf
mov eax, dword [ebp - 0x3c]
or eax, 0x40
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x38]
dec eax
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], esi
mov byte [ebp - 0x30], 0
cmp eax, 8
ja case.default.0x40233b
jmp dword [eax*4 + 0x4029d4]
call fcn.004011f0
push eax
call dword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_srand]
add esp, 4
test edi, edi
jle case.default.0x40233b
nop dword [eax]
call dword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
mov ecx, 0xa
cdq
idiv ecx
mov ecx, dword [ebp - 0x20]
mov dl, byte [edx + str.0123456789]
mov byte [ebp - 0x18], dl
cmp ecx, esi
jae 0x402398
lea eax, [ecx + 1]
cmp esi, 0x10
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x30]
cmovae eax, dword [ebp - 0x30]
mov byte [eax + ecx], dl
mov byte [eax + ecx + 1], 0
jmp 0x4023ab
push dword [ebp - 0x18]
mov byte [ebp - 0x14], 0
push dword [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x30]
call fcn.00401680
mov esi, dword [ebp - 0x1c]
sub edi, 1
jne 0x402360
jmp case.default.0x40233b
call fcn.004011f0
push eax
call dword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_srand]
add esp, 4
test edi, edi
jle case.default.0x40233b
nop
call dword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
xor edx, edx
mov ecx, 0x3f
div ecx
mov ecx, dword [ebp - 0x20]
mov dl, byte [edx + str.0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ]
mov byte [ebp - 0x14], dl
cmp ecx, esi
jae 0x402409
lea eax, [ecx + 1]
cmp esi, 0x10
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x30]
cmovae eax, dword [ebp - 0x30]
mov byte [eax + ecx], dl
mov byte [eax + ecx + 1], 0
jmp 0x40241c
push dword [ebp - 0x14]
mov byte [ebp - 0x18], 0
push dword [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x30]
call fcn.00401680
mov esi, dword [ebp - 0x1c]
sub edi, 1
jne 0x4023d0
jmp case.default.0x40233b
call fcn.004011f0
push eax
call dword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_srand]
add esp, 4
test edi, edi
jle case.default.0x40233b
call dword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
xor edx, edx
mov ecx, 0x47
div ecx
mov ecx, dword [ebp - 0x20]
mov dl, byte [edx + str.0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ____]
mov byte [ebp - 0x14], dl
cmp ecx, esi
jae 0x402479
lea eax, [ecx + 1]
cmp esi, 0x10
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x30]
cmovae eax, dword [ebp - 0x30]
mov byte [eax + ecx], dl
mov byte [eax + ecx + 1], 0
jmp 0x40248c
push dword [ebp - 0x14]
mov byte [ebp - 0x18], 0
push dword [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x30]
call fcn.00401680
mov esi, dword [ebp - 0x1c]
sub edi, 1
jne 0x402440
jmp case.default.0x40233b
call fcn.004011f0
push eax
call dword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_srand]
add esp, 4
test edi, edi
jle case.default.0x40233b
call dword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
xor edx, edx
mov ecx, 0x50
div ecx
mov ecx, dword [ebp - 0x20]
mov dl, byte [edx + str.0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ__________._]
mov byte [ebp - 0x14], dl
cmp ecx, esi
jae 0x4024e9
lea eax, [ecx + 1]
cmp esi, 0x10
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x30]
cmovae eax, dword [ebp - 0x30]
mov byte [eax + ecx], dl
mov byte [eax + ecx + 1], 0
jmp 0x4024fc
push dword [ebp - 0x14]
mov byte [ebp - 0x18], 0
push dword [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x30]
call fcn.00401680
mov esi, dword [ebp - 0x1c]
sub edi, 1
jne 0x4024b0
jmp case.default.0x40233b
call fcn.004011f0
push eax
call dword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_srand]
add esp, 4
test edi, edi
jle case.default.0x40233b
call dword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
xor edx, edx
mov ecx, 0x56
div ecx
mov ecx, dword [ebp - 0x20]
mov dl, byte [edx + 0x405408]
mov byte [ebp - 0x14], dl
cmp ecx, esi
jae 0x402559
lea eax, [ecx + 1]
cmp esi, 0x10
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x30]
cmovae eax, dword [ebp - 0x30]
mov byte [eax + ecx], dl
mov byte [eax + ecx + 1], 0
jmp 0x40256c
push dword [ebp - 0x14]
mov byte [ebp - 0x18], 0
push dword [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x30]
call fcn.00401680
mov esi, dword [ebp - 0x1c]
sub edi, 1
jne 0x402520
jmp case.default.0x40233b
call fcn.004011f0
push eax
call dword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_srand]
add esp, 4
test edi, edi
jle case.default.0x40233b
call dword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
xor edx, edx
mov ecx, 0x96
div ecx
mov ecx, dword [ebp - 0x20]
mov dl, byte [edx + str.0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ__________._:____]
mov byte [ebp - 0x14], dl
cmp ecx, esi
jae 0x4025c9
lea eax, [ecx + 1]
cmp esi, 0x10
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x30]
cmovae eax, dword [ebp - 0x30]
mov byte [eax + ecx], dl
mov byte [eax + ecx + 1], 0
jmp 0x4025dc
push dword [ebp - 0x14]
mov byte [ebp - 0x18], 0
push dword [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x30]
call fcn.00401680
mov esi, dword [ebp - 0x1c]
sub edi, 1
jne 0x402590
jmp case.default.0x40233b
call fcn.004011f0
push eax
call dword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_srand]
add esp, 4
test edi, edi
jle case.default.0x40233b
call dword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
xor edx, edx
mov ecx, 0xa3
div ecx
mov ecx, dword [ebp - 0x20]
mov dl, byte [edx + 0x405360]
mov byte [ebp - 0x14], dl
cmp ecx, esi
jae 0x402639
lea eax, [ecx + 1]
cmp esi, 0x10
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x30]
cmovae eax, dword [ebp - 0x30]
mov byte [eax + ecx], dl
mov byte [eax + ecx + 1], 0
jmp 0x40264c
push dword [ebp - 0x14]
mov byte [ebp - 0x18], 0
push dword [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x30]
call fcn.00401680
mov esi, dword [ebp - 0x1c]
sub edi, 1
jne 0x402600
jmp case.default.0x40233b
call fcn.004011f0
push eax
call dword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_srand]
add esp, 4
test edi, edi
jle case.default.0x40233b
call dword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
xor edx, edx
mov ecx, 0xd4
div ecx
mov ecx, dword [ebp - 0x20]
mov dl, byte [edx + 0x405460]
mov byte [ebp - 0x14], dl
cmp ecx, esi
jae 0x4026a9
lea eax, [ecx + 1]
cmp esi, 0x10
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x30]
cmovae eax, dword [ebp - 0x30]
mov byte [eax + ecx], dl
mov byte [eax + ecx + 1], 0
jmp 0x4026bc
push dword [ebp - 0x14]
mov byte [ebp - 0x18], 0
push dword [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x30]
call fcn.00401680
mov esi, dword [ebp - 0x1c]
sub edi, 1
jne 0x402670
jmp case.default.0x40233b
call fcn.004011f0
push eax
call dword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_srand]
add esp, 4
test edi, edi
jle case.default.0x40233b
nop dword [eax]
call dword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
xor edx, edx
mov ecx, 0xf2
div ecx
mov ecx, dword [ebp - 0x20]
mov dl, byte [edx + 0x405268]
mov byte [ebp - 0x14], dl
cmp ecx, esi
jae 0x402719
lea eax, [ecx + 1]
cmp esi, 0x10
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x30]
cmovae eax, dword [ebp - 0x30]
mov byte [eax + ecx], dl
mov byte [eax + ecx + 1], 0
jmp 0x40272c
push dword [ebp - 0x14]
mov byte [ebp - 0x18], 0
push dword [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x30]
call fcn.00401680
mov esi, dword [ebp - 0x1c]
sub edi, 1
jne 0x4026e0
mov eax, 0x7fffffff
sub eax, dword [ebp - 0x20]
cmp eax, 0x14
jb 0x4029cd
push dword [ebp - 0x20]
cmp esi, 0x10
lea eax, [ebp - 0x30]
cmovae eax, dword [ebp - 0x30]
push eax
push 0x14
push str.Generated_password:
push ecx
push dword [ebp - 0x14]
lea ecx, [ebp - 0xa4]
call fcn.00401920
mov esi, dword [ebp - 0x3c]
or esi, 0x80
mov dword [ebp - 0x40], esi
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x90]
mov eax, edx
mov ecx, dword [ebp - 0x94]
sub eax, ecx
cmp eax, 2
jb 0x4027bd
lea eax, [ecx + 2]
cmp edx, 0x10
mov dword [ebp - 0x94], eax
mov edx, 0xa20
lea eax, [ebp - 0xa4]
cmovae eax, dword [ebp - 0xa4]
mov word [eax + ecx], dx
mov byte [eax + ecx + 2], 0
lea eax, [ebp - 0xa4]
jmp 0x4027d8
push 2
push 0x405dc8
mov byte [ebp - 0x14], 0
lea ecx, [ebp - 0xa4]
push dword [ebp - 0x14]
push 2
call fcn.004017c0
mov dword [ebp - 0x74], 0
or esi, 0x100
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0
movups xmm0, xmmword [eax]
mov dword [ebp - 0x40], esi
movups xmmword [ebp - 0x74], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x64], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov byte [ebp - 4], 8
lea edx, [ebp - 0x74]
cmp dword [ebp - 0x60], 0x10
push dword [ebp - 0x64]
cmovae edx, dword [ebp - 0x74]
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.00402df0
mov byte [ebp - 4], 7
add esp, 4
mov ecx, dword [ebp - 0x60]
cmp ecx, 0x10
jb 0x40286c
mov edx, dword [ebp - 0x74]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x402862
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4028ae
push ecx
push edx
call fcn.00403158
add esp, 8
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x90]
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0xf
mov byte [ebp - 0x74], 0
cmp ecx, 0x10
jb 0x4028be
mov edx, dword [ebp - 0xa4]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4028b4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4028b4
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00403158
add esp, 8
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_OpenClipboard]
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov eax, dword [ebp - 0x20]
inc eax
push eax
push 2
mov dword [ebp - 0x14], eax
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, dword [ebp - 0x30]
mov edi, eax
test edi, edi
jne 0x4028f2
call dword [sym.imp.USER32.dll_CloseClipboard]
jmp 0x40292d
cmp dword [ebp - 0x1c], 0x10
lea eax, [ebp - 0x30]
push dword [ebp - 0x14]
cmovae eax, esi
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push edi
push 1
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov edi, dword [ebp - 0x5c]
push 0xe
push edi
call dword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, str.Your_password_has_been_copied_into_your_clipboard_
call fcn.00402a00
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, 0x40586c
call fcn.00402a00
push 0xf
push edi
call dword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
push 0xfde9
call dword [sym.imp.KERNEL32.dll_SetConsoleOutputCP]
push str.pause
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov eax, dword [ebp - 0x1c]
add esp, 4
cmp eax, 0x10
jb 0x4029b0
lea ecx, [eax + 1]
mov eax, esi
cmp ecx, 0x1000
jb 0x4029a6
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4029a6
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push esi
call fcn.00403158
add esp, 8
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0040311a
mov esp, ebp
pop ebp
ret
call fcn.00401160
nop
inc edx
and eax, dword [eax]
mov eax, 0x29004023
and al, 64
add byte [ecx + 0x9004024], bl
and eax, 0x25790040
inc eax
add cl, ch
and eax, 0x26590040
inc eax
add cl, cl
inc eax
add ah, cl
int3