Function at 0x405cc0
Capabilities:
Execute command

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x413a9d
mov eax, dword fs:[0]
push eax
sub esp, 0x1f0
mov eax, dword [0x41b040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
push str.chcp_65001
call esi
push ecx
lea ecx, [ebp - 0x88]
call fcn.00401910
push eax
lea eax, [ebp - 0x90]
mov dword [ebp - 4], 0
push eax
call dword [sym.imp.MSVCP140.dll_public:_static_class_std::locale___cdecl_std::locale::global_class_std::locale_const__]
mov ecx, dword [ebp - 0x8c]
add esp, 8
test ecx, ecx
je 0x405d3d
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
test eax, eax
je 0x405d3d
mov ecx, dword [eax]
push 1
mov edx, dword [ecx]
mov ecx, eax
call edx
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x84]
test ecx, ecx
je 0x405d63
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
test eax, eax
je 0x405d63
mov ecx, dword [eax]
push 1
mov edx, dword [ecx]
mov ecx, eax
call edx
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
push 6
push str.RED_01
lea ecx, [ebp - 0x1fc]
movq qword [ebp - 0x1c], xmm0
movups xmmword [ebp - 0x1fc], xmm0
mov dword [ebp - 0x1ec], 0
mov dword [ebp - 0x1e8], 0
call fcn.0040a4e0
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x1e4]
push 0xc
xorps xmm0, xmm0
mov dword [ebp - 0x1d4], 0
push str.80.66.82.192
movups xmmword [ebp - 0x1e4], xmm0
mov dword [ebp - 0x1d0], 0
call fcn.0040a4e0
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x1cc]
push 9
xorps xmm0, xmm0
mov dword [ebp - 0x1bc], 0
push str.YELLOW_02
movups xmmword [ebp - 0x1cc], xmm0
mov dword [ebp - 0x1b8], 0
call fcn.0040a4e0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x1b4]
push 0xc
xorps xmm0, xmm0
mov dword [ebp - 0x1a4], 0
push str.80.66.82.193
movups xmmword [ebp - 0x1b4], xmm0
mov dword [ebp - 0x1a0], 0
call fcn.0040a4e0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x19c]
push 8
xorps xmm0, xmm0
mov dword [ebp - 0x18c], 0
push str.GREEN_03
movups xmmword [ebp - 0x19c], xmm0
mov dword [ebp - 0x188], 0
call fcn.0040a4e0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x184]
push 0xc
xorps xmm0, xmm0
mov dword [ebp - 0x174], 0
push str.80.66.82.194
movups xmmword [ebp - 0x184], xmm0
mov dword [ebp - 0x170], 0
call fcn.0040a4e0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x16c]
push 8
xorps xmm0, xmm0
mov dword [ebp - 0x15c], 0
push str.AZURE_04
movups xmmword [ebp - 0x16c], xmm0
mov dword [ebp - 0x158], 0
call fcn.0040a4e0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x154]
push 0xc
xorps xmm0, xmm0
mov dword [ebp - 0x144], 0
push str.80.66.82.195
movups xmmword [ebp - 0x154], xmm0
mov dword [ebp - 0x140], 0
call fcn.0040a4e0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x13c]
push 9
xorps xmm0, xmm0
mov dword [ebp - 0x12c], 0
push str.SILVER_05
movups xmmword [ebp - 0x13c], xmm0
mov dword [ebp - 0x128], 0
call fcn.0040a4e0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x124]
push 0xc
xorps xmm0, xmm0
mov dword [ebp - 0x114], 0
push str.80.66.82.196
movups xmmword [ebp - 0x124], xmm0
mov dword [ebp - 0x110], 0
call fcn.0040a4e0
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x10c]
push 7
xorps xmm0, xmm0
mov dword [ebp - 0xfc], 0
push str.ROSE_06
movups xmmword [ebp - 0x10c], xmm0
mov dword [ebp - 0xf8], 0
call fcn.0040a4e0
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0xf4]
push 0xa
xorps xmm0, xmm0
mov dword [ebp - 0xe4], 0
push str.80.66.71.6
movups xmmword [ebp - 0xf4], xmm0
mov dword [ebp - 0xe0], 0
call fcn.0040a4e0
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0xdc]
push 8
xorps xmm0, xmm0
mov dword [ebp - 0xcc], 0
push str.BLACK_07
movups xmmword [ebp - 0xdc], xmm0
mov dword [ebp - 0xc8], 0
call fcn.0040a4e0
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0xc4]
push 0xb
xorps xmm0, xmm0
mov dword [ebp - 0xb4], 0
push str.80.66.82.40
movups xmmword [ebp - 0xc4], xmm0
mov dword [ebp - 0xb0], 0
call fcn.0040a4e0
lea ecx, [ebp - 0x1fc]
mov dword [ebp - 4], 0xe
push ecx
lea eax, [ebp - 0xac]
push eax
push ecx
lea ecx, [ebp - 0x1c]
call fcn.00406d90
push fcn.00406cf0
push 7
push 0x30
lea eax, [ebp - 0x1fc]
mov byte [ebp - 4], 0x10
push eax
call fcn.0041212c
lea ecx, [ebp - 0x74]
call fcn.00401f90
mov byte [ebp - 4], 0x11
jmp 0x406096
mov esi, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
push 0x4155a0
call esi
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
add esp, 4
mov edx, 0x415a44
call fcn.00409440
push 0x409660
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
mov ecx, dword [ebp - 0x18]
mov eax, 0x2aaaaaab
sub ecx, dword [ebp - 0x1c]
xor edi, edi
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x40617e
xor esi, esi
nop
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea eax, [edi + 1]
push eax
mov edi, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_int_]
mov edx, 0x415944
mov ecx, eax
call fcn.00409440
mov edx, dword [ebp - 0x1c]
add edx, esi
cmp dword [edx + 0x14], 0xf
mov ecx, dword [edx + 0x10]
jbe 0x40610e
mov edx, dword [edx]
push ecx
mov ecx, eax
call fcn.0040b270
add esp, 4
mov edx, 0x415a74
mov ecx, eax
call fcn.00409440
mov edx, dword [ebp - 0x1c]
add edx, 0x18
add edx, esi
cmp dword [edx + 0x14], 0xf
mov ecx, dword [edx + 0x10]
jbe 0x406138
mov edx, dword [edx]
push ecx
mov ecx, eax
call fcn.0040b270
add esp, 4
mov edx, 0x415a70
mov ecx, eax
call fcn.00409440
push 0x409660
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
mov ecx, dword [ebp - 0x18]
mov eax, 0x2aaaaaab
sub ecx, dword [ebp - 0x1c]
add esi, 0x30
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x4060e0
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, 0x415a78
call fcn.00409440
push 0x409660
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
xorps xmm0, xmm0
mov dword [ebp - 0x24], 1
mov eax, 0xf
movups xmmword [ebp - 0x34], xmm0
mov dword [ebp - 0x20], eax
mov word [ebp - 0x34], 0xa
mov byte [ebp - 4], 0x12
lea edx, [ebp - 0x34]
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
push 1
call fcn.0040b270
mov byte [ebp - 4], 0x11
add esp, 4
mov ecx, dword [ebp - 0x20]
cmp ecx, 0xf
jbe 0x406206
mov edx, dword [ebp - 0x34]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4061fc
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406c85
push ecx
push edx
call fcn.00412492
add esp, 8
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, 0x415a94
call fcn.00409440
push 0x409660
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, str.by_nexter
call fcn.00409440
push 0x409660
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
mov edi, dword [sym.imp.api_ms_win_crt_conio_l1_1_0.dll__getch]
call edi
mov esi, eax
sub esi, 0x30
je 0x406c8b
cmp esi, 9
jne 0x406262
call fcn.00405c20
jmp 0x406090
cmp esi, 1
jl 0x4067f0
mov ecx, dword [ebp - 0x18]
mov eax, 0x2aaaaaab
mov edi, dword [ebp - 0x1c]
sub ecx, edi
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jg 0x4067ea
lea eax, [esi + esi*2]
shl eax, 4
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x94], eax
add eax, 0xffffffe8
add eax, edi
push eax
call fcn.00408870
mov byte [ebp - 4], 0x13
nop word [eax + eax]
push 0x4155a0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
add esp, 4
mov edx, 0x415acc
call fcn.00409440
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x94]
add ecx, 0xffffffd0
add edx, ecx
cmp dword [edx + 0x14], 0xf
mov ecx, dword [edx + 0x10]
jbe 0x4062e7
mov edx, dword [edx]
push ecx
mov ecx, eax
call fcn.0040b270
mov edx, 0x415a74
mov ecx, eax
call fcn.00409440
cmp dword [ebp - 0x3c], 0xf
lea edx, [ebp - 0x50]
push dword [ebp - 0x40]
cmova edx, dword [ebp - 0x50]
mov ecx, eax
call fcn.0040b270
add esp, 8
mov edx, 0x415a70
mov ecx, eax
call fcn.00409440
push 0x409660
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x6c]
call fcn.00408290
mov esi, eax
mov eax, 0x2aaaaaab
mov dword [ebp - 0x80], esi
mov ecx, dword [esi + 4]
sub ecx, dword [esi]
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x4063c6
xor edi, edi
mov ecx, edi
nop dword [eax]
lea eax, [ecx + 1]
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
push eax
mov dword [ebp - 0x78], eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_int_]
mov edx, 0x415944
mov ecx, eax
call fcn.00409440
mov edx, dword [esi]
add edx, edi
cmp dword [edx + 0x14], 0xf
mov ecx, dword [edx + 0x10]
jbe 0x40638e
mov edx, dword [edx]
push ecx
mov ecx, eax
call fcn.0040b270
add esp, 4
mov ecx, eax
push 0x409660
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
mov ecx, dword [esi + 4]
mov eax, 0x2aaaaaab
sub ecx, dword [esi]
add edi, 0x18
imul ecx
mov ecx, dword [ebp - 0x78]
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ecx, eax
jb 0x406360
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, 0x415ad8
call fcn.00409440
push 0x409660
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
call dword [sym.imp.api_ms_win_crt_conio_l1_1_0.dll__getch]
mov edi, eax
sub edi, 0x30
je 0x4067a3
cmp edi, 1
jl 0x406417
mov ecx, dword [esi + 4]
mov eax, 0x2aaaaaab
sub ecx, dword [esi]
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jle 0x406784
cmp edi, 8
jne 0x4065f5
mov ecx, dword [esi + 4]
mov eax, 0x2aaaaaab
sub ecx, dword [esi]
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 7
jb 0x40647c
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, 0x415b34
call fcn.00409440
push 0x409660
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
lea ecx, [ebp - 0x9c]
mov dword [ebp - 0x9c], 1
mov dword [ebp - 0x98], 0
call fcn.00409690
jmp 0x4062b0
xorps xmm0, xmm0
mov dword [ebp - 0x24], 0
movups xmmword [ebp - 0x34], xmm0
mov dword [ebp - 0x20], 0xf
mov byte [ebp - 0x34], 0
mov byte [ebp - 4], 0x14
mov edx, 0x415b60
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.00409440
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
lea edx, [ebp - 0x34]
call fcn.00409240
sub esp, 8
mov dword [ebp - 0x54], 0
xorps xmm0, xmm0
lea ecx, [ebp - 0x64]
movups xmmword [ebp - 0x64], xmm0
call fcn.00406f50
mov byte [ebp - 4], 0x15
lea edx, [ebp - 0x34]
cmp dword [ebp - 0x20], 0xf
lea ecx, [ebp - 0x34]
mov eax, dword [ebp - 0x24]
cmova edx, dword [ebp - 0x34]
cmova ecx, dword [ebp - 0x34]
push ecx
push 0x10
lea edx, [edx + eax]
lea eax, [ebp - 0x64]
push eax
push ecx
call fcn.0040b6f0
add esp, 0x10
mov byte [ebp - 0x79], al
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0x14
call fcn.00408d00
mov ecx, dword [ebp - 0x54]
test ecx, ecx
je 0x406527
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
test eax, eax
je 0x406527
mov ecx, dword [eax]
push 1
mov edx, dword [ecx]
mov ecx, eax
call edx
cmp byte [ebp - 0x79], 0
je 0x406578
mov esi, dword [ebp - 0x80]
lea ecx, [ebp - 0x34]
push ecx
mov eax, dword [esi + 4]
cmp eax, dword [esi + 8]
je 0x406549
mov ecx, eax
call fcn.00408870
add dword [esi + 4], 0x18
jmp 0x406551
push eax
mov ecx, esi
call fcn.0040ba20
lea ecx, [ebp - 0x74]
call fcn.00402930
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, 0x415b88
call fcn.00409440
push 0x409660
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
jmp 0x4065b4
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
mov edx, 0x415b98
call fcn.00409440
push 0x409660
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
lea ecx, [ebp - 0xa4]
mov dword [ebp - 0xa4], 1
mov dword [ebp - 0xa0], 0
call fcn.00409690
mov byte [ebp - 4], 0x13
mov ecx, dword [ebp - 0x20]
cmp ecx, 0xf
jbe 0x4062b0
mov edx, dword [ebp - 0x34]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4065e6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406c85
push ecx
push edx
call fcn.00412492
add esp, 8
jmp 0x4062b0
cmp edi, 9
jne 0x4062b0
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, 0x415bdc
call fcn.00409440
call dword [sym.imp.api_ms_win_crt_conio_l1_1_0.dll__getch]
lea edi, [eax - 0x30]
cmp edi, 1
jl 0x406743
mov ecx, dword [esi + 4]
mov eax, 0x2aaaaaab
mov esi, dword [esi]
mov dword [ebp - 0x78], ecx
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jg 0x406743
lea eax, [edi + edi*2]
lea edi, [esi + eax*8]
mov eax, dword [ebp - 0x78]
lea esi, [edi - 0x18]
cmp edi, eax
je 0x4066c9
cmp esi, edi
je 0x4066bf
mov ecx, dword [esi + 0x14]
cmp ecx, 0xf
jbe 0x40668d
mov eax, dword [esi]
inc ecx
cmp ecx, 0x1000
jb 0x406680
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406c85
mov eax, edx
push ecx
push eax
call fcn.00412492
mov eax, dword [ebp - 0x78]
add esp, 8
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
movups xmm0, xmmword [edi]
movups xmmword [esi], xmm0
movq xmm0, qword [edi + 0x10]
movq qword [esi + 0x10], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
add edi, 0x18
add esi, 0x18
cmp edi, eax
jne 0x406653
mov esi, dword [ebp - 0x80]
mov edi, dword [esi + 4]
mov ecx, dword [edi - 4]
cmp ecx, 0xf
jbe 0x406703
mov eax, dword [edi - 0x18]
inc ecx
cmp ecx, 0x1000
jb 0x4066f9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406c85
mov eax, edx
push ecx
push eax
call fcn.00412492
add esp, 8
mov dword [edi - 8], 0
lea ecx, [ebp - 0x74]
mov dword [edi - 4], 0xf
mov byte [edi - 0x18], 0
add dword [esi + 4], 0xffffffe8
call fcn.00402930
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, 0x415c00
call fcn.00409440
push 0x409660
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
jmp 0x4062b0
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
mov edx, 0x415c0c
call fcn.00409440
push 0x409660
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
lea ecx, [ebp - 0xac]
mov dword [ebp - 0xac], 1
mov dword [ebp - 0xa8], 0
call fcn.00409690
jmp 0x4062b0
push dword [ebp - 0x72]
mov ecx, dword [esi]
lea eax, [edi - 1]
push dword [ebp - 0x73]
lea eax, [eax + eax*2]
push dword [ebp - 0x74]
lea edx, [ecx + eax*8]
lea ecx, [ebp - 0x50]
call fcn.004057b0
add esp, 0xc
mov byte [ebp - 4], 0x11
mov ecx, dword [ebp - 0x3c]
mov esi, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
cmp ecx, 0xf
jbe 0x406096
mov edx, dword [ebp - 0x50]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4067db
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406c85
push ecx
push edx
call fcn.00412492
add esp, 8
jmp 0x406090
mov edi, dword [sym.imp.api_ms_win_crt_conio_l1_1_0.dll__getch]
cmp esi, 8
mov esi, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
jne 0x406096
nop
push 0x4155a0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
add esp, 4
mov edx, 0x415c34
call fcn.00409440
push 0x409660
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
cmp byte [ebp - 0x74], 0
mov eax, 0x415c5c
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov esi, 0x415c50
mov edx, 0x415c68
cmove esi, eax
call fcn.00409440
mov edx, esi
mov ecx, eax
call fcn.00409440
mov edx, 0x415a70
mov ecx, eax
call fcn.00409440
push 0x409660
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
cmp byte [ebp - 0x73], 0
mov eax, 0x415c5c
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov esi, 0x415c50
mov edx, 0x415ca0
cmove esi, eax
call fcn.00409440
mov edx, esi
mov ecx, eax
call fcn.00409440
mov edx, 0x415a70
mov ecx, eax
call fcn.00409440
push 0x409660
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, 0x415cd4
call fcn.00409440
push 0x409660
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, 0x415d08
call fcn.00409440
push 0x409660
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
cmp byte [ebp - 0x72], 0
mov eax, 0x415c5c
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov esi, 0x415c50
mov edx, 0x415d30
cmove esi, eax
call fcn.00409440
mov edx, esi
mov ecx, eax
call fcn.00409440
mov edx, 0x415d2c
mov ecx, eax
call fcn.00409440
mov esi, eax
mov eax, 0x10624dd3
imul dword [ebp - 0x70]
sar edx, 6
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
push ecx
mov ecx, esi
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___int_]
mov edx, 0x415d20
mov ecx, eax
call fcn.00409440
push 0x409660
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, 0x415d70
call fcn.00409440
push 0x409660
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
call edi
sub eax, 0x30
cmp eax, 1
jne 0x406993
cmp byte [ebp - 0x74], 0
lea ecx, [ebp - 0x74]
sete byte [ebp - 0x74]
call fcn.00402930
jmp 0x406800
cmp eax, 2
jne 0x4069ad
cmp byte [ebp - 0x73], 0
lea ecx, [ebp - 0x74]
sete byte [ebp - 0x73]
call fcn.00402930
jmp 0x406800
cmp eax, 3
je 0x406c74
cmp eax, 4
je 0x406c5e
cmp eax, 5
jne 0x406c51
nop dword [eax + eax]
push 0x4155a0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
add esp, 4
mov edx, 0x415d94
call fcn.00409440
push 0x409660
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
cmp byte [ebp - 0x72], 0
mov eax, 0x415c5c
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov esi, 0x415c50
mov edx, 0x415da8
cmove esi, eax
call fcn.00409440
mov edx, esi
mov ecx, eax
call fcn.00409440
mov edx, 0x415a70
mov ecx, eax
call fcn.00409440
push 0x409660
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, 0x415ddc
call fcn.00409440
push dword [ebp - 0x70]
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___int_]
mov edx, 0x415dd4
mov ecx, eax
call fcn.00409440
push 0x409660
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, 0x415e10
call fcn.00409440
push 0x409660
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
xorps xmm0, xmm0
mov dword [ebp - 0x40], 1
mov eax, 0xf
movups xmmword [ebp - 0x50], xmm0
mov dword [ebp - 0x3c], eax
mov word [ebp - 0x50], 0xa
mov byte [ebp - 4], 0x16
lea edx, [ebp - 0x50]
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
push 1
call fcn.0040b270
mov byte [ebp - 4], 0x11
add esp, 4
mov ecx, dword [ebp - 0x3c]
cmp ecx, 0xf
jbe 0x406afa
mov edx, dword [ebp - 0x50]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x406af0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406c85
push ecx
push edx
call fcn.00412492
add esp, 8
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, 0x415e28
call fcn.00409440
push 0x409660
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, 0x415e70
call fcn.00409440
push 0x409660
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, 0x415ec8
call fcn.00409440
push 0x409660
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
call edi
sub eax, 0x30
cmp eax, 1
jne 0x406b70
cmp byte [ebp - 0x72], 0
lea ecx, [ebp - 0x74]
sete byte [ebp - 0x72]
call fcn.00402930
jmp 0x4069d0
cmp eax, 2
jne 0x406c44
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, 0x415f1c
call fcn.00409440
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 eax, dword [ebp - 0x38]
test eax, eax
jle 0x406c03
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x70], eax
call fcn.00402930
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, 0x415f58
call fcn.00409440
push dword [ebp - 0x38]
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___int_]
mov edx, 0x415f50
mov ecx, eax
call fcn.00409440
push 0x409660
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
lea ecx, [ebp - 0x88]
mov dword [ebp - 0x88], 1
mov dword [ebp - 0x84], 0
call fcn.00409690
jmp 0x4069d0
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
mov edx, 0x415f70
call fcn.00409440
push 0x409660
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
lea ecx, [ebp - 0x90]
mov dword [ebp - 0x90], 1
mov dword [ebp - 0x8c], 0
call fcn.00409690
jmp 0x4069d0
test eax, eax
jne 0x4069d0
jmp 0x406800
test eax, eax
jne 0x406800
jmp 0x406090
call fcn.004030d0
mov edx, str.._ReShaded3d9.dll
mov ecx, eax
call fcn.00405240
jmp 0x406090
call fcn.004030d0
mov ecx, eax
call fcn.00405470
jmp 0x406090
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_char__struct_std::char_traits_char___std::cout]
mov edx, 0x415ab8
call fcn.00409440
push 0x409660
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
mov eax, dword [ebp - 0x6c]
push dword [eax + 4]
lea eax, [ebp - 0x6c]
push eax
mov ecx, eax
call fcn.0040bc40
push 0x34
push dword [ebp - 0x6c]
call fcn.00412492
add esp, 8
lea ecx, [ebp - 0x1c]
call fcn.00408c70
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.004120ee
mov esp, ebp
pop ebp
ret