Function at 0x43aa00
Capabilities:
Manipulate console buffer

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, edx
push esi
push ebx
mov ebx, eax
mov eax, edx
sar eax, 0x10
sub esp, 0x44
mov word [ebp - 0x2a], dx
mov dword [ebp - 0x28], eax
call fcn.0057d110
mov esi, dword [sym.imp.kernel32.dll_SetConsoleCursorPosition]
mov dword [eax], 0x58f03f
mov dword [eax + 4], 0x89
mov dword [esp + 4], 0
mov dword [esp], 0
call esi
sub esp, 8
test eax, eax
sete al
mov dword [esp + 4], str.No_handle_n
movzx eax, al
mov dword [esp], eax
call fcn.00427ef0
call fcn.0057d110
mov dword [eax], 0x58f03f
mov dword [eax + 4], 0x8a
mov eax, dword fs:[0x18]
mov edx, dword [eax + 0x34]
mov dword [esp + 8], 6
mov dword [esp + 4], 0x58f5d4
mov dword [esp + 0xc], edx
cmp dword [eax + 0x34], 6
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00427ef0
call fcn.0057d110
mov dword [eax], 0x58f03f
mov dword [eax + 4], 0x8e
mov dword [esp + 4], 0
mov dword [esp], ebx
call esi
sub esp, 8
test eax, eax
setne al
mov dword [esp + 4], str.Cursor_in_upper_left_n
movzx eax, al
mov dword [esp], eax
call fcn.00427ef0
lea eax, [ebp - 0x22]
mov dword [esp], ebx
mov dword [esp + 4], eax
mov eax, dword [sym.imp.kernel32.dll_GetConsoleScreenBufferInfo]
mov dword [ebp - 0x34], eax
call eax
sub esp, 8
mov edx, eax
test eax, eax
je 0x43ab02
xor edx, edx
movzx eax, word [ebp - 0x1e]
or ax, word [ebp - 0x1c]
sete dl
mov dword [ebp - 0x30], edx
sub edi, 1
call fcn.0057d110
mov dword [eax], 0x58f03f
mov dword [eax + 4], 0x8f
movsx eax, word [ebp - 0x1c]
mov dword [esp + 0x14], eax
movsx eax, word [ebp - 0x1e]
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], eax
mov dword [esp + 8], 0
mov dword [esp + 4], str.Expected_cursor_at___d__d___got___d__d__n
mov edx, dword [ebp - 0x30]
mov dword [esp], edx
call fcn.00427ef0
mov ecx, dword [ebp - 0x28]
movzx edx, di
mov eax, ecx
shl eax, 0x10
or edx, eax
mov eax, ecx
sub eax, 1
mov dword [ebp - 0x30], edx
mov word [ebp - 0x28], ax
call fcn.0057d110
movzx edx, di
mov dword [eax], 0x58f03f
mov dword [eax + 4], 0x93
mov eax, dword [ebp - 0x28]
shl eax, 0x10
or edx, eax
mov dword [esp + 4], edx
mov dword [ebp - 0x38], edx
mov dword [esp], ebx
call esi
sub esp, 8
test eax, eax
setne al
mov dword [esp + 4], str.Cursor_in_lower_right_n
movzx eax, al
mov dword [esp], eax
call fcn.00427ef0
lea eax, [ebp - 0x22]
mov dword [esp], ebx
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x34]
call eax
mov edx, dword [ebp - 0x38]
sub esp, 8
test eax, eax
mov ecx, eax
je 0x43abd1
xor ecx, ecx
cmp di, word [ebp - 0x1e]
je 0x43ae00
mov dword [ebp - 0x38], edx
movsx edi, di
mov dword [ebp - 0x34], ecx
call fcn.0057d110
mov dword [eax], 0x58f03f
mov dword [eax + 4], 0x94
movsx eax, word [ebp - 0x1c]
mov dword [esp + 0x14], eax
movsx eax, word [ebp - 0x1e]
mov dword [esp + 0x10], eax
movsx eax, word [ebp - 0x28]
mov dword [esp + 8], edi
mov dword [esp + 0xc], eax
mov dword [esp + 4], str.Expected_cursor_at___d__d___got___d__d__n
mov ecx, dword [ebp - 0x34]
mov dword [esp], ecx
call fcn.00427ef0
call fcn.0057d110
mov edx, dword [ebp - 0x38]
mov dx, word [ebp - 0x2a]
mov dword [eax], 0x58f03f
mov dword [eax + 4], 0x98
mov dword [esp + 4], edx
mov dword [esp], ebx
call esi
sub esp, 8
test eax, eax
sete al
mov dword [esp + 4], str.Cursor_is_outside_n
movzx eax, al
mov dword [esp], eax
mov edi, dword fs:[0x18]
call fcn.00427ef0
call fcn.0057d110
mov dword [eax], 0x58f03f
mov dword [eax + 4], 0x99
mov eax, dword [edi + 0x34]
mov dword [esp + 8], 0x57
mov dword [esp + 0xc], eax
xor eax, eax
mov dword [esp + 4], 0x58f5d4
cmp dword [edi + 0x34], 0x57
sete al
mov dword [esp], eax
call fcn.00427ef0
call fcn.0057d110
mov dword [eax], 0x58f03f
mov dword [eax + 4], 0x9e
mov eax, dword [ebp - 0x30]
mov dword [esp], ebx
mov dword [esp + 4], eax
call esi
sub esp, 8
test eax, eax
sete al
mov dword [esp + 4], str.Cursor_is_outside_n
movzx eax, al
mov dword [esp], eax
call fcn.00427ef0
call fcn.0057d110
mov dword [eax], 0x58f03f
mov dword [eax + 4], 0x9f
mov eax, dword [edi + 0x34]
mov dword [esp + 8], 0x57
mov dword [esp + 0xc], eax
xor eax, eax
mov dword [esp + 4], 0x58f5d4
cmp dword [edi + 0x34], 0x57
sete al
mov dword [esp], eax
call fcn.00427ef0
call fcn.0057d110
mov dword [eax], 0x58f03f
mov dword [eax + 4], 0xa4
mov dword [esp], ebx
mov dword [esp + 4], 0xffff
call esi
sub esp, 8
test eax, eax
sete al
mov dword [esp + 4], str.Cursor_is_outside_n
movzx eax, al
mov dword [esp], eax
call fcn.00427ef0
call fcn.0057d110
mov dword [eax], 0x58f03f
mov dword [eax + 4], 0xa5
mov eax, dword [edi + 0x34]
mov dword [esp + 8], 0x57
mov dword [esp + 0xc], eax
xor eax, eax
mov dword [esp + 4], 0x58f5d4
cmp dword [edi + 0x34], 0x57
sete al
mov dword [esp], eax
call fcn.00427ef0
call fcn.0057d110
mov dword [eax], 0x58f03f
mov dword [eax + 4], 0xaa
mov dword [esp], ebx
mov dword [esp + 4], 0xffff0000
call esi
sub esp, 8
test eax, eax
sete al
mov dword [esp + 4], str.Cursor_is_outside_n
movzx eax, al
mov dword [esp], eax
call fcn.00427ef0
call fcn.0057d110
mov dword [eax], 0x58f03f
mov dword [eax + 4], 0xab
mov eax, dword [edi + 0x34]
mov dword [esp + 8], 0x57
mov dword [esp + 0xc], eax
xor eax, eax
mov dword [esp + 4], 0x58f5d4
cmp dword [edi + 0x34], 0x57
sete al
mov dword [esp], eax
call fcn.00427ef0
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
xor ecx, ecx
movzx eax, word [ebp - 0x28]
cmp word [ebp - 0x1c], ax
sete cl
jmp 0x43abd1