Function at 0x454aa3
Capabilities:
Manipulate console buffer

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
push edi
mov ebx, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
sub esp, 4
push 0xfffffff5
call sub.KERNEL32.dll_GetStdHandle
add esp, 4
mov dword [ebp - 4], eax
cmp eax, 0xffffffff
je 0x454d88
mov edx, dword [ebp + 0x18]
cmp byte [ebx], 0
mov edx, dword [edx]
mov dword [ebp - 8], edx
jg 0x454ae0
mov byte [ebx], 1
cmp byte [ebx], 0x50
jle 0x454ae8
mov byte [ebx], 0x50
cmp byte [esi], 0
jg 0x454af0
mov byte [esi], 1
cmp byte [esi], 0x19
jle 0x454af8
mov byte [esi], 0x19
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp + 0x10]
cmp byte [ecx], 0
jg 0x454b06
mov byte [eax], 1
mov bl, byte [ebx]
mov byte [ebp - 9], bl
mov eax, dword [ebp + 0x10]
movsx edx, byte [ebp - 9]
movsx eax, byte [eax]
mov ecx, 0x51
sub ecx, edx
cmp eax, ecx
jle 0x454b30
movsx edx, byte [ebp - 9]
mov eax, 0x51
mov ecx, dword [ebp + 0x10]
sub eax, edx
mov byte [ecx], al
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp + 0x14]
cmp byte [edx], 0
jg 0x454b3e
mov byte [eax], 1
mov eax, dword [ebp + 0x14]
movsx ecx, byte [esi]
movsx eax, byte [eax]
mov edx, 0x1a
sub edx, ecx
cmp eax, edx
jle 0x454b61
movsx ecx, byte [esi]
mov eax, 0x1a
mov edx, dword [ebp + 0x14]
sub eax, ecx
mov byte [edx], al
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 0x10], 1
mov edx, dword [ebp + 0x10]
movsx edi, byte [ecx]
test edi, edi
jle 0x454d88
movsx eax, byte [esi]
mov dl, byte [edx]
mov byte [ebp - 0xa], dl
dec eax
mov si, ax
xor eax, eax
movsx ecx, byte [ebp - 0xa]
cmp dl, 6
setle al
mov word [ebp - 0x14], si
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jle 0x454d14
mov esi, dword [ebp - 0x10]
lea edx, [0x3a68880]
add esi, dword [ebp - 8]
lea ecx, [0x3a688d0]
add esi, 0xffffffff
cmp dword [ebp - 0x1c], 0
jne 0x454ce0
mov bl, byte [esi]
mov byte [ebp - 0xb], bl
mov byte [edx], bl
xor ebx, ebx
mov word [0x3a68868], bx
mov bl, byte [esi + 1]
mov byte [0x3a68868], bl
mov bx, word [0x3a68868]
mov word [ecx], bx
mov bl, byte [esi + 2]
mov byte [edx + 1], bl
xor ebx, ebx
mov word [0x3a68868], bx
mov bl, byte [esi + 3]
mov byte [0x3a68868], bl
mov bx, word [0x3a68868]
mov word [ecx + 2], bx
mov bl, byte [esi + 4]
mov byte [edx + 2], bl
xor ebx, ebx
mov word [0x3a68868], bx
mov bl, byte [esi + 5]
mov byte [0x3a68868], bl
mov bx, word [0x3a68868]
mov word [ecx + 4], bx
mov bl, byte [esi + 6]
mov byte [edx + 3], bl
xor ebx, ebx
mov word [0x3a68868], bx
mov bl, byte [esi + 7]
mov byte [0x3a68868], bl
mov bx, word [0x3a68868]
mov word [ecx + 6], bx
mov bl, byte [esi + 8]
mov byte [edx + 4], bl
xor ebx, ebx
mov word [0x3a68868], bx
mov bl, byte [esi + 9]
mov byte [0x3a68868], bl
mov bx, word [0x3a68868]
mov word [ecx + 8], bx
mov bl, byte [esi + 0xa]
mov byte [edx + 5], bl
xor ebx, ebx
mov word [0x3a68868], bx
mov bl, byte [esi + 0xb]
mov byte [0x3a68868], bl
mov bx, word [0x3a68868]
mov word [ecx + 0xa], bx
mov bl, byte [esi + 0xc]
mov byte [edx + 6], bl
xor ebx, ebx
mov word [0x3a68868], bx
mov bl, byte [esi + 0xd]
mov byte [0x3a68868], bl
mov bx, word [0x3a68868]
mov word [ecx + 0xc], bx
mov ebx, dword [ebp - 0x10]
add ebx, 0xe
add esi, 0xe
add edx, 7
add ecx, 0xe
sub eax, 7
mov dword [ebp - 0x10], ebx
cmp eax, 6
jg 0x454bc5
test eax, eax
jle 0x454d14
mov bl, byte [esi]
mov byte [edx], bl
xor ebx, ebx
mov word [0x3a68868], bx
mov bl, byte [esi + 1]
mov byte [0x3a68868], bl
inc esi
mov bx, word [0x3a68868]
mov word [ecx], bx
mov ebx, dword [ebp - 0x10]
add ebx, 2
inc esi
inc edx
add ecx, 2
dec eax
mov dword [ebp - 0x10], ebx
test eax, eax
jg 0x454ce0
movsx ebx, byte [ebp - 9]
mov si, word [ebp - 0x14]
lea edx, [0x3a688d0]
mov word [0x3a68872], si
dec ebx
mov word [0x3a68870], bx
mov eax, dword [0x3a68870]
movsx ecx, byte [ebp - 0xa]
sub esp, 4
lea ebx, [0x3a68878]
push ebx
push eax
push ecx
push edx
push dword [ebp - 4]
call sub.KERNEL32.dll_WriteConsoleOutputAttribute
movsx ebx, byte [ebp - 0xa]
lea eax, [0x3a68878]
mov esi, dword [0x3a68870]
lea edx, [0x3a68880]
push eax
push esi
push ebx
push edx
push dword [ebp - 4]
call sub.KERNEL32.dll_WriteConsoleOutputCharacterA
add esp, 4
mov si, word [ebp - 0x14]
inc si
dec edi
mov word [ebp - 0x14], si
test edi, edi
jg 0x454b9b
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14