Function at 0x405660
Capabilities:
Execute command

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x412e52
mov eax, dword fs:[0]
push eax
sub esp, 0x1d8
mov eax, dword [0x419040]
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 - 0x80]
call fcn.00401900
push eax
lea eax, [ebp - 0x88]
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 - 0x84]
add esp, 8
test ecx, ecx
je 0x4056da
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
test eax, eax
je 0x4056da
mov ecx, dword [eax]
push 1
mov edx, dword [ecx]
mov ecx, eax
call edx
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x7c]
test ecx, ecx
je 0x4056fd
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
test eax, eax
je 0x4056fd
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 - 0x1e4]
movq qword [ebp - 0x1c], xmm0
movups xmmword [ebp - 0x1e4], xmm0
mov dword [ebp - 0x1d4], 0
mov dword [ebp - 0x1d0], 0
call fcn.00409ac0
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x1cc]
push 0xc
xorps xmm0, xmm0
mov dword [ebp - 0x1bc], 0
push str.80.66.82.192
movups xmmword [ebp - 0x1cc], xmm0
mov dword [ebp - 0x1b8], 0
call fcn.00409ac0
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x1b4]
push 9
xorps xmm0, xmm0
mov dword [ebp - 0x1a4], 0
push str.YELLOW_02
movups xmmword [ebp - 0x1b4], xmm0
mov dword [ebp - 0x1a0], 0
call fcn.00409ac0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x19c]
push 0xc
xorps xmm0, xmm0
mov dword [ebp - 0x18c], 0
push str.80.66.82.193
movups xmmword [ebp - 0x19c], xmm0
mov dword [ebp - 0x188], 0
call fcn.00409ac0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x184]
push 8
xorps xmm0, xmm0
mov dword [ebp - 0x174], 0
push str.GREEN_03
movups xmmword [ebp - 0x184], xmm0
mov dword [ebp - 0x170], 0
call fcn.00409ac0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x16c]
push 0xc
xorps xmm0, xmm0
mov dword [ebp - 0x15c], 0
push str.80.66.82.194
movups xmmword [ebp - 0x16c], xmm0
mov dword [ebp - 0x158], 0
call fcn.00409ac0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x154]
push 8
xorps xmm0, xmm0
mov dword [ebp - 0x144], 0
push str.AZURE_04
movups xmmword [ebp - 0x154], xmm0
mov dword [ebp - 0x140], 0
call fcn.00409ac0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x13c]
push 0xc
xorps xmm0, xmm0
mov dword [ebp - 0x12c], 0
push str.80.66.82.195
movups xmmword [ebp - 0x13c], xmm0
mov dword [ebp - 0x128], 0
call fcn.00409ac0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x124]
push 9
xorps xmm0, xmm0
mov dword [ebp - 0x114], 0
push str.SILVER_05
movups xmmword [ebp - 0x124], xmm0
mov dword [ebp - 0x110], 0
call fcn.00409ac0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x10c]
push 0xc
xorps xmm0, xmm0
mov dword [ebp - 0xfc], 0
push str.80.66.82.196
movups xmmword [ebp - 0x10c], xmm0
mov dword [ebp - 0xf8], 0
call fcn.00409ac0
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0xf4]
push 7
xorps xmm0, xmm0
mov dword [ebp - 0xe4], 0
push str.ROSE_06
movups xmmword [ebp - 0xf4], xmm0
mov dword [ebp - 0xe0], 0
call fcn.00409ac0
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0xdc]
push 0xa
xorps xmm0, xmm0
mov dword [ebp - 0xcc], 0
push str.80.66.71.6
movups xmmword [ebp - 0xdc], xmm0
mov dword [ebp - 0xc8], 0
call fcn.00409ac0
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0xc4]
push 8
xorps xmm0, xmm0
mov dword [ebp - 0xb4], 0
push str.BLACK_07
movups xmmword [ebp - 0xc4], xmm0
mov dword [ebp - 0xb0], 0
call fcn.00409ac0
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0xac]
push 0xb
xorps xmm0, xmm0
mov dword [ebp - 0x9c], 0
push str.80.66.82.40
movups xmmword [ebp - 0xac], xmm0
mov dword [ebp - 0x98], 0
call fcn.00409ac0
lea ecx, [ebp - 0x1e4]
mov dword [ebp - 4], 0xe
push ecx
lea eax, [ebp - 0x94]
push eax
push ecx
lea ecx, [ebp - 0x1c]
call fcn.00406430
push fcn.00406390
push 7
push 0x30
lea eax, [ebp - 0x1e4]
mov byte [ebp - 4], 0x10
push eax
call fcn.0041159c
lea ecx, [ebp - 0x6c]
call fcn.00401f80
mov byte [ebp - 4], 0x11
jmp 0x405a36
mov esi, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
push 0x41454c
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, 0x41498c
call fcn.00408a60
push 0x408c80
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 0x405b1e
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, 0x41488c
mov ecx, eax
call fcn.00408a60
mov edx, dword [ebp - 0x1c]
add edx, esi
cmp dword [edx + 0x14], 0xf
mov ecx, dword [edx + 0x10]
jbe 0x405aae
mov edx, dword [edx]
push ecx
mov ecx, eax
call fcn.0040a850
add esp, 4
mov edx, 0x4149bc
mov ecx, eax
call fcn.00408a60
mov edx, dword [ebp - 0x1c]
add edx, 0x18
add edx, esi
cmp dword [edx + 0x14], 0xf
mov ecx, dword [edx + 0x10]
jbe 0x405ad8
mov edx, dword [edx]
push ecx
mov ecx, eax
call fcn.0040a850
add esp, 4
mov edx, 0x4149b8
mov ecx, eax
call fcn.00408a60
push 0x408c80
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 0x405a80
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, 0x4149c0
call fcn.00408a60
push 0x408c80
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.0040a850
mov byte [ebp - 4], 0x11
add esp, 4
mov ecx, dword [ebp - 0x20]
cmp ecx, 0xf
jbe 0x405ba6
mov edx, dword [ebp - 0x34]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x405b9c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40631f
push ecx
push edx
call fcn.00411902
add esp, 8
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, 0x4149dc
call fcn.00408a60
push 0x408c80
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.00408a60
push 0x408c80
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 0x406325
cmp esi, 9
jne 0x405c02
call fcn.004055c0
jmp 0x405a30
cmp esi, 1
jl 0x40618a
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 0x406184
lea eax, [esi + esi*2]
shl eax, 4
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x8c], eax
add eax, 0xffffffe8
add eax, edi
push eax
call fcn.00407e90
mov byte [ebp - 4], 0x13
nop word [eax + eax]
push 0x41454c
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, 0x414a14
call fcn.00408a60
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x8c]
add ecx, 0xffffffd0
add edx, ecx
cmp dword [edx + 0x14], 0xf
mov ecx, dword [edx + 0x10]
jbe 0x405c87
mov edx, dword [edx]
push ecx
mov ecx, eax
call fcn.0040a850
mov edx, 0x4149bc
mov ecx, eax
call fcn.00408a60
cmp dword [ebp - 0x38], 0xf
lea edx, [ebp - 0x4c]
push dword [ebp - 0x3c]
cmova edx, dword [ebp - 0x4c]
mov ecx, eax
call fcn.0040a850
add esp, 8
mov edx, 0x4149b8
mov ecx, eax
call fcn.00408a60
push 0x408c80
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 - 0x4c]
push eax
lea ecx, [ebp - 0x68]
call fcn.00407930
mov esi, eax
mov eax, 0x2aaaaaab
mov dword [ebp - 0x78], 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 0x405d66
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 - 0x70], 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, 0x41488c
mov ecx, eax
call fcn.00408a60
mov edx, dword [esi]
add edx, edi
cmp dword [edx + 0x14], 0xf
mov ecx, dword [edx + 0x10]
jbe 0x405d2e
mov edx, dword [edx]
push ecx
mov ecx, eax
call fcn.0040a850
add esp, 4
mov ecx, eax
push 0x408c80
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 - 0x70]
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ecx, eax
jb 0x405d00
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, 0x414a20
call fcn.00408a60
push 0x408c80
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 0x40613d
cmp edi, 1
jl 0x405db7
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 0x406121
cmp edi, 8
jne 0x405f8c
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 0x405e1c
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, 0x414a7c
call fcn.00408a60
push 0x408c80
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 - 0x94]
mov dword [ebp - 0x94], 1
mov dword [ebp - 0x90], 0
call fcn.00408cb0
jmp 0x405c50
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, 0x414aa8
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.00408a60
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.00408860
sub esp, 8
mov dword [ebp - 0x50], 0
xorps xmm0, xmm0
lea ecx, [ebp - 0x60]
movups xmmword [ebp - 0x60], xmm0
call fcn.004065f0
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 - 0x60]
push eax
push ecx
call fcn.0040aca0
add esp, 0x10
mov byte [ebp - 0x71], al
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 0x14
call fcn.00408320
mov ecx, dword [ebp - 0x50]
test ecx, ecx
je 0x405ec7
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
test eax, eax
je 0x405ec7
mov ecx, dword [eax]
push 1
mov edx, dword [ecx]
mov ecx, eax
call edx
cmp byte [ebp - 0x71], 0
je 0x405f18
mov esi, dword [ebp - 0x78]
lea ecx, [ebp - 0x34]
push ecx
mov eax, dword [esi + 4]
cmp eax, dword [esi + 8]
je 0x405ee9
mov ecx, eax
call fcn.00407e90
add dword [esi + 4], 0x18
jmp 0x405ef1
push eax
mov ecx, esi
call fcn.0040afd0
lea ecx, [ebp - 0x6c]
call fcn.004027b0
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, 0x414ad0
call fcn.00408a60
push 0x408c80
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 0x405f4b
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
mov edx, 0x414ae0
call fcn.00408a60
push 0x408c80
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 - 0x80]
mov dword [ebp - 0x80], 1
mov dword [ebp - 0x7c], 0
call fcn.00408cb0
mov byte [ebp - 4], 0x13
mov ecx, dword [ebp - 0x20]
cmp ecx, 0xf
jbe 0x405c50
mov edx, dword [ebp - 0x34]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x405f7d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40631f
push ecx
push edx
call fcn.00411902
add esp, 8
jmp 0x405c50
cmp edi, 9
jne 0x405c50
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, 0x414b24
call fcn.00408a60
call dword [sym.imp.api_ms_win_crt_conio_l1_1_0.dll__getch]
lea edi, [eax - 0x30]
cmp edi, 1
jl 0x4060e0
mov ecx, dword [esi + 4]
mov eax, 0x2aaaaaab
mov esi, dword [esi]
mov dword [ebp - 0x70], ecx
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jg 0x4060e0
lea eax, [edi + edi*2]
lea edi, [esi + eax*8]
mov eax, dword [ebp - 0x70]
lea esi, [edi - 0x18]
cmp edi, eax
je 0x406066
nop word [eax + eax]
cmp esi, edi
je 0x40605c
mov ecx, dword [esi + 0x14]
cmp ecx, 0xf
jbe 0x40602a
mov eax, dword [esi]
inc ecx
cmp ecx, 0x1000
jb 0x40601d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40631f
mov eax, edx
push ecx
push eax
call fcn.00411902
mov eax, dword [ebp - 0x70]
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 0x405ff0
mov esi, dword [ebp - 0x78]
mov edi, dword [esi + 4]
mov ecx, dword [edi - 4]
cmp ecx, 0xf
jbe 0x4060a0
mov eax, dword [edi - 0x18]
inc ecx
cmp ecx, 0x1000
jb 0x406096
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40631f
mov eax, edx
push ecx
push eax
call fcn.00411902
add esp, 8
mov dword [edi - 8], 0
lea ecx, [ebp - 0x6c]
mov dword [edi - 4], 0xf
mov byte [edi - 0x18], 0
add dword [esi + 4], 0xffffffe8
call fcn.004027b0
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, 0x414b48
call fcn.00408a60
push 0x408c80
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 0x405c50
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
mov edx, 0x414b54
call fcn.00408a60
push 0x408c80
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.00408cb0
jmp 0x405c50
mov ecx, dword [esi]
lea eax, [edi - 1]
push dword [ebp - 0x6b]
lea eax, [eax + eax*2]
push dword [ebp - 0x6c]
lea edx, [ecx + eax*8]
lea ecx, [ebp - 0x4c]
call fcn.00405150
add esp, 8
mov byte [ebp - 4], 0x11
mov ecx, dword [ebp - 0x38]
mov esi, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
cmp ecx, 0xf
jbe 0x405a36
mov edx, dword [ebp - 0x4c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x406175
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40631f
push ecx
push edx
call fcn.00411902
add esp, 8
jmp 0x405a30
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 0x405a36
nop dword [eax]
push 0x41454c
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, 0x414b7c
call fcn.00408a60
push 0x408c80
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 - 0x6c], 0
mov eax, 0x414ba4
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov esi, 0x414b98
mov edx, 0x414bb0
cmove esi, eax
call fcn.00408a60
mov edx, esi
mov ecx, eax
call fcn.00408a60
mov edx, 0x4149b8
mov ecx, eax
call fcn.00408a60
push 0x408c80
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 - 0x6b], 0
mov eax, 0x414ba4
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov esi, 0x414b98
mov edx, 0x414be8
cmove esi, eax
call fcn.00408a60
mov edx, esi
mov ecx, eax
call fcn.00408a60
mov edx, 0x4149b8
mov ecx, eax
call fcn.00408a60
push 0x408c80
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, 0x414c1c
call fcn.00408a60
push 0x408c80
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, 0x414c34
call fcn.00408a60
push 0x408c80
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, 0x414c4c
call fcn.00408a60
push 0x408c80
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 0x4062c7
cmp byte [ebp - 0x6c], 0
lea ecx, [ebp - 0x6c]
sete byte [ebp - 0x6c]
call fcn.004027b0
jmp 0x4061a0
cmp eax, 2
jne 0x4062e1
cmp byte [ebp - 0x6b], 0
lea ecx, [ebp - 0x6c]
sete byte [ebp - 0x6b]
call fcn.004027b0
jmp 0x4061a0
cmp eax, 3
je 0x40630e
cmp eax, 4
je 0x4062f8
test eax, eax
jne 0x4061a0
jmp 0x405a30
call fcn.00402f00
mov edx, str.._ReShaded3d9.dll
mov ecx, eax
call fcn.004032c0
jmp 0x405a30
call fcn.00402f00
mov ecx, eax
call fcn.00404e10
jmp 0x405a30
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, 0x414a00
call fcn.00408a60
push 0x408c80
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 - 0x68]
push dword [eax + 4]
lea eax, [ebp - 0x68]
push eax
mov ecx, eax
call fcn.0040b1f0
push 0x34
push dword [ebp - 0x68]
call fcn.00411902
add esp, 8
lea ecx, [ebp - 0x1c]
call fcn.00408290
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.0041155e
mov esp, ebp
pop ebp
ret