Function at 0x401220
Capabilities:
Execute command

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40431e
mov eax, dword fs:[0]
push eax
sub esp, 0x128
mov eax, dword [0x407008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x18], 0
xorps xmm0, xmm0
mov edi, 0xf
mov dword [ebp - 0x24], 0
movups xmmword [ebp - 0x34], xmm0
mov dword [ebp - 0x20], edi
mov byte [ebp - 0x34], 0
mov dword [ebp - 4], 0
movups xmmword [ebp - 0x7c], xmm0
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x68], edi
mov byte [ebp - 0x7c], 0
movups xmmword [ebp - 0x64], xmm0
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], edi
mov byte [ebp - 0x64], 0
push str.Russian
push 0
mov byte [ebp - 4], 2
call dword [sym.imp.api_ms_win_crt_locale_l1_1_0.dll_setlocale]
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
add esp, 8
mov edx, 0x405234
call fcn.00402970
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
push 0x407440
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 [0x407440]
cmp eax, 1
jne 0x401b34
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, 0x405260
call fcn.00402970
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
push 0x407460
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 ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, 0x405278
call fcn.00402970
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.00402b90
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, 0x40529c
call fcn.00402970
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
push 0x40745c
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 ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, 0x4052cc
call fcn.00402970
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
push 0x407454
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 ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, 0x4052f0
call fcn.00402970
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
push 0x40743c
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 ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, 0x405310
call fcn.00402970
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
push 0x40744c
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___float__]
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, 0x405324
call fcn.00402970
mov ecx, dword [ebp - 0x34]
xor esi, esi
mov byte [ebp - 0x9d], 0
cmp dword [ebp - 0x24], esi
jbe 0x4014a2
mov edx, dword [ebp - 0x20]
cmp edx, 0x10
setae byte [ebp - 0x9e]
cmp edx, 0x10
lea eax, [ebp - 0x34]
cmovae eax, ecx
add eax, esi
cmp eax, 0x405328
jne 0x4013ef
mov byte [ebp - 0x9d], 1
jmp 0x401498
cmp byte [ebp - 0x9d], 0
lea eax, [ebp - 0x34]
jne 0x401442
cmp byte [ebp - 0x9e], 0
mov edx, dword [ebp - 0x6c]
mov edi, dword [ebp - 0x68]
cmovne eax, ecx
mov al, byte [eax + esi]
mov byte [ebp - 0x18], al
cmp edx, edi
jae 0x401432
mov cl, byte [ebp - 0x18]
lea eax, [edx + 1]
mov dword [ebp - 0x6c], eax
cmp edi, 0x10
lea eax, [ebp - 0x7c]
cmovae eax, dword [ebp - 0x7c]
mov byte [eax + edx], cl
mov byte [eax + edx + 1], 0
jmp 0x401492
push dword [ebp - 0x18]
mov byte [ebp - 0x1c], 0
push dword [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x7c]
jmp 0x40148d
cmp byte [ebp - 0x9e], 0
mov edx, dword [ebp - 0x54]
mov edi, dword [ebp - 0x50]
cmovne eax, ecx
mov al, byte [eax + esi]
mov byte [ebp - 0x14], al
cmp edx, edi
jae 0x401479
mov cl, byte [ebp - 0x14]
lea eax, [edx + 1]
mov dword [ebp - 0x54], eax
cmp edi, 0x10
lea eax, [ebp - 0x64]
cmovae eax, dword [ebp - 0x64]
mov byte [eax + edx], cl
mov byte [eax + edx + 1], 0
jmp 0x401492
push dword [ebp - 0x14]
mov byte [ebp - 0xa4], 0
push dword [ebp - 0xa4]
push ecx
lea ecx, [ebp - 0x64]
call fcn.00402e80
mov edx, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x34]
inc esi
cmp esi, dword [ebp - 0x24]
jb 0x4013d1
cmp dword [ebp - 0x50], 0x10
lea eax, [ebp - 0x64]
mov edi, dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
cmovae eax, dword [ebp - 0x64]
cmp dword [ebp - 0x68], 0x10
mov dword [ebp - 0xa4], eax
lea eax, [ebp - 0x7c]
cmovae eax, dword [ebp - 0x7c]
push eax
call edi
push dword [ebp - 0xa4]
mov esi, eax
shl esi, 4
sub esi, eax
call edi
lea edi, [eax + esi*4]
mov eax, dword [0x407460]
cdq
idiv dword [0x407454]
add edi, dword [0x40745c]
imul eax, edi
cdq
mov dword [ebp - 0x9c], eax
lea eax, [ebp - 0x9c]
push eax
mov dword [ebp - 0x98], edx
call dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__gmtime64]
mov esi, eax
lea ecx, [ebp - 0xd4]
add esp, 0xc
mov dword [ebp - 0x1c], esi
mov edx, dword [esi + 8]
call fcn.004027d0
mov dword [ebp - 0x18], 0x80000
mov byte [ebp - 4], 3
cmp dword [ebp - 0xc4], 1
mov edx, dword [esi + 8]
jbe 0x40154d
lea ecx, [ebp - 0xec]
call fcn.004027d0
lea ecx, [ebp - 0xec]
mov eax, 0x480001
jmp 0x401582
lea ecx, [ebp - 0x104]
call fcn.004027d0
lea eax, [ebp - 0x104]
mov dword [ebp - 4], 5
push eax
lea ecx, [ebp - 0xbc]
mov dword [ebp - 0x18], 0x880002
call fcn.00402d90
mov ecx, eax
add esp, 4
mov eax, 0x880006
mov dword [ebp - 0x84], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x94], xmm0
mov dword [ebp - 0x80], 0
movups xmm0, xmmword [ecx]
mov dword [ebp - 0x14], eax
movups xmmword [ebp - 0x94], xmm0
movq xmm0, qword [ecx + 0x10]
movq qword [ebp - 0x84], xmm0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
mov byte [ecx], 0
mov dword [ebp - 4], 6
test al, 4
je 0x401631
mov ecx, dword [ebp - 0xa8]
and eax, 0xfffffffb
mov dword [ebp - 0x14], eax
cmp ecx, 0x10
jb 0x401616
mov edx, dword [ebp - 0xbc]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x401609
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40170b
push ecx
push edx
call fcn.00403428
mov eax, dword [ebp - 0x14]
add esp, 8
mov dword [ebp - 0xac], 0
mov dword [ebp - 0xa8], 0xf
mov byte [ebp - 0xbc], 0
mov byte [ebp - 4], 7
test al, 2
je 0x401697
mov ecx, dword [ebp - 0xf0]
and eax, 0xfffffffd
mov dword [ebp - 0x14], eax
cmp ecx, 0x10
jb 0x40167c
mov edx, dword [ebp - 0x104]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40166f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40170b
push ecx
push edx
call fcn.00403428
mov eax, dword [ebp - 0x14]
add esp, 8
mov dword [ebp - 0xf4], 0
mov dword [ebp - 0xf0], 0xf
mov byte [ebp - 0x104], 0
mov byte [ebp - 4], 8
test al, 1
je 0x4016db
mov ecx, dword [ebp - 0xd8]
and eax, 0xfffffffe
mov dword [ebp - 0x14], eax
cmp ecx, 0x10
jb 0x4016db
mov edx, dword [ebp - 0xec]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4016d1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40170b
push ecx
push edx
call fcn.00403428
add esp, 8
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0xc0]
cmp ecx, 0x10
jb 0x40171b
mov edx, dword [ebp - 0xd4]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x401711
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x401711
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00403428
add esp, 8
mov edx, dword [esi + 4]
lea ecx, [ebp - 0x11c]
call fcn.004027d0
mov esi, dword [ebp - 0x14]
or esi, 0x40000
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x18], esi
mov eax, dword [ebp - 0x1c]
mov byte [ebp - 4], 0xa
cmp dword [ebp - 0x10c], 1
mov edx, dword [eax + 4]
jbe 0x401768
lea ecx, [ebp - 0xbc]
call fcn.004027d0
mov eax, esi
or eax, 0x200000
lea ecx, [ebp - 0xbc]
or eax, 8
jmp 0x4017a5
lea ecx, [ebp - 0xd4]
call fcn.004027d0
or esi, 0x100000
lea eax, [ebp - 0xd4]
mov dword [ebp - 4], 0xc
or esi, 0x10
lea ecx, [ebp - 0xec]
push eax
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x18], esi
call fcn.00402d90
mov ecx, eax
add esp, 4
mov eax, esi
or eax, 0x20
mov dword [ebp - 0x3c], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x4c], xmm0
mov dword [ebp - 0x38], 0
movups xmm0, xmmword [ecx]
movups xmmword [ebp - 0x4c], xmm0
movq xmm0, qword [ecx + 0x10]
movq qword [ebp - 0x3c], xmm0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
mov byte [ecx], 0
mov dword [ebp - 4], 0xd
test al, 0x20
je 0x401845
mov ecx, dword [ebp - 0xd8]
and eax, 0xffffffdf
mov dword [ebp - 0x14], eax
cmp ecx, 0x10
jb 0x40182a
mov edx, dword [ebp - 0xec]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40181d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x401919
push ecx
push edx
call fcn.00403428
mov eax, dword [ebp - 0x14]
add esp, 8
mov dword [ebp - 0xdc], 0
mov dword [ebp - 0xd8], 0xf
mov byte [ebp - 0xec], 0
mov byte [ebp - 4], 0xe
test al, 0x10
je 0x4018ab
mov ecx, dword [ebp - 0xc0]
and eax, 0xffffffef
mov dword [ebp - 0x14], eax
cmp ecx, 0x10
jb 0x401890
mov edx, dword [ebp - 0xd4]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x401883
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x401919
push ecx
push edx
call fcn.00403428
mov eax, dword [ebp - 0x14]
add esp, 8
mov dword [ebp - 0xc4], 0
mov dword [ebp - 0xc0], 0xf
mov byte [ebp - 0xd4], 0
mov byte [ebp - 4], 0xf
test al, 8
je 0x4018e9
mov ecx, dword [ebp - 0xa8]
cmp ecx, 0x10
jb 0x4018e9
mov edx, dword [ebp - 0xbc]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4018df
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x401919
push ecx
push edx
call fcn.00403428
add esp, 8
mov byte [ebp - 4], 0x10
mov ecx, dword [ebp - 0x108]
cmp ecx, 0x10
jb 0x401929
mov edx, dword [ebp - 0x11c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40191f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40191f
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00403428
add esp, 8
mov eax, dword [ebp - 0x1c]
mov edx, 0x405334
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
push dword [eax + 0x1c]
call fcn.00402970
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, 0x405328
mov ecx, eax
call fcn.00402970
cmp dword [ebp - 0x80], 0x10
lea edx, [ebp - 0x94]
push dword [ebp - 0x84]
cmovae edx, dword [ebp - 0x94]
mov ecx, eax
call fcn.00403030
mov edx, 0x405328
mov ecx, eax
call fcn.00402970
cmp dword [ebp - 0x38], 0x10
lea edx, [ebp - 0x4c]
push dword [ebp - 0x3c]
cmovae edx, dword [ebp - 0x4c]
mov ecx, eax
call fcn.00403030
add esp, 8
mov edx, 0x405330
mov ecx, eax
call fcn.00402970
mov eax, dword [0x407460]
cdq
idiv dword [0x407454]
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, 0x40534c
imul eax, dword [0x40743c]
push eax
call fcn.00402970
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, 0x405330
mov ecx, eax
call fcn.00402970
movd xmm0, dword [0x40743c]
mov edx, 0x405368
cvtdq2ps xmm0, xmm0
push ecx
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
movd xmm1, edi
mulss xmm0, dword [0x4054b0]
cvtdq2ps xmm1, xmm1
divss xmm0, xmm1
movss dword [esp], xmm0
call fcn.00402970
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___float_]
mov edx, 0x405330
mov ecx, eax
call fcn.00402970
movd xmm0, dword [0x407454]
mov edx, 0x405378
cvtdq2ps xmm0, xmm0
push ecx
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
movd xmm1, edi
mulss xmm0, dword [0x4054b0]
cvtdq2ps xmm1, xmm1
divss xmm0, xmm1
movss dword [esp], xmm0
call fcn.00402970
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___float_]
mov edx, 0x405330
mov ecx, eax
call fcn.00402970
mov eax, 0x10624dd3
imul dword [0x407460]
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
movd xmm0, eax
cvtdq2ps xmm0, xmm0
push ecx
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, 0x40538c
mulss xmm0, dword [0x40744c]
movss dword [esp], xmm0
call fcn.00402970
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___float_]
mov edx, 0x405330
mov ecx, eax
call fcn.00402970
mov ecx, dword [ebp - 0x38]
cmp ecx, 0x10
jb 0x401ae7
mov edx, dword [ebp - 0x4c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x401add
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x401b2e
push ecx
push edx
call fcn.00403428
add esp, 8
mov ecx, dword [ebp - 0x80]
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0xf
mov byte [ebp - 0x4c], 0
cmp ecx, 0x10
jb 0x4024cd
mov edx, dword [ebp - 0x94]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4024c3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4024c3
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
cmp eax, 2
jne 0x4024d0
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, 0x405394
call fcn.00402970
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
push 0x407444
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 ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, 0x4053c0
call fcn.00402970
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
push 0x407450
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 ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, 0x4053d0
call fcn.00402970
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
push 0x407448
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 ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, 0x405278
call fcn.00402970
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.00402b90
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, 0x4053e0
call fcn.00402970
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
push 0x40745c
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 ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, 0x4052cc
call fcn.00402970
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
push 0x407454
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 ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, 0x4052f0
call fcn.00402970
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
push 0x40743c
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 dword [0x407444], 1
jne 0x401cb2
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, 0x405410
call fcn.00402970
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
push 0x407018
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 ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, 0x405424
call fcn.00402970
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
push 0x40701c
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 ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, 0x405438
call fcn.00402970
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
push 0x407020
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 ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, 0x405450
call fcn.00402970
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
push 0x407024
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 ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, str.__n__n
call fcn.00402970
mov ecx, dword [ebp - 0x34]
xor esi, esi
mov byte [ebp - 0x9e], 0
cmp dword [ebp - 0x24], esi
jbe 0x401db5
mov edx, dword [ebp - 0x20]
cmp edx, 0x10
setae byte [ebp - 0x9d]
cmp edx, 0x10
lea eax, [ebp - 0x34]
cmovae eax, ecx
add eax, esi
cmp eax, 0x405328
jne 0x401d02
mov byte [ebp - 0x9e], 1
jmp 0x401dab
cmp byte [ebp - 0x9e], 0
lea eax, [ebp - 0x34]
jne 0x401d5b
cmp byte [ebp - 0x9d], 0
mov edx, dword [ebp - 0x6c]
mov edi, dword [ebp - 0x68]
cmovne eax, ecx
mov al, byte [eax + esi]
mov byte [ebp - 0x1c], al
cmp edx, edi
jae 0x401d45
mov cl, byte [ebp - 0x1c]
lea eax, [edx + 1]
mov dword [ebp - 0x6c], eax
cmp edi, 0x10
lea eax, [ebp - 0x7c]
cmovae eax, dword [ebp - 0x7c]
mov byte [eax + edx], cl
mov byte [eax + edx + 1], 0
jmp 0x401da5
push dword [ebp - 0x1c]
mov byte [ebp - 0xa4], 0
push dword [ebp - 0xa4]
push ecx
lea ecx, [ebp - 0x7c]
jmp 0x401da0
cmp byte [ebp - 0x9d], 0
mov edx, dword [ebp - 0x54]
mov edi, dword [ebp - 0x50]
cmovne eax, ecx
mov al, byte [eax + esi]
mov byte [ebp - 0x18], al
cmp edx, edi
jae 0x401d92
mov cl, byte [ebp - 0x18]
lea eax, [edx + 1]
mov dword [ebp - 0x54], eax
cmp edi, 0x10
lea eax, [ebp - 0x64]
cmovae eax, dword [ebp - 0x64]
mov byte [eax + edx], cl
mov byte [eax + edx + 1], 0
jmp 0x401da5
push dword [ebp - 0x18]
mov byte [ebp - 0x14], 0
push dword [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x64]
call fcn.00402e80
mov edx, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x34]
inc esi
cmp esi, dword [ebp - 0x24]
jb 0x401ce4
cmp dword [ebp - 0x68], 0x10
lea eax, [ebp - 0x7c]
mov edi, dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
lea ecx, [ebp - 0x64]
cmovae eax, dword [ebp - 0x7c]
cmp dword [ebp - 0x50], 0x10
push eax
cmovae ecx, dword [ebp - 0x64]
mov dword [ebp - 0xa4], ecx
call edi
push dword [ebp - 0xa4]
mov esi, eax
shl esi, 4
sub esi, eax
call edi
mov ecx, dword [0x407450]
add esp, 8
mov edx, dword [0x407458]
lea edi, [eax + esi*4]
mov esi, dword [0x407448]
add edi, dword [0x40745c]
mov dword [ebp - 0xa4], edi
cmp ecx, esi
jg 0x401e83
mov edi, dword [0x407024]
lea eax, [ecx*8]
movss xmm1, dword [0x40744c]
sub eax, ecx
add edx, 0x5d
add edx, eax
cmp ecx, 0x32
jge 0x401e3c
movd xmm0, dword [0x407018]
jmp 0x401e60
cmp ecx, 0x4b
jge 0x401e4b
movd xmm0, dword [0x40701c]
jmp 0x401e60
cmp ecx, 0x64
jge 0x401e5a
movd xmm0, dword [0x407020]
jmp 0x401e60
jle 0x401e6f
movd xmm0, edi
cvtdq2ps xmm0, xmm0
addss xmm1, xmm0
movss dword [0x40744c], xmm1
inc ecx
add eax, 7
cmp ecx, esi
jle 0x401e28
mov edi, dword [ebp - 0xa4]
mov dword [0x407458], edx
mov eax, edx
cdq
idiv dword [0x40743c]
imul eax, edi
movd xmm0, eax
cvtdq2ps xmm0, xmm0
call fcn.00404140
mov dword [ebp - 0x9c], eax
lea eax, [ebp - 0x9c]
push eax
mov dword [ebp - 0x98], edx
call dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__gmtime64]
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
add esp, 4
mov esi, eax
mov edx, 0x40546c
mov dword [ebp - 0x1c], esi
push dword [0x407458]
call fcn.00402970
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, 0x405330
mov ecx, eax
call fcn.00402970
mov edx, dword [esi + 8]
lea ecx, [ebp - 0xbc]
call fcn.004027d0
mov dword [ebp - 0x18], 0x1000
mov byte [ebp - 4], 0x11
cmp dword [ebp - 0xac], 1
mov edx, dword [esi + 8]
jbe 0x401f23
lea ecx, [ebp - 0x11c]
call fcn.004027d0
lea ecx, [ebp - 0x11c]
mov eax, 0x21040
jmp 0x401f58
lea ecx, [ebp - 0xd4]
call fcn.004027d0
lea eax, [ebp - 0xd4]
mov dword [ebp - 4], 0x13
push eax
lea ecx, [ebp - 0xec]
mov dword [ebp - 0x18], 0x11080
call fcn.00402d90
mov ecx, eax
add esp, 4
mov eax, 0x11180
mov dword [ebp - 0x84], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x94], xmm0
mov dword [ebp - 0x80], 0
movups xmm0, xmmword [ecx]
mov dword [ebp - 0x14], eax
movups xmmword [ebp - 0x94], xmm0
movq xmm0, qword [ecx + 0x10]
movq qword [ebp - 0x84], xmm0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
mov byte [ecx], 0
mov dword [ebp - 4], 0x14
test eax, 0x100
je 0x40200c
mov ecx, dword [ebp - 0xd8]
and eax, 0xfffffeff
mov dword [ebp - 0x14], eax
cmp ecx, 0x10
jb 0x401ff1
mov edx, dword [ebp - 0xec]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x401fe4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4020e8
push ecx
push edx
call fcn.00403428
mov eax, dword [ebp - 0x14]
add esp, 8
mov dword [ebp - 0xdc], 0
mov dword [ebp - 0xd8], 0xf
mov byte [ebp - 0xec], 0
mov byte [ebp - 4], 0x15
test al, al
jns 0x402074
mov ecx, dword [ebp - 0xc0]
and eax, 0xffffff7f
mov dword [ebp - 0x14], eax
cmp ecx, 0x10
jb 0x402059
mov edx, dword [ebp - 0xd4]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40204c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4020e8
push ecx
push edx
call fcn.00403428
mov eax, dword [ebp - 0x14]
add esp, 8
mov dword [ebp - 0xc4], 0
mov dword [ebp - 0xc0], 0xf
mov byte [ebp - 0xd4], 0
mov byte [ebp - 4], 0x16
test al, 0x40
je 0x4020b8
mov ecx, dword [ebp - 0x108]
and eax, 0xffffffbf
mov dword [ebp - 0x14], eax
cmp ecx, 0x10
jb 0x4020b8
mov edx, dword [ebp - 0x11c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4020ae
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4020e8
push ecx
push edx
call fcn.00403428
add esp, 8
mov byte [ebp - 4], 0x17
mov ecx, dword [ebp - 0xa8]
cmp ecx, 0x10
jb 0x4020f8
mov edx, dword [ebp - 0xbc]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4020ee
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4020ee
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00403428
add esp, 8
mov edx, dword [esi + 4]
lea ecx, [ebp - 0x134]
call fcn.004027d0
mov esi, dword [ebp - 0x14]
or esi, 0x2000
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x18], esi
mov eax, dword [ebp - 0x1c]
mov byte [ebp - 4], 0x18
cmp dword [ebp - 0x124], 1
mov edx, dword [eax + 4]
jbe 0x402147
lea ecx, [ebp - 0x11c]
call fcn.004027d0
mov eax, esi
or eax, 0x8000
lea ecx, [ebp - 0x11c]
or eax, 0x200
jmp 0x402189
lea ecx, [ebp - 0x104]
call fcn.004027d0
or esi, 0x4000
lea eax, [ebp - 0x104]
mov dword [ebp - 4], 0x1a
or esi, 0x400
lea ecx, [ebp - 0xbc]
push eax
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x18], esi
call fcn.00402d90
mov ecx, eax
add esp, 4
mov eax, esi
or eax, 0x800
mov dword [ebp - 0x3c], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x4c], xmm0
mov dword [ebp - 0x38], 0
movups xmm0, xmmword [ecx]
movups xmmword [ebp - 0x4c], xmm0
movq xmm0, qword [ecx + 0x10]
movq qword [ebp - 0x3c], xmm0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
mov byte [ecx], 0
mov dword [ebp - 4], 0x1b
test eax, 0x800
je 0x40222e
mov ecx, dword [ebp - 0xa8]
and eax, 0xfffff7ff
mov dword [ebp - 0x14], eax
cmp ecx, 0x10
jb 0x402213
mov edx, dword [ebp - 0xbc]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x402206
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40230a
push ecx
push edx
call fcn.00403428
mov eax, dword [ebp - 0x14]
add esp, 8
mov dword [ebp - 0xac], 0
mov dword [ebp - 0xa8], 0xf
mov byte [ebp - 0xbc], 0
mov byte [ebp - 4], 0x1c
test eax, 0x400
je 0x402299
mov ecx, dword [ebp - 0xf0]
and eax, 0xfffffbff
mov dword [ebp - 0x14], eax
cmp ecx, 0x10
jb 0x40227e
mov edx, dword [ebp - 0x104]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x402271
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40230a
push ecx
push edx
call fcn.00403428
mov eax, dword [ebp - 0x14]
add esp, 8
mov dword [ebp - 0xf4], 0
mov dword [ebp - 0xf0], 0xf
mov byte [ebp - 0x104], 0
mov byte [ebp - 4], 0x1d
test eax, 0x200
je 0x4022da
mov ecx, dword [ebp - 0x108]
cmp ecx, 0x10
jb 0x4022da
mov edx, dword [ebp - 0x11c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4022d0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40230a
push ecx
push edx
call fcn.00403428
add esp, 8
mov byte [ebp - 4], 0x1e
mov ecx, dword [ebp - 0x120]
cmp ecx, 0x10
jb 0x40231a
mov edx, dword [ebp - 0x134]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x402310
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x402310
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00403428
add esp, 8
mov eax, dword [ebp - 0x1c]
mov edx, 0x405334
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
push dword [eax + 0x1c]
call fcn.00402970
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, 0x405328
mov ecx, eax
call fcn.00402970
cmp dword [ebp - 0x80], 0x10
lea edx, [ebp - 0x94]
push dword [ebp - 0x84]
cmovae edx, dword [ebp - 0x94]
mov ecx, eax
call fcn.00403030
mov edx, 0x405328
mov ecx, eax
call fcn.00402970
cmp dword [ebp - 0x38], 0x10
lea edx, [ebp - 0x4c]
push dword [ebp - 0x3c]
cmovae edx, dword [ebp - 0x4c]
mov ecx, eax
call fcn.00403030
add esp, 8
mov edx, 0x405330
mov ecx, eax
call fcn.00402970
mov eax, dword [0x407458]
cdq
idiv dword [0x40743c]
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, 0x405478
imul eax, dword [0x407454]
push eax
call fcn.00402970
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, 0x405330
mov ecx, eax
call fcn.00402970
movd xmm0, edi
mov edx, 0x405368
cvtdq2ps xmm0, xmm0
push ecx
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
movd xmm1, dword [0x40743c]
divss xmm0, dword [0x4054b0]
cvtdq2ps xmm1, xmm1
divss xmm1, xmm0
movss dword [esp], xmm1
call fcn.00402970
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___float_]
mov edx, 0x405330
mov ecx, eax
call fcn.00402970
movd xmm0, dword [0x407454]
mov edx, 0x405378
cvtdq2ps xmm0, xmm0
push ecx
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
movd xmm1, edi
mulss xmm0, dword [0x4054b0]
cvtdq2ps xmm1, xmm1
divss xmm0, xmm1
movss dword [esp], xmm0
call fcn.00402970
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___float_]
mov edx, 0x405330
mov ecx, eax
call fcn.00402970
movss xmm0, dword [0x40744c]
mov edx, 0x40538c
push ecx
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
movss dword [esp], xmm0
call fcn.00402970
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___float_]
mov edx, 0x405330
mov ecx, eax
call fcn.00402970
mov ecx, dword [ebp - 0x38]
cmp ecx, 0x10
jb 0x401ae7
mov edx, dword [ebp - 0x4c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x401add
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x401b2e
jmp 0x401add
push ecx
push edx
call fcn.00403428
add esp, 8
mov edi, dword [ebp - 0x20]
mov esi, dword [ebp - 0x34]
push str.pause
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov ecx, dword [ebp - 0x50]
add esp, 4
cmp ecx, 0x10
jb 0x402515
mov edx, dword [ebp - 0x64]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40250b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x401b2e
push ecx
push edx
call fcn.00403428
add esp, 8
mov ecx, dword [ebp - 0x68]
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0xf
mov byte [ebp - 0x64], 0
cmp ecx, 0x10
jb 0x40255b
mov edx, dword [ebp - 0x7c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x402551
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x401b2e
push ecx
push edx
call fcn.00403428
add esp, 8
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x68], 0xf
mov byte [ebp - 0x7c], 0
cmp edi, 0x10
jb 0x40259b
inc edi
mov eax, esi
cmp edi, 0x1000
jb 0x402591
mov esi, dword [eax - 4]
add edi, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x401b2e
push edi
push esi
call fcn.00403428
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.004033ea
mov esp, ebp
pop ebp
ret