Function at 0x40147c
Capabilities:
Contain obfuscated stackstrings
Manipulate console buffer

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x8c
mov word [ebp - 0x34], 0
mov word [ebp - 0x32], 0
mov word [ebp - 0x38], 0x14
mov word [ebp - 0x36], 5
mov word [ebp - 0x26], 0xd0
mov word [ebp - 0x24], 0x24
mov word [ebp - 0x22], 0xac
mov word [ebp - 0x3c], 0x28
mov word [ebp - 0x3a], 0xf
mov word [ebp - 0x44], 0x14
mov word [ebp - 0x42], 5
mov word [ebp - 0x40], 0x3b
mov word [ebp - 0x3e], 0x13
mov dword [esp], 0x960
call sym._malloc
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], 0
jmp 0x401510
mov eax, dword [ebp - 0x20]
shl eax, 2
add eax, dword [ebp - 0x1c]
mov byte [eax], 0x20
mov eax, dword [ebp - 0x20]
shl eax, 2
mov edx, eax
add edx, dword [ebp - 0x1c]
mov ax, word [ebp - 0x26]
mov word [edx + 2], ax
inc dword [ebp - 0x20]
cmp dword [ebp - 0x20], 0x257
jle 0x4014ee
mov eax, dword [0x40f070]
lea edx, [ebp - 0x44]
mov dword [esp + 0x10], edx
mov edx, dword [ebp - 0x34]
mov dword [esp + 0xc], edx
mov edx, dword [ebp - 0x3c]
mov dword [esp + 8], edx
mov edx, dword [ebp - 0x1c]
mov dword [esp + 4], edx
mov dword [esp], eax
call sym._WriteConsoleOutputA_20
sub esp, 0x14
mov eax, dword [0x40f070]
mov edx, dword [ebp - 0x38]
mov dword [esp + 4], edx
mov dword [esp], eax
call sym._SetConsoleCursorPosition_8
sub esp, 8
mov eax, dword [0x40f070]
mov dword [esp + 0x10], 0x40f060
mov edx, dword [ebp - 0x38]
mov dword [esp + 0xc], edx
mov dword [esp + 8], 0x28
mov dword [esp + 4], 0x2a
mov dword [esp], eax
call sym._FillConsoleOutputCharacterA_20
sub esp, 0x14
mov word [ebp - 0x36], 6
jmp 0x401606
mov word [ebp - 0x38], 0x14
mov eax, dword [0x40f070]
mov dword [esp + 0x10], 0x40f060
mov edx, dword [ebp - 0x38]
mov dword [esp + 0xc], edx
mov dword [esp + 8], 1
mov dword [esp + 4], 0x2a
mov dword [esp], eax
call sym._FillConsoleOutputCharacterA_20
sub esp, 0x14
mov word [ebp - 0x38], 0x3b
mov eax, dword [0x40f070]
mov dword [esp + 0x10], 0x40f060
mov edx, dword [ebp - 0x38]
mov dword [esp + 0xc], edx
mov dword [esp + 8], 1
mov dword [esp + 4], 0x2a
mov dword [esp], eax
call sym._FillConsoleOutputCharacterA_20
sub esp, 0x14
mov ax, word [ebp - 0x36]
inc eax
mov word [ebp - 0x36], ax
mov ax, word [ebp - 0x36]
cmp ax, 0x12
jle 0x401593
lea edx, [ebp - 0x54]
mov ebx, 0x40e854
mov eax, 4
mov edi, edx
mov esi, ebx
mov ecx, eax
rep movsd dword es:[edi], dword [esi]
mov word [ebp - 0x38], 0x21
mov word [ebp - 0x36], 9
mov eax, dword [0x40f070]
mov dword [esp + 0x10], 0x40f060
mov edx, dword [ebp - 0x38]
mov dword [esp + 0xc], edx
mov dword [esp + 8], 0xe
mov dword [esp + 4], 0x21
mov dword [esp], eax
call sym._FillConsoleOutputCharacterA_20
sub esp, 0x14
mov word [ebp - 0x38], 0x21
mov word [ebp - 0x36], 0xa
mov eax, dword [ebp - 0x54]
mov dword [esp], eax
call sym._strlen
mov ecx, eax
mov edx, dword [ebp - 0x54]
mov eax, dword [0x40f070]
mov dword [esp + 0x10], 0x40f060
mov ebx, dword [ebp - 0x38]
mov dword [esp + 0xc], ebx
mov dword [esp + 8], ecx
mov dword [esp + 4], edx
mov dword [esp], eax
call sym._WriteConsoleOutputCharacterA_20
sub esp, 0x14
mov word [ebp - 0x38], 0x16
mov word [ebp - 0x36], 0xb
mov eax, dword [0x40f070]
mov dword [esp + 0x10], 0x40f060
mov edx, dword [ebp - 0x38]
mov dword [esp + 0xc], edx
mov dword [esp + 8], 0x24
mov dword [esp + 4], 0x2d
mov dword [esp], eax
call sym._FillConsoleOutputCharacterA_20
sub esp, 0x14
mov word [ebp - 0x38], 0x1e
mov word [ebp - 0x36], 0xc
mov eax, dword [ebp - 0x50]
mov dword [esp], eax
call sym._strlen
mov ecx, dword [ebp - 0x50]
mov edx, dword [0x40f070]
mov dword [esp + 0x10], 0x40f060
mov ebx, dword [ebp - 0x38]
mov dword [esp + 0xc], ebx
mov dword [esp + 8], eax
mov dword [esp + 4], ecx
mov dword [esp], edx
call sym._WriteConsoleOutputCharacterA_20
sub esp, 0x14
mov word [ebp - 0x38], 0x26
mov word [ebp - 0x36], 0xe
mov eax, dword [ebp - 0x4c]
mov dword [esp], eax
call sym._strlen
mov ecx, dword [ebp - 0x4c]
mov edx, dword [0x40f070]
mov dword [esp + 0x10], 0x40f060
mov ebx, dword [ebp - 0x38]
mov dword [esp + 0xc], ebx
mov dword [esp + 8], eax
mov dword [esp + 4], ecx
mov dword [esp], edx
call sym._WriteConsoleOutputCharacterA_20
sub esp, 0x14
mov word [ebp - 0x38], 0x16
mov word [ebp - 0x36], 0xd
mov eax, dword [0x40f070]
mov dword [esp + 0x10], 0x40f060
mov edx, dword [ebp - 0x38]
mov dword [esp + 0xc], edx
mov dword [esp + 8], 0x24
mov dword [esp + 4], 0x2d
mov dword [esp], eax
call sym._FillConsoleOutputCharacterA_20
sub esp, 0x14
mov word [ebp - 0x36], 0xf
mov eax, dword [0x40f070]
mov dword [esp + 0x10], 0x40f060
mov edx, dword [ebp - 0x38]
mov dword [esp + 0xc], edx
mov dword [esp + 8], 0x24
mov dword [esp + 4], 0x2d
mov dword [esp], eax
call sym._FillConsoleOutputCharacterA_20
sub esp, 0x14
mov word [ebp - 0x38], 0x14
mov word [ebp - 0x36], 0x13
mov eax, dword [0x40f070]
mov dword [esp + 0x10], 0x40f060
mov edx, dword [ebp - 0x38]
mov dword [esp + 0xc], edx
mov dword [esp + 8], 0x28
mov dword [esp + 4], 0x2a
mov dword [esp], eax
call sym._FillConsoleOutputCharacterA_20
sub esp, 0x14
mov word [ebp - 0x38], 0x3d
mov word [ebp - 0x36], 0x15
movzx edx, word [ebp - 0x24]
mov eax, dword [0x40f070]
mov dword [esp + 0x10], 0x40f060
mov ecx, dword [ebp - 0x38]
mov dword [esp + 0xc], ecx
mov dword [esp + 8], 8
mov dword [esp + 4], edx
mov dword [esp], eax
call sym._FillConsoleOutputAttribute_20
sub esp, 0x14
mov eax, dword [ebp - 0x48]
mov dword [esp], eax
call sym._strlen
mov ecx, dword [ebp - 0x48]
mov edx, dword [0x40f070]
mov dword [esp + 0x10], 0x40f060
mov ebx, dword [ebp - 0x38]
mov dword [esp + 0xc], ebx
mov dword [esp + 8], eax
mov dword [esp + 4], ecx
mov dword [esp], edx
call sym._WriteConsoleOutputCharacterA_20
sub esp, 0x14
mov eax, dword [0x40f070]
lea edx, [ebp - 0x30]
mov dword [esp + 4], edx
mov dword [esp], eax
call sym._GetConsoleCursorInfo_8
sub esp, 8
mov dword [ebp - 0x2c], 0
mov eax, dword [0x40f070]
lea edx, [ebp - 0x30]
mov dword [esp + 4], edx
mov dword [esp], eax
call sym._SetConsoleCursorInfo_8
sub esp, 8
jmp 0x4018b6
nop
mov eax, dword [0x40f080]
lea edx, [ebp - 0x6c]
mov dword [esp + 0xc], edx
mov dword [esp + 8], 1
lea edx, [ebp - 0x68]
mov dword [esp + 4], edx
mov dword [esp], eax
call sym._ReadConsoleInputA_16
sub esp, 0x10
mov eax, dword [ebp - 0x68]
cmp ax, 2
jne 0x4018b5
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
cmp ax, 0x3c
jle 0x401944
mov eax, dword [ebp - 0x34]
cmp ax, 0x44
jg 0x401944
mov ax, word [ebp - 0x32]
cmp ax, 0x15
jne 0x401944
movzx edx, word [ebp - 0x22]
mov eax, dword [0x40f070]
mov dword [esp + 0x10], 0x40f060
mov ecx, dword [ebp - 0x38]
mov dword [esp + 0xc], ecx
mov dword [esp + 8], 8
mov dword [esp + 4], edx
mov dword [esp], eax
call sym._FillConsoleOutputAttribute_20
sub esp, 0x14
mov eax, dword [ebp - 0x60]
cmp eax, 1
je 0x401978
nop
jmp 0x4018b6
movzx edx, word [ebp - 0x24]
mov eax, dword [0x40f070]
mov dword [esp + 0x10], 0x40f060
mov ecx, dword [ebp - 0x38]
mov dword [esp + 0xc], ecx
mov dword [esp + 8], 8
mov dword [esp + 4], edx
mov dword [esp], eax
call sym._FillConsoleOutputAttribute_20
sub esp, 0x14
jmp 0x4018b6
lea esp, [ebp - 0xc]
add esp, 0
pop ebx
pop esi
pop edi
leave
ret