Function at 0x401520
Capabilities:
Execute command

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x403545
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x404d14
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
xorps xmm0, xmm0
mov dword [ebp - 0x30], 0
push 0x50
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x2c], 0
call fcn.004024c3
movups xmm0, xmmword [0x404d18]
mov dword [ebp - 0x40], eax
xor ecx, ecx
mov dword [ebp - 0x30], 0x24
add esp, 8
mov dword [ebp - 0x2c], 0x27
movups xmmword [eax], xmm0
movups xmm0, xmmword [0x404d28]
movups xmmword [eax + 0x10], xmm0
movups xmm0, xmmword [0x404d38]
movups xmmword [eax + 0x20], xmm0
movups xmm0, xmmword [0x404d48]
movups xmmword [eax + 0x30], xmm0
movq xmm0, qword [0x404d58]
movq qword [eax + 0x40], xmm0
mov word [eax + 0x48], cx
push 0xfffffffffffffff5
mov dword [ebp - 4], ecx
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
lea ecx, [ebp - 0x28]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetConsoleScreenBufferInfo]
movsx eax, word [ebp - 0x1e]
xorps xmm0, xmm0
movsx ecx, word [ebp - 0x1a]
sub ecx, eax
mov dword [ebp - 0x48], 0
inc ecx
mov dword [ebp - 0x44], 0
sub ecx, dword [ebp - 0x30]
shr ecx, 1
push ecx
push ecx
lea ecx, [ebp - 0x58]
movups xmmword [ebp - 0x58], xmm0
call fcn.00401eb0
mov byte [ebp - 4], 1
lea edx, [ebp - 0x58]
cmp dword [ebp - 0x44], 7
push dword [ebp - 0x48]
cmova edx, dword [ebp - 0x58]
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.00402110
cmp dword [ebp - 0x2c], 7
lea edx, [ebp - 0x40]
push dword [ebp - 0x30]
cmova edx, dword [ebp - 0x40]
mov ecx, eax
call fcn.00402110
add esp, 8
mov ecx, eax
push 0x401d60
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 byte [ebp - 4], 0
mov ecx, dword [ebp - 0x44]
cmp ecx, 7
jbe 0x401688
mov edx, dword [ebp - 0x58]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40167e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40167e
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.004024f3
add esp, 8
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
cmp ecx, 7
jbe 0x4016df
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4016d5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4016d5
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.004024f3
add esp, 8
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
xor eax, eax
push 0x401d60
mov edx, str._n__0___Exit_______1___KBM_______2___Tweaks
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
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_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
mov edx, str._nChoice_Option:
call fcn.00401b30
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004024b5
mov esp, ebp
pop ebp
ret