Function at 0x437840
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
push ebx
lea ebx, [ebp - 0x2ac]
sub esp, 0x2c4
mov dword [ebp - 0x2b8], eax
mov eax, edx
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x2b0]
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], 0x592cb0
mov dword [ebp - 0x214], 0xc
mov dword [ebp - 0x210], 1
mov dword [ebp - 0x208], 0x592cb0
mov dword [ebp - 0x1fc], eax
mov dword [ebp - 0x1f4], 6
mov dword [ebp - 0x1e8], 0x592cb0
mov dword [ebp - 0x1e4], 1
mov dword [ebp - 0x1d4], 0xc
mov dword [ebp - 0x1d0], 1
mov dword [ebp - 0x1c8], 0x592cb0
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 - 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], 0x592cb0
mov dword [ebp - 0x114], 0xc
mov dword [ebp - 0x110], 1
mov dword [ebp - 0x10c], 0xffffffff
mov dword [ebp - 0x108], 0x592cb0
mov dword [ebp - 0xfc], eax
mov dword [ebp - 0xf4], 6
mov dword [ebp - 0xec], 0xffffffff
mov dword [ebp - 0xe8], 0x592cb0
mov dword [ebp - 0xe4], 1
mov dword [ebp - 0xd4], 0xc
mov dword [ebp - 0xd0], 1
mov dword [ebp - 0xcc], 0xffffffff
mov dword [ebp - 0xc8], 0x592cb0
mov dword [ebp - 0xc4], 1
mov dword [ebp - 0xbc], eax
mov dword [ebp - 0xb4], 6
mov dword [ebp - 0xac], esi
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], 0x592cb0
mov dword [ebp - 0x34], 0xc
mov dword [ebp - 0x30], 1
mov dword [ebp - 0x28], 0x592cb0
mov dword [ebp - 0x24], 1
mov dword [ebp - 0x14], 0xc
mov dword [ebp - 0x10], 1
mov dword [ebp - 0x2bc], edx
mov dword [ebp - 0x8c], esi
mov dword [ebp - 0x6c], esi
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x2c], esi
xor esi, esi
mov edi, dword fs:[0x18]
nop
mov eax, dword [ebx + 0x1c]
test eax, eax
jne 0x437bfd
mov eax, dword [ebx + 0x10]
mov dword [edi + 0x34], 0xdeadbeef
test eax, eax
je 0x437b53
mov dword [ebp - 0x2b0], 0xdeadbeef
mov dword [esp + 0x10], eax
mov eax, esi
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_WriteConsoleOutputCharacterW]
sub esp, 0x14
mov dword [ebp - 0x2b4], eax
call fcn.0057d110
mov ecx, dword [ebp - 0x2b4]
mov dword [eax], 0x58f03f
mov dword [eax + 4], 0x9ea
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_WriteConsoleOutputCharacterW_to_return_FALSE__got__d_n
call fcn.00427ef0
call fcn.0057d110
mov dword [eax], 0x58f03f
mov dword [eax + 4], 0x9eb
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, 0x15
jne 0x437b30
mov edx, dword [ebp - 0x2bc]
lea eax, [ebp - 0x2b0]
mov dword [ebp - 0x2b0], 0xdeadbeef
mov dword [ebp - 0x2b4], edx
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov edi, dword [ebp - 0x2b8]
mov dword [esp], edi
call dword [sym.imp.kernel32.dll_WriteConsoleOutputCharacterW]
sub esp, 0x14
mov ebx, eax
call fcn.0057d110
mov dword [eax], 0x58f03f
mov dword [eax + 4], 0x9f2
xor eax, eax
cmp ebx, 1
sete al
mov dword [esp + 8], ebx
mov dword [esp], eax
mov dword [esp + 4], str.Expected_WriteConsoleOutputCharacterW_to_return_TRUE__got__d_n
call fcn.00427ef0
call fcn.0057d110
mov dword [eax], 0x58f03f
mov dword [eax + 4], 0x9f3
mov eax, dword [ebp - 0x2b0]
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 - 0x2b0]
mov dword [ebp - 0x2b0], 0xdeadbeef
mov dword [esp], edi
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x592cb0
call dword [sym.imp.kernel32.dll_WriteConsoleOutputCharacterW]
sub esp, 0x14
mov ebx, eax
call fcn.0057d110
mov dword [eax], 0x58f03f
mov dword [eax + 4], 0x9f7
xor eax, eax
cmp ebx, 1
sete al
mov dword [esp + 8], ebx
mov dword [esp], eax
mov dword [esp + 4], str.Expected_WriteConsoleOutputCharacterW_to_return_TRUE__got__d_n
call fcn.00427ef0
call fcn.0057d110
mov dword [eax], 0x58f03f
mov dword [eax + 4], 0x9f8
mov eax, dword [ebp - 0x2b0]
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 - 0x2b0]
mov dword [ebp - 0x2b0], 0xdeadbeef
mov dword [esp], edi
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0
mov dword [esp + 8], 1
mov dword [esp + 4], 0x592cb0
call dword [sym.imp.kernel32.dll_WriteConsoleOutputCharacterW]
sub esp, 0x14
mov ebx, eax
call fcn.0057d110
mov dword [eax], 0x58f03f
mov dword [eax + 4], 0x9fc
xor eax, eax
cmp ebx, 1
sete al
mov dword [esp + 8], ebx
mov dword [esp], eax
mov dword [esp + 4], str.Expected_WriteConsoleOutputCharacterW_to_return_TRUE__got__d_n
call fcn.00427ef0
call fcn.0057d110
mov dword [eax], 0x58f03f
mov dword [eax + 4], 0x9fd
mov eax, dword [ebp - 0x2b0]
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 - 0x2b4]
lea eax, [ebp - 0x2b0]
mov dword [ebp - 0x2b0], 0xdeadbeef
mov dword [esp], edi
mov dx, 0xc8
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], edx
mov dword [esp + 8], 0
mov dword [esp + 4], 0x592cb0
call dword [sym.imp.kernel32.dll_WriteConsoleOutputCharacterW]
sub esp, 0x14
mov ebx, eax
call fcn.0057d110
mov dword [eax], 0x58f03f
mov dword [eax + 4], 0xa02
xor eax, eax
cmp ebx, 1
sete al
mov dword [esp + 8], ebx
mov dword [esp], eax
mov dword [esp + 4], str.Expected_WriteConsoleOutputCharacterW_to_return_TRUE__got__d_n
call fcn.00427ef0
call fcn.0057d110
mov dword [eax], 0x58f03f
mov dword [eax + 4], 0xa03
mov eax, dword [ebp - 0x2b0]
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