Function at 0x4243d0
Capabilities:
Manipulate console buffer

Disassembly:
push edi
push esi
push ebx
sub esp, 0x50
mov ebx, sym._crash_handler
mov dword [esp + 4], ebx
lea edi, [esp + 0x30]
mov dword [esp], 0xb
call sym._signal
mov dword [esp], 8
mov ecx, sym._crash_handler
mov dword [esp + 4], ecx
call sym._signal
mov dword [esp], 4
mov edx, sym._crash_handler
mov dword [esp + 4], edx
call sym._signal
mov byte [0x42dc1c], 1
mov eax, dword [0x42db8c]
mov byte [0x42dbbc], 0
mov dword [esp + 4], edi
mov dword [esp], eax
call sub.KERNEL32.dll_GetConsoleScreenBufferInfo
sub esp, 8
test eax, eax
jne 0x424487
mov dword [esp], 0xfffffff5
call sub.KERNEL32.dll_GetStdHandle
sub esp, 4
cmp eax, 0xffffffff
je 0x424530
mov dword [0x42db8c], eax
mov eax, dword [0x42db8c]
test eax, eax
jne 0x424550
mov dword [esp + 4], edi
mov dword [esp], eax
call sub.KERNEL32.dll_GetConsoleScreenBufferInfo
sub esp, 8
test eax, eax
jne 0x4245b0
add esp, 0x50
pop ebx
pop esi
pop edi
ret
movsx esi, word [esp + 0x32]
mov ecx, 0x20
mov edx, dword [0x42db8c]
movsx ebx, word [esp + 0x30]
xor eax, eax
mov dword [esp + 4], ecx
mov dword [esp], edx
mov dword [esp + 0xc], eax
imul ebx, esi
lea esi, [esp + 0x2c]
mov dword [esp + 0x10], esi
mov dword [esp + 8], ebx
call sub.KERNEL32.dll_FillConsoleOutputCharacterA
mov eax, dword [0x42db8c]
sub esp, 0x14
mov dword [esp + 4], edi
mov dword [esp], eax
call sub.KERNEL32.dll_GetConsoleScreenBufferInfo
sub esp, 8
mov edx, dword [0x42db8c]
movzx ecx, word [esp + 0x38]
mov dword [esp + 0x10], esi
xor esi, esi
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 0xc], esi
mov dword [esp + 8], ebx
call sub.KERNEL32.dll_FillConsoleOutputAttribute
mov esi, dword [0x42db8c]
sub esp, 0x14
xor eax, eax
mov dword [esp + 4], eax
mov dword [esp], esi
call sub.KERNEL32.dll_SetConsoleCursorPosition
sub esp, 8
mov dword [esp], 0xfffffff5
call sub.KERNEL32.dll_GetStdHandle
sub esp, 4
cmp eax, 0xffffffff
jne 0x424457
nop
lea esi, [esi]
xor ebx, ebx
mov dword [0x42db8c], ebx
mov eax, dword [0x42db8c]
test eax, eax
je 0x424469
lea esi, [esi]
lea edi, [edi]
mov dword [esp], eax
mov edx, 0x42dbfc
mov dword [esp + 4], edx
call sub.KERNEL32.dll_GetConsoleScreenBufferInfo
sub esp, 8
test eax, eax
je 0x42456f
mov byte [0x42d018], 1
mov ecx, dword [0x42db8c]
mov eax, 0xb0
mov dword [esp + 4], eax
mov dword [esp], ecx
call sub.KERNEL32.dll_SetConsoleTextAttribute
mov eax, dword [0x42db8c]
sub esp, 8
mov dword [esp + 4], edi
mov dword [esp], eax
call sub.KERNEL32.dll_GetConsoleScreenBufferInfo
sub esp, 8
test eax, eax
je 0x424480
lea esi, [esi]
lea edi, [edi]
movsx esi, word [esp + 0x32]
mov ecx, 0x20
mov edx, dword [0x42db8c]
movsx ebx, word [esp + 0x30]
xor eax, eax
mov dword [esp + 4], ecx
mov dword [esp], edx
mov dword [esp + 0xc], eax
imul ebx, esi
lea esi, [esp + 0x28]
mov dword [esp + 0x10], esi
mov dword [esp + 8], ebx
call sub.KERNEL32.dll_FillConsoleOutputCharacterA
mov eax, dword [0x42db8c]
sub esp, 0x14
mov dword [esp + 4], edi
mov dword [esp], eax
call sub.KERNEL32.dll_GetConsoleScreenBufferInfo
sub esp, 8
xor ecx, ecx
movzx edx, word [esp + 0x38]
mov dword [esp + 8], ebx
mov ebx, dword [0x42db8c]
mov dword [esp + 0x10], esi
xor esi, esi
mov dword [esp + 0xc], ecx
mov dword [esp + 4], edx
mov dword [esp], ebx
call sub.KERNEL32.dll_FillConsoleOutputAttribute
mov edi, dword [0x42db8c]
sub esp, 0x14
mov dword [esp + 4], esi
mov dword [esp], edi
call sub.KERNEL32.dll_SetConsoleCursorPosition
sub esp, 8
add esp, 0x50
pop ebx
pop esi
pop edi
ret