Function at 0x43d0e0
Capabilities:
Manipulate console buffer

Disassembly:
push ebp
xor edx, edx
mov ecx, 0xa8
mov ebp, esp
push edi
push esi
lea edi, [ebp - 0x2ac]
mov esi, eax
mov eax, edx
push ebx
lea ebx, [ebp - 0x2ac]
sub esp, 0x2ec
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x2c8]
xor edi, edi
mov dword [ebp - 0x294], 0xc
mov dword [ebp - 0x290], 1
mov dword [ebp - 0x27c], eax
mov dword [ebp - 0x274], 6
mov dword [ebp - 0x264], 1
mov dword [ebp - 0x254], 0xc
mov dword [ebp - 0x250], 1
mov dword [ebp - 0x244], 1
mov dword [ebp - 0x23c], eax
mov dword [ebp - 0x234], 0xc
mov dword [ebp - 0x230], 1
mov dword [ebp - 0x228], 0x592cb4
mov dword [ebp - 0x214], 0xc
mov dword [ebp - 0x210], 1
mov dword [ebp - 0x208], 0x592cb4
mov dword [ebp - 0x1fc], eax
mov dword [ebp - 0x1f4], 6
mov dword [ebp - 0x1e8], 0x592cb4
mov dword [ebp - 0x1e4], 1
mov dword [ebp - 0x1d4], 0xc
mov dword [ebp - 0x1d0], 1
mov dword [ebp - 0x1c8], 0x592cb4
mov dword [ebp - 0x1c4], 1
mov dword [ebp - 0x1bc], eax
mov dword [ebp - 0x1b4], 6
mov dword [ebp - 0x1ac], 0xffffffff
mov dword [ebp - 0x194], 0xc
mov dword [ebp - 0xac], esi
mov dword [ebp - 0x190], 1
mov dword [ebp - 0x18c], 0xffffffff
mov dword [ebp - 0x17c], eax
mov dword [ebp - 0x174], 6
mov dword [ebp - 0x16c], 0xffffffff
mov dword [ebp - 0x164], 1
mov dword [ebp - 0x154], 0xc
mov dword [ebp - 0x150], 1
mov dword [ebp - 0x14c], 0xffffffff
mov dword [ebp - 0x144], 1
mov dword [ebp - 0x13c], eax
mov dword [ebp - 0x134], 0xc
mov dword [ebp - 0x130], 1
mov dword [ebp - 0x12c], 0xffffffff
mov dword [ebp - 0x128], 0x592cb4
mov dword [ebp - 0x114], 0xc
mov dword [ebp - 0x110], 1
mov dword [ebp - 0x10c], 0xffffffff
mov dword [ebp - 0x108], 0x592cb4
mov dword [ebp - 0xfc], eax
mov dword [ebp - 0xf4], 6
mov dword [ebp - 0xec], 0xffffffff
mov dword [ebp - 0xe8], 0x592cb4
mov dword [ebp - 0xe4], 1
mov dword [ebp - 0xd4], 0xc
mov dword [ebp - 0xd0], 1
mov dword [ebp - 0xcc], 0xffffffff
mov dword [ebp - 0xc8], 0x592cb4
mov dword [ebp - 0xc4], 1
mov dword [ebp - 0xbc], eax
mov dword [ebp - 0xb4], 6
mov dword [ebp - 0x94], 0xc
mov dword [ebp - 0x90], 1
mov dword [ebp - 0x84], 1
mov dword [ebp - 0x74], 0xc
mov dword [ebp - 0x70], 1
mov dword [ebp - 0x64], 1
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x54], 0xc
mov dword [ebp - 0x50], 1
mov dword [ebp - 0x48], 0x592cb4
mov dword [ebp - 0x34], 0xc
mov dword [ebp - 0x30], 1
mov dword [ebp - 0x28], 0x592cb4
mov dword [ebp - 0x24], 1
mov dword [ebp - 0x14], 0xc
mov dword [ebp - 0x10], 1
mov dword [ebp - 0x2d4], edx
mov dword [ebp - 0x8c], esi
mov dword [ebp - 0x6c], esi
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x2d8], esi
mov ecx, dword fs:[0x18]
mov esi, ecx
mov eax, dword [ebx + 0x1c]
test eax, eax
jne 0x43d49d
mov eax, dword [ebx + 0x10]
mov dword [esi + 0x34], 0xdeadbeef
test eax, eax
je 0x43d3f3
mov dword [ebp - 0x2c8], 0xdeadbeef
mov dword [esp + 0x10], eax
mov eax, edi
shl eax, 5
mov eax, dword [ebp + eax - 0x2a0]
mov dword [esp + 0xc], eax
mov eax, dword [ebx + 8]
mov dword [esp + 8], eax
mov eax, dword [ebx + 4]
mov dword [esp + 4], eax
mov eax, dword [ebx]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_WriteConsoleOutputCharacterA]
sub esp, 0x14
mov dword [ebp - 0x2d0], eax
call fcn.0057d110
mov edx, dword [ebp - 0x2d0]
mov dword [eax], 0x58f03f
mov dword [eax + 4], 0x989
xor eax, eax
test edx, edx
sete al
mov dword [esp + 0xc], edx
mov dword [esp], eax
mov dword [esp + 8], edi
mov dword [esp + 4], str.__d__Expected_WriteConsoleOutputCharacterA_to_return_FALSE__got__d_n
call fcn.00427ef0
call fcn.0057d110
mov dword [eax], 0x58f03f
mov dword [eax + 4], 0x98a
mov eax, dword [ebx + 0x18]
mov edx, dword [esi + 0x34]
mov dword [esp + 8], edi
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], edx
mov dword [esp + 4], str.__d__Expected_last_error_to_be__lu__got__lu_n
cmp dword [esi + 0x34], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00427ef0
add edi, 1
add ebx, 0x20
cmp edi, 0x15
jne 0x43d3d0
mov edx, dword [ebp - 0x2d4]
mov esi, dword [ebp - 0x2d8]
lea eax, [ebp - 0x2c8]
mov dword [ebp - 0x2c8], 0xdeadbeef
lea edi, [ebp - 0x2c4]
mov dword [ebp - 0x2d0], edx
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], esi
call dword [sym.imp.kernel32.dll_WriteConsoleOutputCharacterA]
sub esp, 0x14
mov ebx, eax
mov eax, 0x991
call fcn.00427180
xor eax, eax
cmp ebx, 1
mov dword [esp + 8], ebx
sete al
mov dword [esp + 4], str.Expected_WriteConsoleOutputCharacterA_to_return_TRUE__got__d_n
mov dword [esp], eax
call fcn.00427ef0
call fcn.0057d110
mov dword [eax], 0x58f03f
mov dword [eax + 4], 0x992
mov eax, dword [ebp - 0x2c8]
mov dword [esp + 4], str.Expected_count_to_be_0__got__lu_n
test eax, eax
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00427ef0
lea eax, [ebp - 0x2c8]
mov dword [ebp - 0x2c8], 0xdeadbeef
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x592cb4
mov dword [esp], esi
call dword [sym.imp.kernel32.dll_WriteConsoleOutputCharacterA]
sub esp, 0x14
mov ebx, eax
mov eax, 0x996
call fcn.00427180
xor eax, eax
cmp ebx, 1
mov dword [esp + 8], ebx
sete al
mov dword [esp + 4], str.Expected_WriteConsoleOutputCharacterA_to_return_TRUE__got__d_n
mov dword [esp], eax
call fcn.00427ef0
mov eax, 0x997
call fcn.00427180
mov eax, dword [ebp - 0x2c8]
mov dword [esp + 4], str.Expected_count_to_be_0__got__lu_n
test eax, eax
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00427ef0
lea eax, [ebp - 0x2c8]
mov dword [ebp - 0x2c8], 0xdeadbeef
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0
mov dword [esp + 8], 1
mov dword [esp + 4], 0x592cb4
mov dword [esp], esi
call dword [sym.imp.kernel32.dll_WriteConsoleOutputCharacterA]
sub esp, 0x14
mov ebx, eax
mov eax, 0x99b
call fcn.00427180
xor eax, eax
cmp ebx, 1
mov dword [esp + 8], ebx
sete al
mov dword [esp + 4], str.Expected_WriteConsoleOutputCharacterA_to_return_TRUE__got__d_n
mov dword [esp], eax
call fcn.00427ef0
call fcn.0057d110
mov dword [eax], 0x58f03f
mov dword [eax + 4], 0x99c
mov eax, dword [ebp - 0x2c8]
mov dword [esp + 4], str.Expected_count_to_be_1__got__lu_n
cmp eax, 1
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00427ef0
mov edx, dword [ebp - 0x2d0]
lea eax, [ebp - 0x2c8]
mov dword [ebp - 0x2c8], 0xdeadbeef
mov dword [esp + 0x10], eax
mov dx, 0xc8
mov dword [esp + 8], 0
mov dword [esp + 0xc], edx
mov dword [esp + 4], 0x592cb4
mov dword [esp], esi
call dword [sym.imp.kernel32.dll_WriteConsoleOutputCharacterA]
sub esp, 0x14
mov ebx, eax
mov eax, 0x9a1
call fcn.00427180
xor eax, eax
cmp ebx, 1
mov dword [esp + 8], ebx
sete al
mov dword [esp + 4], str.Expected_WriteConsoleOutputCharacterA_to_return_TRUE__got__d_n
mov ebx, 1
mov dword [esp], eax
call fcn.00427ef0
mov eax, 0x9a2
call fcn.00427180
mov eax, dword [ebp - 0x2c8]
mov dword [esp + 4], str.Expected_count_to_be_0__got__lu_n
test eax, eax
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00427ef0
jmp 0x43d785
mov dword [ebp - 0x2d0], edx
add ebx, 1
call fcn.0057d110
mov dword [eax], 0x58f03f
mov dword [eax + 4], 0x9ad
movzx eax, word [ebp - 0x2ca]
mov dword [esp + 0x10], 7
mov dword [esp + 0x14], eax
mov dword [esp + 0xc], 2
mov dword [esp + 8], 1
mov dword [esp + 4], str.At___d__d_:_expecting_attr__04x_got__04x_n
mov edx, dword [ebp - 0x2d0]
mov dword [esp], edx
call fcn.00427ef0
mov dword [esp + 4], edi
mov dword [esp], esi
call dword [sym.imp.kernel32.dll_GetConsoleScreenBufferInfo]
sub esp, 8
cmp ebx, 0x20
je 0x43d930
lea eax, [ebp - 0x2c8]
mov byte [ebp - 0x2cc], bl
mov dword [esp + 0x10], eax
lea eax, [ebp - 0x2cc]
mov dword [esp + 0xc], 0x20001
mov dword [esp + 8], 1
mov dword [esp + 4], eax
mov dword [esp], esi
call dword [sym.imp.kernel32.dll_WriteConsoleOutputCharacterA]
sub esp, 0x14
mov dword [ebp - 0x2d0], eax
call fcn.0057d110
mov edx, dword [ebp - 0x2d0]
mov dword [eax], 0x58f03f
mov dword [eax + 4], 0x9ab
xor eax, eax
cmp edx, 1
sete al
mov dword [esp + 8], edx
mov dword [esp], eax
mov dword [esp + 4], str.Expected_WriteConsoleOutputCharacterA_to_return_TRUE__got__d_n
call fcn.00427ef0
call fcn.0057d110
mov dword [eax], 0x58f03f
mov dword [eax + 4], 0x9ac
mov eax, dword [ebp - 0x2c8]
mov dword [esp + 4], str.Expected_count_to_be_1__got__lu_n
cmp eax, 1
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00427ef0
lea eax, [ebp - 0x2cb]
mov dword [esp], esi
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], 0x20001
mov dword [esp + 8], 1
mov dword [esp + 4], eax
call dword [sym.imp.kernel32.dll_ReadConsoleOutputCharacterA]
xor edx, edx
sub esp, 0x14
cmp eax, 1
je 0x43d910
mov dword [ebp - 0x2d0], edx
call fcn.0057d110
mov dword [eax], 0x58f03f
mov dword [eax + 4], 0x9ad
movsx eax, byte [ebp - 0x2cb]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], 2
mov dword [esp + 8], 1
mov dword [esp + 4], str.At___d__d_:_expecting_char__c__02x_got__c__02x_n
mov edx, dword [ebp - 0x2d0]
mov dword [esp], edx
call fcn.00427ef0
lea eax, [ebp - 0x2ca]
mov dword [esp], esi
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], 0x20001
mov dword [esp + 8], 1
mov dword [esp + 4], eax
call dword [sym.imp.kernel32.dll_ReadConsoleOutputAttribute]
xor edx, edx
sub esp, 0x14
cmp eax, 1
jne 0x43d718
cmp dword [ebp - 0x2c4], 1
jne 0x43d718
xor edx, edx
cmp word [ebp - 0x2ca], 7
sete dl
jmp 0x43d718
cmp dword [ebp - 0x2c4], 1
jne 0x43d85f
xor edx, edx
cmp byte [ebp - 0x2cb], bl
sete dl
jmp 0x43d85f
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret