Function at 0x438ea0
Capabilities:
Manipulate console buffer

Disassembly:
push ebp
mov edx, eax
mov ecx, 0xb0
xor eax, eax
mov ebp, esp
push edi
push esi
lea edi, [ebp - 0x2cc]
xor esi, esi
push ebx
lea ebx, [ebp - 0x2cc]
sub esp, 0x2e8
mov dword [ebp - 0x2dc], eax
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x2d0]
mov dword [ebp - 0x2b4], 0xc
mov dword [ebp - 0x29c], eax
mov dword [ebp - 0x25c], eax
lea eax, [ebp - 0x2d1]
mov dword [ebp - 0x248], eax
mov dword [ebp - 0x228], eax
lea eax, [ebp - 0x2d0]
mov dword [ebp - 0x21c], eax
lea eax, [ebp - 0x2d1]
mov dword [ebp - 0x208], eax
mov dword [ebp - 0x1e8], eax
lea eax, [ebp - 0x2d0]
mov dword [ebp - 0x1dc], eax
mov dword [ebp - 0x2b0], 1
mov dword [ebp - 0x294], 6
mov dword [ebp - 0x284], 1
mov dword [ebp - 0x274], 0xc
mov dword [ebp - 0x270], 1
mov dword [ebp - 0x264], 1
mov dword [ebp - 0x254], 6
mov dword [ebp - 0x250], 1
mov dword [ebp - 0x234], 0xc
mov dword [ebp - 0x230], 1
mov dword [ebp - 0x214], 6
mov dword [ebp - 0x204], 1
mov dword [ebp - 0x1f4], 0xc
mov dword [ebp - 0x1f0], 1
mov dword [ebp - 0x1e4], 1
mov dword [ebp - 0x1d4], 6
mov dword [ebp - 0x1cc], 0xffffffff
mov dword [ebp - 0x19c], eax
mov dword [ebp - 0x15c], eax
lea eax, [ebp - 0x2d1]
mov dword [ebp - 0x148], eax
mov dword [ebp - 0x128], eax
lea eax, [ebp - 0x2d0]
mov dword [ebp - 0x11c], eax
lea eax, [ebp - 0x2d1]
mov dword [ebp - 0x108], eax
mov dword [ebp - 0xe8], eax
lea eax, [ebp - 0x2d0]
mov dword [ebp - 0xdc], eax
mov dword [ebp - 0x1b4], 0xc
mov dword [ebp - 0x1b0], 1
mov dword [ebp - 0x1ac], 0xffffffff
mov dword [ebp - 0x194], 6
mov dword [ebp - 0x18c], 0xffffffff
mov dword [ebp - 0x184], 1
mov dword [ebp - 0x174], 0xc
mov dword [ebp - 0x170], 1
mov dword [ebp - 0x16c], 0xffffffff
mov dword [ebp - 0x164], 1
mov dword [ebp - 0x154], 6
mov dword [ebp - 0x150], 1
mov dword [ebp - 0x14c], 0xffffffff
mov dword [ebp - 0x134], 0xc
mov dword [ebp - 0x130], 1
mov dword [ebp - 0x12c], 0xffffffff
mov dword [ebp - 0x114], 6
mov dword [ebp - 0x10c], 0xffffffff
mov dword [ebp - 0x104], 1
mov dword [ebp - 0xf4], 0xc
mov dword [ebp - 0xf0], 1
mov dword [ebp - 0xec], 0xffffffff
mov dword [ebp - 0xe4], 1
mov dword [ebp - 0xd4], 6
mov dword [ebp - 0xcc], edx
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x5c], eax
lea eax, [ebp - 0x2d1]
mov dword [ebp - 0xb4], 0xc
mov dword [ebp - 0xb0], 1
mov dword [ebp - 0xac], edx
mov dword [ebp - 0xa4], 1
mov dword [ebp - 0x94], 0xc
mov dword [ebp - 0x90], 1
mov dword [ebp - 0x8c], edx
mov dword [ebp - 0x84], 1
mov dword [ebp - 0x74], 0xc
mov dword [ebp - 0x70], 1
mov dword [ebp - 0x6c], edx
mov dword [ebp - 0x64], 0xa
mov dword [ebp - 0x54], 0xc
mov dword [ebp - 0x50], 1
mov dword [ebp - 0x4c], edx
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x34], 0xc
mov dword [ebp - 0x30], 1
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], 1
mov dword [ebp - 0x14], 0xc
mov dword [ebp - 0x10], 1
mov dword [ebp - 0x2e0], edx
mov edi, dword fs:[0x18]
lea esi, [esi]
mov eax, dword [ebx + 0x1c]
test eax, eax
jne 0x439295
mov eax, dword [ebx + 0x10]
mov dword [edi + 0x34], 0xdeadbeef
test eax, eax
je 0x4391eb
mov dword [ebp - 0x2d0], 0xdeadbeef
mov dword [esp + 0x10], eax
mov eax, esi
shl eax, 5
mov eax, dword [ebp + eax - 0x2c0]
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_ReadConsoleOutputCharacterA]
sub esp, 0x14
mov dword [ebp - 0x2d8], eax
call fcn.0057d110
mov ecx, dword [ebp - 0x2d8]
mov dword [eax], 0x58f03f
mov dword [eax + 4], 0xbd8
xor eax, eax
test ecx, ecx
sete al
mov dword [esp + 0xc], ecx
mov dword [esp], eax
mov dword [esp + 8], esi
mov dword [esp + 4], str.__d__Expected_ReadConsoleOutputCharacterA_to_return_FALSE__got__d_n
call fcn.00427ef0
call fcn.0057d110
mov dword [eax], 0x58f03f
mov dword [eax + 4], 0xbd9
mov eax, dword [ebx + 0x18]
mov ecx, dword [edi + 0x34]
mov dword [esp + 8], esi
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 4], str.__d__Expected_last_error_to_be__lu__got__lu_n
cmp dword [edi + 0x34], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00427ef0
add esi, 1
add ebx, 0x20
cmp esi, 0x16
jne 0x4391c8
mov edx, dword [ebp - 0x2e0]
lea eax, [ebp - 0x2d0]
mov dword [ebp - 0x2d0], 0xdeadbeef
mov dword [esp + 0x10], eax
mov dword [esp], edx
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [ebp - 0x2d8], edx
call dword [sym.imp.kernel32.dll_ReadConsoleOutputCharacterA]
sub esp, 0x14
mov ebx, eax
call fcn.0057d110
mov dword [eax], 0x58f03f
mov dword [eax + 4], 0xbe0
xor eax, eax
cmp ebx, 1
sete al
mov dword [esp + 8], ebx
mov dword [esp], eax
mov dword [esp + 4], str.Expected_ReadConsoleOutputCharacterA_to_return_TRUE__got__d_n
call fcn.00427ef0
call fcn.0057d110
mov dword [eax], 0x58f03f
mov dword [eax + 4], 0xbe1
mov eax, dword [ebp - 0x2d0]
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 - 0x2d0]
mov dword [ebp - 0x2d0], 0xdeadbeef
mov dword [esp + 0x10], eax
lea eax, [ebp - 0x2d1]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], eax
mov edx, dword [ebp - 0x2d8]
mov dword [esp], edx
call dword [sym.imp.kernel32.dll_ReadConsoleOutputCharacterA]
sub esp, 0x14
mov ebx, eax
call fcn.0057d110
mov dword [eax], 0x58f03f
mov dword [eax + 4], 0xbe5
xor eax, eax
cmp ebx, 1
sete al
mov dword [esp + 8], ebx
mov dword [esp], eax
mov dword [esp + 4], str.Expected_ReadConsoleOutputCharacterA_to_return_TRUE__got__d_n
call fcn.00427ef0
call fcn.0057d110
mov dword [eax], 0x58f03f
mov dword [eax + 4], 0xbe6
mov eax, dword [ebp - 0x2d0]
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 - 0x2d0]
mov dword [ebp - 0x2d0], 0xdeadbeef
mov dword [esp + 0x10], eax
lea eax, [ebp - 0x2d1]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 1
mov dword [esp + 4], eax
mov edx, dword [ebp - 0x2d8]
mov dword [esp], edx
call dword [sym.imp.kernel32.dll_ReadConsoleOutputCharacterA]
sub esp, 0x14
mov ebx, eax
call fcn.0057d110
mov dword [eax], 0x58f03f
mov dword [eax + 4], 0xbea
xor eax, eax
cmp ebx, 1
sete al
mov dword [esp + 8], ebx
mov dword [esp], eax
mov dword [esp + 4], str.Expected_ReadConsoleOutputCharacterA_to_return_TRUE__got__d_n
call fcn.00427ef0
call fcn.0057d110
mov dword [eax], 0x58f03f
mov dword [eax + 4], 0xbeb
mov eax, dword [ebp - 0x2d0]
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 eax, dword [ebp - 0x2dc]
mov dword [ebp - 0x2d0], 0xdeadbeef
lea edx, [ebp - 0x2d0]
mov dword [esp + 0x10], edx
mov ax, 0xc8
mov dword [esp + 8], 1
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x2d1]
mov dword [esp + 4], eax
mov edx, dword [ebp - 0x2d8]
mov dword [esp], edx
call dword [sym.imp.kernel32.dll_ReadConsoleOutputCharacterA]
sub esp, 0x14
mov ebx, eax
call fcn.0057d110
mov dword [eax], 0x58f03f
mov dword [eax + 4], 0xbf0
xor eax, eax
cmp ebx, 1
sete al
mov dword [esp + 8], ebx
mov dword [esp], eax
mov dword [esp + 4], str.Expected_ReadConsoleOutputCharacterA_to_return_TRUE__got__d_n
call fcn.00427ef0
call fcn.0057d110
mov dword [eax], 0x58f03f
mov dword [eax + 4], 0xbf1
mov eax, dword [ebp - 0x2d0]
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 esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret