Function at 0x401740
Capabilities:
Execute command
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40357d
mov eax, dword fs:[0]
push eax
sub esp, 0x24
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
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
xor eax, eax
mov dword [ebp - 0x14], 7
movups xmmword [ebp - 0x28], xmm0
mov word [ebp - 0x28], ax
mov dword [ebp - 4], eax
call fcn.00401520
mov esi, dword [sym.imp.MSVCP140.dll_class_std::basic_istream_wchar_t__struct_std::char_traits_wchar_t___std::wcin]
push 0xa
mov eax, dword [esi]
mov ecx, dword [eax + 4]
add ecx, esi
call dword [sym.imp.MSVCP140.dll_public:_wchar_t___thiscall_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::widen_char_const]
movzx eax, ax
lea edx, [ebp - 0x28]
push eax
mov ecx, esi
call fcn.00402300
mov eax, dword [ebp - 0x28]
lea esi, [ebp - 0x28]
mov edi, dword [ebp - 0x18]
add esp, 4
cmp dword [ebp - 0x14], 7
cmova esi, eax
cmp edi, 1
jne 0x401824
mov ecx, 0x404de4
mov edx, edi
sub esi, ecx
mov ax, word [esi + ecx]
cmp ax, word [ecx]
jne 0x401821
add ecx, 2
sub edx, 1
jne 0x4017d1
mov esi, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
push 0x404d14
call esi
call fcn.00401270
push str.reg_add_HKEY_CURRENT_USERControl_PanelAccessibilityStickyKeys__v_Flags__t_REG_SZ__d_506__f___nul_2_1
call esi
push str.reg_add_HKEY_CURRENT_USERControl_PanelAccessibilityStickyKeys__v_HotKeyFlags__t_REG_SZ__d_58__f___nul_2_1
call esi
mov esi, dword [sym.imp.KERNEL32.dll_GetStdHandle]
add esp, 0xc
push 0xfffffffffffffff5
call esi
mov edi, dword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
push 0xa
push eax
call edi
mov edx, 0x404de8
jmp 0x401884
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x14]
lea esi, [ebp - 0x28]
cmp ecx, 7
cmova esi, eax
cmp edi, 1
jne 0x4018e2
mov ecx, 0x404e80
mov edx, edi
sub esi, ecx
mov ax, word [esi + ecx]
cmp ax, word [ecx]
jne 0x4018dc
add ecx, 2
sub edx, 1
jne 0x401842
push 0x404d14
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
add esp, 4
call fcn.00401320
mov esi, dword [sym.imp.KERNEL32.dll_GetStdHandle]
push 0xfffffffffffffff5
call esi
mov edi, dword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
push 0xa
push eax
call edi
mov edx, 0x404e84
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
push 0x401d60
call fcn.00401b30
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______thiscall_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t_______cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t_____]
push 0xfffffffffffffff5
call esi
push 7
push eax
call edi
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
mov edx, str._nPress_enter_to_get_Back
push 0x401d60
call fcn.00401b30
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______thiscall_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t_______cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t_____]
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_istream_wchar_t__struct_std::char_traits_wchar_t___std::wcin]
push 0xffff
push 0
push 1
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_istream_wchar_t__struct_std::char_traits_wchar_t______thiscall_std::basic_istream_wchar_t__struct_std::char_traits_wchar_t__::ignore_long_long___int64___unsigned_short_int_]
jmp 0x401788
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x14]
cmp ecx, 7
lea esi, [ebp - 0x28]
cmova esi, eax
cmp edi, 1
jne 0x401943
mov eax, 0x404ec0
mov edx, edi
sub esi, eax
nop dword [eax]
mov cx, word [esi + eax]
cmp cx, word [eax]
jne 0x401943
add eax, 2
sub edx, 1
jne 0x401900
mov eax, dword [ebp - 0x14]
cmp eax, 7
jbe 0x401985
mov edx, dword [ebp - 0x28]
lea ecx, [eax*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40197b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40197b
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
mov edx, 0x404ec4
push 0x401d60
call fcn.00401b30
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______thiscall_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t_______cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t_____]
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x30], 2
mov dword [ebp - 0x2c], 0
call fcn.00401d90
jmp 0x401788
push ecx
push edx
call fcn.004024f3
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.004024b5
mov esp, ebp
pop ebp
ret