Function at 0x406519
Capabilities:
Encrypt or decrypt via wincrypt

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
push str.Madino_Mino_n
mov esi, 0x469800
push esi
call fcn.00401252
push str.Write_command._nFor_help_write_5_nDont_TRY_TO_WRITE_WORDS____nONLY_NUMBERS____nLike:help_and_other..._n_n_nroot_calculator_unstable:
push esi
call fcn.00401252
add esp, 0x10
call dword [sym.imp.KERNEL32.dll_FreeConsole]
call fcn.0040647b
mov eax, dword [0x4695fc]
mov ebx, 0x469788
mov dword [esp + 0x10], eax
mov ecx, ebx
lea eax, [esp + 0x10]
push eax
call fcn.0040148f
mov eax, dword [esp + 0x10]
mov ebp, str.Write_number_n
mov dword [0x4695fc], eax
mov edi, 0x42b458
cmp eax, 1
jne 0x406604
push ebp
push esi
call fcn.00401252
mov eax, dword [0x4695f0]
pop ecx
pop ecx
mov dword [esp + 0x10], eax
mov ecx, ebx
lea eax, [esp + 0x10]
push eax
call fcn.0040148f
mov eax, dword [esp + 0x10]
push str.Write_twice_number_n
push esi
mov dword [0x4695f0], eax
call fcn.00401252
mov eax, dword [0x4695f4]
pop ecx
pop ecx
mov dword [esp + 0x10], eax
mov ecx, ebx
lea eax, [esp + 0x10]
push eax
call fcn.0040148f
mov ecx, dword [esp + 0x10]
mov eax, dword [0x4695f0]
add eax, ecx
mov dword [0x4695f4], ecx
push edi
push eax
push str.Sum:
push esi
mov dword [0x4695f8], eax
call fcn.00401252
pop ecx
pop ecx
mov ecx, eax
call fcn.00403954
push eax
call fcn.00401252
pop ecx
pop ecx
call main
mov eax, dword [0x4695fc]
cmp eax, 2
jne 0x406693
push ebp
push esi
call fcn.00401252
mov eax, dword [0x4695f0]
pop ecx
pop ecx
mov dword [esp + 0x10], eax
mov ecx, ebx
lea eax, [esp + 0x10]
push eax
call fcn.0040148f
mov eax, dword [esp + 0x10]
push str.Write_twice_number_n
push esi
mov dword [0x4695f0], eax
call fcn.00401252
mov eax, dword [0x4695f4]
pop ecx
pop ecx
mov dword [esp + 0x10], eax
mov ecx, ebx
lea eax, [esp + 0x10]
push eax
call fcn.0040148f
mov eax, dword [esp + 0x10]
mov dword [0x4695f4], eax
imul eax, dword [0x4695f0]
push edi
push eax
push str.Multiplication:
push esi
mov dword [0x4695f8], eax
call fcn.00401252
pop ecx
pop ecx
mov ecx, eax
call fcn.00403954
push eax
call fcn.00401252
pop ecx
pop ecx
call main
mov eax, dword [0x4695fc]
cmp eax, 3
jne 0x406724
push ebp
push esi
call fcn.00401252
mov eax, dword [0x4695f0]
pop ecx
pop ecx
mov dword [esp + 0x10], eax
mov ecx, ebx
lea eax, [esp + 0x10]
push eax
call fcn.0040148f
mov eax, dword [esp + 0x10]
push str.Write_twice_number_n
push esi
mov dword [0x4695f0], eax
call fcn.00401252
mov eax, dword [0x4695f4]
pop ecx
pop ecx
mov dword [esp + 0x10], eax
mov ecx, ebx
lea eax, [esp + 0x10]
push eax
call fcn.0040148f
mov eax, dword [esp + 0x10]
mov ecx, dword [0x4695f0]
sub ecx, eax
mov dword [0x4695f4], eax
push edi
push ecx
push str.Subtraction:
push esi
mov dword [0x4695f8], ecx
call fcn.00401252
pop ecx
pop ecx
mov ecx, eax
call fcn.00403954
push eax
call fcn.00401252
pop ecx
pop ecx
call main
mov eax, dword [0x4695fc]
cmp eax, 4
jne 0x4067b5
push ebp
push esi
call fcn.00401252
mov eax, dword [0x4695f0]
pop ecx
pop ecx
mov dword [esp + 0x10], eax
mov ecx, ebx
lea eax, [esp + 0x10]
push eax
call fcn.0040148f
mov eax, dword [esp + 0x10]
push str.Write_twice_number_n
push esi
mov dword [0x4695f0], eax
call fcn.00401252
mov eax, dword [0x4695f4]
pop ecx
pop ecx
mov dword [esp + 0x10], eax
mov ecx, ebx
lea eax, [esp + 0x10]
push eax
call fcn.0040148f
mov eax, dword [0x4695f0]
mov ecx, dword [esp + 0x10]
cdq
idiv ecx
push edi
push eax
push str.Division:
push esi
mov dword [0x4695f4], ecx
mov dword [0x4695f8], eax
call fcn.00401252
pop ecx
pop ecx
mov ecx, eax
call fcn.00403954
push eax
call fcn.00401252
pop ecx
pop ecx
call main
mov eax, dword [0x4695fc]
cmp eax, 5
jne 0x4067d1
push str.Commands_n_1___Sum_n_2___Multiplication_Y_n_3___Subtraction_n_4___Division_n_5___Help_n_6___Close_n_7___Factorial_n_CtrlC___Emergency_stop_n
push esi
call fcn.00401252
pop ecx
pop ecx
call main
mov eax, dword [0x4695fc]
cmp eax, 6
je 0x406866
cmp eax, 7
jne 0x406851
push str.Write_number_n__
push esi
call fcn.00401252
mov eax, dword [0x4695f0]
pop ecx
pop ecx
mov dword [esp + 0x10], eax
mov ecx, ebx
lea eax, [esp + 0x10]
push eax
call fcn.0040148f
mov eax, dword [esp + 0x10]
push eax
mov dword [0x4695f0], eax
call fcn.00406194
pop ecx
test eax, eax
jne 0x40681c
mov edi, str.Too_many_numbers..._n
jmp 0x406833
push eax
push str.Factorial:
push esi
call fcn.00401252
pop ecx
pop ecx
mov ecx, eax
call fcn.00403954
mov esi, eax
push edi
push esi
call fcn.00401252
pop ecx
pop ecx
call main
xor eax, eax
push eax
push eax
push eax
push eax
push eax
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDecrypt]
jmp 0x40685e
push str.Error_Command_n
push esi
call fcn.00401252
pop ecx
pop ecx
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret
push 0
call fcn.0040f994
int3