Function at 0x401360
Capabilities:
Execute command
Set console window title

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x402ddd
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x405040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push str.Kays_Charms_Loader
call dword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, str.___Kays_Charms_Loader_V6_____n
call fcn.004017f0
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, str.Key:
call fcn.004017f0
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
call fcn.00401a10
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.004017f0
cmp dword [0x4054e8], 0xf
mov ecx, 0x4054d4
mov esi, dword [0x4050bc]
mov edx, 0x4050ac
cmova ecx, dword [0x4054d4]
cmp dword [0x4050c0], 0xf
cmova edx, dword [0x4050ac]
cmp esi, dword [0x4054e4]
jne 0x401658
sub esi, 4
jb 0x401421
nop dword [eax]
mov eax, dword [edx]
cmp eax, dword [ecx]
jne 0x401426
add edx, 4
add ecx, 4
sub esi, 4
jae 0x401410
cmp esi, 0xfffffffc
je 0x40145a
mov al, byte [edx]
cmp al, byte [ecx]
jne 0x401453
cmp esi, 0xfffffffd
je 0x40145a
mov al, byte [edx + 1]
cmp al, byte [ecx + 1]
jne 0x401453
cmp esi, 0xfffffffe
je 0x40145a
mov al, byte [edx + 2]
cmp al, byte [ecx + 2]
jne 0x401453
cmp esi, 0xffffffff
je 0x40145a
mov al, byte [edx + 3]
cmp al, byte [ecx + 3]
je 0x40145a
sbb eax, eax
or eax, 1
jmp 0x40145c
xor eax, eax
test eax, eax
jne 0x401658
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, str.Key_Correct
call fcn.004017f0
push 0x403211
lea ecx, [ebp - 0x58]
call fcn.00401250
push 0x403211
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], 0
call fcn.00401250
push 0x403211
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.00401250
push 0x40328c
mov byte [ebp - 4], 2
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
add esp, 4
cmp byte [0x4050a8], 1
jne 0x4015c0
nop word [eax + eax]
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, str.1___CSGO__n
call fcn.004017f0
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, str.2___TF2__n
call fcn.004017f0
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, str.3___GTAV__n
call fcn.004017f0
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, str.4___Exit__n
call fcn.004017f0
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, str.Enter_your_choice_and_press_return:
call fcn.004017f0
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
push 0x4054d0
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 eax, dword [0x4054d0]
dec eax
cmp eax, 3
ja case.default.0x40153c
jmp dword [eax*4 + 0x401684]
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, str.CSGO__n
call fcn.004017f0
jmp 0x40159a
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, str.TF2__n
call fcn.004017f0
jmp 0x40159a
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, str.GTAV__n
call fcn.004017f0
jmp 0x40159a
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, str.Not_a_valid_choice__try_again.__n
call fcn.004017f0
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
push 0x4054d0
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__]
cmp byte [0x4050a8], 1
je 0x4014d0
jmp 0x4015c0
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, str.Exitting_application_...__n
call fcn.004017f0
mov byte [0x4050a8], 0
mov ecx, dword [ebp - 0x14]
cmp ecx, 0xf
jbe 0x4015f0
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4015e6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x401646
push ecx
push edx
call fcn.004021a5
add esp, 8
mov ecx, dword [ebp - 0x2c]
cmp ecx, 0xf
jbe 0x401620
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x401616
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x401646
push ecx
push edx
call fcn.004021a5
add esp, 8
mov ecx, dword [ebp - 0x44]
cmp ecx, 0xf
jbe 0x401668
mov edx, dword [ebp - 0x58]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40164c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40164c
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.004021a5
add esp, 8
jmp 0x401668
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, str.Login_Details_False
call fcn.004017f0
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00401f11
mov esp, ebp
pop ebp
ret