Function at 0x401641
Capabilities:
Execute command

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov dword [esp], 0x4a4050
call sym._system
mov dword [ebp - 0xc], 0
cmp dword [ebp - 0xc], 0x16
jg 0x401671
mov eax, dword [ebp - 0xc]
add eax, 0x4e8040
mov byte [eax], 0x23
add dword [ebp - 0xc], 1
jmp 0x40165a
mov dword [ebp - 0x10], 0
cmp dword [ebp - 0x10], 0x16
jg 0x40168f
mov eax, dword [ebp - 0x10]
add eax, 0x4e8224
mov byte [eax], 0x23
add dword [ebp - 0x10], 1
jmp 0x401678
mov dword [ebp - 0x14], 0
cmp dword [ebp - 0x14], 0x16
jg 0x4017b3
mov dword [ebp - 0x18], 0
cmp dword [ebp - 0x18], 0x16
jg 0x4017aa
cmp dword [ebp - 0x18], 0
je 0x4016bd
cmp dword [ebp - 0x18], 0x16
jne 0x4016d0
mov eax, dword [ebp - 0x14]
imul edx, eax, 0x16
mov eax, dword [ebp - 0x18]
add eax, edx
add eax, 0x4e8040
mov byte [eax], 0x23
mov eax, dword [0x4a200c]
cmp dword [ebp - 0x14], eax
jne 0x4016fe
mov eax, dword [0x4a2010]
cmp dword [ebp - 0x18], eax
jne 0x4016fe
movzx eax, byte [0x4a2009]
mov edx, dword [ebp - 0x14]
imul ecx, edx, 0x16
mov edx, dword [ebp - 0x18]
add edx, ecx
add edx, 0x4e8040
mov byte [edx], al
mov eax, dword [0x4e9034]
test eax, eax
je 0x401746
mov dword [ebp - 0x1c], 0
mov eax, dword [0x4e9034]
cmp dword [ebp - 0x1c], eax
jge 0x401746
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax*4 + 0x4e8240]
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax*4 + 0x4e8940]
movzx eax, byte [0x4a2020]
imul ecx, ecx, 0x16
add edx, ecx
add edx, 0x4e8040
mov byte [edx], al
add dword [ebp - 0x1c], 1
jmp 0x40170e
mov eax, dword [0x4a200c]
test eax, eax
je 0x40176c
mov eax, dword [0x4a200c]
cmp eax, 0x16
je 0x40176c
mov eax, dword [0x4a2010]
test eax, eax
je 0x40176c
mov eax, dword [0x4a2010]
cmp eax, 0x16
jne 0x401773
mov byte [0x4a2008], 0
mov eax, dword [0x4a2018]
cmp dword [ebp - 0x14], eax
jne 0x4017a1
mov eax, dword [0x4a201c]
cmp dword [ebp - 0x18], eax
jne 0x4017a1
movzx eax, byte [0x4a2015]
mov edx, dword [ebp - 0x14]
imul ecx, edx, 0x16
mov edx, dword [ebp - 0x18]
add edx, ecx
add edx, 0x4e8040
mov byte [edx], al
add dword [ebp - 0x18], 1
jmp 0x4016a7
add dword [ebp - 0x14], 1
jmp 0x401696
mov dword [ebp - 0x20], 0
cmp dword [ebp - 0x20], 0x16
jg 0x401813
mov dword [ebp - 0x24], 0
cmp dword [ebp - 0x24], 0x16
jg 0x4017f9
mov eax, dword [ebp - 0x20]
imul edx, eax, 0x16
mov eax, dword [ebp - 0x24]
add eax, edx
add eax, 0x4e8040
movzx eax, byte [eax]
movsx eax, al
mov dword [esp + 4], eax
mov dword [esp], 0x4a37a0
call method.std::basic_ostream_char__std::char_traits_char____std::operator____std.char_traits_char____std::basic_ostream_char__std::char_traits_char_____char_
add dword [ebp - 0x24], 1
jmp 0x4017c7
mov dword [esp], method.std::basic_ostream_char__std::char_traits_char____std::endl_char__std.char_traits_char____std::basic_ostream_char__std::char_traits_char____
mov ecx, 0x4a37a0
call method.std::ostream.operator___std::ostream____std::ostream__
sub esp, 4
add dword [ebp - 0x20], 1
jmp 0x4017ba
mov dword [esp], method.std::basic_ostream_char__std::char_traits_char____std::endl_char__std.char_traits_char____std::basic_ostream_char__std::char_traits_char____
mov ecx, 0x4a37a0
call method.std::ostream.operator___std::ostream____std::ostream__
sub esp, 4
mov dword [esp + 4], str.You_score:
mov dword [esp], 0x4a37a0
call method.std::basic_ostream_char__std::char_traits_char____std::operator____std.char_traits_char____std::basic_ostream_char__std::char_traits_char_____char_const_
mov edx, eax
mov eax, dword [0x4e9034]
mov dword [esp], eax
mov ecx, edx
call method.std::ostream.operator___int_
sub esp, 4
nop
leave
ret